{
    "$schema": "http://json-schema.org/draft-04/schema",
    "definitions": {
        "trait_focal_point_json": {
            "$schema": "http://json-schema.org/draft-04/schema#",
            "description": "Coordinates representing the 'visual center' of an image. The X axis is horizontal line and the Y axis the vertical line, with 0,0 being the LEFT, TOP of the image.",
            "properties": {
                "x": {
                    "description": "The coordinate point on the horizontal axis",
                    "type": "number"
                },
                "y": {
                    "description": "The coordinate point on the vertical axis",
                    "type": "number"
                }
            },
            "required": [
                "x",
                "y"
            ],
            "title": "Focal Point",
            "type": "object"
        }
    },
    "description": "An object for overrides for images when images are used in a gallery. Example usage: Each image in a gallery may have the images own focal point overridden by the gallery.",
    "gallery_properties": {
        "focal_point": {
            "$ref": "#/definitions/trait_focal_point_json"
        }
    },
    "title": "Has gallery properties",
    "type": "object",
    "properties": {
        "trait_focal_point_json": {
            "$ref": "#/definitions/trait_focal_point_json"
        },
        "gallery_properties.focal_point": {
            "$ref": "#/gallery_properties/focal_point"
        }
    },
    "required": [
        "trait_focal_point_json",
        "gallery_properties.focal_point"
    ]
}