{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-control-hub/json-schema/cisco-control-hub-person-schema.json",
  "title": "Person",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-control-hub-people-api-openapi.yml#/components/schemas/Person",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "emails": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "email"
      }
    },
    "displayName": {
      "type": "string"
    },
    "firstName": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    },
    "nickName": {
      "type": "string"
    },
    "avatar": {
      "type": "string",
      "format": "uri"
    },
    "orgId": {
      "type": "string"
    },
    "roles": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "licenses": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "created": {
      "type": "string",
      "format": "date-time"
    },
    "lastModified": {
      "type": "string",
      "format": "date-time"
    },
    "timezone": {
      "type": "string"
    },
    "lastActivity": {
      "type": "string",
      "format": "date-time"
    },
    "status": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "person",
        "bot",
        "appuser"
      ]
    },
    "userName": {
      "type": "string"
    },
    "loginEnabled": {
      "type": "boolean"
    }
  }
}