{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/peoplescourt-ai/json-schema/peoplescourt-ai-canonical-quote-filing-fee-canonical-response-schema.json",
  "title": "CanonicalQuoteFilingFeeCanonicalResponse",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/peoplescourt-ai-fees-api-openapi.yml#/components/schemas/CanonicalQuoteFilingFeeCanonicalResponse",
  "type": "object",
  "required": [
    "data",
    "requestId"
  ],
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "claimAmount": {
          "$ref": "#/$defs/FiatMoney"
        },
        "declaratoryOnly": {
          "type": "boolean"
        },
        "collectionMode": {
          "type": "string"
        },
        "tier": {
          "type": "string"
        },
        "rateBasisPoints": {
          "type": "string"
        },
        "percentComponent": {
          "$ref": "#/$defs/FiatMoney"
        },
        "floor": {
          "$ref": "#/$defs/FiatMoney"
        },
        "baseFee": {
          "$ref": "#/$defs/FiatMoney"
        },
        "panelSurchargeRateBasisPoints": {
          "type": "string"
        },
        "panelSurcharge": {
          "$ref": "#/$defs/FiatMoney"
        },
        "forumFee": {
          "$ref": "#/$defs/FiatMoney"
        },
        "waived": {
          "type": "boolean"
        },
        "caseTrack": {
          "type": "string",
          "enum": [
            "ai_fast",
            "ai_standard",
            "ai_assisted_human"
          ]
        },
        "fixedComponent": {
          "$ref": "#/$defs/FiatMoney"
        }
      },
      "required": [
        "claimAmount",
        "collectionMode",
        "tier",
        "rateBasisPoints",
        "percentComponent",
        "floor",
        "baseFee",
        "panelSurchargeRateBasisPoints",
        "panelSurcharge",
        "forumFee",
        "waived"
      ]
    },
    "requestId": {
      "type": "string"
    }
  },
  "$defs": {
    "FiatMoney": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "currency",
        "minorUnits"
      ],
      "properties": {
        "currency": {
          "type": "string",
          "const": "USD"
        },
        "minorUnits": {
          "type": "string",
          "pattern": "^(0|[1-9][0-9]{0,77})$"
        }
      }
    }
  }
}