{
  "version": 1,
  "description": "Invented regression corpus, not a proof of compatibility or source truth.",
  "cases": [
    {
      "id": "valid-product",
      "note": "Existing record remains accepted.",
      "data": [
        {
          "title": "Invented notebook",
          "priceText": "AUD 12.50",
          "tags": [
            "Paper"
          ]
        }
      ],
      "expected": {
        "baseline": true,
        "candidate": true
      }
    },
    {
      "id": "explicit-null",
      "note": "Unavailable price is explicit, not zero.",
      "data": [
        {
          "title": "Invented notebook",
          "priceText": null,
          "tags": [
            "Paper"
          ]
        }
      ],
      "expected": {
        "baseline": true,
        "candidate": true
      }
    },
    {
      "id": "missing-price",
      "note": "Presence and null are different.",
      "data": [
        {
          "title": "Invented notebook",
          "tags": [
            "Paper"
          ]
        }
      ],
      "expected": {
        "baseline": false,
        "candidate": false
      }
    },
    {
      "id": "numeric-price",
      "note": "No coercion into text.",
      "data": [
        {
          "title": "Invented notebook",
          "priceText": 0,
          "tags": [
            "Paper"
          ]
        }
      ],
      "expected": {
        "baseline": false,
        "candidate": false
      }
    },
    {
      "id": "blank-title",
      "note": "Whitespace-only title fails.",
      "data": [
        {
          "title": "  ",
          "priceText": "AUD 12.50",
          "tags": [
            "Paper"
          ]
        }
      ],
      "expected": {
        "baseline": false,
        "candidate": false
      }
    },
    {
      "id": "scalar-tags",
      "note": "One label is still an array.",
      "data": [
        {
          "title": "Invented notebook",
          "priceText": "AUD 12.50",
          "tags": "Paper"
        }
      ],
      "expected": {
        "baseline": false,
        "candidate": false
      }
    },
    {
      "id": "unknown-field",
      "note": "Undeclared properties fail.",
      "data": [
        {
          "title": "Invented notebook",
          "priceText": "AUD 12.50",
          "tags": [
            "Paper"
          ],
          "surprise": true
        }
      ],
      "expected": {
        "baseline": false,
        "candidate": false
      }
    },
    {
      "id": "sixth-invalid",
      "note": "Full-array validation includes row six.",
      "data": [
        {
          "title": "Invented notebook",
          "priceText": "AUD 12.50",
          "tags": [
            "Paper"
          ]
        },
        {
          "title": "Invented notebook",
          "priceText": "AUD 12.50",
          "tags": [
            "Paper"
          ]
        },
        {
          "title": "Invented notebook",
          "priceText": "AUD 12.50",
          "tags": [
            "Paper"
          ]
        },
        {
          "title": "Invented notebook",
          "priceText": "AUD 12.50",
          "tags": [
            "Paper"
          ]
        },
        {
          "title": "Invented notebook",
          "priceText": "AUD 12.50",
          "tags": [
            "Paper"
          ]
        },
        {
          "title": 42,
          "priceText": "AUD 12.50",
          "tags": [
            "Paper"
          ]
        }
      ],
      "expected": {
        "baseline": false,
        "candidate": false
      }
    },
    {
      "id": "optional-sku",
      "note": "Candidate explicitly permits a nonblank SKU; old contract rejects it.",
      "data": [
        {
          "title": "Invented notebook",
          "priceText": "AUD 12.50",
          "tags": [
            "Paper"
          ],
          "sku": "NOTE-1"
        }
      ],
      "expected": {
        "baseline": false,
        "candidate": true
      }
    },
    {
      "id": "blank-sku",
      "note": "Optional does not mean unrestricted when present.",
      "data": [
        {
          "title": "Invented notebook",
          "priceText": "AUD 12.50",
          "tags": [
            "Paper"
          ],
          "sku": " "
        }
      ],
      "expected": {
        "baseline": false,
        "candidate": false
      }
    },
    {
      "id": "duplicate-tags",
      "note": "uniqueItems is a deliberate tightening requiring migration review.",
      "data": [
        {
          "title": "Invented notebook",
          "priceText": "AUD 12.50",
          "tags": [
            "Paper",
            "Paper"
          ]
        }
      ],
      "expected": {
        "baseline": true,
        "candidate": false
      }
    },
    {
      "id": "empty-batch",
      "note": "This consumer requires at least one record.",
      "data": [],
      "expected": {
        "baseline": false,
        "candidate": false
      }
    }
  ]
}
