{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/canopyservicing-com/json-schema/canopyservicing-com-update-line-of-credit-card-schema-schema.json",
  "title": "UpdateLineOfCreditCardSchema",
  "description": "Request schema for updating a card for a line of credit.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/canopyservicing-com-cards-api-openapi.yml#/components/schemas/UpdateLineOfCreditCardSchema",
  "properties": {
    "status": {
      "$ref": "#/$defs/IssuerProcessorCardStatusInput",
      "description": "The new status of the card.",
      "hidden": false
    },
    "cancellation_reason": {
      "$ref": "#/$defs/IssuerProcessorCardCancellationReason",
      "description": "The reason the card was cancelled, if applicable."
    }
  },
  "type": "object",
  "required": [
    "status"
  ],
  "$defs": {
    "IssuerProcessorCardCancellationReason": {
      "type": "string",
      "enum": [
        "LOST",
        "STOLEN",
        "CUSTOMER_REQUESTED"
      ],
      "title": "IssuerProcessorCardCancellationReason"
    },
    "IssuerProcessorCardStatusInput": {
      "type": "string",
      "enum": [
        "ACTIVE",
        "INACTIVE",
        "CANCELED"
      ],
      "title": "IssuerProcessorCardStatusInput"
    }
  }
}