{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Example product record consumer contract",
  "description": "Application rules for the validation guide; not a guarantee about a website or Scraipe's supported schema vocabulary.",
  "type": "object",
  "properties": {
    "title": { "type": "string", "minLength": 1, "pattern": "\\S" },
    "price": { "type": "number", "minimum": 0 },
    "currency": { "enum": ["AUD", "USD", "GBP", "EUR"] },
    "inStock": { "type": "boolean" },
    "description": { "type": ["string", "null"] }
  },
  "required": ["title", "price", "currency", "inStock"],
  "additionalProperties": false
}
