{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/internet2/main/json-schema/internet2-email-addresses-response-type-schema.json",
  "title": "EmailAddressesResponseType",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/comanage-registry-restapiv1.yml#/components/schemas/EmailAddressesResponseType",
  "type": "object",
  "properties": {
    "ResponseType": {
      "type": "string",
      "enum": [
        "EmailAddresses"
      ]
    },
    "Version": {
      "type": "string",
      "enum": [
        "1.0"
      ]
    },
    "EmailAddresses": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EmailAddressResponse"
      }
    }
  },
  "$defs": {
    "EmailAddressResponse": {
      "type": "object",
      "required": [
        "Version",
        "Id",
        "Mail",
        "Type",
        "Verified",
        "Created",
        "Modified",
        "Revision",
        "Deleted"
      ],
      "properties": {
        "Version": {
          "type": "string",
          "enum": [
            "1.0"
          ]
        },
        "Id": {
          "type": "string"
        },
        "Mail": {
          "type": "string"
        },
        "Type": {
          "type": "string",
          "enum": [
            "delivery",
            "forwarding",
            "list",
            "official",
            "personal",
            "preferred",
            "recovery"
          ]
        },
        "Description": {
          "type": "string"
        },
        "Verified": {
          "type": "boolean"
        },
        "Person": {
          "type": "object",
          "properties": {
            "Type": {
              "type": "string",
              "enum": [
                "CO",
                "Dept",
                "Org",
                "Organization"
              ]
            },
            "Id": {
              "type": "string"
            }
          }
        },
        "Created": {
          "type": "string"
        },
        "Modified": {
          "type": "string"
        },
        "SourceEmailAddressId": {
          "type": "string"
        },
        "Revision": {
          "type": "string"
        },
        "Deleted": {
          "type": "boolean"
        },
        "ActorIdentifier": {
          "type": "string"
        }
      }
    }
  }
}