{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/acord/refs/heads/main/json-schema/ngds-party-schema.json",
  "title": "Party",
  "description": "Party schema from ACORD NGDS API",
  "type": "object",
  "properties": {
    "partyId": {
      "type": "string"
    },
    "partyType": {
      "type": "string",
      "enum": [
        "Insured",
        "Claimant",
        "Agent",
        "Broker",
        "Carrier"
      ]
    },
    "firstName": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    },
    "organizationName": {
      "type": "string"
    },
    "taxId": {
      "type": "string"
    },
    "address": {
      "$ref": "#/components/schemas/Address"
    },
    "contacts": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Contact"
      }
    }
  }
}