{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/accounting-notifications-party-identification-2-schema.json",
  "title": "PartyIdentification-2",
  "description": "PartyIdentification-2 schema from Adyen API",
  "properties": {
    "address": {
      "description": "Address of the bank account owner.",
      "$ref": "#/components/schemas/Address-2"
    },
    "firstName": {
      "description": "First name of the individual. Required when `type` is **individual**.",
      "type": "string"
    },
    "fullName": {
      "description": "The name of the entity.",
      "type": "string"
    },
    "lastName": {
      "description": "Last name of the individual. Required when `type` is **individual**.",
      "type": "string"
    },
    "type": {
      "default": "unknown",
      "description": "The type of entity that owns the bank account.\n\n Possible values: **individual**, **organization**, or **unknown**.",
      "enum": [
        "individual",
        "organization",
        "unknown"
      ],
      "type": "string"
    }
  },
  "required": [
    "fullName"
  ],
  "type": "object"
}