{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://taxonmark.com/api/v1/types/crediting-methodology",
    "title": "Crediting Methodology Version",
    "type": "object",
    "required": [
        "methodology_code",
        "methodology_version",
        "standard_body",
        "effective_date"
    ],
    "properties": {
        "methodology_code": {
            "title": "Methodology code",
            "type": "string",
            "maxLength": 1000
        },
        "methodology_version": {
            "title": "Version",
            "type": "string",
            "maxLength": 1000
        },
        "standard_body": {
            "title": "Standard body",
            "type": "string",
            "maxLength": 1000
        },
        "effective_date": {
            "title": "Effective date",
            "type": "string",
            "format": "date"
        },
        "sector_scope": {
            "title": "Sector scope",
            "type": "string",
            "maxLength": 1000
        },
        "supersedes_doi": {
            "title": "Supersedes (ID)",
            "type": "string",
            "format": "doi",
            "description": "A Taxonmark ID (for example TM.AI.2026.7KQ2X) or a DOI registered elsewhere"
        }
    },
    "additionalProperties": true
}