{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/q2/json-schema/q2-card-risk-factor-get200-response-schema.json",
  "title": "CardRiskFactorGet200Response",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/q2-card-risk-factor-api-openapi.yml#/components/schemas/CardRiskFactorGet200Response",
  "allOf": [
    {
      "$ref": "#/$defs/0"
    },
    {
      "type": "object",
      "properties": {
        "data": {
          "type": "object",
          "properties": {
            "baseRiskFactor": {
              "type": "string",
              "enum": [
                "TST"
              ],
              "description": "The risk strategy applied to card on an ongoing basis. Possible value are a combination between Risk Service Management (RSM) preconfigured strategies such as `C0M`, `C1M`, `C2M`, `C3M`, `C4M`, `C9M` and/or Client configured strategies where values are defined by client.\n"
            },
            "cardId": {
              "$ref": "#/$defs/HelixId"
            },
            "customerId": {
              "$ref": "#/$defs/HelixId"
            },
            "endDate": {
              "allOf": [
                {
                  "description": "The completion date of an `overrideRiskFactor`"
                },
                {
                  "$ref": "#/$defs/DateTimeProperty"
                }
              ]
            },
            "overrideRiskFactor": {
              "type": "string",
              "enum": [
                "ORR"
              ],
              "description": "The risk strategy applied to card on an ongoing basis. Possible value are a combination between Risk Service Management (RSM) preconfigured strategies such as `C0M`, `C1M`, `C2M`, `C3M`, `C4M`, `C9M` and/or Client configured strategies where values are defined by client.\n"
            },
            "startDate": {
              "allOf": [
                {
                  "description": "The beginning date of an `overrideRiskFactor`"
                },
                {
                  "$ref": "#/$defs/DateTimeProperty"
                }
              ]
            }
          }
        }
      }
    }
  ],
  "$defs": {
    "DateTimeProperty": {
      "type": "string",
      "format": "date-time"
    },
    "HelixId": {
      "type": "integer",
      "format": "int32",
      "minimum": 1
    }
  }
}