{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cascade-industries/json-schema/cascade-industries-usage-page-schema.json",
  "title": "UsagePage",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cascade-industries-openapi.yml#/components/schemas/UsagePage",
  "type": "object",
  "required": [
    "data",
    "pagination"
  ],
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/UsageRow"
      }
    },
    "limit": {
      "type": "integer"
    },
    "offset": {
      "type": "integer"
    },
    "pagination": {
      "type": "object",
      "required": [
        "limit",
        "offset",
        "returned",
        "has_more",
        "next_offset"
      ],
      "properties": {
        "limit": {
          "type": "integer"
        },
        "offset": {
          "type": "integer"
        },
        "returned": {
          "type": "integer"
        },
        "has_more": {
          "type": "boolean"
        },
        "next_offset": {
          "type": [
            "integer",
            "null"
          ]
        }
      }
    }
  },
  "$defs": {
    "UsageRow": {
      "type": "object",
      "required": [
        "requestId"
      ],
      "properties": {
        "requestId": {
          "type": "string"
        },
        "paracastRequestId": {
          "type": [
            "string",
            "null"
          ]
        },
        "estimatedMc": {
          "type": [
            "string",
            "null"
          ]
        },
        "settledMc": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "additionalProperties": true
    }
  }
}