{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://github.com/api-evangelist/gov-uk-pay/blob/main/json-schema/CardDetailsFromResponse.json",
  "title": "CardDetailsFromResponse",
  "type": "object",
  "properties": {
    "billing_address": {
      "$ref": "#/components/schemas/Address"
    },
    "card_brand": {
      "type": "string"
    },
    "card_type": {
      "type": "string"
    },
    "cardholder_name": {
      "type": "string"
    },
    "expiry_date": {
      "type": "string"
    },
    "first_digits_card_number": {
      "type": "string"
    },
    "last_digits_card_number": {
      "type": "string"
    }
  }
}