{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tereno-xyz/json-schema/tereno-xyz-quote-schema.json",
  "title": "Quote",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tereno-xyz-openapi.json#/components/schemas/Quote",
  "type": "object",
  "required": [
    "capabilityId",
    "quoteId",
    "cacheStatus",
    "listPriceUsd",
    "creditAppliedUsd",
    "priceUsd",
    "expiresAt",
    "invokeUrl",
    "invokeMethod"
  ],
  "properties": {
    "capabilityId": {
      "type": "string"
    },
    "quoteId": {
      "type": "string"
    },
    "cacheStatus": {
      "type": "string",
      "enum": [
        "hit",
        "partial",
        "miss"
      ]
    },
    "listPriceUsd": {
      "type": "number"
    },
    "creditAppliedUsd": {
      "type": "number"
    },
    "priceUsd": {
      "type": "number"
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time"
    },
    "invokeUrl": {
      "type": "string"
    },
    "invokeMethod": {
      "type": "string",
      "enum": [
        "GET",
        "POST"
      ]
    },
    "invokeBody": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": true
    }
  }
}