{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://taxonmark.com/api/v1/types/traditional-medicine-formulation",
    "title": "Traditional-Medicine Formulation Record (AYUSH, TCM, ...)",
    "type": "object",
    "required": [
        "system",
        "formulation_name",
        "community_consent"
    ],
    "properties": {
        "system": {
            "title": "System of medicine",
            "type": "string",
            "enum": [
                "Ayurveda",
                "Unani",
                "Siddha",
                "Sowa-Rigpa",
                "Homoeopathy",
                "TCM",
                "other"
            ]
        },
        "formulation_name": {
            "title": "Formulation name",
            "type": "string",
            "maxLength": 1000
        },
        "source_text_ref": {
            "title": "Classical source reference",
            "type": "string",
            "maxLength": 1000
        },
        "tkdl_ref": {
            "title": "TKDL reference",
            "type": "string",
            "maxLength": 1000
        },
        "community_consent": {
            "title": "Community consent recorded",
            "type": "boolean"
        },
        "benefit_sharing_ref": {
            "title": "Benefit-sharing agreement",
            "type": "string",
            "maxLength": 1000
        }
    },
    "additionalProperties": true
}