{
    "$comment": "Generated by drush tool:write-schema-definitions from the #[ToolProperty] attributes on Drupal\\album\\Image. Don't edit this file: change those attributes and run the command again. The album module's hook_tool_schema_definitions() lists what goes in it.",
    "$defs": {
        "image": {
            "type": "object",
            "properties": {
                "alt": {
                    "type": "string",
                    "contentMediaType": "text/plain",
                    "description": "Alt: Plain text describing the image for screen readers.",
                    "title": "Alt"
                },
                "caption": {
                    "type": "string",
                    "contentMediaType": "text/html",
                    "description": "Caption: Shown under the image, so it may hold inline HTML such as a link. It is as written, so sanitize it before printing it as HTML.",
                    "title": "Caption"
                },
                "credit": {
                    "type": "string",
                    "contentMediaType": "text/plain",
                    "description": "Credit: Who to credit for the image. Omitted for images by Dries.",
                    "title": "Credit"
                },
                "month": {
                    "type": "string",
                    "description": "Month: The year and month the image was taken, as YYYY-MM. Omitted when the image has no date.",
                    "title": "Month"
                },
                "default": {
                    "type": "object",
                    "properties": {
                        "url": {
                            "type": "string",
                            "format": "uri",
                            "description": "Url: Absolute URL of this variant of the image.",
                            "title": "Url"
                        },
                        "width": {
                            "type": "integer",
                            "description": "Width: Width of this variant, in pixels.",
                            "title": "Width"
                        },
                        "height": {
                            "type": "integer",
                            "description": "Height: Height of this variant, in pixels.",
                            "title": "Height"
                        }
                    },
                    "required": [
                        "url",
                        "width",
                        "height"
                    ],
                    "description": "Default: The variant to load when only one is used. Not always one of the variants: an image narrower than 1280px uses its original.",
                    "title": "Default"
                },
                "variants": {
                    "type": "array",
                    "description": "Variants: Every variant of the image a browser may choose from. Includes the original when it is narrower than the widest variant.",
                    "items": {
                        "type": "object",
                        "properties": {
                            "url": {
                                "type": "string",
                                "format": "uri",
                                "description": "Url: Absolute URL of this variant of the image.",
                                "title": "Url"
                            },
                            "width": {
                                "type": "integer",
                                "description": "Width: Width of this variant, in pixels.",
                                "title": "Width"
                            },
                            "height": {
                                "type": "integer",
                                "description": "Height: Height of this variant, in pixels.",
                                "title": "Height"
                            }
                        },
                        "required": [
                            "url",
                            "width",
                            "height"
                        ]
                    },
                    "title": "Variants"
                }
            },
            "required": [
                "alt",
                "default",
                "variants"
            ]
        }
    }
}
