{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/W9Form",
  "title": "W9Form",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "payeeName": {
      "type": "string"
    },
    "businessName": {
      "type": "string"
    },
    "taxClassification": {
      "type": "string",
      "enum": [
        "Individual",
        "C_Corporation",
        "S_Corporation",
        "Partnership",
        "Trust",
        "LLC",
        "Other"
      ]
    },
    "tin": {
      "type": "string",
      "description": "Taxpayer Identification Number (masked)"
    },
    "tinType": {
      "type": "string",
      "enum": [
        "SSN",
        "EIN"
      ]
    },
    "address": {
      "type": "object",
      "properties": {
        "line1": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "postalCode": {
          "type": "string"
        }
      }
    },
    "signedDate": {
      "type": "string",
      "format": "date"
    },
    "status": {
      "type": "string",
      "enum": [
        "Valid",
        "Expired",
        "Revoked"
      ]
    }
  }
}