{
  "spec_version": "sku.md/0.10-draft",
  "validator": {
    "name": "sku-md-generator",
    "version": "0.2.0"
  },
  "checked_at": "2026-08-03T00:00:00.000Z",
  "scope": "offline_document",
  "cases": [
    {
      "id": "valid-basic",
      "fixture": "/tests/v0.10/fixtures/valid-basic.sku.md",
      "expected_status": "passed",
      "expected_error_codes": [],
      "report": {
        "spec_version": "sku.md/0.10-draft",
        "validator": {
          "name": "sku-md-generator",
          "version": "0.2.0"
        },
        "target": {
          "url": "https://conformance.example/sku.md",
          "document_type": "catalog_manifest"
        },
        "scope": "offline_document",
        "status": "passed",
        "checked_at": "2026-08-03T00:00:00.000Z",
        "layers": {
          "syntax": "passed",
          "schema": "passed",
          "semantics": "passed",
          "online": "not_applicable"
        },
        "issues": []
      }
    },
    {
      "id": "valid-commerce-capability-only",
      "fixture": "/tests/v0.10/fixtures/valid-commerce-capability-only.sku.md",
      "expected_status": "passed",
      "expected_error_codes": [],
      "report": {
        "spec_version": "sku.md/0.10-draft",
        "validator": {
          "name": "sku-md-generator",
          "version": "0.2.0"
        },
        "target": {
          "url": "https://conformance.example/sku.md",
          "document_type": "catalog_manifest"
        },
        "scope": "offline_document",
        "status": "passed",
        "checked_at": "2026-08-03T00:00:00.000Z",
        "layers": {
          "syntax": "passed",
          "schema": "passed",
          "semantics": "passed",
          "online": "not_applicable"
        },
        "issues": []
      }
    },
    {
      "id": "valid-commerce-profile-only",
      "fixture": "/tests/v0.10/fixtures/valid-commerce-profile-only.sku.md",
      "expected_status": "passed",
      "expected_error_codes": [],
      "report": {
        "spec_version": "sku.md/0.10-draft",
        "validator": {
          "name": "sku-md-generator",
          "version": "0.2.0"
        },
        "target": {
          "url": "https://conformance.example/sku.md",
          "document_type": "catalog_manifest"
        },
        "scope": "offline_document",
        "status": "passed",
        "checked_at": "2026-08-03T00:00:00.000Z",
        "layers": {
          "syntax": "passed",
          "schema": "passed",
          "semantics": "passed",
          "online": "not_applicable"
        },
        "issues": []
      }
    },
    {
      "id": "invalid-commerce-neither",
      "fixture": "/tests/v0.10/fixtures/invalid-commerce-neither.sku.md",
      "expected_status": "failed",
      "expected_error_codes": [
        "SCHEMA_VALIDATION_FAILED"
      ],
      "report": {
        "spec_version": "sku.md/0.10-draft",
        "validator": {
          "name": "sku-md-generator",
          "version": "0.2.0"
        },
        "target": {
          "url": "https://conformance.example/sku.md",
          "document_type": "catalog_manifest"
        },
        "scope": "offline_document",
        "status": "failed",
        "checked_at": "2026-08-03T00:00:00.000Z",
        "layers": {
          "syntax": "passed",
          "schema": "failed",
          "semantics": "not_checked",
          "online": "not_applicable"
        },
        "issues": [
          {
            "code": "SCHEMA_VALIDATION_FAILED",
            "severity": "error",
            "layer": "schema",
            "instance_path": "/",
            "message": "The parsed frontmatter does not satisfy the v0.10 Publisher Schema. must have required property 'capabilities'",
            "repair": "Correct the value at the reported path and validate the document again."
          },
          {
            "code": "SCHEMA_VALIDATION_FAILED",
            "severity": "error",
            "layer": "schema",
            "instance_path": "/document_type",
            "message": "The parsed frontmatter does not satisfy the v0.10 Publisher Schema. must be equal to constant",
            "repair": "Correct the value at the reported path and validate the document again."
          }
        ]
      }
    },
    {
      "id": "invalid-authority-reference",
      "fixture": "/tests/v0.10/fixtures/invalid-authority-reference.sku.md",
      "expected_status": "failed",
      "expected_error_codes": [
        "LIVE_LOOKUP_REFERENCE_INVALID"
      ],
      "report": {
        "spec_version": "sku.md/0.10-draft",
        "validator": {
          "name": "sku-md-generator",
          "version": "0.2.0"
        },
        "target": {
          "url": "https://conformance.example/sku.md",
          "document_type": "catalog_manifest"
        },
        "scope": "offline_document",
        "status": "failed",
        "checked_at": "2026-08-03T00:00:00.000Z",
        "layers": {
          "syntax": "passed",
          "schema": "passed",
          "semantics": "failed",
          "online": "not_applicable"
        },
        "issues": [
          {
            "code": "LIVE_LOOKUP_REFERENCE_INVALID",
            "severity": "error",
            "layer": "semantics",
            "instance_path": "/authority/live_price",
            "message": "An Authority reference is missing or incompatible with the declared capability or Profile.",
            "repair": "Reference an existing capability or Profile with the exact required function."
          }
        ]
      }
    },
    {
      "id": "invalid-unsafe-yaml",
      "fixture": "/tests/v0.10/fixtures/invalid-unsafe-yaml.sku.md",
      "expected_status": "failed",
      "expected_error_codes": [
        "YAML_UNSAFE_FEATURE"
      ],
      "report": {
        "spec_version": "sku.md/0.10-draft",
        "validator": {
          "name": "sku-md-generator",
          "version": "0.2.0"
        },
        "target": {
          "url": "https://conformance.example/sku.md",
          "document_type": "unknown"
        },
        "scope": "offline_document",
        "status": "failed",
        "checked_at": "2026-08-03T00:00:00.000Z",
        "layers": {
          "syntax": "failed",
          "schema": "not_checked",
          "semantics": "not_checked",
          "online": "not_applicable"
        },
        "issues": [
          {
            "code": "YAML_UNSAFE_FEATURE",
            "severity": "error",
            "layer": "syntax",
            "instance_path": "/",
            "message": "The YAML frontmatter uses an anchor, alias, merge key, explicit tag, or unsupported syntax.",
            "repair": "Use plain JSON-compatible YAML without anchors, aliases, merge keys, or explicit tags."
          }
        ]
      }
    },
    {
      "id": "valid-forward-compatible-x-data",
      "fixture": "/tests/v0.10/fixtures/valid-forward-compatible-x-data.sku.md",
      "expected_status": "passed",
      "expected_error_codes": [],
      "report": {
        "spec_version": "sku.md/0.10-draft",
        "validator": {
          "name": "sku-md-generator",
          "version": "0.2.0"
        },
        "target": {
          "url": "https://conformance.example/sku.md",
          "document_type": "catalog_manifest"
        },
        "scope": "offline_document",
        "status": "passed",
        "checked_at": "2026-08-03T00:00:00.000Z",
        "layers": {
          "syntax": "passed",
          "schema": "passed",
          "semantics": "passed",
          "online": "not_applicable"
        },
        "issues": []
      }
    }
  ]
}
