{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://taxonmark.com/api/v1/types/food-security-analysis",
    "title": "Food-Security Classification Analysis Version (e.g. IPC)",
    "type": "object",
    "required": [
        "framework",
        "country",
        "analysis_period",
        "analysis_version"
    ],
    "properties": {
        "framework": {
            "title": "Framework",
            "type": "string",
            "enum": [
                "IPC",
                "CH",
                "national",
                "other"
            ]
        },
        "country": {
            "title": "Country",
            "type": "string",
            "maxLength": 1000
        },
        "analysis_period": {
            "title": "Analysis period",
            "type": "string",
            "maxLength": 1000
        },
        "phase_summary": {
            "title": "Phase summary",
            "type": "string",
            "x-widget": "textarea",
            "maxLength": 20000
        },
        "analysis_version": {
            "title": "Version",
            "type": "string",
            "maxLength": 1000
        }
    },
    "additionalProperties": true
}