{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://taxonmark.com/api/v1/types/synthetic-dataset-release",
    "title": "Synthetic Dataset Release (commercial)",
    "type": "object",
    "required": [
        "dataset_name",
        "generator_system_dois",
        "license",
        "pii_screening"
    ],
    "properties": {
        "dataset_name": {
            "title": "Dataset name",
            "type": "string",
            "maxLength": 1000
        },
        "generator_system_dois": {
            "title": "Generator system IDs",
            "type": "array",
            "items": {
                "type": "string"
            },
            "description": "Taxonmark IDs (for example TM.AI.2026.7KQ2X) or DOIs registered elsewhere"
        },
        "seed_data_refs": {
            "title": "Seed / source data references",
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "record_count": {
            "title": "Record count",
            "type": "integer"
        },
        "size_bytes": {
            "title": "Size (bytes)",
            "type": "integer"
        },
        "dataset_hash": {
            "title": "Dataset hash",
            "type": "string",
            "pattern": "^(sha256:)?[A-Fa-f0-9]{64}$",
            "description": "SHA-256 hex (optionally prefixed sha256:)"
        },
        "license": {
            "title": "Licence",
            "type": "string",
            "maxLength": 1000
        },
        "pii_screening": {
            "title": "PII screening",
            "type": "string",
            "enum": [
                "none",
                "automated",
                "manual",
                "certified"
            ]
        },
        "intended_training_use": {
            "title": "Intended training use",
            "type": "string",
            "x-widget": "textarea",
            "maxLength": 20000
        }
    },
    "additionalProperties": true
}