{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Details",
  "title": "Details",
  "description": "Details information.",
  "required": [
    "bin",
    "lastDigits",
    "holder",
    "address"
  ],
  "type": "object",
  "properties": {
    "bin": {
      "type": "string",
      "description": "Abbreviation for 'Bank Identification Number', which is a code that identifies the institution responsible for issuing the credit card.",
      "example": "507860"
    },
    "lastDigits": {
      "type": "string",
      "description": "Credit card identifier number last digits.",
      "example": "2798"
    },
    "holder": {
      "type": "string",
      "description": "Credit card owner.",
      "example": "John Doe"
    },
    "address": {
      "$ref": "#/components/schemas/Address"
    }
  }
}