{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/proxyai-app/json-schema/proxyai-app-product-catalog-page-schema.json",
  "title": "ProductCatalogPage",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/proxyai-app-openapi.json#/components/schemas/ProductCatalogPage",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "currency",
    "items",
    "has_more",
    "next_cursor"
  ],
  "properties": {
    "currency": {
      "type": "string",
      "const": "USD"
    },
    "items": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "$ref": "#/$defs/PublicProduct"
      }
    },
    "has_more": {
      "type": "boolean"
    },
    "next_cursor": {
      "type": [
        "string",
        "null"
      ],
      "description": "Pass as cursor on the next request; null marks the last page."
    }
  },
  "$defs": {
    "PublicProduct": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "id",
        "name",
        "description",
        "price",
        "creditValue"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "price": {
          "type": "string",
          "description": "Decimal USD price, without binary rounding."
        },
        "creditValue": {
          "type": [
            "string",
            "null"
          ],
          "description": "Included credit value in USD, if any."
        }
      }
    }
  }
}