{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nexbid-dev/json-schema/nexbid-dev-agent-snippet-schema.json",
  "title": "AgentSnippet",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nexbid-dev-agent-openapi.json#/components/schemas/AgentSnippet",
  "type": "object",
  "properties": {
    "@context": {
      "type": "string"
    },
    "@type": {
      "type": "string",
      "enum": [
        "Product"
      ]
    },
    "@id": {
      "type": "string",
      "format": "uri"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "brand": {
      "type": "object",
      "properties": {
        "@type": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "image": {
      "type": "string",
      "format": "uri"
    },
    "offers": {
      "type": "object",
      "properties": {
        "@type": {
          "type": "string"
        },
        "price": {
          "type": "string"
        },
        "priceCurrency": {
          "type": "string"
        },
        "availability": {
          "type": "string"
        }
      }
    },
    "citation": {
      "type": "object",
      "properties": {
        "cite_as": {
          "type": "string"
        },
        "canonical_url": {
          "type": "string",
          "format": "uri"
        }
      },
      "required": [
        "cite_as",
        "canonical_url"
      ]
    },
    "nexbid": {
      "type": "object",
      "properties": {
        "snippet_id": {
          "type": "string",
          "format": "uuid"
        },
        "tier": {
          "type": "string"
        },
        "content_type": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "@context",
    "@type",
    "@id",
    "name",
    "nexbid"
  ]
}