{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/anomalyarmor-ai/json-schema/anomalyarmor-ai-cost-estimate-request-schema.json",
  "title": "CostEstimateRequest",
  "description": "Schema for requesting cost estimate.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/anomalyarmor-ai-billing-api-openapi.yml#/components/schemas/CostEstimateRequest",
  "properties": {
    "operation_type": {
      "type": "string",
      "maxLength": 50,
      "minLength": 1,
      "title": "Operation Type"
    },
    "model": {
      "type": "string",
      "maxLength": 50,
      "minLength": 1,
      "title": "Model"
    },
    "estimated_tokens": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 1000000.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Estimated Tokens"
    },
    "asset_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Asset Id"
    }
  },
  "type": "object",
  "required": [
    "operation_type",
    "model"
  ]
}