{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://taxonmark.com/api/v1/types/field-trial-event",
    "title": "Multi-Location Field-Trial Event",
    "type": "object",
    "required": [
        "trial_name",
        "sites",
        "seasons",
        "lead_institution"
    ],
    "properties": {
        "trial_name": {
            "title": "Trial name",
            "type": "string",
            "maxLength": 1000
        },
        "sites": {
            "title": "Sites",
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "seasons": {
            "title": "Seasons",
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "entries": {
            "title": "Entries (variety IDs)",
            "type": "array",
            "items": {
                "type": "string"
            },
            "description": "Taxonmark IDs (for example TM.AI.2026.7KQ2X) or DOIs registered elsewhere"
        },
        "dataset_dois": {
            "title": "Dataset IDs",
            "type": "array",
            "items": {
                "type": "string"
            },
            "description": "Taxonmark IDs (for example TM.AI.2026.7KQ2X) or DOIs registered elsewhere"
        },
        "lead_institution": {
            "title": "Lead institution",
            "type": "string",
            "maxLength": 1000
        }
    },
    "additionalProperties": true
}