{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Fictional order test records",
  "description": "Schema-based fictional sample, not production-derived synthesis",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "id",
    "region",
    "amount",
    "status"
  ],
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^TEST-[0-9]{4,}$"
    },
    "region": {
      "type": "string",
      "enum": [
        "North",
        "South",
        "East",
        "West"
      ]
    },
    "amount": {
      "type": "string",
      "pattern": "^(?=.*[1-9])[0-9]+\\.[0-9]{2}$",
      "description": "Strictly positive EUR amount, two decimals"
    },
    "status": {
      "type": "string",
      "enum": [
        "pending",
        "paid",
        "cancelled"
      ]
    }
  },
  "x-batch-constraints": {
    "unique": [
      "id"
    ]
  }
}
