{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "PriceOverride",
  "description": "Price override for an item",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-price-override-schema.json",
  "type": "object",
  "properties": {
    "price": {
      "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-money-schema.json"
    },
    "rules": {
      "type": "array",
      "minItems": 1,
      "description": "Override rules for when this price override should be applied.",
      "items": {
        "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-override-rule-3-pd-schema.json"
      }
    }
  },
  "required": [
    "price",
    "rules"
  ]
}