{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://taxonmark.com/api/v1/types/biodiversity-credit-unit",
    "title": "Biodiversity Credit Unit",
    "type": "object",
    "required": [
        "scheme",
        "site_doi",
        "metric",
        "quantity"
    ],
    "properties": {
        "scheme": {
            "title": "Scheme",
            "type": "string",
            "maxLength": 1000
        },
        "site_doi": {
            "title": "Site ID",
            "type": "string",
            "format": "doi",
            "description": "A Taxonmark ID (for example TM.AI.2026.7KQ2X) or a DOI registered elsewhere"
        },
        "metric": {
            "title": "Biodiversity metric",
            "type": "string",
            "maxLength": 1000
        },
        "quantity": {
            "title": "Quantity",
            "type": "number"
        },
        "vintage": {
            "title": "Vintage",
            "type": "integer"
        },
        "verifier": {
            "title": "Verifier",
            "type": "string",
            "maxLength": 1000
        }
    },
    "additionalProperties": true
}