{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hermesplant-com/json-schema/hermesplant-com-product-summary-schema.json",
  "title": "ProductSummary",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hermesplant-com-openapi.json#/components/schemas/ProductSummary",
  "type": "object",
  "properties": {
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "priceCents": {
      "type": "integer"
    },
    "currency": {
      "type": "string"
    },
    "mode": {
      "type": "string",
      "enum": [
        "payment",
        "subscription"
      ]
    },
    "interval": {
      "type": [
        "string",
        "null"
      ]
    },
    "deliveryType": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "x402": {
      "type": "object",
      "properties": {
        "available": {
          "type": "boolean"
        },
        "endpoint": {
          "type": "string"
        },
        "price": {
          "type": "string"
        },
        "network": {
          "type": "string"
        },
        "scheme": {
          "type": "string"
        },
        "reason": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "slug",
    "name",
    "description",
    "priceCents",
    "currency",
    "mode",
    "deliveryType",
    "url"
  ]
}