Comp AI · Schema

PeopleResponseDto

ComplianceArtificial IntelligenceSOC 2ISO 27001HIPAAGDPRAudit AutomationSecurity

Properties

Name Type Description
id string Member ID
organizationId string Organization ID this member belongs to
userId string User ID associated with member
role string Member role
createdAt string When the member was created
department string Member department. May be one of the built-in values (none, admin, gov, hr, it, itsm, qms) or a custom department name.
jobTitle objectnull Job title for the member
isActive boolean Whether member is active
deactivated boolean Whether member is deactivated
fleetDmLabelId objectnull FleetDM label ID for member devices
user object User information
backgroundCheckRequests array Background check requests for this member
View JSON Schema on GitHub

JSON Schema

comp-ai-people-response-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/comp-ai/json-schema/comp-ai-people-response-dto-schema.json",
  "title": "PeopleResponseDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/comp-ai-people-api-openapi.yml#/components/schemas/PeopleResponseDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Member ID"
    },
    "organizationId": {
      "type": "string",
      "description": "Organization ID this member belongs to"
    },
    "userId": {
      "type": "string",
      "description": "User ID associated with member"
    },
    "role": {
      "type": "string",
      "description": "Member role"
    },
    "createdAt": {
      "format": "date-time",
      "type": "string",
      "description": "When the member was created"
    },
    "department": {
      "type": "string",
      "description": "Member department. May be one of the built-in values (none, admin, gov, hr, it, itsm, qms) or a custom department name."
    },
    "jobTitle": {
      "type": [
        "object",
        "null"
      ],
      "description": "Job title for the member"
    },
    "isActive": {
      "type": "boolean",
      "description": "Whether member is active"
    },
    "deactivated": {
      "type": "boolean",
      "description": "Whether member is deactivated"
    },
    "fleetDmLabelId": {
      "type": [
        "object",
        "null"
      ],
      "description": "FleetDM label ID for member devices"
    },
    "user": {
      "description": "User information",
      "allOf": [
        {
          "$ref": "#/$defs/UserResponseDto"
        }
      ]
    },
    "backgroundCheckRequests": {
      "description": "Background check requests for this member",
      "type": "array",
      "items": {
        "$ref": "#/$defs/BackgroundCheckSummaryDto"
      }
    }
  },
  "required": [
    "id",
    "organizationId",
    "userId",
    "role",
    "createdAt",
    "department",
    "jobTitle",
    "isActive",
    "deactivated",
    "fleetDmLabelId",
    "user"
  ],
  "$defs": {
    "BackgroundCheckSummaryDto": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Background check request ID"
        },
        "status": {
          "type": "string",
          "description": "Background check status",
          "enum": [
            "invited",
            "in_progress",
            "in_review",
            "completed",
            "completed_with_flags",
            "failed",
            "cancelled"
          ]
        }
      },
      "required": [
        "id",
        "status"
      ]
    },
    "UserResponseDto": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "User ID"
        },
        "name": {
          "type": "string",
          "description": "User name"
        },
        "email": {
          "type": "string",
          "description": "User email"
        },
        "emailVerified": {
          "type": "boolean",
          "description": "Whether email is verified"
        },
        "image": {
          "type": [
            "object",
            "null"
          ],
          "description": "User profile image URL"
        },
        "createdAt": {
          "format": "date-time",
          "type": "string",
          "description": "When the user was created"
        },
        "updatedAt": {
          "format": "date-time",
          "type": "string",
          "description": "When the user was last updated"
        },
        "lastLogin": {
          "type": [
            "object",
            "null"
          ],
          "description": "Last login time"
        },
        "role": {
          "type": [
            "object",
            "null"
          ],
          "description": "Platform role of the user (managed by Better Auth admin plugin)"
        }
      },
      "required": [
        "id",
        "name",
        "email",
        "emailVerified",
        "image",
        "createdAt",
        "updatedAt",
        "lastLogin",
        "role"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/comp-ai-people-response-dto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.