{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/q2/json-schema/q2-card-limits-object200-response-schema.json",
  "title": "CardLimitsObject200Response",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/q2-card-limit-api-openapi.yml#/components/schemas/CardLimitsObject200Response",
  "allOf": [
    {
      "$ref": "#/$defs/0"
    },
    {
      "type": "object",
      "properties": {
        "data": {
          "type": "object",
          "properties": {
            "bankCeiling": {
              "type": "object",
              "properties": {
                "purchaseLimit": {
                  "type": "number",
                  "format": "decimal",
                  "minimum": 0
                },
                "withdrawalLimit": {
                  "type": "number",
                  "format": "decimal",
                  "minimum": 0
                }
              }
            },
            "cardId": {
              "$ref": "#/$defs/HelixId"
            },
            "customerId": {
              "$ref": "#/$defs/HelixId"
            },
            "effectiveDailyLimits": {
              "$ref": "#/$defs/bankCeiling"
            },
            "limitGroupOverride": {
              "allOf": [
                {
                  "$ref": "#/$defs/bankCeiling"
                },
                {
                  "type": "object",
                  "properties": {
                    "classification": {
                      "$ref": "#/$defs/CardClassification"
                    }
                  }
                }
              ]
            },
            "programDefault": {
              "allOf": [
                {
                  "$ref": "#/$defs/bankCeiling"
                },
                {
                  "type": "object",
                  "properties": {
                    "limitGroupId": {
                      "$ref": "#/$defs/HelixId"
                    }
                  }
                }
              ]
            },
            "temporaryOverride": {
              "allOf": [
                {
                  "$ref": "#/$defs/bankCeiling"
                },
                {
                  "type": "object",
                  "properties": {
                    "expirationDate": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "comment": {
                      "type": "string"
                    }
                  }
                }
              ]
            }
          }
        }
      }
    }
  ],
  "$defs": {
    "CardClassification": {
      "type": "string",
      "enum": [
        "highrisk",
        "lowrisk",
        "businesscard"
      ]
    },
    "HelixId": {
      "type": "integer",
      "format": "int32",
      "minimum": 1
    }
  }
}