{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-umbrella/json-schema/cisco-umbrella-get-contact-schema.json",
  "title": "GetContact",
  "description": "List the customer's contact information.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-umbrella-contacts-api-openapi.yml#/components/schemas/GetContact",
  "type": "object",
  "required": [
    "emailAddress"
  ],
  "properties": {
    "contactId": {
      "type": "integer",
      "description": "The contact ID."
    },
    "organizationId": {
      "$ref": "#/$defs/organizationId"
    },
    "contactType": {
      "type": "string",
      "description": "The type of contact.",
      "enum": [
        "billing",
        "blockfeedback",
        "report",
        "serviceupdate",
        "support",
        "distributor"
      ]
    },
    "primaryContact": {
      "type": "string",
      "description": "Specify if the primary contact.",
      "enum": [
        "no",
        "yes"
      ],
      "default": "no"
    },
    "firstName": {
      "type": "string",
      "description": "The first name of the contact."
    },
    "lastName": {
      "type": "string",
      "description": "The last name of the contact."
    },
    "streetAddress": {
      "type": "string",
      "description": "The street address for the contact."
    },
    "streetAddress2": {
      "type": "string",
      "description": "A secondary street address for the contact."
    },
    "city": {
      "type": "string",
      "description": "The city where the contact is located."
    },
    "state": {
      "type": "string",
      "description": "The state where the contact is located."
    },
    "zipCode": {
      "type": "string",
      "description": "The US zip code where the contact is located."
    },
    "countryCode": {
      "type": "string",
      "description": "The country code for the contact.",
      "minLength": 2,
      "maxLength": 3
    },
    "phoneNumber": {
      "type": "string",
      "description": "The phone number for the contact."
    },
    "phoneNumber2": {
      "type": "string",
      "description": "The second phone number for the contact."
    },
    "faxNumber": {
      "type": "string",
      "description": "The fax number for the contact."
    },
    "emailAddress": {
      "type": "string",
      "description": "The email address for the contact."
    },
    "createdAt": {
      "type": "integer",
      "format": "int32",
      "description": "The time when the contact information was created. The time is specified in milliseconds."
    },
    "modifiedAt": {
      "type": "integer",
      "format": "int32",
      "description": "The time when the contact information was last modified. The time is specified in milliseconds."
    },
    "primaryEmailAddress": {
      "type": "string",
      "format": "email",
      "description": "The email address of primary contact of distributor organization."
    },
    "distributorVisibility": {
      "type": "boolean",
      "default": false,
      "description": "Specify whether distributors primary contact has visibility into trials."
    },
    "orgName": {
      "type": "string",
      "description": "The organization name of the distributor."
    }
  },
  "$defs": {
    "organizationId": {
      "type": "integer",
      "description": "The organization ID."
    }
  }
}