{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://taxonmark.com/api/v1/types/agroecological-practice",
    "title": "Farmer / Agro-Ecological Practice Record",
    "type": "object",
    "required": [
        "practice_name",
        "community",
        "region",
        "description_text",
        "care_consent"
    ],
    "properties": {
        "practice_name": {
            "title": "Practice name",
            "type": "string",
            "maxLength": 1000
        },
        "community": {
            "title": "Community / group",
            "type": "string",
            "maxLength": 1000
        },
        "region": {
            "title": "Region",
            "type": "string",
            "maxLength": 1000
        },
        "description_text": {
            "title": "Practice description",
            "type": "string",
            "x-widget": "textarea",
            "maxLength": 20000
        },
        "care_consent": {
            "title": "Community consent (CARE)",
            "type": "boolean"
        }
    },
    "additionalProperties": true
}