{
    "definitions": {
        "image": {
            "additionalProperties": false,
            "properties": {
                "purpose": {
                    "default": "image",
                    "enum": [
                        "image",
                        "profile_image",
                        "icon"
                    ],
                    "type": "string"
                },
                "ref": {
                    "maxLength": 2000,
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "type": "object"
        }
    },
    "description": "Base images definitions",
    "title": "images",
    "properties": {
        "image": {
            "$ref": "#/definitions/image"
        }
    },
    "required": [
        "image"
    ]
}