apiVersion: v1
kind: ConfigMap
metadata:
  name: customer-credit-rating-openapi
data:
  CustomerCreditRating.json: |-
    {
      "openapi": "3.0.1",
      "info": {
        "title": "Customer Credit Rating",
        "description": "This service domain maintains and administers the bank's credit assessment for customers based on consolidated internal data and optionally by referencing external credit agency reports",
        "version": "10.0.0"
      },
      "paths": {
        "/CustomerCreditRating/Initiate": {
          "post": {
            "tags": [
              "CR - CustomerCreditRatingState"
            ],
            "summary": "InCR Initiate credit state monitoring for a customer",
            "description": "InCR Initiate credit state monitoring for a customer",
            "operationId": "Initiate",
            "parameters": [],
            "requestBody": {
              "$ref": "#/components/requestBodies/InitiateCustomerCreditRatingStateRequest"
            },
            "responses": {
              "200": {
                "description": "Success",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/InitiateCustomerCreditRatingStateResponse"
                    }
                  }
                }
              },
              "400": {
                "description": "Bad Request",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "401": {
                "description": "Unauthorized",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "403": {
                "description": "Forbidden",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "404": {
                "description": "Not Found",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "429": {
                "description": "Too Many Requests",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "500": {
                "description": "Internal Server Error",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              }
            }
          }
        },
        "/CustomerCreditRating/{customercreditratingId}/Execute": {
          "put": {
            "tags": [
              "CR - CustomerCreditRatingState"
            ],
            "summary": "ExCR Execute an automated task for credit state (e.g. auto refresh)",
            "description": "ExCR Execute an automated task for credit state (e.g. auto refresh)",
            "operationId": "Execute",
            "parameters": [
              {
                "name": "customercreditratingId",
                "in": "path",
                "required": true,
                "style": "simple",
                "explode": false,
                "schema": {
                  "type": "string"
                }
              }
            ],
            "requestBody": {
              "$ref": "#/components/requestBodies/ExecuteCustomerCreditRatingStateRequest"
            },
            "responses": {
              "200": {
                "description": "Success",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/ExecuteCustomerCreditRatingStateResponse"
                    }
                  }
                }
              },
              "400": {
                "description": "Bad Request",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "401": {
                "description": "Unauthorized",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "403": {
                "description": "Forbidden",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "404": {
                "description": "Not Found",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "429": {
                "description": "Too Many Requests",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "500": {
                "description": "Internal Server Error",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              }
            }
          }
        },
        "/CustomerCreditRating/{customercreditratingId}/Request": {
          "put": {
            "tags": [
              "CR - CustomerCreditRatingState"
            ],
            "summary": "RqCR Request manual intervention for credit state (e.g. revise underlying assessment)",
            "description": "RqCR Request manual intervention for credit state (e.g. revise underlying assessment)",
            "operationId": "Request",
            "parameters": [
              {
                "name": "customercreditratingId",
                "in": "path",
                "required": true,
                "style": "simple",
                "explode": false,
                "schema": {
                  "type": "string"
                }
              }
            ],
            "requestBody": {
              "$ref": "#/components/requestBodies/RequestCustomerCreditRatingStateRequest"
            },
            "responses": {
              "200": {
                "description": "Success",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/RequestCustomerCreditRatingStateResponse"
                    }
                  }
                }
              },
              "400": {
                "description": "Bad Request",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "401": {
                "description": "Unauthorized",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "403": {
                "description": "Forbidden",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "404": {
                "description": "Not Found",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "429": {
                "description": "Too Many Requests",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "500": {
                "description": "Internal Server Error",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              }
            }
          }
        },
        "/CustomerCreditRating/{customercreditratingId}/Retrieve": {
          "get": {
            "tags": [
              "CR - CustomerCreditRatingState"
            ],
            "summary": "ReCR Retrieve details about credit state monitoring for a customer",
            "description": "ReCR Retrieve details about credit state monitoring for a customer",
            "operationId": "Retrieve",
            "parameters": [
              {
                "name": "customercreditratingId",
                "in": "path",
                "required": true,
                "style": "simple",
                "explode": false,
                "schema": {
                  "type": "string"
                }
              }
            ],
            "responses": {
              "200": {
                "description": "Success",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/RetrieveCustomerCreditRatingStateResponse"
                    }
                  }
                }
              },
              "400": {
                "description": "Bad Request",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "401": {
                "description": "Unauthorized",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "403": {
                "description": "Forbidden",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "404": {
                "description": "Not Found",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "429": {
                "description": "Too Many Requests",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "500": {
                "description": "Internal Server Error",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              }
            }
          }
        },
        "/CustomerCreditRating/{customercreditratingId}/Alerts/{alertsId}/Capture": {
          "put": {
            "tags": [
              "BQ - Alerts"
            ],
            "summary": "CaBQ Capture notification of a credit alert",
            "description": "CaBQ Capture notification of a credit alert",
            "operationId": "CaptureAlerts",
            "parameters": [
              {
                "name": "customercreditratingId",
                "in": "path",
                "required": true,
                "style": "simple",
                "explode": false,
                "schema": {
                  "type": "string"
                }
              },
              {
                "name": "alertsId",
                "in": "path",
                "required": true,
                "style": "simple",
                "explode": false,
                "schema": {
                  "type": "string"
                }
              }
            ],
            "requestBody": {
              "$ref": "#/components/requestBodies/CaptureAlertsRequest"
            },
            "responses": {
              "200": {
                "description": "Success",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/CaptureAlertsResponse"
                    }
                  }
                }
              },
              "400": {
                "description": "Bad Request",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "401": {
                "description": "Unauthorized",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "403": {
                "description": "Forbidden",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "404": {
                "description": "Not Found",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "429": {
                "description": "Too Many Requests",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "500": {
                "description": "Internal Server Error",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              }
            }
          }
        },
        "/CustomerCreditRating/{customercreditratingId}/Alerts/{alertsId}/Retrieve": {
          "get": {
            "tags": [
              "BQ - Alerts"
            ],
            "summary": "ReBQ Retrieve details about a credit alert",
            "description": "ReBQ Retrieve details about a credit alert",
            "operationId": "RetrieveAlerts",
            "parameters": [
              {
                "name": "customercreditratingId",
                "in": "path",
                "required": true,
                "style": "simple",
                "explode": false,
                "schema": {
                  "type": "string"
                }
              },
              {
                "name": "alertsId",
                "in": "path",
                "required": true,
                "style": "simple",
                "explode": false,
                "schema": {
                  "type": "string"
                }
              }
            ],
            "responses": {
              "200": {
                "description": "Success",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/RetrieveAlertsResponse"
                    }
                  }
                }
              },
              "400": {
                "description": "Bad Request",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "401": {
                "description": "Unauthorized",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "403": {
                "description": "Forbidden",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "404": {
                "description": "Not Found",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "429": {
                "description": "Too Many Requests",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "500": {
                "description": "Internal Server Error",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              }
            }
          }
        },
        "/CustomerCreditRating/{customercreditratingId}/InternalReporting/{internalreportingId}/Capture": {
          "put": {
            "tags": [
              "BQ - InternalReporting"
            ],
            "summary": "CaBQ Capture internal product reports to support credit analysis",
            "description": "CaBQ Capture internal product reports to support credit analysis",
            "operationId": "CaptureInternalReporting",
            "parameters": [
              {
                "name": "customercreditratingId",
                "in": "path",
                "required": true,
                "style": "simple",
                "explode": false,
                "schema": {
                  "type": "string"
                }
              },
              {
                "name": "internalreportingId",
                "in": "path",
                "required": true,
                "style": "simple",
                "explode": false,
                "schema": {
                  "type": "string"
                }
              }
            ],
            "requestBody": {
              "$ref": "#/components/requestBodies/CaptureInternalReportingRequest"
            },
            "responses": {
              "200": {
                "description": "Success",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/CaptureInternalReportingResponse"
                    }
                  }
                }
              },
              "400": {
                "description": "Bad Request",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "401": {
                "description": "Unauthorized",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "403": {
                "description": "Forbidden",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "404": {
                "description": "Not Found",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "429": {
                "description": "Too Many Requests",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "500": {
                "description": "Internal Server Error",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              }
            }
          }
        },
        "/CustomerCreditRating/{customercreditratingId}/InternalReporting/{internalreportingId}/Retrieve": {
          "get": {
            "tags": [
              "BQ - InternalReporting"
            ],
            "summary": "ReBQ Retrieve details about internal reporting to the credit monitoring activity",
            "description": "ReBQ Retrieve details about internal reporting to the credit monitoring activity",
            "operationId": "RetrieveInternalReporting",
            "parameters": [
              {
                "name": "customercreditratingId",
                "in": "path",
                "required": true,
                "style": "simple",
                "explode": false,
                "schema": {
                  "type": "string"
                }
              },
              {
                "name": "internalreportingId",
                "in": "path",
                "required": true,
                "style": "simple",
                "explode": false,
                "schema": {
                  "type": "string"
                }
              }
            ],
            "responses": {
              "200": {
                "description": "Success",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/RetrieveInternalReportingResponse"
                    }
                  }
                }
              },
              "400": {
                "description": "Bad Request",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "401": {
                "description": "Unauthorized",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "403": {
                "description": "Forbidden",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "404": {
                "description": "Not Found",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "429": {
                "description": "Too Many Requests",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "500": {
                "description": "Internal Server Error",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              }
            }
          }
        },
        "/CustomerCreditRating/{customercreditratingId}/ExternalReporting/{externalreportingId}/Capture": {
          "put": {
            "tags": [
              "BQ - ExternalReporting"
            ],
            "summary": "CaBQ Capture external credit reports to support credit analysis and state",
            "description": "CaBQ Capture external credit reports to support credit analysis and state",
            "operationId": "CaptureExternalReporting",
            "parameters": [
              {
                "name": "customercreditratingId",
                "in": "path",
                "required": true,
                "style": "simple",
                "explode": false,
                "schema": {
                  "type": "string"
                }
              },
              {
                "name": "externalreportingId",
                "in": "path",
                "required": true,
                "style": "simple",
                "explode": false,
                "schema": {
                  "type": "string"
                }
              }
            ],
            "requestBody": {
              "$ref": "#/components/requestBodies/CaptureExternalReportingRequest"
            },
            "responses": {
              "200": {
                "description": "Success",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/CaptureExternalReportingResponse"
                    }
                  }
                }
              },
              "400": {
                "description": "Bad Request",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "401": {
                "description": "Unauthorized",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "403": {
                "description": "Forbidden",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "404": {
                "description": "Not Found",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "429": {
                "description": "Too Many Requests",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "500": {
                "description": "Internal Server Error",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              }
            }
          }
        },
        "/CustomerCreditRating/{customercreditratingId}/ExternalReporting/{externalreportingId}/Retrieve": {
          "get": {
            "tags": [
              "BQ - ExternalReporting"
            ],
            "summary": "ReBQ Retrieve details about external reporting to the credit monitoring activity",
            "description": "ReBQ Retrieve details about external reporting to the credit monitoring activity",
            "operationId": "RetrieveExternalReporting",
            "parameters": [
              {
                "name": "customercreditratingId",
                "in": "path",
                "required": true,
                "style": "simple",
                "explode": false,
                "schema": {
                  "type": "string"
                }
              },
              {
                "name": "externalreportingId",
                "in": "path",
                "required": true,
                "style": "simple",
                "explode": false,
                "schema": {
                  "type": "string"
                }
              }
            ],
            "responses": {
              "200": {
                "description": "Success",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/RetrieveExternalReportingResponse"
                    }
                  }
                }
              },
              "400": {
                "description": "Bad Request",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "401": {
                "description": "Unauthorized",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "403": {
                "description": "Forbidden",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "404": {
                "description": "Not Found",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "429": {
                "description": "Too Many Requests",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              },
              "500": {
                "description": "Internal Server Error",
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/HTTPError"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "components": {
        "schemas": {
          "CustomerCreditRatingState": {
            "type": "object",
            "properties": {
              "CustomerReference": {
                "type": "object"
              },
              "CustomerCreditRatingStatusType": {
                "type": "string"
              },
              "CustomerCreditRatingSchedule": {
                "type": "string"
              },
              "CustomerCreditRatingAssessmentRecord": {
                "type": "string"
              },
              "AssessmentCustomerBehaviorModelReference": {
                "type": "object"
              },
              "CreditRatingAssessmentType": {
                "type": "string"
              },
              "CreditRatingAssessmentDate": {
                "type": "string"
              },
              "CreditRatingAssessmentWorkProducts": {
                "type": "string"
              },
              "CreditRatingAssessmentResult": {
                "type": "string"
              },
              "CustomerCreditRatingRecord": {
                "type": "string"
              },
              "CustomerCreditRatingState": {
                "type": "string"
              },
              "CustomerCreditRatingAssessment": {
                "type": "string"
              },
              "CustomerCreditRatingNarrative": {
                "type": "string"
              },
              "CustomerCreditRatingDate": {
                "type": "string"
              }
            }
          },
          "ExternalReporting": {
            "type": "object",
            "properties": {
              "RatingAgencyReportSchedule": {
                "type": "string"
              },
              "RatingAgencyCreditReportType": {
                "type": "string"
              },
              "Referencetotheratingagencycreditreport": {
                "type": "string"
              },
              "RatingAgencyCreditReport": {
                "type": "string"
              },
              "RatingAgencyCreditReportDate": {
                "type": "string"
              }
            }
          },
          "Alerts": {
            "type": "object",
            "properties": {
              "ProductInstanceReference": {
                "type": "object"
              },
              "Employee/BusinessUnitReference": {
                "type": "object"
              },
              "CustomerCreditAlertType": {
                "type": "string"
              },
              "CustomerCreditAlertDescription": {
                "type": "string"
              },
              "Date": {
                "type": "string"
              }
            }
          },
          "InternalReporting": {
            "type": "object",
            "properties": {
              "ProductandServiceActivityReportReference": {
                "type": "object"
              },
              "ProductandServiceActivityReportSchedule": {
                "type": "string"
              },
              "ProductandServiceActivityReport": {
                "type": "string"
              }
            }
          },
          "HTTPError": {
            "type": "object",
            "properties": {
              "status_code": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            }
          },
          "InitiateCustomerCreditRatingStateRequest": {
            "type": "object",
            "properties": {
              "CustomerCreditRatingState": {
                "$ref": "#/components/schemas/InitiateCustomerCreditRatingStateRequest_CustomerCreditRatingState"
              }
            }
          },
          "InitiateCustomerCreditRatingStateResponse": {
            "type": "object",
            "properties": {
              "CustomerCreditRatingState": {
                "$ref": "#/components/schemas/InitiateCustomerCreditRatingStateResponse_CustomerCreditRatingState"
              }
            }
          },
          "ExecuteCustomerCreditRatingStateRequest": {
            "type": "object",
            "properties": {
              "CustomerCreditRatingState": {
                "$ref": "#/components/schemas/ExecuteCustomerCreditRatingStateRequest_CustomerCreditRatingState"
              }
            }
          },
          "ExecuteCustomerCreditRatingStateResponse": {
            "type": "object",
            "properties": {
              "CustomerCreditRatingState": {
                "$ref": "#/components/schemas/ExecuteCustomerCreditRatingStateResponse_CustomerCreditRatingState"
              }
            }
          },
          "RequestCustomerCreditRatingStateRequest": {
            "type": "object",
            "properties": {
              "CustomerCreditRatingState": {
                "$ref": "#/components/schemas/ExecuteCustomerCreditRatingStateRequest_CustomerCreditRatingState"
              }
            }
          },
          "RequestCustomerCreditRatingStateResponse": {
            "type": "object",
            "properties": {
              "CustomerCreditRatingState": {
                "$ref": "#/components/schemas/ExecuteCustomerCreditRatingStateResponse_CustomerCreditRatingState"
              }
            }
          },
          "RetrieveCustomerCreditRatingStateResponse": {
            "type": "object",
            "properties": {
              "CustomerCreditRatingState": {
                "$ref": "#/components/schemas/RetrieveCustomerCreditRatingStateResponse_CustomerCreditRatingState"
              }
            }
          },
          "CaptureAlertsRequest": {
            "type": "object",
            "properties": {
              "CustomerCreditRatingState": {
                "$ref": "#/components/schemas/CaptureAlertsRequest_CustomerCreditRatingState"
              },
              "Alerts": {
                "$ref": "#/components/schemas/CaptureAlertsRequest_Alerts"
              }
            }
          },
          "CaptureAlertsResponse": {
            "type": "object",
            "properties": {
              "Alerts": {
                "$ref": "#/components/schemas/CaptureAlertsResponse_Alerts"
              }
            }
          },
          "RetrieveAlertsResponse": {
            "type": "object",
            "properties": {
              "CustomerCreditRatingState": {
                "$ref": "#/components/schemas/CaptureAlertsRequest_CustomerCreditRatingState"
              },
              "Alerts": {
                "$ref": "#/components/schemas/CaptureAlertsRequest_Alerts"
              }
            }
          },
          "CaptureInternalReportingRequest": {
            "type": "object",
            "properties": {
              "CustomerCreditRatingState": {
                "$ref": "#/components/schemas/CaptureAlertsRequest_CustomerCreditRatingState"
              },
              "InternalReporting": {
                "$ref": "#/components/schemas/CaptureInternalReportingRequest_InternalReporting"
              }
            }
          },
          "CaptureInternalReportingResponse": {
            "type": "object",
            "properties": {
              "InternalReporting": {
                "$ref": "#/components/schemas/CaptureInternalReportingResponse_InternalReporting"
              }
            }
          },
          "RetrieveInternalReportingResponse": {
            "type": "object",
            "properties": {
              "CustomerCreditRatingState": {
                "$ref": "#/components/schemas/CaptureAlertsRequest_CustomerCreditRatingState"
              },
              "InternalReporting": {
                "$ref": "#/components/schemas/CaptureInternalReportingRequest_InternalReporting"
              }
            }
          },
          "CaptureExternalReportingRequest": {
            "type": "object",
            "properties": {
              "CustomerCreditRatingState": {
                "$ref": "#/components/schemas/CaptureAlertsRequest_CustomerCreditRatingState"
              },
              "ExternalReporting": {
                "$ref": "#/components/schemas/CaptureExternalReportingRequest_ExternalReporting"
              }
            }
          },
          "CaptureExternalReportingResponse": {
            "type": "object",
            "properties": {
              "ExternalReporting": {
                "$ref": "#/components/schemas/CaptureExternalReportingResponse_ExternalReporting"
              }
            }
          },
          "RetrieveExternalReportingResponse": {
            "type": "object",
            "properties": {
              "CustomerCreditRatingState": {
                "$ref": "#/components/schemas/CaptureAlertsRequest_CustomerCreditRatingState"
              },
              "ExternalReporting": {
                "$ref": "#/components/schemas/RetrieveExternalReportingResponse_ExternalReporting"
              }
            }
          },
          "InitiateCustomerCreditRatingStateRequest_CustomerCreditRatingState": {
            "type": "object",
            "properties": {
              "CustomerReference": {
                "type": "object"
              },
              "CustomerCreditRatingStatusType": {
                "type": "string"
              },
              "CustomerCreditRatingSchedule": {
                "type": "string"
              },
              "CustomerCreditRatingAssessmentRecord": {
                "type": "string"
              },
              "CustomerCreditRatingRecord": {
                "type": "string"
              },
              "CustomerCreditRatingDate": {
                "type": "string"
              }
            }
          },
          "InitiateCustomerCreditRatingStateResponse_CustomerCreditRatingState": {
            "type": "object",
            "properties": {
              "CustomerCreditRatingSchedule": {
                "type": "string"
              },
              "CustomerCreditRatingAssessmentRecord": {
                "type": "string"
              },
              "CustomerCreditRatingRecord": {
                "type": "string"
              },
              "CustomerCreditRatingNarrative": {
                "type": "string"
              },
              "CustomerCreditRatingDate": {
                "type": "string"
              }
            }
          },
          "ExecuteCustomerCreditRatingStateRequest_CustomerCreditRatingState": {
            "type": "object",
            "properties": {
              "CustomerCreditRatingAssessmentRecord": {
                "type": "string"
              },
              "AssessmentCustomerBehaviorModelReference": {
                "type": "object"
              },
              "CreditRatingAssessmentType": {
                "type": "string"
              },
              "CreditRatingAssessmentDate": {
                "type": "string"
              }
            }
          },
          "ExecuteCustomerCreditRatingStateResponse_CustomerCreditRatingState": {
            "type": "object",
            "properties": {
              "CustomerCreditRatingAssessmentRecord": {
                "type": "string"
              },
              "CreditRatingAssessmentDate": {
                "type": "string"
              },
              "CreditRatingAssessmentWorkProducts": {
                "type": "string"
              },
              "CreditRatingAssessmentResult": {
                "type": "string"
              }
            }
          },
          "RetrieveCustomerCreditRatingStateResponse_CustomerCreditRatingState": {
            "type": "object",
            "properties": {
              "CustomerReference": {
                "type": "object"
              },
              "CustomerCreditRatingStatusType": {
                "type": "string"
              },
              "CustomerCreditRatingSchedule": {
                "type": "string"
              },
              "CustomerCreditRatingAssessmentRecord": {
                "type": "string"
              },
              "AssessmentCustomerBehaviorModelReference": {
                "type": "object"
              },
              "CreditRatingAssessmentType": {
                "type": "string"
              },
              "CreditRatingAssessmentDate": {
                "type": "string"
              },
              "CreditRatingAssessmentWorkProducts": {
                "type": "string"
              },
              "CreditRatingAssessmentResult": {
                "type": "string"
              },
              "CustomerCreditRatingRecord": {
                "type": "string"
              },
              "CustomerCreditRatingNarrative": {
                "type": "string"
              },
              "CustomerCreditRatingDate": {
                "type": "string"
              }
            }
          },
          "CaptureAlertsRequest_CustomerCreditRatingState": {
            "type": "object",
            "properties": {
              "CustomerReference": {
                "type": "object"
              }
            }
          },
          "CaptureAlertsRequest_Alerts": {
            "type": "object",
            "properties": {
              "ProductInstanceReference": {
                "type": "object"
              },
              "EmployeeOrBusinessUnitReference": {
                "type": "object"
              },
              "CustomerCreditAlertType": {
                "type": "string"
              },
              "CustomerCreditAlertDescription": {
                "type": "string"
              },
              "Date": {
                "type": "string"
              }
            }
          },
          "CaptureAlertsResponse_Alerts": {
            "type": "object",
            "properties": {
              "Date": {
                "type": "string"
              }
            }
          },
          "CaptureInternalReportingRequest_InternalReporting": {
            "type": "object",
            "properties": {
              "ProductandServiceActivityReportReference": {
                "type": "object"
              },
              "ProductandServiceActivityReportSchedule": {
                "type": "string"
              }
            }
          },
          "CaptureInternalReportingResponse_InternalReporting": {
            "type": "object",
            "properties": {
              "ProductandServiceActivityReportSchedule": {
                "type": "string"
              }
            }
          },
          "CaptureExternalReportingRequest_ExternalReporting": {
            "type": "object",
            "properties": {
              "RatingAgencyReportSchedule": {
                "type": "string"
              },
              "RatingAgencyCreditReportType": {
                "type": "string"
              },
              "RatingAgencyCreditReportDate": {
                "type": "string"
              }
            }
          },
          "CaptureExternalReportingResponse_ExternalReporting": {
            "type": "object",
            "properties": {
              "RatingAgencyReportSchedule": {
                "type": "string"
              },
              "Referencetotheratingagencycreditreport": {
                "type": "string"
              },
              "RatingAgencyCreditReportDate": {
                "type": "string"
              }
            }
          },
          "RetrieveExternalReportingResponse_ExternalReporting": {
            "type": "object",
            "properties": {
              "RatingAgencyReportSchedule": {
                "type": "string"
              },
              "RatingAgencyCreditReportType": {
                "type": "string"
              },
              "Referencetotheratingagencycreditreport": {
                "type": "string"
              },
              "RatingAgencyCreditReportDate": {
                "type": "string"
              }
            }
          }
        },
        "responses": {
          "HTTPError": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPError"
                }
              }
            }
          },
          "BadRequestError": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPError"
                }
              }
            }
          },
          "UnauthorizedError": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPError"
                }
              }
            }
          },
          "ForbiddenError": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPError"
                }
              }
            }
          },
          "NotFoundError": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPError"
                }
              }
            }
          },
          "TooManyRequestsError": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPError"
                }
              }
            }
          },
          "InternalServerError": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPError"
                }
              }
            }
          }
        },
        "parameters": {
          "CustomerCreditRatingID": {
            "name": "customercreditratingId",
            "in": "path",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          "ExternalReportingID": {
            "name": "externalreportingId",
            "in": "path",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          "AlertsID": {
            "name": "alertsId",
            "in": "path",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          "InternalReportingID": {
            "name": "internalreportingId",
            "in": "path",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          }
        },
        "requestBodies": {
          "InitiateCustomerCreditRatingStateRequest": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InitiateCustomerCreditRatingStateRequest"
                }
              }
            },
            "required": true
          },
          "ExecuteCustomerCreditRatingStateRequest": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExecuteCustomerCreditRatingStateRequest"
                }
              }
            },
            "required": true
          },
          "RequestCustomerCreditRatingStateRequest": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestCustomerCreditRatingStateRequest"
                }
              }
            },
            "required": true
          },
          "CaptureAlertsRequest": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CaptureAlertsRequest"
                }
              }
            },
            "required": true
          },
          "CaptureInternalReportingRequest": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CaptureInternalReportingRequest"
                }
              }
            },
            "required": true
          },
          "CaptureExternalReportingRequest": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CaptureExternalReportingRequest"
                }
              }
            },
            "required": true
          }
        }
      }
    }
