{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/openphone-com/main/json-schema/openphone-com-get-v1-contacts-response-schema.json",
  "title": "GetV1ContactsResponse",
  "x-generated": "2026-10-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/openphone-com-openapi-generated.yml#/components/schemas/GetV1ContactsResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "externalId": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "sourceUrl": {
      "type": "string"
    },
    "defaultFields": {
      "type": "object",
      "properties": {
        "company": {
          "type": "string"
        },
        "emails": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "value": {
                "type": "string"
              },
              "id": {
                "type": "string"
              }
            }
          }
        },
        "firstName": {
          "type": "string"
        },
        "lastName": {
          "type": "string"
        },
        "phoneNumbers": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "value": {
                "type": "string"
              },
              "id": {
                "type": "string"
              }
            }
          }
        },
        "role": {
          "type": "string"
        }
      }
    },
    "customFields": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "value": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "key": {
            "type": "string"
          },
          "id": {
            "type": "string"
          }
        }
      }
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "createdByUserId": {
      "type": "string"
    }
  }
}