{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/peoplehr/main/json-schema/peoplehr-post-employeedocument-request-schema.json",
  "title": "PostEmployeedocumentRequest",
  "x-generated": "2026-10-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/peoplehr-openapi-generated.yml#/components/schemas/PostEmployeedocumentRequest",
  "type": "object",
  "properties": {
    "EmployeeId": {
      "type": "string",
      "description": "Employee identifier (string for most actions, numeric internal id for GetDocumentDeeplinkById)"
    },
    "Category": {
      "type": "string",
      "description": "Managed list category (required for upload actions)"
    },
    "EmployeeAccess": {
      "type": "string",
      "description": "Employee access flag"
    },
    "ManagerAccess": {
      "type": "string",
      "description": "Manager access flag"
    },
    "SignatureRequired": {
      "type": "string",
      "description": "Signature required flag"
    },
    "ManagerSignatureRequired": {
      "type": "string",
      "description": "Manager signature required flag"
    },
    "DocumentName": {
      "type": "string",
      "description": "Name of the document"
    },
    "Description": {
      "type": "string",
      "description": "Optional description"
    },
    "File": {
      "type": "string",
      "description": "Base64 encoded file contents (for UploadEmployeeDocument)"
    },
    "ExternalURL": {
      "type": "string",
      "description": "External URL (for UploadEmployeeDocumentLink)"
    },
    "DocumentId": {
      "type": "string",
      "description": "Document identifier (for GetDocumentById)"
    },
    "DocumentIds": {
      "type": "array",
      "description": "Array of document IDs (for GetDocumentDeeplinkById)"
    },
    "CompanyId": {
      "type": "string",
      "description": "Company identifier (for GetDocumentDeeplinkById)"
    }
  },
  "required": [
    "EmployeeId",
    "Category",
    "EmployeeAccess",
    "ManagerAccess",
    "SignatureRequired",
    "ManagerSignatureRequired",
    "DocumentName",
    "File",
    "DocumentId",
    "DocumentIds",
    "CompanyId"
  ]
}