{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hempdata-io/json-schema/hempdata-io-widget-check-request-schema.json",
  "title": "WidgetCheckRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/hempdata-io-api-openapi.json#/components/schemas/WidgetCheckRequest",
  "type": "object",
  "properties": {
    "api_key": {
      "type": "string",
      "description": "API key for widget authentication"
    },
    "substance": {
      "type": "string",
      "description": "Substance to check"
    },
    "product_type": {
      "type": "string",
      "description": "Product type to check"
    },
    "state": {
      "type": "string",
      "description": "Two-letter state code (provide this or ip)"
    },
    "ip": {
      "type": "string",
      "description": "IP address for geo-lookup (provide this or state)"
    }
  },
  "required": [
    "api_key",
    "substance",
    "product_type"
  ]
}