{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://taxonmark.com/api/v1/types/traditional-knowledge-record",
    "title": "Traditional / Community Knowledge Record",
    "type": "object",
    "required": [
        "community",
        "knowledge_domain",
        "consent_reference",
        "access_level"
    ],
    "properties": {
        "community": {
            "title": "Community",
            "type": "string",
            "maxLength": 1000
        },
        "knowledge_domain": {
            "title": "Domain",
            "type": "string",
            "maxLength": 1000
        },
        "consent_reference": {
            "title": "Consent reference",
            "type": "string",
            "maxLength": 1000
        },
        "access_level": {
            "title": "Access level",
            "type": "string",
            "enum": [
                "public-stub",
                "restricted",
                "sacred-closed"
            ]
        }
    },
    "additionalProperties": true
}