Popp · Schema

DocumentType

CompanyRecruitingStaffingHiringConversational AIAutomationSchedulingWorkflowsWebhookMCPAgents

Properties

Name Type Description
id string Unique identifier for the document type.
organizationId string Identifier of the organization that owns this document type.
name string Human-readable name shown to recruiters and candidates.
validation array Validation checks applied to documents of this type.
classificationRules array Rules used to recognise documents of this type.
validationSettings string JSON-encoded settings that tune the validation checks. Example: {"validFor":{"value":6,"unit":"MONTHS"}}.
externalId string Customer-controlled stable identifier. Must be unique per organization.
isArchived boolean Soft-delete flag. Archived types are not shown in pickers but historical references remain valid.
isUsedInCampaign boolean Set when at least one campaign or workflow references this type. Hard delete is blocked while this is true.
createdAt string
updatedAt string
View JSON Schema on GitHub

JSON Schema

popp-document-type-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/popp/json-schema/popp-document-type-schema.json",
  "title": "DocumentType",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/popp-documents-api-openapi.yml#/components/schemas/DocumentType",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the document type."
    },
    "organizationId": {
      "type": "string",
      "description": "Identifier of the organization that owns this document type."
    },
    "name": {
      "type": "string",
      "description": "Human-readable name shown to recruiters and candidates."
    },
    "validation": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "CHECK_DOCUMENT_CORNER_INCLUSION",
          "CHECK_NAME_MATCH",
          "CHECK_EXPIRATION_DATE",
          "CHECK_ISSUE_DATE",
          "CHECK_DATE_OF_BIRTH_INCLUSION",
          "CHECK_HOME_ADDRESS_INCLUSION"
        ]
      },
      "description": "Validation checks applied to documents of this type."
    },
    "classificationRules": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "INCLUDES_FIELD"
            ]
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "value"
        ]
      },
      "description": "Rules used to recognise documents of this type."
    },
    "validationSettings": {
      "type": "string",
      "description": "JSON-encoded settings that tune the validation checks. Example: {\"validFor\":{\"value\":6,\"unit\":\"MONTHS\"}}."
    },
    "externalId": {
      "type": "string",
      "description": "Customer-controlled stable identifier. Must be unique per organization."
    },
    "isArchived": {
      "type": "boolean",
      "description": "Soft-delete flag. Archived types are not shown in pickers but historical references remain valid."
    },
    "isUsedInCampaign": {
      "type": "boolean",
      "description": "Set when at least one campaign or workflow references this type. Hard delete is blocked while this is true."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "organizationId",
    "name",
    "isArchived",
    "isUsedInCampaign",
    "createdAt",
    "updatedAt"
  ]
}

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/popp-document-type"
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.