{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/knowngate-com/json-schema/knowngate-com-post-v0-check-item-request-schema.json",
  "title": "PostV0CheckItemRequest",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/knowngate-com-openapi-generated.yml#/components/schemas/PostV0CheckItemRequest",
  "type": "object",
  "properties": {
    "subject": {
      "type": "object",
      "description": "Subject to check, e.g. { \"upc\": \"0 51500 25551 8\" }"
    },
    "restrictions": {
      "type": "array",
      "description": "List of ingredients that must not be present"
    },
    "thresholds": {
      "type": "array",
      "description": "List of nutrient thresholds, each with nutrient, max, unit, basis"
    }
  },
  "required": [
    "subject"
  ]
}