{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/attestedmemory-net/json-schema/attestedmemory-net-price-request-schema.json",
  "title": "PriceRequest",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/meter-attestedmemory-openapi.json#/components/schemas/PriceRequest",
  "properties": {
    "operation": {
      "type": "string",
      "maxLength": 120,
      "minLength": 2,
      "title": "Operation"
    },
    "price_usdc": {
      "type": "string",
      "maxLength": 32,
      "minLength": 1,
      "title": "Price Usdc"
    },
    "unit": {
      "type": "string",
      "maxLength": 24,
      "title": "Unit",
      "default": "call"
    },
    "publisher_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 80
        },
        {
          "type": "null"
        }
      ],
      "title": "Publisher Id"
    },
    "description": {
      "type": "string",
      "maxLength": 300,
      "title": "Description",
      "default": ""
    }
  },
  "type": "object",
  "required": [
    "operation",
    "price_usdc"
  ]
}