{
  "specification": {
    "id": "GEDRA",
    "version": "0.1"
  },
  "manifestVersion": "0.1",
  "purpose": "Expected machine-validation behavior for GEDRA 0.1 core and HDIP reference-profile testcases.",
  "idBands": {
    "GEDRA-TC-001..099": "valid",
    "GEDRA-TC-100..199": "structural-invalid",
    "GEDRA-TC-200..299": "semantic-invalid-or-warning",
    "GEDRA-TC-300..399": "profile-invalid"
  },
  "semantics": {
    "jsonSchema": "pass/fail/not-run",
    "gedraShacl": "pass/fail/pass-warning/not-run",
    "profileShacl": "pass/fail/not-run"
  },
  "testcases": [
    {
      "id": "GEDRA-TC-001",
      "file": "valid/valid-c1-basic.jsonld",
      "description": "Minimal structurally valid ArchitectureInstance suitable for C1-oriented use.",
      "expected": {
        "jsonSchema": "pass",
        "gedraShacl": "pass"
      }
    },
    {
      "id": "GEDRA-TC-002",
      "file": "valid/valid-c2-with-applicability.jsonld",
      "description": "Valid C2 claim with evidence and explicit applicability.",
      "expected": {
        "jsonSchema": "pass",
        "gedraShacl": "pass"
      }
    },
    {
      "id": "GEDRA-TC-003",
      "file": "valid/valid-c2-with-approved-deviation.jsonld",
      "description": "Valid C2 claim showing an explicitly governed approved deviation.",
      "expected": {
        "jsonSchema": "pass",
        "gedraShacl": "pass"
      }
    },
    {
      "id": "GEDRA-TC-004",
      "file": "valid/valid-terminology-mapping.jsonld",
      "description": "Valid local terminology specialization.",
      "expected": {
        "jsonSchema": "pass",
        "gedraShacl": "pass"
      }
    },
    {
      "id": "GEDRA-TC-005",
      "file": "valid/valid-inherited-responsibility.jsonld",
      "description": "Valid inherited applicability with explicit source.",
      "expected": {
        "jsonSchema": "pass",
        "gedraShacl": "pass"
      }
    },
    {
      "id": "GEDRA-TC-006",
      "file": "valid/valid-delegated-responsibility.jsonld",
      "description": "Valid delegated applicability with explicit target.",
      "expected": {
        "jsonSchema": "pass",
        "gedraShacl": "pass"
      }
    },
    {
      "id": "GEDRA-TC-007",
      "file": "valid/valid-c3-hdip.jsonld",
      "description": "Valid C3 integration case using exact HDIP profile 0.1.",
      "expected": {
        "jsonSchema": "pass",
        "gedraShacl": "pass",
        "profileShacl": "pass"
      }
    },
    {
      "id": "GEDRA-TC-100",
      "file": "structural-invalid/missing-id.jsonld",
      "description": "ArchitectureInstance missing required id.",
      "expected": {
        "jsonSchema": "fail",
        "gedraShacl": "not-run"
      },
      "expectedConstraint": "GEDRA-C-001"
    },
    {
      "id": "GEDRA-TC-101",
      "file": "structural-invalid/missing-scope.jsonld",
      "description": "ArchitectureInstance missing required scope.",
      "expected": {
        "jsonSchema": "fail",
        "gedraShacl": "not-run"
      },
      "expectedConstraint": "GEDRA-C-001"
    },
    {
      "id": "GEDRA-TC-102",
      "file": "structural-invalid/invalid-architecture-type.jsonld",
      "description": "Architecture type outside the controlled vocabulary.",
      "expected": {
        "jsonSchema": "fail",
        "gedraShacl": "not-run"
      },
      "expectedConstraint": "GEDRA-C-003"
    },
    {
      "id": "GEDRA-TC-103",
      "file": "structural-invalid/unknown-assessment-result.jsonld",
      "description": "Uses prohibited/non-canonical assessment result.",
      "expected": {
        "jsonSchema": "fail",
        "gedraShacl": "not-run"
      },
      "expectedConstraint": "GEDRA-C-003"
    },
    {
      "id": "GEDRA-TC-104",
      "file": "structural-invalid/c3-without-profile.jsonld",
      "description": "C3 without appliesProfile. Classified structural-invalid because A6 deliberately encodes this conditional.",
      "expected": {
        "jsonSchema": "fail",
        "gedraShacl": "not-run"
      },
      "expectedConstraint": "GEDRA-C-010"
    },
    {
      "id": "GEDRA-TC-105",
      "file": "structural-invalid/c2-without-evidence.jsonld",
      "description": "C2 without supportedBy. Classified structural-invalid because A6 encodes the condition.",
      "expected": {
        "jsonSchema": "fail",
        "gedraShacl": "not-run"
      },
      "expectedConstraint": "GEDRA-C-060"
    },
    {
      "id": "GEDRA-TC-200",
      "file": "semantic-invalid/not-applicable-without-rationale-semantic.jsonld",
      "description": "Applicable responsibility with no realization/mapping/evidence: valid but expected SHACL Warning.",
      "expected": {
        "jsonSchema": "pass",
        "gedraShacl": "pass-warning"
      },
      "expectedConstraint": "GEDRA-C-033"
    },
    {
      "id": "GEDRA-TC-201",
      "file": "semantic-invalid/mapping-invalid-target-kind.jsonld",
      "description": "Structurally valid mapping whose relationship target is semantically incompatible.",
      "expected": {
        "jsonSchema": "pass",
        "gedraShacl": "fail"
      },
      "expectedConstraint": "GEDRA-C-023"
    },
    {
      "id": "GEDRA-TC-202",
      "file": "semantic-invalid/prohibited-equivalence-sor-authoritative-source.jsonld",
      "description": "Explicitly collapses System of Record into Authoritative Source.",
      "expected": {
        "jsonSchema": "pass",
        "gedraShacl": "fail"
      },
      "expectedConstraint": "GEDRA-C-061"
    },
    {
      "id": "GEDRA-TC-203",
      "file": "semantic-invalid/prohibited-equivalence-transformer-processor.jsonld",
      "description": "Explicitly collapses technical Data Transformer into privacy-law Data Processor.",
      "expected": {
        "jsonSchema": "pass",
        "gedraShacl": "fail"
      },
      "expectedConstraint": "GEDRA-C-061"
    },
    {
      "id": "GEDRA-TC-204",
      "file": "semantic-invalid/prohibited-equivalence-data-asset-product.jsonld",
      "description": "Explicitly collapses Data Asset into Data Product.",
      "expected": {
        "jsonSchema": "pass",
        "gedraShacl": "fail"
      },
      "expectedConstraint": "GEDRA-C-061"
    },
    {
      "id": "GEDRA-TC-300",
      "file": "profile-invalid/hdip-ads-wrong-parent.jsonld",
      "description": "HDIP ADS incorrectly declared equivalent to System of Record.",
      "expected": {
        "jsonSchema": "pass",
        "gedraShacl": "pass",
        "profileShacl": "fail"
      },
      "expectedConstraint": "HDIP-C-003"
    },
    {
      "id": "GEDRA-TC-301",
      "file": "profile-invalid/hdip-add-declared-authoritative.jsonld",
      "description": "HDIP ADD incorrectly declared equivalent to Authoritative Source.",
      "expected": {
        "jsonSchema": "pass",
        "gedraShacl": "pass",
        "profileShacl": "fail"
      },
      "expectedConstraint": "HDIP-C-005"
    },
    {
      "id": "GEDRA-TC-302",
      "file": "profile-invalid/hdip-profile-wrong-version.jsonld",
      "description": "C3 claim binds HDIP profile version 0.2 rather than exact reference-profile 0.1.",
      "expected": {
        "jsonSchema": "pass",
        "gedraShacl": "pass",
        "profileShacl": "fail"
      },
      "expectedConstraint": "HDIP-C-008"
    }
  ]
}
