{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://taxonmark.com/api/v1/types/human-ai-contribution-record",
    "title": "Human–AI Contribution / Disclosure Record",
    "type": "object",
    "required": [
        "work_doi",
        "ai_tools_named",
        "contribution_roles",
        "extent",
        "disclosure_statement"
    ],
    "properties": {
        "work_doi": {
            "title": "Work ID",
            "type": "string",
            "format": "doi",
            "description": "A Taxonmark ID (for example TM.AI.2026.7KQ2X) or a DOI registered elsewhere"
        },
        "ai_system_dois": {
            "title": "AI systems used (IDs)",
            "type": "array",
            "items": {
                "type": "string"
            },
            "description": "Taxonmark IDs (for example TM.AI.2026.7KQ2X) or DOIs registered elsewhere"
        },
        "ai_tools_named": {
            "title": "AI tools used (names/versions)",
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "contribution_roles": {
            "title": "AI contribution roles (drafting, editing, translation, code, image, analysis, ...)",
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "extent": {
            "title": "Extent",
            "type": "string",
            "enum": [
                "minor",
                "moderate",
                "substantial",
                "primary"
            ]
        },
        "human_accountable_orcid": {
            "title": "Accountable human (ORCID)",
            "type": "string",
            "format": "orcid"
        },
        "disclosure_statement": {
            "title": "Disclosure statement",
            "type": "string",
            "x-widget": "textarea",
            "maxLength": 20000
        }
    },
    "additionalProperties": true
}