{
    "schema_version": "1.0.1",
    "generated_at": "2026-04-21T15:40:38+00:00",
    "bundle_id": "scenario-a-sggmrs-container",
    "description": "Schema for Scenario A bundle.json and bundle.csv. Defines field types, value constraints, and canonical IRI patterns.",
    "fields": {
        "bundle": {
            "bundle_id": "string, kebab-case",
            "bundle_version": "semver",
            "identifier": "URL, https://kerne.systems/...",
            "resolver": "URL, https://openrxm.org/...",
            "entity_count": "int",
            "failure_mode_count": "int"
        },
        "entity": {
            "entity_id": "string, ASSET-{12hex}",
            "identifier": "URL",
            "resolver": "URL",
            "name": "string",
            "fleet_template_id": "string, BENCH-{TYPE}",
            "uic_type_code": "string, UIC class letters",
            "configuration": "object"
        },
        "failure_mode": {
            "fm_uid": "string, FM-{12hex}",
            "identifier": "URL, https://kerne.systems/corpus/fm/{fm_uid}",
            "resolver": "URL, https://openrxm.org/corpus/fm/{fm_uid}",
            "entity_id": "string, ASSET-{12hex}",
            "catalog_code": "string, BAV catalog dotted-decimal",
            "chapter": "int, 1..10",
            "severity": "int, 1..5",
            "likelihood": "int, 1..5",
            "risk_index": "enum [Low, Medium, High, Critical]",
            "corpus_source": "enum [BAV-AVV-TBL-2021]",
            "source": "enum [regulation]"
        }
    },
    "fm_uid_scheme": {
        "algorithm": "sha256",
        "input": "source_id + \"|\" + catalog_code",
        "prefix": "FM-",
        "hex_length": 12,
        "deterministic": true,
        "reproducibility_note": "FMuid = \"FM-\" + sha256(\"BAV-AVV-TBL-2021|\" + catalog_code).hex[0:12]"
    },
    "iri_scheme": {
        "identifier_base": "https://kerne.systems/corpus",
        "resolver_base": "https://openrxm.org/corpus",
        "fm_path": "/fm/{fm_uid}",
        "entity_path": "/entity/{entity_id}",
        "binding": "dual"
    },
    "source_registry": {
        "source_id": "BAV-AVV-TBL-2021",
        "source_name": "BAV/AVV Fehlerkatalog (Technisches Berichtsformular / Tableau des Localités)",
        "source_version": "rev. 2021",
        "publisher": "Bundesamt für Verkehr (BAV) — Swiss Federal Office of Transport",
        "scope": "Rail freight wagons (TITEL 1 entries) — interoperable European standard-gauge network",
        "entry_count_total": 403,
        "entry_count_scenario": 297,
        "ingest_format": "kerne-fmcatalog-v1.0",
        "schema_version": "1.0"
    }
}