{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/internet2/main/json-schema/internet2-co-people-response-type-schema.json",
  "title": "CoPeopleResponseType",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/comanage-registry-restapiv1.yml#/components/schemas/CoPeopleResponseType",
  "type": "object",
  "properties": {
    "ResponseType": {
      "type": "string",
      "enum": [
        "CoPeople"
      ]
    },
    "Version": {
      "type": "string",
      "enum": [
        "1.0"
      ]
    },
    "CoPeople": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CoPersonResponse"
      }
    }
  },
  "$defs": {
    "CoPersonResponse": {
      "type": "object",
      "required": [
        "Version",
        "Id",
        "CoId",
        "Status",
        "Created",
        "Modified",
        "Revision",
        "Deleted"
      ],
      "properties": {
        "Version": {
          "type": "string",
          "enum": [
            "1.0"
          ]
        },
        "Id": {
          "type": "string"
        },
        "CoId": {
          "type": "string"
        },
        "Timezone": {
          "type": "string"
        },
        "DateOfBirth": {
          "type": "string"
        },
        "Status": {
          "type": "string",
          "enum": [
            "Active",
            "Approved",
            "Confirmed",
            "Declined",
            "Deleted",
            "Denied",
            "Duplicate",
            "Expired",
            "GracePeriod",
            "Invited",
            "Locked",
            "Pending",
            "PendingApproval",
            "PendingConfirmation",
            "PendingVetting",
            "Suspended"
          ]
        },
        "Created": {
          "type": "string"
        },
        "Modified": {
          "type": "string"
        },
        "Revision": {
          "type": "string"
        },
        "Deleted": {
          "type": "boolean"
        },
        "Actoridentifier": {
          "type": "string"
        }
      }
    }
  }
}