{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentstack-tech/json-schema/agentstack-tech-price-book-revision-body-schema.json",
  "title": "PriceBookRevisionBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentstack-tech-analytics-api-openapi.yml#/components/schemas/PriceBookRevisionBody",
  "properties": {
    "revision_id": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1,
      "title": "Revision Id"
    },
    "revision_hash": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Revision Hash"
    },
    "capability_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Capability Id"
    },
    "pricing_class": {
      "type": "string",
      "title": "Pricing Class",
      "default": "metered"
    },
    "unit_price_minor": {
      "type": "integer",
      "title": "Unit Price Minor",
      "default": 0
    },
    "currency": {
      "type": "string",
      "title": "Currency",
      "default": "USD"
    },
    "source": {
      "type": "string",
      "title": "Source",
      "default": "admin"
    }
  },
  "type": "object",
  "required": [
    "revision_id"
  ]
}