Users, groups, roles or Everybody allowed to edit annotations on documents of this class. Used when aclSource is CLASS or CATEGORY. A user in editors but not in viewers may only view and edit annotations they authored.
(Deprecated, no longer enforced) Users, groups, roles or Everybody previously denied annotation access on documents of this class. Use annotationViewers and annotationEditors instead.
App Metadata let developers associate metadata with various configuration entities. The metadata is isolated within app namespaces in order to prevent one application from interfering with another's metadata.
The IDs of the system fields hidden by default on the document page, among _lastModified, _version, _library, _class and folder. Users can still show them. Empty means all of them are shown
The layouts of the Document Page: the ordered list of its sections (only one layout is used for now). Returned, and accepted, instead of sections, only if the library uses the new document page (custom configuration newUIDocumentViewPage)
DEPRECATED. Use systemFields['_title'].readOnly instead. Whether the title field should be read-only for whole life-cycle of documents of this class (except creation)
Users, groups, roles or Everybody allowed to edit annotations on documents of this class. Used when aclSource is CLASS or CATEGORY. A user in editors but not in viewers may only view and edit annotations they authored.
(Deprecated, no longer enforced) Users, groups, roles or Everybody previously denied annotation access on documents of this class. Use annotationViewers and annotationEditors instead.
App Metadata let developers associate metadata with various configuration entities. The metadata is isolated within app namespaces in order to prevent one application from interfering with another's metadata.
The IDs of the system fields hidden by default on the document page, among _lastModified, _version, _library, _class and folder. Users can still show them. Empty means all of them are shown
The layouts of the Document Page: the ordered list of its sections (only one layout is used for now). Returned, and accepted, instead of sections, only if the library uses the new document page (custom configuration newUIDocumentViewPage)
DEPRECATED. Use systemFields['_title'].readOnly instead. Whether the title field should be read-only for whole life-cycle of documents of this class (except creation)
The ID of the workflow in which the document class is (read-only field)
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"AO Docs Documentation","colors":{"primary":"#006CB2","light":"#4CA5E7","dark":"#006CB2"},"logo":{"light":"https://mintcdn.com/aodocs/ln9-UK7vfqtB6Ctx/logo/light.svg?fit=max\u0026auto=format\u0026n=ln9-UK7vfqtB6Ctx\u0026q=85\u0026s=c418895665a6cfafbf4d17e675f7c276","dark":"https://mintcdn.com/aodocs/ln9-UK7vfqtB6Ctx/logo/dark.svg?fit=max\u0026auto=format\u0026n=ln9-UK7vfqtB6Ctx\u0026q=85\u0026s=819218ba54186566d25d26d5ea329e61","href":"https://www.aodocs.com"},"favicon":"https://mintcdn.com/aodocs/ln9-UK7vfqtB6Ctx/favicon.svg?fit=max\u0026auto=format\u0026n=ln9-UK7vfqtB6Ctx\u0026q=85\u0026s=d0bf037dce435927befb8332e856c7e0","appearance":{"default":"dark"},"navbar":{"links":[{"href":"https://www.aodocs.com/contact/","label":"Contact us"}]},"footer":{"socials":{"youtube":"https://www.youtube.com/channel/UC4BSPzADc9QXoh29SAsn3Cg","linkedin":"https://www.linkedin.com/company/altirnao"}},"fonts":{"heading":{"family":"Roboto"},"body":{"family":"Roboto"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"About","icon":"users","href":"https://www.aodocs.com/company/"},{"anchor":"Blog","icon":"newspaper","href":"https://www.aodocs.com/blog/"},{"anchor":"Status","icon":"signal","href":"https://status.aodocs.com/?__hstc=7523757.3689b6b59ff0c12fcac6aa9719dd6032.1586143551842.1586316583659.1586321455157.16\u0026__hssc=7523757.35.1586321455157\u0026__hsfp=209583371"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"aodocs","hasAudioNarration":false,"actualSubdomain":"aodocs","customDomains":["api.aodocs.com"],"gitSource":{"type":"github","owner":"aodocs-dev","repo":"api-documentation","deployBranch":"master","contentDirectory":"mintlify-docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae47214e2abcaa039f9d99f","collectionId":"69dc0f62-6149-498d-9fa5-0867efc438af","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae47214e2abcaa039f9d99f"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae8551bf0ba2d6fcd93ea8c","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Core API Reference","count":357},{"language":"default","tag":"AI API Reference","count":83},{"language":"default","tag":"AIDA API Reference","count":80},{"language":"default","tag":"library","count":69},{"language":"default","tag":"Library","count":64},{"language":"default","tag":"Document ID","count":43},{"language":"default","tag":"Domain","count":42},{"language":"default","tag":"documentId","count":42},{"language":"default","tag":"domain","count":39},{"language":"default","tag":"Guides","count":37}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/documenttype/patch-documenttypev1libraries-documenttypes","slug":"/api-reference/documenttype/patch-documenttypev1libraries-documenttypes","pageMetadata":{"title":"Patch documenttypev1libraries documenttypes","description":"Updates a document class configuration (keep existing values for not specified fields).","deprecated":null,"version":null,"openapi":"/openapis/documentType.json patch /documentType/v1/libraries/{libId}/documentTypes/{documentTypeId}","href":"/api-reference/documenttype/patch-documenttypev1libraries-documenttypes","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Updates a document class configuration (keep existing values for not specified fields).\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Patch documenttypev1libraries documenttypes","description":"Updates a document class configuration (keep existing values for not specified fields).","deprecated":null,"version":null,"openapi":"/openapis/documentType.json patch /documentType/v1/libraries/{libId}/documentTypes/{documentTypeId}","href":"/api-reference/documenttype/patch-documenttypev1libraries-documenttypes","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["documentType"],"description":"Updates a document class configuration (keep existing values for not specified fields).","operationId":"documentType:v1beta1.DocumentType.patchClass","parameters":["d9c0f9ac-de91-452a-8071-16b5ee405f1d","69c4bfdc-b41b-412b-bcfb-0190aa265e03","2495a807-de6c-40bd-8eb9-435613422232","675c2c49-3a58-4b47-94f1-a7481f00edef","21caad32-ee75-4617-8de1-491532d1b7d0"],"requestBody":"a5951269-b16c-4ffd-9630-1d347549709e","responses":{"200":"00e70838-a1f6-4d35-a9d2-f624fac3409f"},"security":["f4295e81-6aec-4ff8-b3f7-36db843fb3fb","702bbbf4-1651-406b-b03f-249168c3c010"],"method":"patch","type":"path","servers":["774dffb3-b9c3-4ea7-bcc5-c443b95c8383"],"path":"/documentType/v1/libraries/{libId}/documentTypes/{documentTypeId}","baseUrlOptions":["https://aodocs.altirnao.com/api"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"d9c0f9ac-de91-452a-8071-16b5ee405f1d":{"name":"libId","in":"path","description":"The ID of the library","required":true,"schema":{"type":"string","isRequired":true,"description":"The ID of the library","uniqueKey":"","typeLabel":"string"}},"69c4bfdc-b41b-412b-bcfb-0190aa265e03":{"name":"documentTypeId","in":"path","description":"The ID of the document class","required":true,"schema":{"type":"string","isRequired":true,"description":"The ID of the document class","uniqueKey":"","typeLabel":"string"}},"2495a807-de6c-40bd-8eb9-435613422232":{"name":"resetInvalidTemplateValues","in":"query","description":"Whether to reset the values of invalid properties in document templates of the class","required":false,"schema":{"type":"boolean","default":false,"isRequired":false,"description":"Whether to reset the values of invalid properties in document templates of the class","uniqueKey":"","typeLabel":"boolean"}},"675c2c49-3a58-4b47-94f1-a7481f00edef":{"name":"securityCode","in":"query","description":"The security code","required":false,"schema":{"type":"string","isRequired":false,"description":"The security code","uniqueKey":"","typeLabel":"string"}},"21caad32-ee75-4617-8de1-491532d1b7d0":{"name":"domain","in":"query","description":"The G Suite domain","required":false,"schema":{"type":"string","isRequired":false,"description":"The G Suite domain","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"annotationEditors":{"type":"array","description":"Users, groups, roles or Everybody allowed to edit annotations on documents of this class. Used when aclSource is CLASS or CATEGORY. A user in editors but not in viewers may only view and edit annotations they authored.","items":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"annotationEditors.items.[INDEX].classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"annotationEditors.items.[INDEX].className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"annotationEditors.items.[INDEX].description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"annotationEditors.items.[INDEX].displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"annotationEditors.items.[INDEX].displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"annotationEditors.items.[INDEX].thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"annotationEditors.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"annotationEditors.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"annotationEditors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"annotationEditors","typeLabel":"object[]"},"annotationRestrictedViewers":{"type":"array","description":"(Deprecated, no longer enforced) Users, groups, roles or Everybody previously denied annotation access on documents of this class. Use annotationViewers and annotationEditors instead.","items":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"annotationRestrictedViewers.items.[INDEX].classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"annotationRestrictedViewers.items.[INDEX].className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"annotationRestrictedViewers.items.[INDEX].description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"annotationRestrictedViewers.items.[INDEX].displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"annotationRestrictedViewers.items.[INDEX].displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"annotationRestrictedViewers.items.[INDEX].thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"annotationRestrictedViewers.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"annotationRestrictedViewers.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"annotationRestrictedViewers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"annotationRestrictedViewers","typeLabel":"object[]"},"annotationViewers":{"type":"array","description":"Users, groups, roles or Everybody allowed to view annotations on documents of this class. Used when aclSource is CLASS or CATEGORY.","items":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"annotationViewers.items.[INDEX].classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"annotationViewers.items.[INDEX].className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"annotationViewers.items.[INDEX].description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"annotationViewers.items.[INDEX].displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"annotationViewers.items.[INDEX].displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"annotationViewers.items.[INDEX].thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"annotationViewers.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"annotationViewers.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"annotationViewers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"annotationViewers","typeLabel":"object[]"},"appMetadata":{"type":"object","description":"App Metadata let developers associate metadata with various configuration entities. The metadata is isolated within app namespaces in order to prevent one application from interfering with another's metadata.","additionalProperties":{"type":"object","properties":{"appNamespaceId":{"type":"string","description":"The id of the app namespace (read-only)","uniqueKey":"appMetadata.additionalProperties.appNamespaceId","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"appMetadata.additionalProperties.kind","typeLabel":"string"},"tags":{"type":"array","description":"The list of tags (name/value) in the namespace (limited to 10 items)","items":{"type":"object","properties":{"kind":{"type":"string","uniqueKey":"appMetadata.additionalProperties.tags.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The name of the tag","uniqueKey":"appMetadata.additionalProperties.tags.items.[INDEX].name","typeLabel":"string"},"stringValue":{"type":"string","description":"The value of the tag as a String","uniqueKey":"appMetadata.additionalProperties.tags.items.[INDEX].stringValue","typeLabel":"string"}},"uniqueKey":"appMetadata.additionalProperties.tags.items.[INDEX]","typeLabel":"object"},"uniqueKey":"appMetadata.additionalProperties.tags","typeLabel":"object[]"}},"uniqueKey":"appMetadata.additionalProperties","typeLabel":"object"},"uniqueKey":"appMetadata","typeLabel":"object"},"attachmentCreationModes":{"type":"object","description":"The list of supported attachment create modes with there setting (at least one mode should be enabled)","additionalProperties":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether this attachment creation mode should be possible for this document class","uniqueKey":"attachmentCreationModes.additionalProperties.enabled","typeLabel":"boolean"},"mustBeEnabled":{"type":"boolean","description":"Whether this attachment creation mode must be enabled or can be disabled according to library type and settings (read-only)","uniqueKey":"attachmentCreationModes.additionalProperties.mustBeEnabled","typeLabel":"boolean"}},"uniqueKey":"attachmentCreationModes.additionalProperties","typeLabel":"object"},"uniqueKey":"attachmentCreationModes","typeLabel":"object"},"checkoutMode":{"type":"string","description":"The mode for check-out use (DISABLED: no check-out possible, OPTIONAL: check-out can be used, MANDATORY: check-out must be used)","enum":["DISABLED","OPTIONAL","MANDATORY"],"uniqueKey":"checkoutMode","typeLabel":"enum\u003cstring>"},"colour":{"type":"string","description":"Optional banner color in hexadecimal #RRGGBB or #RRGGBBAA format (the latter with transparency). If omitted or empty, no banner is displayed.","uniqueKey":"colour","typeLabel":"string"},"coordinate":{"type":"string","description":"The coordinate of the document class based on the sequence ID (read-only field)","uniqueKey":"coordinate","typeLabel":"string"},"creators":{"type":"array","description":"The list of users/groups/roles who can create documents of this class (administrators implicitly can and readers implicitly can't)","items":{"type":"object","properties":{"displayName":{"type":"string","description":"The displayed name if type = USER, GROUP or ROLE","uniqueKey":"creators.items.[INDEX].displayName","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"creators.items.[INDEX].kind","typeLabel":"string"},"role":{"type":"string","description":"The level of the permission (READER, COMMENTER, WRITER or ATTACHMENT_EDITOR)","enum":["READER","COMMENTER","ATTACHMENT_EDITOR","WRITER"],"uniqueKey":"creators.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (for users)","uniqueKey":"creators.items.[INDEX].thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permitted audience (ANYONE, DOMAIN, GROUP, USER or ROLE)","enum":["ANYONE","DOMAIN","GROUP","USER","ROLE"],"uniqueKey":"creators.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if type = USER or GROUP, the ID of the role if type = ROLE","uniqueKey":"creators.items.[INDEX].value","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the audience will have access with the link","uniqueKey":"creators.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"creators.items.[INDEX]","typeLabel":"object"},"uniqueKey":"creators","typeLabel":"object[]"},"customActions":{"type":"array","description":"This list of custom actions to be triggered on documents of this class (both viewer and update actions)","items":{"type":"object","properties":{"event":{"type":"string","description":"The type of event (in workflow transitions: ON_STATE_ENTER_BEFORE_TRANSITION, ON_ENTER_STATE_AFTER_TRANSITION, ON_LEAVE_STATE_BEFORE_TRANSITION or ON_STATE_LEAVE_AFTER_TRANSITION, in relations: ON_RELATION_FILTER or ON_RELATION_RENDER, in classes: ON_DOCUMENT_UPDATE or ON_DOCUMENT_DISPLAY)","enum":["ON_STATE_ENTER_BEFORE_TRANSITION","ON_STATE_ENTER_AFTER_TRANSITION","ON_STATE_LEAVE_BEFORE_TRANSITION","ON_STATE_LEAVE_AFTER_TRANSITION","ON_RELATION_FILTER","ON_RELATION_RENDER","ON_DOCUMENT_DISPLAY","ON_DOCUMENT_UPDATE"],"uniqueKey":"customActions.items.[INDEX].event","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The id of the action (read-only)","uniqueKey":"customActions.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"customActions.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The name of the action","uniqueKey":"customActions.items.[INDEX].name","typeLabel":"string"},"params":{"type":"object","description":"The map key/value of the parameters","additionalProperties":{"type":"string","uniqueKey":"customActions.items.[INDEX].params.additionalProperties","typeLabel":"string"},"uniqueKey":"customActions.items.[INDEX].params","typeLabel":"object"},"scriptId":{"type":"string","description":"The ID of the custom script","uniqueKey":"customActions.items.[INDEX].scriptId","typeLabel":"string"},"scriptName":{"type":"string","description":"The name of the custom script (read-only field)","uniqueKey":"customActions.items.[INDEX].scriptName","typeLabel":"string"}},"uniqueKey":"customActions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"customActions","typeLabel":"object[]"},"defaultClass":{"type":"boolean","description":"Whether this class is the default document class of the library (read-only field)","uniqueKey":"defaultClass","typeLabel":"boolean"},"defaultTemplateId":{"type":"string","description":"The ID of the default document template of the document class","uniqueKey":"defaultTemplateId","typeLabel":"string"},"deleteFields":{"type":"array","description":"The list of field IDs to delete from the document class (use only during patch)","items":{"type":"string","uniqueKey":"deleteFields.items.[INDEX]","typeLabel":"string"},"uniqueKey":"deleteFields","typeLabel":"string[]"},"description":{"type":"string","description":"The description of the document class","uniqueKey":"description","typeLabel":"string"},"displayName":{"type":"string","description":"The name of the document class","uniqueKey":"displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The internationalized name of the document class (read-only field)","uniqueKey":"displayName_i18n","typeLabel":"string"},"documentCopyDisabled":{"type":"boolean","description":"Whether document copying is allowed or not","uniqueKey":"documentCopyDisabled","typeLabel":"boolean"},"duplicateDetection":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether duplicate detection is enabled","uniqueKey":"duplicateDetection.enabled","typeLabel":"boolean"},"similarityThreshold":{"type":"integer","format":"int32","description":"Similarity threshold used for duplicate detection (optional)","uniqueKey":"duplicateDetection.similarityThreshold","typeLabel":"integer\u003cint32>"}},"uniqueKey":"duplicateDetection","typeLabel":"object"},"elementsToCopy":{"type":"object","description":"User settings determining which attributes to copy when using 'Create From' mode to create a new document.","additionalProperties":{"type":"object","properties":{"restrictToIds":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The id","uniqueKey":"elementsToCopy.additionalProperties.restrictToIds.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"The name","uniqueKey":"elementsToCopy.additionalProperties.restrictToIds.items.[INDEX].name","typeLabel":"string"}},"uniqueKey":"elementsToCopy.additionalProperties.restrictToIds.items.[INDEX]","typeLabel":"object"},"uniqueKey":"elementsToCopy.additionalProperties.restrictToIds","typeLabel":"object[]"}},"uniqueKey":"elementsToCopy.additionalProperties","typeLabel":"object"},"uniqueKey":"elementsToCopy","typeLabel":"object"},"explicitPermissionMode":{"type":"string","description":"The mode for permissions override: EXPLICIT_PERMISSIONS_ALLOWED or EXPLICIT_PERMISSIONS_DISABLED","enum":["EXPLICIT_PERMISSIONS_ALLOWED","EXPLICIT_PERMISSIONS_DISABLED"],"uniqueKey":"explicitPermissionMode","typeLabel":"enum\u003cstring>"},"fields":{"type":"array","description":"The list of fields (metadata) configured in the document class","items":{"type":"object","properties":{"appMetadata":{"type":"object","description":"App Metadata let developers associate metadata with various configuration entities. The metadata is isolated within app namespaces in order to prevent one application from interfering with another's metadata.","additionalProperties":{"type":"object","properties":{"appNamespaceId":{"type":"string","description":"The id of the app namespace (read-only)","uniqueKey":"fields.items.[INDEX].appMetadata.additionalProperties.appNamespaceId","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].appMetadata.additionalProperties.kind","typeLabel":"string"},"tags":{"type":"array","description":"The list of tags (name/value) in the namespace (limited to 10 items)","items":{"type":"object","properties":{"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].appMetadata.additionalProperties.tags.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The name of the tag","uniqueKey":"fields.items.[INDEX].appMetadata.additionalProperties.tags.items.[INDEX].name","typeLabel":"string"},"stringValue":{"type":"string","description":"The value of the tag as a String","uniqueKey":"fields.items.[INDEX].appMetadata.additionalProperties.tags.items.[INDEX].stringValue","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].appMetadata.additionalProperties.tags.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].appMetadata.additionalProperties.tags","typeLabel":"object[]"}},"uniqueKey":"fields.items.[INDEX].appMetadata.additionalProperties","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].appMetadata","typeLabel":"object"},"calculatedSettings":{"type":"object","description":"The configuration of calculated settings (mandatory/hidden)","additionalProperties":{"type":"object","properties":{"code":{"type":"string","description":"JavaScript expression in charge of generating the actual value of the setting (ECMAScript 2020)","uniqueKey":"fields.items.[INDEX].calculatedSettings.additionalProperties.code","typeLabel":"string"},"fallbackValues":{"type":"array","description":"Fallback value(s) used when there was evaluation error on the calculated setting","items":{"type":"string","uniqueKey":"fields.items.[INDEX].calculatedSettings.additionalProperties.fallbackValues.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].calculatedSettings.additionalProperties.fallbackValues","typeLabel":"string[]"}},"uniqueKey":"fields.items.[INDEX].calculatedSettings.additionalProperties","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].calculatedSettings","typeLabel":"object"},"calculatedValue":{"type":"object","properties":{"code":{"type":"string","description":"JavaScript expression in charge of generating document field values (ECMAScript 2020)","uniqueKey":"fields.items.[INDEX].calculatedValue.code","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].calculatedValue","typeLabel":"object"},"categoryDefinition":{"type":"object","properties":{"description":{"type":"string","description":"The description of the category","uniqueKey":"fields.items.[INDEX].categoryDefinition.description","typeLabel":"string"},"dynamicValues":{"type":"boolean","description":"Whether the category authorizes dynamic values","uniqueKey":"fields.items.[INDEX].categoryDefinition.dynamicValues","typeLabel":"boolean"},"folder":{"type":"boolean","description":"Whether the category is the Folder category (read-only)","uniqueKey":"fields.items.[INDEX].categoryDefinition.folder","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the category","uniqueKey":"fields.items.[INDEX].categoryDefinition.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].categoryDefinition.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"The name of the levels in the category","items":{"type":"string","uniqueKey":"fields.items.[INDEX].categoryDefinition.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].categoryDefinition.levelNames","typeLabel":"string[]"},"levelNames_i18n":{"type":"array","description":"The internationalized name of the levels in the category (read-only field)","items":{"type":"string","uniqueKey":"fields.items.[INDEX].categoryDefinition.levelNames_i18n.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].categoryDefinition.levelNames_i18n","typeLabel":"string[]"},"libraryId":{"type":"string","description":"The ID of the library","uniqueKey":"fields.items.[INDEX].categoryDefinition.libraryId","typeLabel":"string"},"name":{"type":"string","description":"The name of the category","uniqueKey":"fields.items.[INDEX].categoryDefinition.name","typeLabel":"string"},"tags":{"type":"boolean","description":"Whether the category is the Tags category (read-only)","uniqueKey":"fields.items.[INDEX].categoryDefinition.tags","typeLabel":"boolean"},"value":{"type":"string","description":"The ID of the category (backward compatibility for category.category.listCategoryDefinitions)","uniqueKey":"fields.items.[INDEX].categoryDefinition.value","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].categoryDefinition","typeLabel":"object"},"categoryId":{"type":"string","description":"The ID of the category (if type = CATEGORY) - (deprecated, read-only)","uniqueKey":"fields.items.[INDEX].categoryId","typeLabel":"string"},"categoryValueMapping":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the mapping (read-only)","uniqueKey":"fields.items.[INDEX].categoryValueMapping.displayName","typeLabel":"string"},"id":{"type":"string","description":"The ID of the category value mapping","uniqueKey":"fields.items.[INDEX].categoryValueMapping.id","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].categoryValueMapping","typeLabel":"object"},"columns":{"type":"array","description":"The column properties of the field (only if this field is a table type field)","items":{"type":"object","properties":{"appMetadata":{"type":"object","description":"App Metadata let developers associate metadata with various configuration entities. The metadata is isolated within app namespaces in order to prevent one application from interfering with another's metadata.","additionalProperties":{"type":"object","properties":{"appNamespaceId":{"type":"string","description":"The id of the app namespace (read-only)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].appMetadata.additionalProperties.appNamespaceId","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].appMetadata.additionalProperties.kind","typeLabel":"string"},"tags":{"type":"array","description":"The list of tags (name/value) in the namespace (limited to 10 items)","items":{"type":"object","properties":{"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].appMetadata.additionalProperties.tags.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The name of the tag","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].appMetadata.additionalProperties.tags.items.[INDEX].name","typeLabel":"string"},"stringValue":{"type":"string","description":"The value of the tag as a String","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].appMetadata.additionalProperties.tags.items.[INDEX].stringValue","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].appMetadata.additionalProperties.tags.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].appMetadata.additionalProperties.tags","typeLabel":"object[]"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].appMetadata.additionalProperties","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].appMetadata","typeLabel":"object"},"calculatedSettings":{"type":"object","description":"The configuration of calculated settings (mandatory/hidden)","additionalProperties":{"type":"object","properties":{"code":{"type":"string","description":"JavaScript expression in charge of generating the actual value of the setting (ECMAScript 2020)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].calculatedSettings.additionalProperties.code","typeLabel":"string"},"fallbackValues":{"type":"array","description":"Fallback value(s) used when there was evaluation error on the calculated setting","items":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].calculatedSettings.additionalProperties.fallbackValues.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].calculatedSettings.additionalProperties.fallbackValues","typeLabel":"string[]"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].calculatedSettings.additionalProperties","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].calculatedSettings","typeLabel":"object"},"calculatedValue":{"type":"object","properties":{"code":{"type":"string","description":"JavaScript expression in charge of generating document field values (ECMAScript 2020)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].calculatedValue.code","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].calculatedValue","typeLabel":"object"},"categoryDefinition":{"type":"object","properties":{"description":{"type":"string","description":"The description of the category","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.description","typeLabel":"string"},"dynamicValues":{"type":"boolean","description":"Whether the category authorizes dynamic values","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.dynamicValues","typeLabel":"boolean"},"folder":{"type":"boolean","description":"Whether the category is the Folder category (read-only)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.folder","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the category","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"The name of the levels in the category","items":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames","typeLabel":"string[]"},"levelNames_i18n":{"type":"array","description":"The internationalized name of the levels in the category (read-only field)","items":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames_i18n.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames_i18n","typeLabel":"string[]"},"libraryId":{"type":"string","description":"The ID of the library","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.libraryId","typeLabel":"string"},"name":{"type":"string","description":"The name of the category","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.name","typeLabel":"string"},"tags":{"type":"boolean","description":"Whether the category is the Tags category (read-only)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.tags","typeLabel":"boolean"},"value":{"type":"string","description":"The ID of the category (backward compatibility for category.category.listCategoryDefinitions)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.value","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition","typeLabel":"object"},"categoryId":{"type":"string","description":"The ID of the category (if type = CATEGORY) - (deprecated, read-only)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryId","typeLabel":"string"},"categoryValueMapping":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the mapping (read-only)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryValueMapping.displayName","typeLabel":"string"},"id":{"type":"string","description":"The ID of the category value mapping","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryValueMapping.id","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryValueMapping","typeLabel":"object"},"columns":{"oneOf":[{"$circularRef":"6c86e38c-4e29-4ce7-b8da-e74f58e3d351"}],"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].columns","typeLabel":"any"},"creationSettings":{"type":"object","properties":{"hidden":{"type":"boolean","description":"Whether the field should be hidden during document creation only","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].creationSettings.hidden","typeLabel":"boolean"},"mandatory":{"type":"boolean","description":"Whether the field should be mandatory during document creation only (not compatible for all field types)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].creationSettings.mandatory","typeLabel":"boolean"},"readOnly":{"type":"boolean","description":"Whether the field should be read-only during document creation only (not compatible for all field types)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].creationSettings.readOnly","typeLabel":"boolean"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].creationSettings","typeLabel":"object"},"customPlaceholder":{"type":"boolean","description":"Whether to use a custom placeholder when displaying the field in the UI","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].customPlaceholder","typeLabel":"boolean"},"description":{"type":"string","description":"The description of the field","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].description","typeLabel":"string"},"displayInPreview":{"type":"object","description":"The display in preview configuration of the field","additionalProperties":{"type":"object","properties":{"order":{"type":"integer","format":"int32","description":"The display order of this property in the consumer's preview.","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].displayInPreview.additionalProperties.order","typeLabel":"integer\u003cint32>"},"show":{"type":"boolean","description":"Whether this property is displayed in the consumer's preview.","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].displayInPreview.additionalProperties.show","typeLabel":"boolean"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].displayInPreview.additionalProperties","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].displayInPreview","typeLabel":"object"},"displayName":{"type":"string","description":"The name of the field","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].displayName","typeLabel":"string"},"dynamicValues":{"type":"boolean","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].dynamicValues","typeLabel":"boolean"},"folder":{"type":"boolean","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].folder","typeLabel":"boolean"},"hidden":{"type":"boolean","description":"Whether the field should be hidden for the whole life-cycle of documents of the class","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].hidden","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the field (read-only field)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].kind","typeLabel":"string"},"levelNames":{"type":"array","items":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].levelNames","typeLabel":"string[]"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field should be mandatory for the whole life-cycle of documents of the class (not compatible for all field types)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].mandatory","typeLabel":"boolean"},"mappingSourceField":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the field (read-only)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].mappingSourceField.displayName","typeLabel":"string"},"id":{"type":"string","description":"The ID of the field","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].mappingSourceField.id","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].mappingSourceField","typeLabel":"object"},"multiple":{"type":"boolean","description":"Whether the field should be multi-valued (not compatible for all field types)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The placeholder text if customPlaceholder = true","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank of the field in the list (deprecated)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field should be read-only for the whole life-cycle of documents of the class (not compatible for all field types)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].readOnly","typeLabel":"boolean"},"referenceCatalog":{"type":"object","properties":{"createdAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was created (read-only field)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].referenceCatalog.createdAt","typeLabel":"integer\u003cint64>"},"id":{"type":"string","description":"The ID of the reference catalog (read-only field)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].referenceCatalog.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].referenceCatalog.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"Ordered name of levels of the reference catalog","items":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].referenceCatalog.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].referenceCatalog.levelNames","typeLabel":"string[]"},"modifiedAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was last modified (read-only field)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].referenceCatalog.modifiedAt","typeLabel":"integer\u003cint64>"},"name":{"type":"string","description":"The name of the reference catalog","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].referenceCatalog.name","typeLabel":"string"},"numberOfValues":{"type":"integer","format":"int32","description":"The number of values in the reference catalog (read-only field)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].referenceCatalog.numberOfValues","typeLabel":"integer\u003cint32>"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].referenceCatalog","typeLabel":"object"},"referenceCatalogId":{"type":"string","description":"The ID of the reference catalog (if type = REFERENCE_CATALOG)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].referenceCatalogId","typeLabel":"string"},"type":{"type":"string","description":"The type of field (STRING, TEXT, DATE, TIME, DATETIME, INTEGER, DECIMAL, BOOLEAN, PERSON, GEOPOINT, URL, CATEGORY, REFERENCE_CATALOG, TABLE)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation","typeLabel":"object"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].columns","typeLabel":"object[]"},"creationSettings":{"type":"object","properties":{"hidden":{"type":"boolean","description":"Whether the field should be hidden during document creation only","uniqueKey":"fields.items.[INDEX].creationSettings.hidden","typeLabel":"boolean"},"mandatory":{"type":"boolean","description":"Whether the field should be mandatory during document creation only (not compatible for all field types)","uniqueKey":"fields.items.[INDEX].creationSettings.mandatory","typeLabel":"boolean"},"readOnly":{"type":"boolean","description":"Whether the field should be read-only during document creation only (not compatible for all field types)","uniqueKey":"fields.items.[INDEX].creationSettings.readOnly","typeLabel":"boolean"}},"uniqueKey":"fields.items.[INDEX].creationSettings","typeLabel":"object"},"customPlaceholder":{"type":"boolean","description":"Whether to use a custom placeholder when displaying the field in the UI","uniqueKey":"fields.items.[INDEX].customPlaceholder","typeLabel":"boolean"},"description":{"type":"string","description":"The description of the field","uniqueKey":"fields.items.[INDEX].description","typeLabel":"string"},"displayInPreview":{"type":"object","description":"The display in preview configuration of the field","additionalProperties":{"type":"object","properties":{"order":{"type":"integer","format":"int32","description":"The display order of this property in the consumer's preview.","uniqueKey":"fields.items.[INDEX].displayInPreview.additionalProperties.order","typeLabel":"integer\u003cint32>"},"show":{"type":"boolean","description":"Whether this property is displayed in the consumer's preview.","uniqueKey":"fields.items.[INDEX].displayInPreview.additionalProperties.show","typeLabel":"boolean"}},"uniqueKey":"fields.items.[INDEX].displayInPreview.additionalProperties","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].displayInPreview","typeLabel":"object"},"displayName":{"type":"string","description":"The name of the field","uniqueKey":"fields.items.[INDEX].displayName","typeLabel":"string"},"dynamicValues":{"type":"boolean","uniqueKey":"fields.items.[INDEX].dynamicValues","typeLabel":"boolean"},"folder":{"type":"boolean","uniqueKey":"fields.items.[INDEX].folder","typeLabel":"boolean"},"hidden":{"type":"boolean","description":"Whether the field should be hidden for the whole life-cycle of documents of the class","uniqueKey":"fields.items.[INDEX].hidden","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the field (read-only field)","uniqueKey":"fields.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].kind","typeLabel":"string"},"levelNames":{"type":"array","items":{"type":"string","uniqueKey":"fields.items.[INDEX].levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].levelNames","typeLabel":"string[]"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"fields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"fields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"fields.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"fields.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"fields.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"fields.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"fields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"fields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"fields.items.[INDEX].lookupConfiguration","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field should be mandatory for the whole life-cycle of documents of the class (not compatible for all field types)","uniqueKey":"fields.items.[INDEX].mandatory","typeLabel":"boolean"},"mappingSourceField":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the field (read-only)","uniqueKey":"fields.items.[INDEX].mappingSourceField.displayName","typeLabel":"string"},"id":{"type":"string","description":"The ID of the field","uniqueKey":"fields.items.[INDEX].mappingSourceField.id","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].mappingSourceField","typeLabel":"object"},"multiple":{"type":"boolean","description":"Whether the field should be multi-valued (not compatible for all field types)","uniqueKey":"fields.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The placeholder text if customPlaceholder = true","uniqueKey":"fields.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank of the field in the list (deprecated)","uniqueKey":"fields.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field should be read-only for the whole life-cycle of documents of the class (not compatible for all field types)","uniqueKey":"fields.items.[INDEX].readOnly","typeLabel":"boolean"},"referenceCatalog":{"type":"object","properties":{"createdAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was created (read-only field)","uniqueKey":"fields.items.[INDEX].referenceCatalog.createdAt","typeLabel":"integer\u003cint64>"},"id":{"type":"string","description":"The ID of the reference catalog (read-only field)","uniqueKey":"fields.items.[INDEX].referenceCatalog.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].referenceCatalog.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"Ordered name of levels of the reference catalog","items":{"type":"string","uniqueKey":"fields.items.[INDEX].referenceCatalog.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].referenceCatalog.levelNames","typeLabel":"string[]"},"modifiedAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was last modified (read-only field)","uniqueKey":"fields.items.[INDEX].referenceCatalog.modifiedAt","typeLabel":"integer\u003cint64>"},"name":{"type":"string","description":"The name of the reference catalog","uniqueKey":"fields.items.[INDEX].referenceCatalog.name","typeLabel":"string"},"numberOfValues":{"type":"integer","format":"int32","description":"The number of values in the reference catalog (read-only field)","uniqueKey":"fields.items.[INDEX].referenceCatalog.numberOfValues","typeLabel":"integer\u003cint32>"}},"uniqueKey":"fields.items.[INDEX].referenceCatalog","typeLabel":"object"},"referenceCatalogId":{"type":"string","description":"The ID of the reference catalog (if type = REFERENCE_CATALOG)","uniqueKey":"fields.items.[INDEX].referenceCatalogId","typeLabel":"string"},"type":{"type":"string","description":"The type of field (STRING, TEXT, DATE, TIME, DATETIME, INTEGER, DECIMAL, BOOLEAN, PERSON, GEOPOINT, URL, CATEGORY, REFERENCE_CATALOG, TABLE)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"fields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"fields.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"fields.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"fields.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"fields.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"fields.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"fields.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"fields.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"fields.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"fields.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"fields.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"fields.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"fields.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"fields.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"fields.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"fields.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"fields.items.[INDEX].validation","typeLabel":"object"}},"uniqueKey":"fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields","typeLabel":"object[]"},"firstVersionName":{"type":"string","description":"The name of the first version if firstVersionNumberingMode = FIXED","uniqueKey":"firstVersionName","typeLabel":"string"},"firstVersionNumberingMode":{"type":"string","description":"Whether the first version's name should be overridden (FIXED) or implicit (AUTOMATIC)","enum":["AUTOMATIC","FIXED"],"uniqueKey":"firstVersionNumberingMode","typeLabel":"enum\u003cstring>"},"forceNumberVersions":{"type":"boolean","description":"Whether the version names must be numerical values","uniqueKey":"forceNumberVersions","typeLabel":"boolean"},"hiddenSystemFields":{"type":"array","description":"The IDs of the system fields hidden by default on the document page, among _lastModified, _version, _library, _class and folder. Users can still show them. Empty means all of them are shown","items":{"type":"string","uniqueKey":"hiddenSystemFields.items.[INDEX]","typeLabel":"string"},"uniqueKey":"hiddenSystemFields","typeLabel":"string[]"},"id":{"type":"string","description":"The ID of the document class (read-only field)","uniqueKey":"id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"kind","typeLabel":"string"},"layouts":{"type":"array","description":"The layouts of the Document Page: the ordered list of its sections (only one layout is used for now). Returned, and accepted, instead of sections, only if the library uses the new document page (custom configuration newUIDocumentViewPage)","items":{"type":"object","properties":{"sections":{"type":"array","description":"The ordered list of the sections of the Document Page, top to bottom, below the general information. The list order is the display order","items":{"type":"object","properties":{"columnCount":{"type":"integer","format":"int32","description":"The number of columns to display the properties of the section, from 1 to 4 (aodocs#propertiesSection only)","uniqueKey":"layouts.items.[INDEX].sections.items.[INDEX].columnCount","typeLabel":"integer\u003cint32>"},"description":{"type":"string","description":"The description of the section (400 characters at most)","uniqueKey":"layouts.items.[INDEX].sections.items.[INDEX].description","typeLabel":"string"},"fieldIds":{"type":"array","description":"The ordered IDs of the properties displayed in the section (aodocs#propertiesSection only). The properties that no section lists are displayed in the first properties section","items":{"type":"string","uniqueKey":"layouts.items.[INDEX].sections.items.[INDEX].fieldIds.items.[INDEX]","typeLabel":"string"},"uniqueKey":"layouts.items.[INDEX].sections.items.[INDEX].fieldIds","typeLabel":"string[]"},"hidden":{"type":"boolean","description":"Whether the section is hidden. A hidden section keeps its position and its settings. Defaults to false","uniqueKey":"layouts.items.[INDEX].sections.items.[INDEX].hidden","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the section, generated by the system (leave it empty to create a section)","uniqueKey":"layouts.items.[INDEX].sections.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","description":"The kind of the section: aodocs#descriptionSection, aodocs#attachedFileSection, aodocs#relatedItemSection or aodocs#propertiesSection","uniqueKey":"layouts.items.[INDEX].sections.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The title of the section (aodocs#propertiesSection only)","uniqueKey":"layouts.items.[INDEX].sections.items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized title of the section (read-only field, aodocs#propertiesSection only)","uniqueKey":"layouts.items.[INDEX].sections.items.[INDEX].name_i18n","typeLabel":"string"}},"uniqueKey":"layouts.items.[INDEX].sections.items.[INDEX]","typeLabel":"object"},"uniqueKey":"layouts.items.[INDEX].sections","typeLabel":"object[]"}},"uniqueKey":"layouts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"layouts","typeLabel":"object[]"},"libraryId":{"type":"string","description":"The ID of the library in which the document class is (read-only field)","uniqueKey":"libraryId","typeLabel":"string"},"managedPermissionSource":{"type":"string","description":"The inheritance mode for permissions: CLASS, WORKFLOW, FOLDER","enum":["CLASS","WORKFLOW","FOLDER"],"uniqueKey":"managedPermissionSource","typeLabel":"enum\u003cstring>"},"manualVersioningDisabled":{"type":"boolean","description":"Whether the manual versioning should be disabled for documents of this class","uniqueKey":"manualVersioningDisabled","typeLabel":"boolean"},"name":{"type":"string","description":"The display name of the document class (backward compatibility for documentType.documentType.listClasses)","uniqueKey":"name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The localized display name of the document class (backward compatibility for documentType.documentType.listClasses)","uniqueKey":"name_i18n","typeLabel":"string"},"onlyAdminsCanDelete":{"type":"boolean","description":"Whether only library administrators can delete documents of the class","uniqueKey":"onlyAdminsCanDelete","typeLabel":"boolean"},"onlyAdminsCanShare":{"type":"boolean","description":"Whether only library administrators can share documents of the class","uniqueKey":"onlyAdminsCanShare","typeLabel":"boolean"},"permissions":{"type":"array","description":"The list of users/groups/roles who can access the documents of this class (if managedPermissionSource = CLASS) and their access level","items":{"type":"object","properties":{"displayName":{"type":"string","description":"The displayed name if type = USER, GROUP or ROLE","uniqueKey":"permissions.items.[INDEX].displayName","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"permissions.items.[INDEX].kind","typeLabel":"string"},"role":{"type":"string","description":"The level of the permission (READER, COMMENTER, WRITER or ATTACHMENT_EDITOR)","enum":["READER","COMMENTER","ATTACHMENT_EDITOR","WRITER"],"uniqueKey":"permissions.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (for users)","uniqueKey":"permissions.items.[INDEX].thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permitted audience (ANYONE, DOMAIN, GROUP, USER or ROLE)","enum":["ANYONE","DOMAIN","GROUP","USER","ROLE"],"uniqueKey":"permissions.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if type = USER or GROUP, the ID of the role if type = ROLE","uniqueKey":"permissions.items.[INDEX].value","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the audience will have access with the link","uniqueKey":"permissions.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"permissions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"permissions","typeLabel":"object[]"},"previousVersionsVisibility":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"previousVersionsVisibility.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"previousVersionsVisibility.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"previousVersionsVisibility.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"previousVersionsVisibility.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"previousVersionsVisibility.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"previousVersionsVisibility.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"previousVersionsVisibility.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"previousVersionsVisibility.value","typeLabel":"string"}},"uniqueKey":"previousVersionsVisibility","typeLabel":"object"},"readOnlyTitle":{"type":"boolean","description":"DEPRECATED. Use systemFields['_title'].readOnly instead. Whether the title field should be read-only for whole life-cycle of documents of this class (except creation)","uniqueKey":"readOnlyTitle","typeLabel":"boolean"},"restrictedDownload":{"type":"boolean","description":"Whether the documents of this class should be restricted for download by readers","uniqueKey":"restrictedDownload","typeLabel":"boolean"},"sections":{"type":"array","description":"The sections of fields for organization","items":{"type":"object","properties":{"columnCount":{"type":"integer","format":"int32","description":"The number of columns to display fields for this section.","uniqueKey":"sections.items.[INDEX].columnCount","typeLabel":"integer\u003cint32>"},"description":{"type":"string","description":"The description of the section","uniqueKey":"sections.items.[INDEX].description","typeLabel":"string"},"fields":{"type":"array","description":"The list of fields in the section","items":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the field","uniqueKey":"sections.items.[INDEX].fields.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","description":"The type of the field (read-only field)","uniqueKey":"sections.items.[INDEX].fields.items.[INDEX].type","typeLabel":"string"}},"uniqueKey":"sections.items.[INDEX].fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"sections.items.[INDEX].fields","typeLabel":"object[]"},"id":{"type":"string","description":"The ID of the section (read-only field)","uniqueKey":"sections.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"The name of the section","uniqueKey":"sections.items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name of the section (read-only field)","uniqueKey":"sections.items.[INDEX].name_i18n","typeLabel":"string"}},"uniqueKey":"sections.items.[INDEX]","typeLabel":"object"},"uniqueKey":"sections","typeLabel":"object[]"},"sectionsDefaultColumnCount":{"type":"integer","format":"int32","description":"Default column count to apply to sections without a specific columnCount. Defaults to 2","uniqueKey":"sectionsDefaultColumnCount","typeLabel":"integer\u003cint32>"},"sequenceId":{"type":"integer","format":"int64","description":"The ID of sequence of the document class (read-only field)","uniqueKey":"sequenceId","typeLabel":"integer\u003cint64>"},"systemFields":{"type":"object","description":"The list of system fields in the document class (contains only '_title' for now)","additionalProperties":{"type":"object","properties":{"calculatedValue":{"type":"object","properties":{"code":{"type":"string","description":"JavaScript expression in charge of generating document field values (ECMAScript 2020)","uniqueKey":"systemFields.additionalProperties.calculatedValue.code","typeLabel":"string"}},"uniqueKey":"systemFields.additionalProperties.calculatedValue","typeLabel":"object"},"kind":{"type":"string","uniqueKey":"systemFields.additionalProperties.kind","typeLabel":"string"},"readOnly":{"type":"boolean","description":"Whether the system field should be read-only for the whole life-cycle of documents of the class","uniqueKey":"systemFields.additionalProperties.readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The type of field","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"systemFields.additionalProperties.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"systemFields.additionalProperties","typeLabel":"object"},"uniqueKey":"systemFields","typeLabel":"object"},"templates":{"type":"array","description":"The document templates of this class (read-only, returned only if TEMPLATES is specified within the include request param)","items":{"type":"object","properties":{"attachmentFields":{"type":"array","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].mandatory","typeLabel":"boolean"},"metadata":{"type":"object","properties":{"attachments":{"type":"array","items":{"type":"object","properties":{"drive":{"type":"object","properties":{"iconLink":{"type":"string","description":"The URL of the icon of the file","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.iconLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.kind","typeLabel":"string"},"link":{"type":"string","description":"The URL to the file in Drive","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.link","typeLabel":"string"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive","typeLabel":"object[]"},"publishedLink":{"type":"string","description":"The URL of the file when published","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.publishedLink","typeLabel":"string"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.resourceKey","typeLabel":"string"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.revisionId","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive","typeLabel":"object"},"id":{"type":"string","description":"The ID the file as used on the storage type","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].kind","typeLabel":"string"},"mimeType":{"type":"string","description":"The MIME type of the file","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].mimeType","typeLabel":"string"},"name":{"type":"string","description":"The name (title) of the file","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].name","typeLabel":"string"},"oss":{"type":"object","properties":{"downloadLink":{"type":"string","description":"The URL to download the OSS file","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].oss.downloadLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].oss.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].oss","typeLabel":"object"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].size","typeLabel":"integer\u003cint64>"},"storageType":{"type":"string","description":"Where is the file stored? Either DRIVE (Google Drive), or OSS (AODocs Object Storage System)","enum":["OSS","DRIVE"],"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].storageType","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments","typeLabel":"object[]"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata","typeLabel":"object"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of values for the field","items":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].values","typeLabel":"string[]"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].attachmentFields","typeLabel":"object[]"},"attachments":{"type":"array","description":"The list of attachments to be copied in the document to be created using this template","items":{"type":"object","properties":{"autodeskUrn":{"type":"object","properties":{"status":{"type":"string","enum":["READY","IN_PROGRESS","FAILED"],"uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].autodeskUrn.status","typeLabel":"enum\u003cstring>"},"urn":{"type":"string","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].autodeskUrn.urn","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].autodeskUrn","typeLabel":"object"},"fileId":{"type":"string","description":"The ID the file in Drive","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].fileId","typeLabel":"string"},"iconLink":{"type":"string","description":"The URL of the icon of the file","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].iconLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].kind","typeLabel":"string"},"link":{"type":"string","description":"The URL to the file in Drive (read-only)","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].link","typeLabel":"string"},"md5Checksum":{"type":"string","description":"The MD5 checksum of the file content (null for native Google files)","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].md5Checksum","typeLabel":"string"},"mimeType":{"type":"string","description":"The MIME type of the file","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].mimeType","typeLabel":"string"},"name":{"type":"string","description":"The name (title) of the file","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].name","typeLabel":"string"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive","typeLabel":"object[]"},"publishedLink":{"type":"string","description":"The URL of the file when published","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].publishedLink","typeLabel":"string"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].resourceKey","typeLabel":"string"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].revisionId","typeLabel":"string"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].size","typeLabel":"integer\u003cint64>"},"storageLocation":{"type":"string","description":"The storage location of the file. Possible values are 'DRIVE' and 'OSS' (read-only)","enum":["DRIVE","OSS"],"uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].storageLocation","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].attachments","typeLabel":"object[]"},"categories":{"type":"array","description":"The list of category fields which values (editable) will be used when creating a document using this template","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"categoryDefinition":{"type":"object","properties":{"description":{"type":"string","description":"The description of the category","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.description","typeLabel":"string"},"dynamicValues":{"type":"boolean","description":"Whether the category authorizes dynamic values","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.dynamicValues","typeLabel":"boolean"},"folder":{"type":"boolean","description":"Whether the category is the Folder category (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.folder","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the category","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"The name of the levels in the category","items":{"type":"string","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames","typeLabel":"string[]"},"levelNames_i18n":{"type":"array","description":"The internationalized name of the levels in the category (read-only field)","items":{"type":"string","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames_i18n.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames_i18n","typeLabel":"string[]"},"libraryId":{"type":"string","description":"The ID of the library","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.libraryId","typeLabel":"string"},"name":{"type":"string","description":"The name of the category","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.name","typeLabel":"string"},"tags":{"type":"boolean","description":"Whether the category is the Tags category (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.tags","typeLabel":"boolean"},"value":{"type":"string","description":"The ID of the category (backward compatibility for category.category.listCategoryDefinitions)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition","typeLabel":"object"},"categoryValueMapping":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the mapping (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryValueMapping.displayName","typeLabel":"string"},"id":{"type":"string","description":"The ID of the category value mapping","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryValueMapping.id","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryValueMapping","typeLabel":"object"},"definitionId":{"type":"string","description":"(Deprecated) The ID of the category","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].definitionId","typeLabel":"string"},"definitionName":{"type":"string","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].definitionName","typeLabel":"string"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].description_i18n","typeLabel":"string"},"dynamicValues":{"type":"boolean","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].dynamicValues","typeLabel":"boolean"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].fieldName_i18n","typeLabel":"string"},"folder":{"type":"boolean","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].folder","typeLabel":"boolean"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].kind","typeLabel":"string"},"levelNames":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].levelNames","typeLabel":"string[]"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].mandatory","typeLabel":"boolean"},"mappingSourceField":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the field (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].mappingSourceField.displayName","typeLabel":"string"},"id":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].mappingSourceField.id","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].mappingSourceField","typeLabel":"object"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of category values","items":{"type":"array","items":{"type":"object","properties":{"ancestors":{"type":"array","description":"Ancestor category values from direct parent to root - only present with loadCategoryValue","items":{"$circularRef":"9b308f87-7c8b-415b-a763-2534d3bea0cc"},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].ancestors","typeLabel":"array"},"id":{"type":"string","description":"The ID of the category value","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","description":"Whether the category value is leaf","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].leaf","typeLabel":"boolean"},"leafInNotOutdatedTree":{"type":"boolean","description":"Whether the category value is leaf without not outdated child","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].leafInNotOutdatedTree","typeLabel":"boolean"},"name":{"type":"string","description":"The name of the category value","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name of the category value (read-only field)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].name_i18n","typeLabel":"string"},"outdated":{"type":"boolean","description":"Whether the category value is marked as outdated","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].outdated","typeLabel":"boolean"},"parentId":{"type":"string","description":"The ID of the parent category value (read-only field)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].parentId","typeLabel":"string"},"shortName":{"type":"string","description":"The short name of the category value","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].shortName","typeLabel":"string"},"value":{"type":"string","description":"(Deprecated) The ID of the category value","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX]","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values","typeLabel":"object[][]"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].categories","typeLabel":"object[]"},"classId":{"type":"string","description":"The ID of the class of the document (read-only field)","uniqueKey":"templates.items.[INDEX].classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class of the document (read-only field)","uniqueKey":"templates.items.[INDEX].className","typeLabel":"string"},"className_i18n":{"type":"string","description":"The internationalized name of the class of the document (read-only field)","uniqueKey":"templates.items.[INDEX].className_i18n","typeLabel":"string"},"creationDate":{"type":"string","description":"The time at which the template was created (read-only field)","uniqueKey":"templates.items.[INDEX].creationDate","typeLabel":"string"},"defaultTemplate":{"type":"boolean","description":"Whether the template is the default one for the class (read-only field)","uniqueKey":"templates.items.[INDEX].defaultTemplate","typeLabel":"boolean"},"domainName":{"type":"string","description":"The name of the domain (read-only field)","uniqueKey":"templates.items.[INDEX].domainName","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the current user can edit the template (read-only field)","uniqueKey":"templates.items.[INDEX].editable","typeLabel":"boolean"},"fields":{"type":"array","description":"The list of native fields which values (editable) will be used when creating a document using this template","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].mandatory","typeLabel":"boolean"},"metadata":{"type":"object","properties":{"attachments":{"type":"array","items":{"type":"object","properties":{"drive":{"type":"object","properties":{"iconLink":{"type":"string","description":"The URL of the icon of the file","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.iconLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.kind","typeLabel":"string"},"link":{"type":"string","description":"The URL to the file in Drive","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.link","typeLabel":"string"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive","typeLabel":"object[]"},"publishedLink":{"type":"string","description":"The URL of the file when published","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.publishedLink","typeLabel":"string"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.resourceKey","typeLabel":"string"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.revisionId","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive","typeLabel":"object"},"id":{"type":"string","description":"The ID the file as used on the storage type","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].kind","typeLabel":"string"},"mimeType":{"type":"string","description":"The MIME type of the file","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].mimeType","typeLabel":"string"},"name":{"type":"string","description":"The name (title) of the file","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].name","typeLabel":"string"},"oss":{"type":"object","properties":{"downloadLink":{"type":"string","description":"The URL to download the OSS file","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].oss.downloadLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].oss.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].oss","typeLabel":"object"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].size","typeLabel":"integer\u003cint64>"},"storageType":{"type":"string","description":"Where is the file stored? Either DRIVE (Google Drive), or OSS (AODocs Object Storage System)","enum":["OSS","DRIVE"],"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].storageType","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments","typeLabel":"object[]"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata","typeLabel":"object"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of values for the field","items":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].values","typeLabel":"string[]"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].fields","typeLabel":"object[]"},"folders":{"type":"array","description":"The folder where the document will be created if no explicit folder is defined","items":{"type":"object","properties":{"editable":{"type":"boolean","description":"Whether the folder is editable by the current user (read-only field)","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].editable","typeLabel":"boolean"},"editableDocuments":{"type":"boolean","description":"Whether the documents in the folder are editable by the current user (read-only field)","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].editableDocuments","typeLabel":"boolean"},"fileId":{"type":"string","description":"The ID of the folder in Drive","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].fileId","typeLabel":"string"},"folderAodocsId":{"type":"string","description":"The ID of the folder in AODocs model (0 if root folder)","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].folderAodocsId","typeLabel":"string"},"folderDefinitionId":{"type":"string","description":"(Deprecated) The ID of the folder configuration","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].folderDefinitionId","typeLabel":"string"},"folderIsRoot":{"type":"boolean","description":"Whether the folder is the root folder (read-only field)","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].folderIsRoot","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].kind","typeLabel":"string"},"libraryId":{"type":"string","description":"The ID of the library","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].libraryId","typeLabel":"string"},"libraryName":{"type":"string","description":"The name of the library","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].libraryName","typeLabel":"string"},"name":{"type":"string","description":"The name of the folder","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].name","typeLabel":"string"},"parentFolderAodocsId":{"type":"string","description":"The ID of the parent folder in AODocs model (0 if root folder)","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].parentFolderAodocsId","typeLabel":"string"},"parentFolderDriveId":{"type":"string","description":"The ID of the parent folder in Drive","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].parentFolderDriveId","typeLabel":"string"},"parentFolderIsRoot":{"type":"boolean","description":"Whether the parent folder is the root folder (read-only field)","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].parentFolderIsRoot","typeLabel":"boolean"},"permittedOperations":{"type":"array","description":"The list of permitted operations to the current user (read-only field)","items":{"type":"string","enum":["DELETE","RENAME","MODIFY_ACL","VIEW_ACL","MOVE_TO_ANOTHER_FOLDER","EXPORT","EDIT_PROPERTIES","COPY","CREATE_COPY_FROM","EXPORT_COPY","CREATE_NEW_VERSION","ATTACHMENT_VERSION_REPLACE","ATTACHMENT_VERSION_CREATE","ADD_NEW_ATTACHMENT_FROM_DRIVE","ATTACH_ENCRYPTED_FILE","OPEN_IN_OFFICE","PUBLISH","UNPUBLISH","RESTORE_REVISION","REVERT_TO_THIS_REVISION","CREATE_RELATED_DOCUMENT","DOWNLOAD","DOWNLOAD_ATTACHMENT","NOTIFY_USERS","CHECK_IN","CHECK_OUT","DISCARD_CHECKOUT","FORCE_DISCARD_CHECKOUT","EDIT_TAGS","PERFORM_HUMAN_WORKFLOW_ACTIONS","VIEW_DRAFT","SHARE_PUBLICLY","VIEW_HISTORY","VIEW_VERSIONS","ADD_COMMENT","SET_TEMPLATE_AS_DEFAULT","SET_TEMPLATE_VISIBILITY_SCOPE","DELETE_COMMENT","KNOW_DRAFT","FORCE_PARALLEL_TRANSITION","CHANGE_WORKFLOW_STATE_DIRECTLY","SEE_HIDDEN_FIELDS","VIEW_TRASHED_ITEM","UNTRASH","PERMANENTLY_DELETE","VIEW_DRIVEONLY_ACL","MODIFY_DRIVEONLY_ACL","NON_GOOGLE_USERS_SUPPORT","SUPPORTS_LIVE_EVALUATION","ALLOWLIST_NOT_ENFORCED","CREATE_SUBFOLDER","CREATE_DOCUMENT_IN_THIS_FOLDER","IMPORT_FOLDERS_FROM_DRIVE_TO_THIS_FOLDER","ADD_NEW_ATTACHMENT_FROM_OSS","OPEN_IN_DRIVE","COPY_FOLDER_TREE","CHECK_FOLDER","MOVE_TO_DRIVE","COPY_TO_DRIVE","MOVE_TO_ANOTHER_LIBRARY","MOVE_TO_ANOTHER_CLASS","COPY_TO_ANOTHER_CLASS","COPY_ATTACHMENT","COPY_TO_ANOTHER_LIBRARY","EDIT_ATTACHMENT"],"uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].permittedOperations.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].permittedOperations","typeLabel":"enum\u003cstring>[]"},"resourceKey":{"type":"string","description":"A folder that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].resourceKey","typeLabel":"string"},"restrictedDownload":{"type":"boolean","description":"Whether the documents in the folder are marked as restricted to download, copy and print (for the readers)","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].restrictedDownload","typeLabel":"boolean"},"subfolders":{"type":"array","description":"The list of subfolders","items":{"$circularRef":"afc56d6c-86c5-48e8-ab5c-59dc6fc1a03b"},"uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].subfolders","typeLabel":"array"}},"uniqueKey":"templates.items.[INDEX].folders.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].folders","typeLabel":"object[]"},"forbiddenOperations":{"type":"object","description":"The map of the forbidden operations to the current user and the reasons why they are forbidden (read-only field)","additionalProperties":{"type":"array","items":{"type":"object","properties":{"localizedMessage":{"type":"string","uniqueKey":"templates.items.[INDEX].forbiddenOperations.additionalProperties.items.[INDEX].localizedMessage","typeLabel":"string"},"reason":{"type":"string","enum":["MANDATORY_CHECKOUT","PROTECTED_BY_CHECKOUT","MISSING_MANDATORY_FIELD","INCORRECT_FIELD_VALUES","CHECKED_OUT_IN_NORMAL_STATE","CONTAINS_ATTACHMENT","HAS_FOLDER","IS_DEFAULT_TEMPLATE","IS_HIDDEN","DOCUMENT_IS_DELETED","PERMISSION_NEEDED","CSE_ENCRYPTED_ATTACHMENT","THIRD_PARTY_SHORTCUT","DRIVEONLY_PERMISSIONS_NOT_SUPPORTED"],"uniqueKey":"templates.items.[INDEX].forbiddenOperations.additionalProperties.items.[INDEX].reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].forbiddenOperations.additionalProperties.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].forbiddenOperations.additionalProperties","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].forbiddenOperations","typeLabel":"object"},"fullSizeOfAttachments":{"type":"integer","format":"int64","description":"The summed size (in octet) of the attachments (read-only field)","uniqueKey":"templates.items.[INDEX].fullSizeOfAttachments","typeLabel":"integer\u003cint64>"},"hiddenTemplate":{"type":"boolean","description":"Whether the template should be hidden for document creation","uniqueKey":"templates.items.[INDEX].hiddenTemplate","typeLabel":"boolean"},"iconLink":{"type":"string","description":"The link to the icon relative to the attachment (read-only field)","uniqueKey":"templates.items.[INDEX].iconLink","typeLabel":"string"},"id":{"type":"string","description":"The ID of the document template (read-only field)","uniqueKey":"templates.items.[INDEX].id","typeLabel":"string"},"initialAuthor":{"type":"string","description":"The email of the user who created the template (read-only field)","uniqueKey":"templates.items.[INDEX].initialAuthor","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].kind","typeLabel":"string"},"libraryId":{"type":"string","description":"The ID of the library (read-only field)","uniqueKey":"templates.items.[INDEX].libraryId","typeLabel":"string"},"libraryName":{"type":"string","description":"The name of the library (read-only field)","uniqueKey":"templates.items.[INDEX].libraryName","typeLabel":"string"},"modificationDate":{"type":"string","description":"The time at which the template was last modified (read-only field)","uniqueKey":"templates.items.[INDEX].modificationDate","typeLabel":"string"},"numberOfAttachments":{"type":"integer","format":"int32","description":"The number of attachments in the template (read-only field)","uniqueKey":"templates.items.[INDEX].numberOfAttachments","typeLabel":"integer\u003cint32>"},"onlyAdminCanChangeAcl":{"type":"boolean","description":"Read-only field, not used.","uniqueKey":"templates.items.[INDEX].onlyAdminCanChangeAcl","typeLabel":"boolean"},"onlyAdminCanDelete":{"type":"boolean","description":"Read-only field, not used.","uniqueKey":"templates.items.[INDEX].onlyAdminCanDelete","typeLabel":"boolean"},"permittedOperations":{"type":"array","description":"The list of permitted operations to the current user (read-only field)","items":{"type":"string","enum":["DELETE","RENAME","MODIFY_ACL","VIEW_ACL","MOVE_TO_ANOTHER_FOLDER","EXPORT","EDIT_PROPERTIES","COPY","CREATE_COPY_FROM","EXPORT_COPY","CREATE_NEW_VERSION","ATTACHMENT_VERSION_REPLACE","ATTACHMENT_VERSION_CREATE","ADD_NEW_ATTACHMENT_FROM_DRIVE","ATTACH_ENCRYPTED_FILE","OPEN_IN_OFFICE","PUBLISH","UNPUBLISH","RESTORE_REVISION","REVERT_TO_THIS_REVISION","CREATE_RELATED_DOCUMENT","DOWNLOAD","DOWNLOAD_ATTACHMENT","NOTIFY_USERS","CHECK_IN","CHECK_OUT","DISCARD_CHECKOUT","FORCE_DISCARD_CHECKOUT","EDIT_TAGS","PERFORM_HUMAN_WORKFLOW_ACTIONS","VIEW_DRAFT","SHARE_PUBLICLY","VIEW_HISTORY","VIEW_VERSIONS","ADD_COMMENT","SET_TEMPLATE_AS_DEFAULT","SET_TEMPLATE_VISIBILITY_SCOPE","DELETE_COMMENT","KNOW_DRAFT","FORCE_PARALLEL_TRANSITION","CHANGE_WORKFLOW_STATE_DIRECTLY","SEE_HIDDEN_FIELDS","VIEW_TRASHED_ITEM","UNTRASH","PERMANENTLY_DELETE","VIEW_DRIVEONLY_ACL","MODIFY_DRIVEONLY_ACL","NON_GOOGLE_USERS_SUPPORT","SUPPORTS_LIVE_EVALUATION","ALLOWLIST_NOT_ENFORCED","CREATE_SUBFOLDER","CREATE_DOCUMENT_IN_THIS_FOLDER","IMPORT_FOLDERS_FROM_DRIVE_TO_THIS_FOLDER","ADD_NEW_ATTACHMENT_FROM_OSS","OPEN_IN_DRIVE","COPY_FOLDER_TREE","CHECK_FOLDER","MOVE_TO_DRIVE","COPY_TO_DRIVE","MOVE_TO_ANOTHER_LIBRARY","MOVE_TO_ANOTHER_CLASS","COPY_TO_ANOTHER_CLASS","COPY_ATTACHMENT","COPY_TO_ANOTHER_LIBRARY","EDIT_ATTACHMENT"],"uniqueKey":"templates.items.[INDEX].permittedOperations.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"templates.items.[INDEX].permittedOperations","typeLabel":"enum\u003cstring>[]"},"referenceCatalogs":{"type":"array","description":"The list of reference catalog fields which values (editable) will be used when creating a document using this template","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].mandatory","typeLabel":"boolean"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].readOnly","typeLabel":"boolean"},"referenceCatalog":{"type":"object","properties":{"createdAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was created (read-only field)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.createdAt","typeLabel":"integer\u003cint64>"},"id":{"type":"string","description":"The ID of the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"Ordered name of levels of the reference catalog","items":{"type":"string","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.levelNames","typeLabel":"string[]"},"modifiedAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was last modified (read-only field)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.modifiedAt","typeLabel":"integer\u003cint64>"},"name":{"type":"string","description":"The name of the reference catalog","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.name","typeLabel":"string"},"numberOfValues":{"type":"integer","format":"int32","description":"The number of values in the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.numberOfValues","typeLabel":"integer\u003cint32>"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog","typeLabel":"object"},"referenceCatalogId":{"type":"string","description":"The ID of the reference catalog","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalogId","typeLabel":"string"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of reference catalog values","items":{"type":"object","properties":{"deleted":{"type":"boolean","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].deleted","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].leaf","typeLabel":"boolean"},"name":{"type":"string","description":"The name","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].name_i18n","typeLabel":"string"},"parents":{"type":"array","items":{"$circularRef":"9ddb8dd5-ddcc-43e2-a328-c86c113f0964"},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].parents","typeLabel":"array"},"value":{"type":"string","description":"The value","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].values","typeLabel":"object[]"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].referenceCatalogs","typeLabel":"object[]"},"relatedDocuments":{"type":"object","description":"The map of related documents per relation.Target documents attached as relations on every document created from this template.","additionalProperties":{"type":"object","properties":{"customFromTitles":{"type":"array","description":"The corresponding custom title (if relation renderer enabled) for the related documents on FROM side (read-only field)","items":{"type":"object","properties":{"customHtmlTitle":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.customFromTitles.items.[INDEX].customHtmlTitle","typeLabel":"string"},"id":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.customFromTitles.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.customFromTitles.items.[INDEX].kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.customFromTitles.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.customFromTitles","typeLabel":"object[]"},"customToTitles":{"type":"array","description":"The corresponding custom title (if relation renderer enabled) for the related documents on TO side (read-only field)","items":{"type":"object","properties":{"customHtmlTitle":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.customToTitles.items.[INDEX].customHtmlTitle","typeLabel":"string"},"id":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.customToTitles.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.customToTitles.items.[INDEX].kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.customToTitles.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.customToTitles","typeLabel":"object[]"},"from":{"type":"array","description":"The list of related documents on FROM side","items":{"type":"object","properties":{"acl":{"type":"array","items":{"type":"object","properties":{"allow":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].acl.items.[INDEX].allow.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].acl.items.[INDEX].allow","typeLabel":"string[]"},"for":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].acl.items.[INDEX].for.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].acl.items.[INDEX].for","typeLabel":"string[]"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].acl.items.[INDEX].kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].acl.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].acl","typeLabel":"object[]"},"attachmentFields":{"type":"array","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].mandatory","typeLabel":"boolean"},"metadata":{"type":"object","properties":{"attachments":{"type":"array","items":{"type":"object","properties":{"drive":{"type":"object","properties":{"iconLink":{"type":"string","description":"The URL of the icon of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.iconLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.kind","typeLabel":"string"},"link":{"type":"string","description":"The URL to the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.link","typeLabel":"string"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive","typeLabel":"object[]"},"publishedLink":{"type":"string","description":"The URL of the file when published","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.publishedLink","typeLabel":"string"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.resourceKey","typeLabel":"string"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.revisionId","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive","typeLabel":"object"},"id":{"type":"string","description":"The ID the file as used on the storage type","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].kind","typeLabel":"string"},"mimeType":{"type":"string","description":"The MIME type of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].mimeType","typeLabel":"string"},"name":{"type":"string","description":"The name (title) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].name","typeLabel":"string"},"oss":{"type":"object","properties":{"downloadLink":{"type":"string","description":"The URL to download the OSS file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].oss.downloadLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].oss.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].oss","typeLabel":"object"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].size","typeLabel":"integer\u003cint64>"},"storageType":{"type":"string","description":"Where is the file stored? Either DRIVE (Google Drive), or OSS (AODocs Object Storage System)","enum":["OSS","DRIVE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].storageType","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments","typeLabel":"object[]"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata","typeLabel":"object"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of values for the field","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].values","typeLabel":"string[]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields","typeLabel":"object[]"},"attachments":{"type":"array","description":"The list of attachments","items":{"type":"object","properties":{"autodeskUrn":{"type":"object","properties":{"status":{"type":"string","enum":["READY","IN_PROGRESS","FAILED"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].autodeskUrn.status","typeLabel":"enum\u003cstring>"},"urn":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].autodeskUrn.urn","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].autodeskUrn","typeLabel":"object"},"fileId":{"type":"string","description":"The ID the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].fileId","typeLabel":"string"},"iconLink":{"type":"string","description":"The URL of the icon of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].iconLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].kind","typeLabel":"string"},"link":{"type":"string","description":"The URL to the file in Drive (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].link","typeLabel":"string"},"md5Checksum":{"type":"string","description":"The MD5 checksum of the file content (null for native Google files)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].md5Checksum","typeLabel":"string"},"mimeType":{"type":"string","description":"The MIME type of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].mimeType","typeLabel":"string"},"name":{"type":"string","description":"The name (title) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].name","typeLabel":"string"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive","typeLabel":"object[]"},"publishedLink":{"type":"string","description":"The URL of the file when published","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].publishedLink","typeLabel":"string"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].resourceKey","typeLabel":"string"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].revisionId","typeLabel":"string"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].size","typeLabel":"integer\u003cint64>"},"storageLocation":{"type":"string","description":"The storage location of the file. Possible values are 'DRIVE' and 'OSS' (read-only)","enum":["DRIVE","OSS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].storageLocation","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments","typeLabel":"object[]"},"attachmentsToCopy":{"type":"array","description":"The list of attachments to copy (for create/patch)","items":{"type":"object","properties":{"autodeskUrn":{"type":"object","properties":{"status":{"type":"string","enum":["READY","IN_PROGRESS","FAILED"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].autodeskUrn.status","typeLabel":"enum\u003cstring>"},"urn":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].autodeskUrn.urn","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].autodeskUrn","typeLabel":"object"},"fileId":{"type":"string","description":"The ID the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].fileId","typeLabel":"string"},"iconLink":{"type":"string","description":"The URL of the icon of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].iconLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].kind","typeLabel":"string"},"link":{"type":"string","description":"The URL to the file in Drive (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].link","typeLabel":"string"},"md5Checksum":{"type":"string","description":"The MD5 checksum of the file content (null for native Google files)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].md5Checksum","typeLabel":"string"},"mimeType":{"type":"string","description":"The MIME type of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].mimeType","typeLabel":"string"},"name":{"type":"string","description":"The name (title) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].name","typeLabel":"string"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive","typeLabel":"object[]"},"publishedLink":{"type":"string","description":"The URL of the file when published","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].publishedLink","typeLabel":"string"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].resourceKey","typeLabel":"string"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].revisionId","typeLabel":"string"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].size","typeLabel":"integer\u003cint64>"},"storageLocation":{"type":"string","description":"The storage location of the file. Possible values are 'DRIVE' and 'OSS' (read-only)","enum":["DRIVE","OSS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].storageLocation","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy","typeLabel":"object[]"},"categories":{"type":"array","description":"The list of category fields (only the values are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"categoryDefinition":{"type":"object","properties":{"description":{"type":"string","description":"The description of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.description","typeLabel":"string"},"dynamicValues":{"type":"boolean","description":"Whether the category authorizes dynamic values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.dynamicValues","typeLabel":"boolean"},"folder":{"type":"boolean","description":"Whether the category is the Folder category (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.folder","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"The name of the levels in the category","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames","typeLabel":"string[]"},"levelNames_i18n":{"type":"array","description":"The internationalized name of the levels in the category (read-only field)","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames_i18n.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames_i18n","typeLabel":"string[]"},"libraryId":{"type":"string","description":"The ID of the library","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.libraryId","typeLabel":"string"},"name":{"type":"string","description":"The name of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.name","typeLabel":"string"},"tags":{"type":"boolean","description":"Whether the category is the Tags category (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.tags","typeLabel":"boolean"},"value":{"type":"string","description":"The ID of the category (backward compatibility for category.category.listCategoryDefinitions)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition","typeLabel":"object"},"categoryValueMapping":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the mapping (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryValueMapping.displayName","typeLabel":"string"},"id":{"type":"string","description":"The ID of the category value mapping","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryValueMapping.id","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryValueMapping","typeLabel":"object"},"definitionId":{"type":"string","description":"(Deprecated) The ID of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].definitionId","typeLabel":"string"},"definitionName":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].definitionName","typeLabel":"string"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].description_i18n","typeLabel":"string"},"dynamicValues":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].dynamicValues","typeLabel":"boolean"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].fieldName_i18n","typeLabel":"string"},"folder":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].folder","typeLabel":"boolean"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].kind","typeLabel":"string"},"levelNames":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].levelNames","typeLabel":"string[]"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].mandatory","typeLabel":"boolean"},"mappingSourceField":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].mappingSourceField.displayName","typeLabel":"string"},"id":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].mappingSourceField.id","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].mappingSourceField","typeLabel":"object"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of category values","items":{"type":"array","items":{"type":"object","properties":{"ancestors":{"type":"array","description":"Ancestor category values from direct parent to root - only present with loadCategoryValue","items":{"$circularRef":"9b308f87-7c8b-415b-a763-2534d3bea0cc"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].ancestors","typeLabel":"array"},"id":{"type":"string","description":"The ID of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","description":"Whether the category value is leaf","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].leaf","typeLabel":"boolean"},"leafInNotOutdatedTree":{"type":"boolean","description":"Whether the category value is leaf without not outdated child","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].leafInNotOutdatedTree","typeLabel":"boolean"},"name":{"type":"string","description":"The name of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name of the category value (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].name_i18n","typeLabel":"string"},"outdated":{"type":"boolean","description":"Whether the category value is marked as outdated","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].outdated","typeLabel":"boolean"},"parentId":{"type":"string","description":"The ID of the parent category value (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].parentId","typeLabel":"string"},"shortName":{"type":"string","description":"The short name of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].shortName","typeLabel":"string"},"value":{"type":"string","description":"(Deprecated) The ID of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX]","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values","typeLabel":"object[][]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories","typeLabel":"object[]"},"checkOutBy":{"type":"string","description":"The email of the user who checked-out the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].checkOutBy","typeLabel":"string"},"checkoutDate":{"type":"string","description":"The time at which the document was checked-out (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].checkoutDate","typeLabel":"string"},"classId":{"type":"string","description":"The ID of the class of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].className","typeLabel":"string"},"className_i18n":{"type":"string","description":"The internationalized name of the class of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].className_i18n","typeLabel":"string"},"coordinate":{"type":"string","description":"The coordinate of the sequence for the document (\u003clibrarySequenceId>.\u003cdocumentClassSequenceId>.\u003cdocumentSequenceId>[.\u003cversionSequenceId>]) (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].coordinate","typeLabel":"string"},"creationDate":{"type":"string","description":"The time at which the document was created (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].creationDate","typeLabel":"string"},"deleteAuthor":{"type":"string","description":"The email of the user who deleted the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].deleteAuthor","typeLabel":"string"},"deleted":{"type":"boolean","description":"Whether the document is deleted (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].deleted","typeLabel":"boolean"},"deletedReason":{"type":"string","description":"The reason for deleting the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].deletedReason","typeLabel":"string"},"deletionDate":{"type":"string","description":"The time at which the document was deleted (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].deletionDate","typeLabel":"string"},"domainName":{"type":"string","description":"The name of the domain (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].domainName","typeLabel":"string"},"driveOnlyPermissions":{"type":"array","description":"The list of additional permissions configured in Secured Folder libraries","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions","typeLabel":"object[]"},"editable":{"type":"boolean","description":"Whether the current user can edit the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].editable","typeLabel":"boolean"},"evaluationError":{"type":"boolean","description":"Whether there is an evaluation error on at least one field of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].evaluationError","typeLabel":"boolean"},"externalSource":{"type":"object","properties":{"displayName":{"type":"string","description":"The text displayed for the external source link.","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].externalSource.displayName","typeLabel":"string"},"url":{"type":"string","description":"The URL of the external source. Must be non-null and non-empty when clear is false.","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].externalSource.url","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].externalSource","typeLabel":"object"},"fields":{"type":"array","description":"The list of native fields (values and metadata are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].mandatory","typeLabel":"boolean"},"metadata":{"type":"object","properties":{"attachments":{"type":"array","items":{"type":"object","properties":{"drive":{"type":"object","properties":{"iconLink":{"type":"string","description":"The URL of the icon of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.iconLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.kind","typeLabel":"string"},"link":{"type":"string","description":"The URL to the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.link","typeLabel":"string"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive","typeLabel":"object[]"},"publishedLink":{"type":"string","description":"The URL of the file when published","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.publishedLink","typeLabel":"string"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.resourceKey","typeLabel":"string"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.revisionId","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive","typeLabel":"object"},"id":{"type":"string","description":"The ID the file as used on the storage type","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].kind","typeLabel":"string"},"mimeType":{"type":"string","description":"The MIME type of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].mimeType","typeLabel":"string"},"name":{"type":"string","description":"The name (title) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].name","typeLabel":"string"},"oss":{"type":"object","properties":{"downloadLink":{"type":"string","description":"The URL to download the OSS file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].oss.downloadLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].oss.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].oss","typeLabel":"object"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].size","typeLabel":"integer\u003cint64>"},"storageType":{"type":"string","description":"Where is the file stored? Either DRIVE (Google Drive), or OSS (AODocs Object Storage System)","enum":["OSS","DRIVE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].storageType","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments","typeLabel":"object[]"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata","typeLabel":"object"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of values for the field","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].values","typeLabel":"string[]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields","typeLabel":"object[]"},"folders":{"type":"array","description":"The location of the document (folder path as list of folders)","items":{"type":"object","properties":{"editable":{"type":"boolean","description":"Whether the folder is editable by the current user (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].editable","typeLabel":"boolean"},"editableDocuments":{"type":"boolean","description":"Whether the documents in the folder are editable by the current user (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].editableDocuments","typeLabel":"boolean"},"fileId":{"type":"string","description":"The ID of the folder in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].fileId","typeLabel":"string"},"folderAodocsId":{"type":"string","description":"The ID of the folder in AODocs model (0 if root folder)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].folderAodocsId","typeLabel":"string"},"folderDefinitionId":{"type":"string","description":"(Deprecated) The ID of the folder configuration","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].folderDefinitionId","typeLabel":"string"},"folderIsRoot":{"type":"boolean","description":"Whether the folder is the root folder (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].folderIsRoot","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].kind","typeLabel":"string"},"libraryId":{"type":"string","description":"The ID of the library","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].libraryId","typeLabel":"string"},"libraryName":{"type":"string","description":"The name of the library","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].libraryName","typeLabel":"string"},"name":{"type":"string","description":"The name of the folder","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].name","typeLabel":"string"},"parentFolderAodocsId":{"type":"string","description":"The ID of the parent folder in AODocs model (0 if root folder)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].parentFolderAodocsId","typeLabel":"string"},"parentFolderDriveId":{"type":"string","description":"The ID of the parent folder in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].parentFolderDriveId","typeLabel":"string"},"parentFolderIsRoot":{"type":"boolean","description":"Whether the parent folder is the root folder (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].parentFolderIsRoot","typeLabel":"boolean"},"permittedOperations":{"type":"array","description":"The list of permitted operations to the current user (read-only field)","items":{"type":"string","enum":["DELETE","RENAME","MODIFY_ACL","VIEW_ACL","MOVE_TO_ANOTHER_FOLDER","EXPORT","EDIT_PROPERTIES","COPY","CREATE_COPY_FROM","EXPORT_COPY","CREATE_NEW_VERSION","ATTACHMENT_VERSION_REPLACE","ATTACHMENT_VERSION_CREATE","ADD_NEW_ATTACHMENT_FROM_DRIVE","ATTACH_ENCRYPTED_FILE","OPEN_IN_OFFICE","PUBLISH","UNPUBLISH","RESTORE_REVISION","REVERT_TO_THIS_REVISION","CREATE_RELATED_DOCUMENT","DOWNLOAD","DOWNLOAD_ATTACHMENT","NOTIFY_USERS","CHECK_IN","CHECK_OUT","DISCARD_CHECKOUT","FORCE_DISCARD_CHECKOUT","EDIT_TAGS","PERFORM_HUMAN_WORKFLOW_ACTIONS","VIEW_DRAFT","SHARE_PUBLICLY","VIEW_HISTORY","VIEW_VERSIONS","ADD_COMMENT","SET_TEMPLATE_AS_DEFAULT","SET_TEMPLATE_VISIBILITY_SCOPE","DELETE_COMMENT","KNOW_DRAFT","FORCE_PARALLEL_TRANSITION","CHANGE_WORKFLOW_STATE_DIRECTLY","SEE_HIDDEN_FIELDS","VIEW_TRASHED_ITEM","UNTRASH","PERMANENTLY_DELETE","VIEW_DRIVEONLY_ACL","MODIFY_DRIVEONLY_ACL","NON_GOOGLE_USERS_SUPPORT","SUPPORTS_LIVE_EVALUATION","ALLOWLIST_NOT_ENFORCED","CREATE_SUBFOLDER","CREATE_DOCUMENT_IN_THIS_FOLDER","IMPORT_FOLDERS_FROM_DRIVE_TO_THIS_FOLDER","ADD_NEW_ATTACHMENT_FROM_OSS","OPEN_IN_DRIVE","COPY_FOLDER_TREE","CHECK_FOLDER","MOVE_TO_DRIVE","COPY_TO_DRIVE","MOVE_TO_ANOTHER_LIBRARY","MOVE_TO_ANOTHER_CLASS","COPY_TO_ANOTHER_CLASS","COPY_ATTACHMENT","COPY_TO_ANOTHER_LIBRARY","EDIT_ATTACHMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].permittedOperations.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].permittedOperations","typeLabel":"enum\u003cstring>[]"},"resourceKey":{"type":"string","description":"A folder that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].resourceKey","typeLabel":"string"},"restrictedDownload":{"type":"boolean","description":"Whether the documents in the folder are marked as restricted to download, copy and print (for the readers)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].restrictedDownload","typeLabel":"boolean"},"subfolders":{"type":"array","description":"The list of subfolders","items":{"$circularRef":"afc56d6c-86c5-48e8-ab5c-59dc6fc1a03b"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].subfolders","typeLabel":"array"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders","typeLabel":"object[]"},"forbiddenOperations":{"type":"object","description":"The map of the forbidden operations to the current user and the reasons why they are forbidden (read-only field)","additionalProperties":{"type":"array","items":{"type":"object","properties":{"localizedMessage":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].forbiddenOperations.additionalProperties.items.[INDEX].localizedMessage","typeLabel":"string"},"reason":{"type":"string","enum":["MANDATORY_CHECKOUT","PROTECTED_BY_CHECKOUT","MISSING_MANDATORY_FIELD","INCORRECT_FIELD_VALUES","CHECKED_OUT_IN_NORMAL_STATE","CONTAINS_ATTACHMENT","HAS_FOLDER","IS_DEFAULT_TEMPLATE","IS_HIDDEN","DOCUMENT_IS_DELETED","PERMISSION_NEEDED","CSE_ENCRYPTED_ATTACHMENT","THIRD_PARTY_SHORTCUT","DRIVEONLY_PERMISSIONS_NOT_SUPPORTED"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].forbiddenOperations.additionalProperties.items.[INDEX].reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].forbiddenOperations.additionalProperties.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].forbiddenOperations.additionalProperties","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].forbiddenOperations","typeLabel":"object"},"fullSizeOfAttachments":{"type":"integer","format":"int64","description":"The summed size (in octet) of the attachments (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fullSizeOfAttachments","typeLabel":"integer\u003cint64>"},"iconLink":{"type":"string","description":"The link to the icon relative to the attachment (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].iconLink","typeLabel":"string"},"id":{"type":"string","description":"The ID of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].id","typeLabel":"string"},"incomplete":{"type":"boolean","description":"Whether there are missing mandatory fields on the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].incomplete","typeLabel":"boolean"},"initialAuthor":{"type":"string","description":"The email of the user who created the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].initialAuthor","typeLabel":"string"},"internalMetadata":{"type":"object","description":"Technical metadata set by AODocs internal services (read-only field, only writable through the restricted internal metadata API)","additionalProperties":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].internalMetadata.additionalProperties.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].internalMetadata.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].internalMetadata","typeLabel":"object"},"invalidValues":{"type":"boolean","description":"Whether there are invalid values for fields of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].invalidValues","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].kind","typeLabel":"string"},"libraryId":{"type":"string","description":"The ID of the library (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].libraryId","typeLabel":"string"},"libraryName":{"type":"string","description":"The name of the library (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].libraryName","typeLabel":"string"},"modificationDate":{"type":"string","description":"The time at which the document was last modified (read-only field after document creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].modificationDate","typeLabel":"string"},"newPermissions":{"type":"array","description":"The new permissions to apply","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions","typeLabel":"object[]"},"nextVersionName":{"type":"string","description":"The next version name (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].nextVersionName","typeLabel":"string"},"numberOfAttachments":{"type":"integer","format":"int32","description":"The number of attachments in the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].numberOfAttachments","typeLabel":"integer\u003cint32>"},"onlyAdminCanChangeAcl":{"type":"boolean","description":"Whether only administrators can modify the permissions of the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].onlyAdminCanChangeAcl","typeLabel":"boolean"},"onlyAdminCanDelete":{"type":"boolean","description":"Whether only administrators can be delete the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].onlyAdminCanDelete","typeLabel":"boolean"},"originalVersionId":{"type":"string","description":"Id of the original version if this version was created by restoring a previous version, otherwise null","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].originalVersionId","typeLabel":"string"},"permissions":{"type":"array","description":"The list of permissions relative to the document","items":{"type":"object","properties":{"fieldNames":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX].fieldNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX].fieldNames","typeLabel":"string[]"},"inherited":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX].inherited","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX].name","typeLabel":"string"},"right":{"type":"string","enum":["NONE","READER","COMMENTER","ATTACHMENT_EDITOR","WRITER","ADMIN","SUPER_ADMIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX].right","typeLabel":"enum\u003cstring>"},"roleNames":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX].roleNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX].roleNames","typeLabel":"string[]"},"thumbnailPhotoUrl":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","enum":["USER","GROUP","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions","typeLabel":"object[]"},"permittedOperations":{"type":"array","description":"The list of permitted operations to the current user (read-only field)","items":{"type":"string","enum":["DELETE","RENAME","MODIFY_ACL","VIEW_ACL","MOVE_TO_ANOTHER_FOLDER","EXPORT","EDIT_PROPERTIES","COPY","CREATE_COPY_FROM","EXPORT_COPY","CREATE_NEW_VERSION","ATTACHMENT_VERSION_REPLACE","ATTACHMENT_VERSION_CREATE","ADD_NEW_ATTACHMENT_FROM_DRIVE","ATTACH_ENCRYPTED_FILE","OPEN_IN_OFFICE","PUBLISH","UNPUBLISH","RESTORE_REVISION","REVERT_TO_THIS_REVISION","CREATE_RELATED_DOCUMENT","DOWNLOAD","DOWNLOAD_ATTACHMENT","NOTIFY_USERS","CHECK_IN","CHECK_OUT","DISCARD_CHECKOUT","FORCE_DISCARD_CHECKOUT","EDIT_TAGS","PERFORM_HUMAN_WORKFLOW_ACTIONS","VIEW_DRAFT","SHARE_PUBLICLY","VIEW_HISTORY","VIEW_VERSIONS","ADD_COMMENT","SET_TEMPLATE_AS_DEFAULT","SET_TEMPLATE_VISIBILITY_SCOPE","DELETE_COMMENT","KNOW_DRAFT","FORCE_PARALLEL_TRANSITION","CHANGE_WORKFLOW_STATE_DIRECTLY","SEE_HIDDEN_FIELDS","VIEW_TRASHED_ITEM","UNTRASH","PERMANENTLY_DELETE","VIEW_DRIVEONLY_ACL","MODIFY_DRIVEONLY_ACL","NON_GOOGLE_USERS_SUPPORT","SUPPORTS_LIVE_EVALUATION","ALLOWLIST_NOT_ENFORCED","CREATE_SUBFOLDER","CREATE_DOCUMENT_IN_THIS_FOLDER","IMPORT_FOLDERS_FROM_DRIVE_TO_THIS_FOLDER","ADD_NEW_ATTACHMENT_FROM_OSS","OPEN_IN_DRIVE","COPY_FOLDER_TREE","CHECK_FOLDER","MOVE_TO_DRIVE","COPY_TO_DRIVE","MOVE_TO_ANOTHER_LIBRARY","MOVE_TO_ANOTHER_CLASS","COPY_TO_ANOTHER_CLASS","COPY_ATTACHMENT","COPY_TO_ANOTHER_LIBRARY","EDIT_ATTACHMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permittedOperations.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permittedOperations","typeLabel":"enum\u003cstring>[]"},"publishedLink":{"type":"string","description":"The link of the publication for mono-attachment documents","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].publishedLink","typeLabel":"string"},"publishedMode":{"type":"string","description":"The publication mode (NONE, DOMAIN, EVERYONE) for mono-attachment documents","enum":["NONE","DOMAIN","EVERYONE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].publishedMode","typeLabel":"enum\u003cstring>"},"referenceCatalogs":{"type":"array","description":"The list of reference catalog fields (only the values are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].mandatory","typeLabel":"boolean"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].readOnly","typeLabel":"boolean"},"referenceCatalog":{"type":"object","properties":{"createdAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was created (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.createdAt","typeLabel":"integer\u003cint64>"},"id":{"type":"string","description":"The ID of the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"Ordered name of levels of the reference catalog","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.levelNames","typeLabel":"string[]"},"modifiedAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was last modified (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.modifiedAt","typeLabel":"integer\u003cint64>"},"name":{"type":"string","description":"The name of the reference catalog","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.name","typeLabel":"string"},"numberOfValues":{"type":"integer","format":"int32","description":"The number of values in the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.numberOfValues","typeLabel":"integer\u003cint32>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog","typeLabel":"object"},"referenceCatalogId":{"type":"string","description":"The ID of the reference catalog","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalogId","typeLabel":"string"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of reference catalog values","items":{"type":"object","properties":{"deleted":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].deleted","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].leaf","typeLabel":"boolean"},"name":{"type":"string","description":"The name","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].name_i18n","typeLabel":"string"},"parents":{"type":"array","items":{"$circularRef":"9ddb8dd5-ddcc-43e2-a328-c86c113f0964"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].parents","typeLabel":"array"},"value":{"type":"string","description":"The value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].values","typeLabel":"object[]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs","typeLabel":"object[]"},"relatedDocuments":{"type":"object","description":"The map of related documents per relation","additionalProperties":{"$circularRef":"b989f6d0-b70f-4bd6-8e20-48043dc0087d"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].relatedDocuments","typeLabel":"object"},"restrictedDownload":{"type":"boolean","description":"Whether the flag controlling whether reader users can download, copy or print the document is enabled.","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].restrictedDownload","typeLabel":"boolean"},"richText":{"type":"string","description":"The description of the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].richText","typeLabel":"string"},"sections":{"type":"array","description":"The sections in which fields are organized (read-only field)","items":{"type":"object","properties":{"columnCount":{"type":"integer","format":"int32","description":"The number of columns to display fields for this section.","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sections.items.[INDEX].columnCount","typeLabel":"integer\u003cint32>"},"description":{"type":"string","description":"The description of the section","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sections.items.[INDEX].description","typeLabel":"string"},"fields":{"type":"array","description":"The list of fields in the section","items":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sections.items.[INDEX].fields.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","description":"The type of the field (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sections.items.[INDEX].fields.items.[INDEX].type","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sections.items.[INDEX].fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sections.items.[INDEX].fields","typeLabel":"object[]"},"id":{"type":"string","description":"The ID of the section (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sections.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"The name of the section","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sections.items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name of the section (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sections.items.[INDEX].name_i18n","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sections.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sections","typeLabel":"object[]"},"sequenceId":{"type":"integer","format":"int64","description":"The sequence ID of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sequenceId","typeLabel":"integer\u003cint64>"},"setModifiedDate":{"type":"boolean","description":"Whether to set the date of last modification","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].setModifiedDate","typeLabel":"boolean"},"similarDocuments":{"type":"array","description":"Represents a document identified as similar/duplicate with its associated metadata and similarity information","items":{"type":"object","properties":{"absoluteDuplicatesOnly":{"type":"boolean","description":"Flag indicating that only exact duplicate documents are considered","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].absoluteDuplicatesOnly","typeLabel":"boolean"},"attachmentId":{"type":"string","description":"Unique identifier of the attachment associated with the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].attachmentId","typeLabel":"string"},"attachmentLink":{"type":"string","description":"Direct link to download or access the attachment","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].attachmentLink","typeLabel":"string"},"attachmentMimeType":{"type":"string","description":"MIME type of the attachment","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].attachmentMimeType","typeLabel":"string"},"attachmentName":{"type":"string","description":"Name of the attachment file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].attachmentName","typeLabel":"string"},"documentId":{"type":"string","description":"Unique identifier of the similar document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].documentId","typeLabel":"string"},"documentLink":{"type":"string","description":"Direct link to access the similar document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].documentLink","typeLabel":"string"},"documentTitle":{"type":"string","description":"Title of the similar document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].documentTitle","typeLabel":"string"},"libraryId":{"type":"string","description":"Unique identifier of the library where the similar document is located","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].libraryId","typeLabel":"string"},"locationInfo":{"type":"string","description":"Information about where the similar content is located within the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].locationInfo","typeLabel":"string"},"locationType":{"type":"string","description":"Type of location reference","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].locationType","typeLabel":"string"},"quotedText":{"type":"string","description":"Extract of the text that was used to determine similarity","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].quotedText","typeLabel":"string"},"similarityScore":{"type":"number","format":"double","description":"Similarity score between the documents","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].similarityScore","typeLabel":"number\u003cdouble>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments","typeLabel":"object[]"},"state":{"type":"string","description":"The name of the workflow state (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].state","typeLabel":"string"},"stateChangeAuthors":{"type":"array","description":"The person(s) who were involved in the last workflow state change (read-only field)","items":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateChangeAuthors.items.[INDEX].classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateChangeAuthors.items.[INDEX].className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateChangeAuthors.items.[INDEX].description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateChangeAuthors.items.[INDEX].displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateChangeAuthors.items.[INDEX].displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateChangeAuthors.items.[INDEX].thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateChangeAuthors.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateChangeAuthors.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateChangeAuthors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateChangeAuthors","typeLabel":"object[]"},"stateChangeDate":{"type":"string","format":"date-time","description":"The date at which the document last changed of workflow state (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateChangeDate","typeLabel":"string\u003cdate-time>"},"stateId":{"type":"string","description":"The ID of the workflow state","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateId","typeLabel":"string"},"state_i18n":{"type":"string","description":"The internationalized name of the workflow state (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].state_i18n","typeLabel":"string"},"systemFields":{"type":"array","description":"The list of system fields (only the values are editable)","items":{"type":"object","properties":{"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"displayName":{"type":"string","description":"The internationalized name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].displayName","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].editable","typeLabel":"boolean"},"fieldMetadata":{"type":"object","description":"Additional metadata associated with the field","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].fieldMetadata","typeLabel":"object"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].hidden","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the system field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].kind","typeLabel":"string"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].mandatory","typeLabel":"boolean"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].readOnly","typeLabel":"boolean"},"value":{"type":"string","description":"The value of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields","typeLabel":"object[]"},"tableFields":{"type":"array","description":"The list of table fields (only the values are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"columns":{"type":"array","description":"The columns definition of the table (read-only)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"categoryDefinition":{"type":"object","properties":{"description":{"type":"string","description":"The description of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.description","typeLabel":"string"},"dynamicValues":{"type":"boolean","description":"Whether the category authorizes dynamic values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.dynamicValues","typeLabel":"boolean"},"folder":{"type":"boolean","description":"Whether the category is the Folder category (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.folder","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"The name of the levels in the category","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames","typeLabel":"string[]"},"levelNames_i18n":{"type":"array","description":"The internationalized name of the levels in the category (read-only field)","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames_i18n.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames_i18n","typeLabel":"string[]"},"libraryId":{"type":"string","description":"The ID of the library","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.libraryId","typeLabel":"string"},"name":{"type":"string","description":"The name of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.name","typeLabel":"string"},"tags":{"type":"boolean","description":"Whether the category is the Tags category (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.tags","typeLabel":"boolean"},"value":{"type":"string","description":"The ID of the category (backward compatibility for category.category.listCategoryDefinitions)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].mandatory","typeLabel":"boolean"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].readOnly","typeLabel":"boolean"},"referenceCatalogDefinition":{"type":"object","properties":{"createdAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was created (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.createdAt","typeLabel":"integer\u003cint64>"},"id":{"type":"string","description":"The ID of the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"Ordered name of levels of the reference catalog","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.levelNames","typeLabel":"string[]"},"modifiedAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was last modified (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.modifiedAt","typeLabel":"integer\u003cint64>"},"name":{"type":"string","description":"The name of the reference catalog","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.name","typeLabel":"string"},"numberOfValues":{"type":"integer","format":"int32","description":"The number of values in the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.numberOfValues","typeLabel":"integer\u003cint32>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition","typeLabel":"object"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns","typeLabel":"object[]"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].mandatory","typeLabel":"boolean"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The values (organized as rows) contained in the table","items":{"type":"object","properties":{"categories":{"type":"object","description":"Cells of type category","additionalProperties":{"type":"array","items":{"type":"array","items":{"type":"object","properties":{"ancestors":{"type":"array","description":"Ancestor category values from direct parent to root - only present with loadCategoryValue","items":{"$circularRef":"9b308f87-7c8b-415b-a763-2534d3bea0cc"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].ancestors","typeLabel":"array"},"id":{"type":"string","description":"The ID of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","description":"Whether the category value is leaf","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].leaf","typeLabel":"boolean"},"leafInNotOutdatedTree":{"type":"boolean","description":"Whether the category value is leaf without not outdated child","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].leafInNotOutdatedTree","typeLabel":"boolean"},"name":{"type":"string","description":"The name of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name of the category value (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].name_i18n","typeLabel":"string"},"outdated":{"type":"boolean","description":"Whether the category value is marked as outdated","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].outdated","typeLabel":"boolean"},"parentId":{"type":"string","description":"The ID of the parent category value (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].parentId","typeLabel":"string"},"shortName":{"type":"string","description":"The short name of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].shortName","typeLabel":"string"},"value":{"type":"string","description":"(Deprecated) The ID of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX]","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties","typeLabel":"object[][]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories","typeLabel":"object"},"fieldMetadata":{"type":"object","description":"Additional metadata associated with each column field, keyed by column field id","additionalProperties":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fieldMetadata.additionalProperties.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fieldMetadata","typeLabel":"object"},"fields":{"type":"object","description":"Cells of static type","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fields.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fields.additionalProperties","typeLabel":"string[]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fields","typeLabel":"object"},"referenceCatalogs":{"type":"object","description":"Cells of type reference catalog","additionalProperties":{"type":"array","items":{"type":"object","properties":{"deleted":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].deleted","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].leaf","typeLabel":"boolean"},"name":{"type":"string","description":"The name","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].name_i18n","typeLabel":"string"},"parents":{"type":"array","items":{"$circularRef":"9ddb8dd5-ddcc-43e2-a328-c86c113f0964"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].parents","typeLabel":"array"},"value":{"type":"string","description":"The value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs","typeLabel":"object"},"rowId":{"type":"string","description":"Unique id of the current row","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].rowId","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values","typeLabel":"object[]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields","typeLabel":"object[]"},"templateDocumentId":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].templateDocumentId","typeLabel":"string"},"title":{"type":"string","description":"The title of the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].title","typeLabel":"string"},"updateAuthor":{"type":"string","description":"The email of the user who last modified the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].updateAuthor","typeLabel":"string"},"updateTokenId":{"type":"string","description":"An opaque version token for optimistic concurrency. Returned as the ETag response header on load; echo it back in the If-Match request header on patch to be rejected with 412 if the document changed meanwhile (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].updateTokenId","typeLabel":"string"},"userCanChangeAcl":{"type":"boolean","description":"Whether the current user can modify the permissions (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].userCanChangeAcl","typeLabel":"boolean"},"userCanChangeProperties":{"type":"boolean","description":"Whether the current user can modify the properties (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].userCanChangeProperties","typeLabel":"boolean"},"userCanDelete":{"type":"boolean","description":"Whether the current user can delete the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].userCanDelete","typeLabel":"boolean"},"userMapping":{"type":"object","description":"The mapping between user email and user profile (read-only field)","additionalProperties":{"type":"object","properties":{"email":{"type":"string","description":"The email of the user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].userMapping.additionalProperties.email","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].userMapping.additionalProperties.kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name of the user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].userMapping.additionalProperties.name","typeLabel":"string"},"nonGoogle":{"type":"boolean","description":"This user is not a google user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].userMapping.additionalProperties.nonGoogle","typeLabel":"boolean"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture of the user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].userMapping.additionalProperties.thumbnailPictureUrl","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].userMapping.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].userMapping","typeLabel":"object"},"versionCreated":{"type":"string","format":"date-time","description":"The time at which the version was created (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].versionCreated","typeLabel":"string\u003cdate-time>"},"versionCreator":{"type":"string","description":"The email of the user who created the version (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].versionCreator","typeLabel":"string"},"versionDescription":{"type":"string","description":"The description of the current version of the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].versionDescription","typeLabel":"string"},"versionId":{"type":"string","description":"The ID of the version (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].versionId","typeLabel":"string"},"versionLabel":{"type":"string","description":"(Deprecated) The description of the version (replaced by versionDescription)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].versionLabel","typeLabel":"string"},"versionName":{"type":"string","description":"The name of the current version of the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].versionName","typeLabel":"string"},"versionNumber":{"type":"string","description":"(Deprecated) The number of the version (replaced by versionName)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].versionNumber","typeLabel":"string"},"viewConfiguration":{"type":"object","properties":{"defaultTabToDisplay":{"type":"string","description":"The tab to display when open the document","enum":["PROPERTIES","FIRST_ATTACHMENT","SPLIT","FILE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].viewConfiguration.defaultTabToDisplay","typeLabel":"enum\u003cstring>"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].viewConfiguration.kind","typeLabel":"string"},"orientation":{"type":"string","description":"The orientation to display the document (PORTRAIT or LANDSCAPE)","enum":["PORTRAIT","LANDSCAPE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].viewConfiguration.orientation","typeLabel":"enum\u003cstring>"},"visibleRelations":{"type":"array","description":"The list of ordered relations to display in the Relations section","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].viewConfiguration.visibleRelations.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].viewConfiguration.visibleRelations","typeLabel":"string[]"},"visibleSections":{"type":"array","description":"The list of ordered sections to display","items":{"type":"string","enum":["INFO","WORKFLOW","PROPERTIES","ATTACHMENTS","RELATIONS","DESCRIPTION"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].viewConfiguration.visibleSections.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].viewConfiguration.visibleSections","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].viewConfiguration","typeLabel":"object"},"workflowId":{"type":"string","description":"The ID of the workflow related to the class of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].workflowId","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from","typeLabel":"object[]"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.kind","typeLabel":"string"},"relationId":{"type":"string","description":"The ID of the relation","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.relationId","typeLabel":"string"},"to":{"type":"array","description":"The list of related documents on TO side","items":{"type":"object","properties":{"acl":{"type":"array","items":{"type":"object","properties":{"allow":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].acl.items.[INDEX].allow.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].acl.items.[INDEX].allow","typeLabel":"string[]"},"for":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].acl.items.[INDEX].for.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].acl.items.[INDEX].for","typeLabel":"string[]"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].acl.items.[INDEX].kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].acl.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].acl","typeLabel":"object[]"},"attachmentFields":{"type":"array","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].mandatory","typeLabel":"boolean"},"metadata":{"type":"object","properties":{"attachments":{"type":"array","items":{"type":"object","properties":{"drive":{"type":"object","properties":{"iconLink":{"type":"string","description":"The URL of the icon of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.iconLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.kind","typeLabel":"string"},"link":{"type":"string","description":"The URL to the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.link","typeLabel":"string"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive","typeLabel":"object[]"},"publishedLink":{"type":"string","description":"The URL of the file when published","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.publishedLink","typeLabel":"string"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.resourceKey","typeLabel":"string"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.revisionId","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive","typeLabel":"object"},"id":{"type":"string","description":"The ID the file as used on the storage type","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].kind","typeLabel":"string"},"mimeType":{"type":"string","description":"The MIME type of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].mimeType","typeLabel":"string"},"name":{"type":"string","description":"The name (title) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].name","typeLabel":"string"},"oss":{"type":"object","properties":{"downloadLink":{"type":"string","description":"The URL to download the OSS file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].oss.downloadLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].oss.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].oss","typeLabel":"object"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].size","typeLabel":"integer\u003cint64>"},"storageType":{"type":"string","description":"Where is the file stored? Either DRIVE (Google Drive), or OSS (AODocs Object Storage System)","enum":["OSS","DRIVE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].storageType","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments","typeLabel":"object[]"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata","typeLabel":"object"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of values for the field","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].values","typeLabel":"string[]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields","typeLabel":"object[]"},"attachments":{"type":"array","description":"The list of attachments","items":{"type":"object","properties":{"autodeskUrn":{"type":"object","properties":{"status":{"type":"string","enum":["READY","IN_PROGRESS","FAILED"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].autodeskUrn.status","typeLabel":"enum\u003cstring>"},"urn":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].autodeskUrn.urn","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].autodeskUrn","typeLabel":"object"},"fileId":{"type":"string","description":"The ID the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].fileId","typeLabel":"string"},"iconLink":{"type":"string","description":"The URL of the icon of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].iconLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].kind","typeLabel":"string"},"link":{"type":"string","description":"The URL to the file in Drive (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].link","typeLabel":"string"},"md5Checksum":{"type":"string","description":"The MD5 checksum of the file content (null for native Google files)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].md5Checksum","typeLabel":"string"},"mimeType":{"type":"string","description":"The MIME type of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].mimeType","typeLabel":"string"},"name":{"type":"string","description":"The name (title) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].name","typeLabel":"string"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive","typeLabel":"object[]"},"publishedLink":{"type":"string","description":"The URL of the file when published","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].publishedLink","typeLabel":"string"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].resourceKey","typeLabel":"string"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].revisionId","typeLabel":"string"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].size","typeLabel":"integer\u003cint64>"},"storageLocation":{"type":"string","description":"The storage location of the file. Possible values are 'DRIVE' and 'OSS' (read-only)","enum":["DRIVE","OSS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].storageLocation","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments","typeLabel":"object[]"},"attachmentsToCopy":{"type":"array","description":"The list of attachments to copy (for create/patch)","items":{"type":"object","properties":{"autodeskUrn":{"type":"object","properties":{"status":{"type":"string","enum":["READY","IN_PROGRESS","FAILED"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].autodeskUrn.status","typeLabel":"enum\u003cstring>"},"urn":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].autodeskUrn.urn","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].autodeskUrn","typeLabel":"object"},"fileId":{"type":"string","description":"The ID the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].fileId","typeLabel":"string"},"iconLink":{"type":"string","description":"The URL of the icon of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].iconLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].kind","typeLabel":"string"},"link":{"type":"string","description":"The URL to the file in Drive (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].link","typeLabel":"string"},"md5Checksum":{"type":"string","description":"The MD5 checksum of the file content (null for native Google files)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].md5Checksum","typeLabel":"string"},"mimeType":{"type":"string","description":"The MIME type of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].mimeType","typeLabel":"string"},"name":{"type":"string","description":"The name (title) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].name","typeLabel":"string"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive","typeLabel":"object[]"},"publishedLink":{"type":"string","description":"The URL of the file when published","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].publishedLink","typeLabel":"string"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].resourceKey","typeLabel":"string"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].revisionId","typeLabel":"string"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].size","typeLabel":"integer\u003cint64>"},"storageLocation":{"type":"string","description":"The storage location of the file. Possible values are 'DRIVE' and 'OSS' (read-only)","enum":["DRIVE","OSS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].storageLocation","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy","typeLabel":"object[]"},"categories":{"type":"array","description":"The list of category fields (only the values are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"categoryDefinition":{"type":"object","properties":{"description":{"type":"string","description":"The description of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.description","typeLabel":"string"},"dynamicValues":{"type":"boolean","description":"Whether the category authorizes dynamic values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.dynamicValues","typeLabel":"boolean"},"folder":{"type":"boolean","description":"Whether the category is the Folder category (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.folder","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"The name of the levels in the category","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames","typeLabel":"string[]"},"levelNames_i18n":{"type":"array","description":"The internationalized name of the levels in the category (read-only field)","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames_i18n.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames_i18n","typeLabel":"string[]"},"libraryId":{"type":"string","description":"The ID of the library","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.libraryId","typeLabel":"string"},"name":{"type":"string","description":"The name of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.name","typeLabel":"string"},"tags":{"type":"boolean","description":"Whether the category is the Tags category (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.tags","typeLabel":"boolean"},"value":{"type":"string","description":"The ID of the category (backward compatibility for category.category.listCategoryDefinitions)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition","typeLabel":"object"},"categoryValueMapping":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the mapping (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryValueMapping.displayName","typeLabel":"string"},"id":{"type":"string","description":"The ID of the category value mapping","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryValueMapping.id","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryValueMapping","typeLabel":"object"},"definitionId":{"type":"string","description":"(Deprecated) The ID of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].definitionId","typeLabel":"string"},"definitionName":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].definitionName","typeLabel":"string"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].description_i18n","typeLabel":"string"},"dynamicValues":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].dynamicValues","typeLabel":"boolean"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].fieldName_i18n","typeLabel":"string"},"folder":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].folder","typeLabel":"boolean"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].kind","typeLabel":"string"},"levelNames":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].levelNames","typeLabel":"string[]"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].mandatory","typeLabel":"boolean"},"mappingSourceField":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].mappingSourceField.displayName","typeLabel":"string"},"id":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].mappingSourceField.id","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].mappingSourceField","typeLabel":"object"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of category values","items":{"type":"array","items":{"type":"object","properties":{"ancestors":{"type":"array","description":"Ancestor category values from direct parent to root - only present with loadCategoryValue","items":{"$circularRef":"9b308f87-7c8b-415b-a763-2534d3bea0cc"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].ancestors","typeLabel":"array"},"id":{"type":"string","description":"The ID of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","description":"Whether the category value is leaf","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].leaf","typeLabel":"boolean"},"leafInNotOutdatedTree":{"type":"boolean","description":"Whether the category value is leaf without not outdated child","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].leafInNotOutdatedTree","typeLabel":"boolean"},"name":{"type":"string","description":"The name of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name of the category value (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].name_i18n","typeLabel":"string"},"outdated":{"type":"boolean","description":"Whether the category value is marked as outdated","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].outdated","typeLabel":"boolean"},"parentId":{"type":"string","description":"The ID of the parent category value (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].parentId","typeLabel":"string"},"shortName":{"type":"string","description":"The short name of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].shortName","typeLabel":"string"},"value":{"type":"string","description":"(Deprecated) The ID of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX]","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values","typeLabel":"object[][]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories","typeLabel":"object[]"},"checkOutBy":{"type":"string","description":"The email of the user who checked-out the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].checkOutBy","typeLabel":"string"},"checkoutDate":{"type":"string","description":"The time at which the document was checked-out (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].checkoutDate","typeLabel":"string"},"classId":{"type":"string","description":"The ID of the class of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].className","typeLabel":"string"},"className_i18n":{"type":"string","description":"The internationalized name of the class of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].className_i18n","typeLabel":"string"},"coordinate":{"type":"string","description":"The coordinate of the sequence for the document (\u003clibrarySequenceId>.\u003cdocumentClassSequenceId>.\u003cdocumentSequenceId>[.\u003cversionSequenceId>]) (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].coordinate","typeLabel":"string"},"creationDate":{"type":"string","description":"The time at which the document was created (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].creationDate","typeLabel":"string"},"deleteAuthor":{"type":"string","description":"The email of the user who deleted the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].deleteAuthor","typeLabel":"string"},"deleted":{"type":"boolean","description":"Whether the document is deleted (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].deleted","typeLabel":"boolean"},"deletedReason":{"type":"string","description":"The reason for deleting the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].deletedReason","typeLabel":"string"},"deletionDate":{"type":"string","description":"The time at which the document was deleted (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].deletionDate","typeLabel":"string"},"domainName":{"type":"string","description":"The name of the domain (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].domainName","typeLabel":"string"},"driveOnlyPermissions":{"type":"array","description":"The list of additional permissions configured in Secured Folder libraries","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions","typeLabel":"object[]"},"editable":{"type":"boolean","description":"Whether the current user can edit the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].editable","typeLabel":"boolean"},"evaluationError":{"type":"boolean","description":"Whether there is an evaluation error on at least one field of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].evaluationError","typeLabel":"boolean"},"externalSource":{"type":"object","properties":{"displayName":{"type":"string","description":"The text displayed for the external source link.","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].externalSource.displayName","typeLabel":"string"},"url":{"type":"string","description":"The URL of the external source. Must be non-null and non-empty when clear is false.","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].externalSource.url","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].externalSource","typeLabel":"object"},"fields":{"type":"array","description":"The list of native fields (values and metadata are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].mandatory","typeLabel":"boolean"},"metadata":{"type":"object","properties":{"attachments":{"type":"array","items":{"type":"object","properties":{"drive":{"type":"object","properties":{"iconLink":{"type":"string","description":"The URL of the icon of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.iconLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.kind","typeLabel":"string"},"link":{"type":"string","description":"The URL to the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.link","typeLabel":"string"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive","typeLabel":"object[]"},"publishedLink":{"type":"string","description":"The URL of the file when published","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.publishedLink","typeLabel":"string"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.resourceKey","typeLabel":"string"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.revisionId","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive","typeLabel":"object"},"id":{"type":"string","description":"The ID the file as used on the storage type","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].kind","typeLabel":"string"},"mimeType":{"type":"string","description":"The MIME type of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].mimeType","typeLabel":"string"},"name":{"type":"string","description":"The name (title) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].name","typeLabel":"string"},"oss":{"type":"object","properties":{"downloadLink":{"type":"string","description":"The URL to download the OSS file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].oss.downloadLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].oss.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].oss","typeLabel":"object"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].size","typeLabel":"integer\u003cint64>"},"storageType":{"type":"string","description":"Where is the file stored? Either DRIVE (Google Drive), or OSS (AODocs Object Storage System)","enum":["OSS","DRIVE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].storageType","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments","typeLabel":"object[]"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata","typeLabel":"object"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of values for the field","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].values","typeLabel":"string[]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields","typeLabel":"object[]"},"folders":{"type":"array","description":"The location of the document (folder path as list of folders)","items":{"type":"object","properties":{"editable":{"type":"boolean","description":"Whether the folder is editable by the current user (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].editable","typeLabel":"boolean"},"editableDocuments":{"type":"boolean","description":"Whether the documents in the folder are editable by the current user (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].editableDocuments","typeLabel":"boolean"},"fileId":{"type":"string","description":"The ID of the folder in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].fileId","typeLabel":"string"},"folderAodocsId":{"type":"string","description":"The ID of the folder in AODocs model (0 if root folder)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].folderAodocsId","typeLabel":"string"},"folderDefinitionId":{"type":"string","description":"(Deprecated) The ID of the folder configuration","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].folderDefinitionId","typeLabel":"string"},"folderIsRoot":{"type":"boolean","description":"Whether the folder is the root folder (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].folderIsRoot","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].kind","typeLabel":"string"},"libraryId":{"type":"string","description":"The ID of the library","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].libraryId","typeLabel":"string"},"libraryName":{"type":"string","description":"The name of the library","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].libraryName","typeLabel":"string"},"name":{"type":"string","description":"The name of the folder","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].name","typeLabel":"string"},"parentFolderAodocsId":{"type":"string","description":"The ID of the parent folder in AODocs model (0 if root folder)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].parentFolderAodocsId","typeLabel":"string"},"parentFolderDriveId":{"type":"string","description":"The ID of the parent folder in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].parentFolderDriveId","typeLabel":"string"},"parentFolderIsRoot":{"type":"boolean","description":"Whether the parent folder is the root folder (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].parentFolderIsRoot","typeLabel":"boolean"},"permittedOperations":{"type":"array","description":"The list of permitted operations to the current user (read-only field)","items":{"type":"string","enum":["DELETE","RENAME","MODIFY_ACL","VIEW_ACL","MOVE_TO_ANOTHER_FOLDER","EXPORT","EDIT_PROPERTIES","COPY","CREATE_COPY_FROM","EXPORT_COPY","CREATE_NEW_VERSION","ATTACHMENT_VERSION_REPLACE","ATTACHMENT_VERSION_CREATE","ADD_NEW_ATTACHMENT_FROM_DRIVE","ATTACH_ENCRYPTED_FILE","OPEN_IN_OFFICE","PUBLISH","UNPUBLISH","RESTORE_REVISION","REVERT_TO_THIS_REVISION","CREATE_RELATED_DOCUMENT","DOWNLOAD","DOWNLOAD_ATTACHMENT","NOTIFY_USERS","CHECK_IN","CHECK_OUT","DISCARD_CHECKOUT","FORCE_DISCARD_CHECKOUT","EDIT_TAGS","PERFORM_HUMAN_WORKFLOW_ACTIONS","VIEW_DRAFT","SHARE_PUBLICLY","VIEW_HISTORY","VIEW_VERSIONS","ADD_COMMENT","SET_TEMPLATE_AS_DEFAULT","SET_TEMPLATE_VISIBILITY_SCOPE","DELETE_COMMENT","KNOW_DRAFT","FORCE_PARALLEL_TRANSITION","CHANGE_WORKFLOW_STATE_DIRECTLY","SEE_HIDDEN_FIELDS","VIEW_TRASHED_ITEM","UNTRASH","PERMANENTLY_DELETE","VIEW_DRIVEONLY_ACL","MODIFY_DRIVEONLY_ACL","NON_GOOGLE_USERS_SUPPORT","SUPPORTS_LIVE_EVALUATION","ALLOWLIST_NOT_ENFORCED","CREATE_SUBFOLDER","CREATE_DOCUMENT_IN_THIS_FOLDER","IMPORT_FOLDERS_FROM_DRIVE_TO_THIS_FOLDER","ADD_NEW_ATTACHMENT_FROM_OSS","OPEN_IN_DRIVE","COPY_FOLDER_TREE","CHECK_FOLDER","MOVE_TO_DRIVE","COPY_TO_DRIVE","MOVE_TO_ANOTHER_LIBRARY","MOVE_TO_ANOTHER_CLASS","COPY_TO_ANOTHER_CLASS","COPY_ATTACHMENT","COPY_TO_ANOTHER_LIBRARY","EDIT_ATTACHMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].permittedOperations.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].permittedOperations","typeLabel":"enum\u003cstring>[]"},"resourceKey":{"type":"string","description":"A folder that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].resourceKey","typeLabel":"string"},"restrictedDownload":{"type":"boolean","description":"Whether the documents in the folder are marked as restricted to download, copy and print (for the readers)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].restrictedDownload","typeLabel":"boolean"},"subfolders":{"type":"array","description":"The list of subfolders","items":{"$circularRef":"afc56d6c-86c5-48e8-ab5c-59dc6fc1a03b"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].subfolders","typeLabel":"array"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders","typeLabel":"object[]"},"forbiddenOperations":{"type":"object","description":"The map of the forbidden operations to the current user and the reasons why they are forbidden (read-only field)","additionalProperties":{"type":"array","items":{"type":"object","properties":{"localizedMessage":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].forbiddenOperations.additionalProperties.items.[INDEX].localizedMessage","typeLabel":"string"},"reason":{"type":"string","enum":["MANDATORY_CHECKOUT","PROTECTED_BY_CHECKOUT","MISSING_MANDATORY_FIELD","INCORRECT_FIELD_VALUES","CHECKED_OUT_IN_NORMAL_STATE","CONTAINS_ATTACHMENT","HAS_FOLDER","IS_DEFAULT_TEMPLATE","IS_HIDDEN","DOCUMENT_IS_DELETED","PERMISSION_NEEDED","CSE_ENCRYPTED_ATTACHMENT","THIRD_PARTY_SHORTCUT","DRIVEONLY_PERMISSIONS_NOT_SUPPORTED"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].forbiddenOperations.additionalProperties.items.[INDEX].reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].forbiddenOperations.additionalProperties.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].forbiddenOperations.additionalProperties","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].forbiddenOperations","typeLabel":"object"},"fullSizeOfAttachments":{"type":"integer","format":"int64","description":"The summed size (in octet) of the attachments (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fullSizeOfAttachments","typeLabel":"integer\u003cint64>"},"iconLink":{"type":"string","description":"The link to the icon relative to the attachment (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].iconLink","typeLabel":"string"},"id":{"type":"string","description":"The ID of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].id","typeLabel":"string"},"incomplete":{"type":"boolean","description":"Whether there are missing mandatory fields on the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].incomplete","typeLabel":"boolean"},"initialAuthor":{"type":"string","description":"The email of the user who created the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].initialAuthor","typeLabel":"string"},"internalMetadata":{"type":"object","description":"Technical metadata set by AODocs internal services (read-only field, only writable through the restricted internal metadata API)","additionalProperties":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].internalMetadata.additionalProperties.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].internalMetadata.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].internalMetadata","typeLabel":"object"},"invalidValues":{"type":"boolean","description":"Whether there are invalid values for fields of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].invalidValues","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].kind","typeLabel":"string"},"libraryId":{"type":"string","description":"The ID of the library (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].libraryId","typeLabel":"string"},"libraryName":{"type":"string","description":"The name of the library (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].libraryName","typeLabel":"string"},"modificationDate":{"type":"string","description":"The time at which the document was last modified (read-only field after document creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].modificationDate","typeLabel":"string"},"newPermissions":{"type":"array","description":"The new permissions to apply","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions","typeLabel":"object[]"},"nextVersionName":{"type":"string","description":"The next version name (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].nextVersionName","typeLabel":"string"},"numberOfAttachments":{"type":"integer","format":"int32","description":"The number of attachments in the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].numberOfAttachments","typeLabel":"integer\u003cint32>"},"onlyAdminCanChangeAcl":{"type":"boolean","description":"Whether only administrators can modify the permissions of the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].onlyAdminCanChangeAcl","typeLabel":"boolean"},"onlyAdminCanDelete":{"type":"boolean","description":"Whether only administrators can be delete the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].onlyAdminCanDelete","typeLabel":"boolean"},"originalVersionId":{"type":"string","description":"Id of the original version if this version was created by restoring a previous version, otherwise null","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].originalVersionId","typeLabel":"string"},"permissions":{"type":"array","description":"The list of permissions relative to the document","items":{"type":"object","properties":{"fieldNames":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX].fieldNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX].fieldNames","typeLabel":"string[]"},"inherited":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX].inherited","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX].name","typeLabel":"string"},"right":{"type":"string","enum":["NONE","READER","COMMENTER","ATTACHMENT_EDITOR","WRITER","ADMIN","SUPER_ADMIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX].right","typeLabel":"enum\u003cstring>"},"roleNames":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX].roleNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX].roleNames","typeLabel":"string[]"},"thumbnailPhotoUrl":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","enum":["USER","GROUP","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions","typeLabel":"object[]"},"permittedOperations":{"type":"array","description":"The list of permitted operations to the current user (read-only field)","items":{"type":"string","enum":["DELETE","RENAME","MODIFY_ACL","VIEW_ACL","MOVE_TO_ANOTHER_FOLDER","EXPORT","EDIT_PROPERTIES","COPY","CREATE_COPY_FROM","EXPORT_COPY","CREATE_NEW_VERSION","ATTACHMENT_VERSION_REPLACE","ATTACHMENT_VERSION_CREATE","ADD_NEW_ATTACHMENT_FROM_DRIVE","ATTACH_ENCRYPTED_FILE","OPEN_IN_OFFICE","PUBLISH","UNPUBLISH","RESTORE_REVISION","REVERT_TO_THIS_REVISION","CREATE_RELATED_DOCUMENT","DOWNLOAD","DOWNLOAD_ATTACHMENT","NOTIFY_USERS","CHECK_IN","CHECK_OUT","DISCARD_CHECKOUT","FORCE_DISCARD_CHECKOUT","EDIT_TAGS","PERFORM_HUMAN_WORKFLOW_ACTIONS","VIEW_DRAFT","SHARE_PUBLICLY","VIEW_HISTORY","VIEW_VERSIONS","ADD_COMMENT","SET_TEMPLATE_AS_DEFAULT","SET_TEMPLATE_VISIBILITY_SCOPE","DELETE_COMMENT","KNOW_DRAFT","FORCE_PARALLEL_TRANSITION","CHANGE_WORKFLOW_STATE_DIRECTLY","SEE_HIDDEN_FIELDS","VIEW_TRASHED_ITEM","UNTRASH","PERMANENTLY_DELETE","VIEW_DRIVEONLY_ACL","MODIFY_DRIVEONLY_ACL","NON_GOOGLE_USERS_SUPPORT","SUPPORTS_LIVE_EVALUATION","ALLOWLIST_NOT_ENFORCED","CREATE_SUBFOLDER","CREATE_DOCUMENT_IN_THIS_FOLDER","IMPORT_FOLDERS_FROM_DRIVE_TO_THIS_FOLDER","ADD_NEW_ATTACHMENT_FROM_OSS","OPEN_IN_DRIVE","COPY_FOLDER_TREE","CHECK_FOLDER","MOVE_TO_DRIVE","COPY_TO_DRIVE","MOVE_TO_ANOTHER_LIBRARY","MOVE_TO_ANOTHER_CLASS","COPY_TO_ANOTHER_CLASS","COPY_ATTACHMENT","COPY_TO_ANOTHER_LIBRARY","EDIT_ATTACHMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permittedOperations.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permittedOperations","typeLabel":"enum\u003cstring>[]"},"publishedLink":{"type":"string","description":"The link of the publication for mono-attachment documents","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].publishedLink","typeLabel":"string"},"publishedMode":{"type":"string","description":"The publication mode (NONE, DOMAIN, EVERYONE) for mono-attachment documents","enum":["NONE","DOMAIN","EVERYONE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].publishedMode","typeLabel":"enum\u003cstring>"},"referenceCatalogs":{"type":"array","description":"The list of reference catalog fields (only the values are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].mandatory","typeLabel":"boolean"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].readOnly","typeLabel":"boolean"},"referenceCatalog":{"type":"object","properties":{"createdAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was created (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.createdAt","typeLabel":"integer\u003cint64>"},"id":{"type":"string","description":"The ID of the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"Ordered name of levels of the reference catalog","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.levelNames","typeLabel":"string[]"},"modifiedAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was last modified (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.modifiedAt","typeLabel":"integer\u003cint64>"},"name":{"type":"string","description":"The name of the reference catalog","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.name","typeLabel":"string"},"numberOfValues":{"type":"integer","format":"int32","description":"The number of values in the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.numberOfValues","typeLabel":"integer\u003cint32>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog","typeLabel":"object"},"referenceCatalogId":{"type":"string","description":"The ID of the reference catalog","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalogId","typeLabel":"string"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of reference catalog values","items":{"type":"object","properties":{"deleted":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].deleted","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].leaf","typeLabel":"boolean"},"name":{"type":"string","description":"The name","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].name_i18n","typeLabel":"string"},"parents":{"type":"array","items":{"$circularRef":"9ddb8dd5-ddcc-43e2-a328-c86c113f0964"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].parents","typeLabel":"array"},"value":{"type":"string","description":"The value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].values","typeLabel":"object[]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs","typeLabel":"object[]"},"relatedDocuments":{"type":"object","description":"The map of related documents per relation","additionalProperties":{"$circularRef":"b989f6d0-b70f-4bd6-8e20-48043dc0087d"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].relatedDocuments","typeLabel":"object"},"restrictedDownload":{"type":"boolean","description":"Whether the flag controlling whether reader users can download, copy or print the document is enabled.","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].restrictedDownload","typeLabel":"boolean"},"richText":{"type":"string","description":"The description of the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].richText","typeLabel":"string"},"sections":{"type":"array","description":"The sections in which fields are organized (read-only field)","items":{"type":"object","properties":{"columnCount":{"type":"integer","format":"int32","description":"The number of columns to display fields for this section.","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sections.items.[INDEX].columnCount","typeLabel":"integer\u003cint32>"},"description":{"type":"string","description":"The description of the section","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sections.items.[INDEX].description","typeLabel":"string"},"fields":{"type":"array","description":"The list of fields in the section","items":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sections.items.[INDEX].fields.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","description":"The type of the field (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sections.items.[INDEX].fields.items.[INDEX].type","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sections.items.[INDEX].fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sections.items.[INDEX].fields","typeLabel":"object[]"},"id":{"type":"string","description":"The ID of the section (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sections.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"The name of the section","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sections.items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name of the section (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sections.items.[INDEX].name_i18n","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sections.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sections","typeLabel":"object[]"},"sequenceId":{"type":"integer","format":"int64","description":"The sequence ID of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sequenceId","typeLabel":"integer\u003cint64>"},"setModifiedDate":{"type":"boolean","description":"Whether to set the date of last modification","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].setModifiedDate","typeLabel":"boolean"},"similarDocuments":{"type":"array","description":"Represents a document identified as similar/duplicate with its associated metadata and similarity information","items":{"type":"object","properties":{"absoluteDuplicatesOnly":{"type":"boolean","description":"Flag indicating that only exact duplicate documents are considered","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].absoluteDuplicatesOnly","typeLabel":"boolean"},"attachmentId":{"type":"string","description":"Unique identifier of the attachment associated with the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].attachmentId","typeLabel":"string"},"attachmentLink":{"type":"string","description":"Direct link to download or access the attachment","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].attachmentLink","typeLabel":"string"},"attachmentMimeType":{"type":"string","description":"MIME type of the attachment","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].attachmentMimeType","typeLabel":"string"},"attachmentName":{"type":"string","description":"Name of the attachment file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].attachmentName","typeLabel":"string"},"documentId":{"type":"string","description":"Unique identifier of the similar document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].documentId","typeLabel":"string"},"documentLink":{"type":"string","description":"Direct link to access the similar document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].documentLink","typeLabel":"string"},"documentTitle":{"type":"string","description":"Title of the similar document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].documentTitle","typeLabel":"string"},"libraryId":{"type":"string","description":"Unique identifier of the library where the similar document is located","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].libraryId","typeLabel":"string"},"locationInfo":{"type":"string","description":"Information about where the similar content is located within the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].locationInfo","typeLabel":"string"},"locationType":{"type":"string","description":"Type of location reference","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].locationType","typeLabel":"string"},"quotedText":{"type":"string","description":"Extract of the text that was used to determine similarity","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].quotedText","typeLabel":"string"},"similarityScore":{"type":"number","format":"double","description":"Similarity score between the documents","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].similarityScore","typeLabel":"number\u003cdouble>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments","typeLabel":"object[]"},"state":{"type":"string","description":"The name of the workflow state (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].state","typeLabel":"string"},"stateChangeAuthors":{"type":"array","description":"The person(s) who were involved in the last workflow state change (read-only field)","items":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateChangeAuthors.items.[INDEX].classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateChangeAuthors.items.[INDEX].className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateChangeAuthors.items.[INDEX].description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateChangeAuthors.items.[INDEX].displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateChangeAuthors.items.[INDEX].displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateChangeAuthors.items.[INDEX].thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateChangeAuthors.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateChangeAuthors.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateChangeAuthors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateChangeAuthors","typeLabel":"object[]"},"stateChangeDate":{"type":"string","format":"date-time","description":"The date at which the document last changed of workflow state (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateChangeDate","typeLabel":"string\u003cdate-time>"},"stateId":{"type":"string","description":"The ID of the workflow state","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateId","typeLabel":"string"},"state_i18n":{"type":"string","description":"The internationalized name of the workflow state (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].state_i18n","typeLabel":"string"},"systemFields":{"type":"array","description":"The list of system fields (only the values are editable)","items":{"type":"object","properties":{"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"displayName":{"type":"string","description":"The internationalized name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].displayName","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].editable","typeLabel":"boolean"},"fieldMetadata":{"type":"object","description":"Additional metadata associated with the field","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].fieldMetadata","typeLabel":"object"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].hidden","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the system field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].kind","typeLabel":"string"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].mandatory","typeLabel":"boolean"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].readOnly","typeLabel":"boolean"},"value":{"type":"string","description":"The value of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields","typeLabel":"object[]"},"tableFields":{"type":"array","description":"The list of table fields (only the values are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"columns":{"type":"array","description":"The columns definition of the table (read-only)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"categoryDefinition":{"type":"object","properties":{"description":{"type":"string","description":"The description of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.description","typeLabel":"string"},"dynamicValues":{"type":"boolean","description":"Whether the category authorizes dynamic values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.dynamicValues","typeLabel":"boolean"},"folder":{"type":"boolean","description":"Whether the category is the Folder category (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.folder","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"The name of the levels in the category","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames","typeLabel":"string[]"},"levelNames_i18n":{"type":"array","description":"The internationalized name of the levels in the category (read-only field)","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames_i18n.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames_i18n","typeLabel":"string[]"},"libraryId":{"type":"string","description":"The ID of the library","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.libraryId","typeLabel":"string"},"name":{"type":"string","description":"The name of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.name","typeLabel":"string"},"tags":{"type":"boolean","description":"Whether the category is the Tags category (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.tags","typeLabel":"boolean"},"value":{"type":"string","description":"The ID of the category (backward compatibility for category.category.listCategoryDefinitions)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].mandatory","typeLabel":"boolean"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].readOnly","typeLabel":"boolean"},"referenceCatalogDefinition":{"type":"object","properties":{"createdAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was created (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.createdAt","typeLabel":"integer\u003cint64>"},"id":{"type":"string","description":"The ID of the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"Ordered name of levels of the reference catalog","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.levelNames","typeLabel":"string[]"},"modifiedAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was last modified (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.modifiedAt","typeLabel":"integer\u003cint64>"},"name":{"type":"string","description":"The name of the reference catalog","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.name","typeLabel":"string"},"numberOfValues":{"type":"integer","format":"int32","description":"The number of values in the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.numberOfValues","typeLabel":"integer\u003cint32>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition","typeLabel":"object"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns","typeLabel":"object[]"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].mandatory","typeLabel":"boolean"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The values (organized as rows) contained in the table","items":{"type":"object","properties":{"categories":{"type":"object","description":"Cells of type category","additionalProperties":{"type":"array","items":{"type":"array","items":{"type":"object","properties":{"ancestors":{"type":"array","description":"Ancestor category values from direct parent to root - only present with loadCategoryValue","items":{"$circularRef":"9b308f87-7c8b-415b-a763-2534d3bea0cc"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].ancestors","typeLabel":"array"},"id":{"type":"string","description":"The ID of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","description":"Whether the category value is leaf","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].leaf","typeLabel":"boolean"},"leafInNotOutdatedTree":{"type":"boolean","description":"Whether the category value is leaf without not outdated child","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].leafInNotOutdatedTree","typeLabel":"boolean"},"name":{"type":"string","description":"The name of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name of the category value (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].name_i18n","typeLabel":"string"},"outdated":{"type":"boolean","description":"Whether the category value is marked as outdated","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].outdated","typeLabel":"boolean"},"parentId":{"type":"string","description":"The ID of the parent category value (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].parentId","typeLabel":"string"},"shortName":{"type":"string","description":"The short name of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].shortName","typeLabel":"string"},"value":{"type":"string","description":"(Deprecated) The ID of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX]","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties","typeLabel":"object[][]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories","typeLabel":"object"},"fieldMetadata":{"type":"object","description":"Additional metadata associated with each column field, keyed by column field id","additionalProperties":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fieldMetadata.additionalProperties.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fieldMetadata","typeLabel":"object"},"fields":{"type":"object","description":"Cells of static type","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fields.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fields.additionalProperties","typeLabel":"string[]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fields","typeLabel":"object"},"referenceCatalogs":{"type":"object","description":"Cells of type reference catalog","additionalProperties":{"type":"array","items":{"type":"object","properties":{"deleted":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].deleted","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].leaf","typeLabel":"boolean"},"name":{"type":"string","description":"The name","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].name_i18n","typeLabel":"string"},"parents":{"type":"array","items":{"$circularRef":"9ddb8dd5-ddcc-43e2-a328-c86c113f0964"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].parents","typeLabel":"array"},"value":{"type":"string","description":"The value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs","typeLabel":"object"},"rowId":{"type":"string","description":"Unique id of the current row","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].rowId","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values","typeLabel":"object[]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields","typeLabel":"object[]"},"templateDocumentId":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].templateDocumentId","typeLabel":"string"},"title":{"type":"string","description":"The title of the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].title","typeLabel":"string"},"updateAuthor":{"type":"string","description":"The email of the user who last modified the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].updateAuthor","typeLabel":"string"},"updateTokenId":{"type":"string","description":"An opaque version token for optimistic concurrency. Returned as the ETag response header on load; echo it back in the If-Match request header on patch to be rejected with 412 if the document changed meanwhile (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].updateTokenId","typeLabel":"string"},"userCanChangeAcl":{"type":"boolean","description":"Whether the current user can modify the permissions (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].userCanChangeAcl","typeLabel":"boolean"},"userCanChangeProperties":{"type":"boolean","description":"Whether the current user can modify the properties (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].userCanChangeProperties","typeLabel":"boolean"},"userCanDelete":{"type":"boolean","description":"Whether the current user can delete the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].userCanDelete","typeLabel":"boolean"},"userMapping":{"type":"object","description":"The mapping between user email and user profile (read-only field)","additionalProperties":{"type":"object","properties":{"email":{"type":"string","description":"The email of the user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].userMapping.additionalProperties.email","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].userMapping.additionalProperties.kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name of the user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].userMapping.additionalProperties.name","typeLabel":"string"},"nonGoogle":{"type":"boolean","description":"This user is not a google user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].userMapping.additionalProperties.nonGoogle","typeLabel":"boolean"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture of the user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].userMapping.additionalProperties.thumbnailPictureUrl","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].userMapping.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].userMapping","typeLabel":"object"},"versionCreated":{"type":"string","format":"date-time","description":"The time at which the version was created (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].versionCreated","typeLabel":"string\u003cdate-time>"},"versionCreator":{"type":"string","description":"The email of the user who created the version (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].versionCreator","typeLabel":"string"},"versionDescription":{"type":"string","description":"The description of the current version of the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].versionDescription","typeLabel":"string"},"versionId":{"type":"string","description":"The ID of the version (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].versionId","typeLabel":"string"},"versionLabel":{"type":"string","description":"(Deprecated) The description of the version (replaced by versionDescription)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].versionLabel","typeLabel":"string"},"versionName":{"type":"string","description":"The name of the current version of the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].versionName","typeLabel":"string"},"versionNumber":{"type":"string","description":"(Deprecated) The number of the version (replaced by versionName)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].versionNumber","typeLabel":"string"},"viewConfiguration":{"type":"object","properties":{"defaultTabToDisplay":{"type":"string","description":"The tab to display when open the document","enum":["PROPERTIES","FIRST_ATTACHMENT","SPLIT","FILE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].viewConfiguration.defaultTabToDisplay","typeLabel":"enum\u003cstring>"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].viewConfiguration.kind","typeLabel":"string"},"orientation":{"type":"string","description":"The orientation to display the document (PORTRAIT or LANDSCAPE)","enum":["PORTRAIT","LANDSCAPE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].viewConfiguration.orientation","typeLabel":"enum\u003cstring>"},"visibleRelations":{"type":"array","description":"The list of ordered relations to display in the Relations section","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].viewConfiguration.visibleRelations.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].viewConfiguration.visibleRelations","typeLabel":"string[]"},"visibleSections":{"type":"array","description":"The list of ordered sections to display","items":{"type":"string","enum":["INFO","WORKFLOW","PROPERTIES","ATTACHMENTS","RELATIONS","DESCRIPTION"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].viewConfiguration.visibleSections.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].viewConfiguration.visibleSections","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].viewConfiguration","typeLabel":"object"},"workflowId":{"type":"string","description":"The ID of the workflow related to the class of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].workflowId","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to","typeLabel":"object[]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments","typeLabel":"object"},"requiresUserInput":{"type":"boolean","description":"Whether this template requires user input (read-only field)","uniqueKey":"templates.items.[INDEX].requiresUserInput","typeLabel":"boolean"},"restrictedDownload":{"type":"boolean","uniqueKey":"templates.items.[INDEX].restrictedDownload","typeLabel":"boolean"},"richText":{"type":"string","description":"The description field (rich text) of the document to be created using this template","uniqueKey":"templates.items.[INDEX].richText","typeLabel":"string"},"sections":{"type":"array","description":"The sections in which fields are organized (read-only field)","items":{"type":"object","properties":{"columnCount":{"type":"integer","format":"int32","description":"The number of columns to display fields for this section.","uniqueKey":"templates.items.[INDEX].sections.items.[INDEX].columnCount","typeLabel":"integer\u003cint32>"},"description":{"type":"string","description":"The description of the section","uniqueKey":"templates.items.[INDEX].sections.items.[INDEX].description","typeLabel":"string"},"fields":{"type":"array","description":"The list of fields in the section","items":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].sections.items.[INDEX].fields.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","description":"The type of the field (read-only field)","uniqueKey":"templates.items.[INDEX].sections.items.[INDEX].fields.items.[INDEX].type","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].sections.items.[INDEX].fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].sections.items.[INDEX].fields","typeLabel":"object[]"},"id":{"type":"string","description":"The ID of the section (read-only field)","uniqueKey":"templates.items.[INDEX].sections.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"The name of the section","uniqueKey":"templates.items.[INDEX].sections.items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name of the section (read-only field)","uniqueKey":"templates.items.[INDEX].sections.items.[INDEX].name_i18n","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].sections.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].sections","typeLabel":"object[]"},"setModifiedDate":{"type":"boolean","description":"This field is not used.","uniqueKey":"templates.items.[INDEX].setModifiedDate","typeLabel":"boolean"},"systemFields":{"type":"array","description":"The list of system fields (only the values are editable)","items":{"type":"object","properties":{"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"displayName":{"type":"string","description":"The internationalized name of the field","uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].displayName","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].editable","typeLabel":"boolean"},"fieldMetadata":{"type":"object","description":"Additional metadata associated with the field","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].fieldMetadata","typeLabel":"object"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the current user","uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].hidden","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the system field","uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].kind","typeLabel":"string"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].mandatory","typeLabel":"boolean"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].readOnly","typeLabel":"boolean"},"value":{"type":"string","description":"The value of the field","uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].systemFields","typeLabel":"object[]"},"tableFields":{"type":"array","description":"The list of table fields (only the values are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"columns":{"type":"array","description":"The columns definition of the table (read-only)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"categoryDefinition":{"type":"object","properties":{"description":{"type":"string","description":"The description of the category","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.description","typeLabel":"string"},"dynamicValues":{"type":"boolean","description":"Whether the category authorizes dynamic values","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.dynamicValues","typeLabel":"boolean"},"folder":{"type":"boolean","description":"Whether the category is the Folder category (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.folder","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the category","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"The name of the levels in the category","items":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames","typeLabel":"string[]"},"levelNames_i18n":{"type":"array","description":"The internationalized name of the levels in the category (read-only field)","items":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames_i18n.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames_i18n","typeLabel":"string[]"},"libraryId":{"type":"string","description":"The ID of the library","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.libraryId","typeLabel":"string"},"name":{"type":"string","description":"The name of the category","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.name","typeLabel":"string"},"tags":{"type":"boolean","description":"Whether the category is the Tags category (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.tags","typeLabel":"boolean"},"value":{"type":"string","description":"The ID of the category (backward compatibility for category.category.listCategoryDefinitions)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].mandatory","typeLabel":"boolean"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].readOnly","typeLabel":"boolean"},"referenceCatalogDefinition":{"type":"object","properties":{"createdAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was created (read-only field)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.createdAt","typeLabel":"integer\u003cint64>"},"id":{"type":"string","description":"The ID of the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"Ordered name of levels of the reference catalog","items":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.levelNames","typeLabel":"string[]"},"modifiedAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was last modified (read-only field)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.modifiedAt","typeLabel":"integer\u003cint64>"},"name":{"type":"string","description":"The name of the reference catalog","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.name","typeLabel":"string"},"numberOfValues":{"type":"integer","format":"int32","description":"The number of values in the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.numberOfValues","typeLabel":"integer\u003cint32>"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition","typeLabel":"object"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns","typeLabel":"object[]"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].mandatory","typeLabel":"boolean"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The values (organized as rows) contained in the table","items":{"type":"object","properties":{"categories":{"type":"object","description":"Cells of type category","additionalProperties":{"type":"array","items":{"type":"array","items":{"type":"object","properties":{"ancestors":{"type":"array","description":"Ancestor category values from direct parent to root - only present with loadCategoryValue","items":{"$circularRef":"9b308f87-7c8b-415b-a763-2534d3bea0cc"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].ancestors","typeLabel":"array"},"id":{"type":"string","description":"The ID of the category value","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","description":"Whether the category value is leaf","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].leaf","typeLabel":"boolean"},"leafInNotOutdatedTree":{"type":"boolean","description":"Whether the category value is leaf without not outdated child","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].leafInNotOutdatedTree","typeLabel":"boolean"},"name":{"type":"string","description":"The name of the category value","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name of the category value (read-only field)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].name_i18n","typeLabel":"string"},"outdated":{"type":"boolean","description":"Whether the category value is marked as outdated","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].outdated","typeLabel":"boolean"},"parentId":{"type":"string","description":"The ID of the parent category value (read-only field)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].parentId","typeLabel":"string"},"shortName":{"type":"string","description":"The short name of the category value","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].shortName","typeLabel":"string"},"value":{"type":"string","description":"(Deprecated) The ID of the category value","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX]","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties","typeLabel":"object[][]"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories","typeLabel":"object"},"fieldMetadata":{"type":"object","description":"Additional metadata associated with each column field, keyed by column field id","additionalProperties":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fieldMetadata.additionalProperties.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fieldMetadata","typeLabel":"object"},"fields":{"type":"object","description":"Cells of static type","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fields.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fields.additionalProperties","typeLabel":"string[]"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fields","typeLabel":"object"},"referenceCatalogs":{"type":"object","description":"Cells of type reference catalog","additionalProperties":{"type":"array","items":{"type":"object","properties":{"deleted":{"type":"boolean","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].deleted","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].leaf","typeLabel":"boolean"},"name":{"type":"string","description":"The name","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].name_i18n","typeLabel":"string"},"parents":{"type":"array","items":{"$circularRef":"9ddb8dd5-ddcc-43e2-a328-c86c113f0964"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].parents","typeLabel":"array"},"value":{"type":"string","description":"The value","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs","typeLabel":"object"},"rowId":{"type":"string","description":"Unique id of the current row","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].rowId","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values","typeLabel":"object[]"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].tableFields","typeLabel":"object[]"},"templateName":{"type":"string","description":"The name of the document template","uniqueKey":"templates.items.[INDEX].templateName","typeLabel":"string"},"templateName_i18n":{"type":"string","description":"The internationalized name of the template (read-only field)","uniqueKey":"templates.items.[INDEX].templateName_i18n","typeLabel":"string"},"title":{"type":"string","description":"The title of the document to be created using this template (pointless in Team Folder and Secured Folder libraries)","uniqueKey":"templates.items.[INDEX].title","typeLabel":"string"},"updateAuthor":{"type":"string","description":"The email of the user who last modified the template (read-only field)","uniqueKey":"templates.items.[INDEX].updateAuthor","typeLabel":"string"},"updateTokenId":{"type":"string","description":"An opaque version token (read-only field). Not used for template documents.","uniqueKey":"templates.items.[INDEX].updateTokenId","typeLabel":"string"},"userCanChangeAcl":{"type":"boolean","description":"Read-only field, not used.","uniqueKey":"templates.items.[INDEX].userCanChangeAcl","typeLabel":"boolean"},"userCanChangeProperties":{"type":"boolean","description":"Read-only field, not used.","uniqueKey":"templates.items.[INDEX].userCanChangeProperties","typeLabel":"boolean"},"userCanDelete":{"type":"boolean","description":"Read-only field, not used.","uniqueKey":"templates.items.[INDEX].userCanDelete","typeLabel":"boolean"},"userMapping":{"type":"object","description":"The mapping between user email and user profile (read-only field)","additionalProperties":{"type":"object","properties":{"email":{"type":"string","description":"The email of the user","uniqueKey":"templates.items.[INDEX].userMapping.additionalProperties.email","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].userMapping.additionalProperties.kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name of the user","uniqueKey":"templates.items.[INDEX].userMapping.additionalProperties.name","typeLabel":"string"},"nonGoogle":{"type":"boolean","description":"This user is not a google user","uniqueKey":"templates.items.[INDEX].userMapping.additionalProperties.nonGoogle","typeLabel":"boolean"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture of the user","uniqueKey":"templates.items.[INDEX].userMapping.additionalProperties.thumbnailPictureUrl","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].userMapping.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].userMapping","typeLabel":"object"},"viewConfiguration":{"type":"object","properties":{"defaultTabToDisplay":{"type":"string","description":"The tab to display when open the document","enum":["PROPERTIES","FIRST_ATTACHMENT","SPLIT","FILE"],"uniqueKey":"templates.items.[INDEX].viewConfiguration.defaultTabToDisplay","typeLabel":"enum\u003cstring>"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].viewConfiguration.kind","typeLabel":"string"},"orientation":{"type":"string","description":"The orientation to display the document (PORTRAIT or LANDSCAPE)","enum":["PORTRAIT","LANDSCAPE"],"uniqueKey":"templates.items.[INDEX].viewConfiguration.orientation","typeLabel":"enum\u003cstring>"},"visibleRelations":{"type":"array","description":"The list of ordered relations to display in the Relations section","items":{"type":"string","uniqueKey":"templates.items.[INDEX].viewConfiguration.visibleRelations.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].viewConfiguration.visibleRelations","typeLabel":"string[]"},"visibleSections":{"type":"array","description":"The list of ordered sections to display","items":{"type":"string","enum":["INFO","WORKFLOW","PROPERTIES","ATTACHMENTS","RELATIONS","DESCRIPTION"],"uniqueKey":"templates.items.[INDEX].viewConfiguration.visibleSections.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"templates.items.[INDEX].viewConfiguration.visibleSections","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"templates.items.[INDEX].viewConfiguration","typeLabel":"object"},"visibilityToken":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].visibilityToken.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].visibilityToken.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].visibilityToken.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].visibilityToken.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].visibilityToken.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].visibilityToken.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].visibilityToken.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].visibilityToken.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].visibilityToken","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates","typeLabel":"object[]"},"usersCanAccessPreviousVersions":{"type":"boolean","description":"Whether users can access the previous versions of the documents of this class","uniqueKey":"usersCanAccessPreviousVersions","typeLabel":"boolean"},"value":{"type":"string","description":"The ID of the document class (backward compatibility for documentType.documentType.listClasses)","uniqueKey":"value","typeLabel":"string"},"workflowId":{"type":"string","description":"The ID of the workflow in which the document class is (read-only field)","uniqueKey":"workflowId","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"annotationEditors":[{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","value":"\u003cstring>"}],"annotationRestrictedViewers":[{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","value":"\u003cstring>"}],"annotationViewers":[{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","value":"\u003cstring>"}],"appMetadata":{},"attachmentCreationModes":{},"colour":"\u003cstring>","coordinate":"\u003cstring>","creators":[{"displayName":"\u003cstring>","kind":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","value":"\u003cstring>","withLink":true}],"customActions":[{"id":"\u003cstring>","kind":"\u003cstring>","name":"\u003cstring>","params":{},"scriptId":"\u003cstring>","scriptName":"\u003cstring>"}],"defaultClass":true,"defaultTemplateId":"\u003cstring>","deleteFields":["\u003cstring>"],"description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","documentCopyDisabled":true,"duplicateDetection":{"enabled":true,"similarityThreshold":123},"elementsToCopy":{},"fields":[{"appMetadata":{},"calculatedSettings":{},"calculatedValue":{"code":"\u003cstring>"},"categoryDefinition":{"description":"\u003cstring>","dynamicValues":true,"folder":true,"id":"\u003cstring>","kind":"\u003cstring>","levelNames":["\u003cstring>"],"levelNames_i18n":["\u003cstring>"],"libraryId":"\u003cstring>","name":"\u003cstring>","tags":true,"value":"\u003cstring>"},"categoryId":"\u003cstring>","categoryValueMapping":{"displayName":"\u003cstring>","id":"\u003cstring>"},"columns":[{"appMetadata":{},"calculatedSettings":{},"calculatedValue":{"code":"\u003cstring>"},"categoryDefinition":{"description":"\u003cstring>","dynamicValues":true,"folder":true,"id":"\u003cstring>","kind":"\u003cstring>","levelNames":["\u003cstring>"],"levelNames_i18n":["\u003cstring>"],"libraryId":"\u003cstring>","name":"\u003cstring>","tags":true,"value":"\u003cstring>"},"categoryId":"\u003cstring>","categoryValueMapping":{"displayName":"\u003cstring>","id":"\u003cstring>"},"columns":"\u003cunknown>","creationSettings":{"hidden":true,"mandatory":true,"readOnly":true},"customPlaceholder":true,"description":"\u003cstring>","displayInPreview":{},"displayName":"\u003cstring>","dynamicValues":true,"folder":true,"hidden":true,"id":"\u003cstring>","kind":"\u003cstring>","levelNames":["\u003cstring>"],"lookupConfiguration":{"sourceConfiguration":{"displaySearchProperties":["\u003cstring>"],"freezeStates":["\u003cstring>"],"scope":{"id":"\u003cstring>","type":"CLASS"},"type":"DOCUMENT"},"targetConfiguration":{"lookupKey":"\u003cstring>","sourceFieldId":"\u003cstring>","sourceFieldName":"\u003cstring>"}},"mandatory":true,"mappingSourceField":{"displayName":"\u003cstring>","id":"\u003cstring>"},"multiple":true,"placeholderText":"\u003cstring>","rank":123,"readOnly":true,"referenceCatalog":{"createdAt":123,"id":"\u003cstring>","kind":"\u003cstring>","levelNames":["\u003cstring>"],"modifiedAt":123,"name":"\u003cstring>","numberOfValues":123},"referenceCatalogId":"\u003cstring>","validation":{"audience":{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","value":"\u003cstring>"},"errorMessage":"\u003cstring>","kind":"\u003cstring>","lowerLimit":123,"lowerLimitInclusive":true,"mandatoryLeaf":true,"regex":"\u003cstring>","upperLimit":123,"upperLimitInclusive":true}}],"creationSettings":{"hidden":true,"mandatory":true,"readOnly":true},"customPlaceholder":true,"description":"\u003cstring>","displayInPreview":{},"displayName":"\u003cstring>","dynamicValues":true,"folder":true,"hidden":true,"id":"\u003cstring>","kind":"\u003cstring>","levelNames":["\u003cstring>"],"lookupConfiguration":{"sourceConfiguration":{"displaySearchProperties":["\u003cstring>"],"freezeStates":["\u003cstring>"],"scope":{"id":"\u003cstring>","type":"CLASS"},"type":"DOCUMENT"},"targetConfiguration":{"lookupKey":"\u003cstring>","sourceFieldId":"\u003cstring>","sourceFieldName":"\u003cstring>"}},"mandatory":true,"mappingSourceField":{"displayName":"\u003cstring>","id":"\u003cstring>"},"multiple":true,"placeholderText":"\u003cstring>","rank":123,"readOnly":true,"referenceCatalog":{"createdAt":123,"id":"\u003cstring>","kind":"\u003cstring>","levelNames":["\u003cstring>"],"modifiedAt":123,"name":"\u003cstring>","numberOfValues":123},"referenceCatalogId":"\u003cstring>","validation":{"audience":{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","value":"\u003cstring>"},"errorMessage":"\u003cstring>","kind":"\u003cstring>","lowerLimit":123,"lowerLimitInclusive":true,"mandatoryLeaf":true,"regex":"\u003cstring>","upperLimit":123,"upperLimitInclusive":true}}],"firstVersionName":"\u003cstring>","forceNumberVersions":true,"hiddenSystemFields":["\u003cstring>"],"id":"\u003cstring>","kind":"\u003cstring>","layouts":[{"sections":[{"columnCount":123,"description":"\u003cstring>","fieldIds":["\u003cstring>"],"hidden":true,"id":"\u003cstring>","kind":"\u003cstring>","name":"\u003cstring>","name_i18n":"\u003cstring>"}]}],"libraryId":"\u003cstring>","manualVersioningDisabled":true,"name":"\u003cstring>","name_i18n":"\u003cstring>","onlyAdminsCanDelete":true,"onlyAdminsCanShare":true,"permissions":[{"displayName":"\u003cstring>","kind":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","value":"\u003cstring>","withLink":true}],"previousVersionsVisibility":{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","value":"\u003cstring>"},"readOnlyTitle":true,"restrictedDownload":true,"sections":[{"columnCount":123,"description":"\u003cstring>","fields":[{"id":"\u003cstring>","type":"\u003cstring>"}],"id":"\u003cstring>","name":"\u003cstring>","name_i18n":"\u003cstring>"}],"sectionsDefaultColumnCount":123,"sequenceId":123,"systemFields":{},"templates":[{"attachmentFields":[{"calculatedSettingsInfo":{},"calculatedValueInfo":{"error":true},"description":"\u003cstring>","description_i18n":"\u003cstring>","editable":true,"fieldId":"\u003cstring>","fieldMetadata":{},"fieldName":"\u003cstring>","fieldName_i18n":"\u003cstring>","hidden":true,"kind":"\u003cstring>","lookupConfiguration":{"sourceConfiguration":{"displaySearchProperties":["\u003cstring>"],"freezeStates":["\u003cstring>"],"scope":{"id":"\u003cstring>","type":"CLASS"},"type":"DOCUMENT"},"targetConfiguration":{"lookupKey":"\u003cstring>","sourceFieldId":"\u003cstring>","sourceFieldName":"\u003cstring>"}},"lookupValueInfo":{"displayName":"\u003cstring>","error":true,"errorMessage":"\u003cstring>"},"mandatory":true,"metadata":{"attachments":[{"drive":{"iconLink":"\u003cstring>","kind":"\u003cstring>","link":"\u003cstring>","permissionsOnDrive":[{"additionalRoles":["\u003cstring>"],"allowlisted":true,"belongsToDomain":true,"email":"\u003cstring>","googleEmailAddress":true,"kind":"\u003cstring>","name":"\u003cstring>","permissionId":"\u003cstring>","role":"\u003cstring>","thumbnailPhotoUrl":"\u003cstring>","type":"\u003cstring>","withLink":true}],"publishedLink":"\u003cstring>","resourceKey":"\u003cstring>","revisionId":"\u003cstring>"},"id":"\u003cstring>","kind":"\u003cstring>","mimeType":"\u003cstring>","name":"\u003cstring>","oss":{"downloadLink":"\u003cstring>","kind":"\u003cstring>"},"size":123}],"kind":"\u003cstring>"},"multiple":true,"placeholderText":"\u003cstring>","rank":123,"readOnly":true,"validation":{"audience":{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","value":"\u003cstring>"},"errorMessage":"\u003cstring>","kind":"\u003cstring>","lowerLimit":123,"lowerLimitInclusive":true,"mandatoryLeaf":true,"regex":"\u003cstring>","upperLimit":123,"upperLimitInclusive":true},"values":["\u003cstring>"]}],"attachments":[{"autodeskUrn":{"urn":"\u003cstring>"},"fileId":"\u003cstring>","iconLink":"\u003cstring>","kind":"\u003cstring>","link":"\u003cstring>","md5Checksum":"\u003cstring>","mimeType":"\u003cstring>","name":"\u003cstring>","permissionsOnDrive":[{"additionalRoles":["\u003cstring>"],"allowlisted":true,"belongsToDomain":true,"email":"\u003cstring>","googleEmailAddress":true,"kind":"\u003cstring>","name":"\u003cstring>","permissionId":"\u003cstring>","role":"\u003cstring>","thumbnailPhotoUrl":"\u003cstring>","type":"\u003cstring>","withLink":true}],"publishedLink":"\u003cstring>","resourceKey":"\u003cstring>","revisionId":"\u003cstring>","size":123}],"categories":[{"calculatedSettingsInfo":{},"calculatedValueInfo":{"error":true},"categoryDefinition":{"description":"\u003cstring>","dynamicValues":true,"folder":true,"id":"\u003cstring>","kind":"\u003cstring>","levelNames":["\u003cstring>"],"levelNames_i18n":["\u003cstring>"],"libraryId":"\u003cstring>","name":"\u003cstring>","tags":true,"value":"\u003cstring>"},"categoryValueMapping":{"displayName":"\u003cstring>","id":"\u003cstring>"},"definitionId":"\u003cstring>","definitionName":"\u003cstring>","description":"\u003cstring>","description_i18n":"\u003cstring>","dynamicValues":true,"editable":true,"fieldId":"\u003cstring>","fieldMetadata":{},"fieldName":"\u003cstring>","fieldName_i18n":"\u003cstring>","folder":true,"hidden":true,"kind":"\u003cstring>","levelNames":["\u003cstring>"],"lookupConfiguration":{"sourceConfiguration":{"displaySearchProperties":["\u003cstring>"],"freezeStates":["\u003cstring>"],"scope":{"id":"\u003cstring>","type":"CLASS"},"type":"DOCUMENT"},"targetConfiguration":{"lookupKey":"\u003cstring>","sourceFieldId":"\u003cstring>","sourceFieldName":"\u003cstring>"}},"lookupValueInfo":{"displayName":"\u003cstring>","error":true,"errorMessage":"\u003cstring>"},"mandatory":true,"mappingSourceField":{"displayName":"\u003cstring>","id":"\u003cstring>"},"multiple":true,"placeholderText":"\u003cstring>","rank":123,"readOnly":true,"validation":{"audience":{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","value":"\u003cstring>"},"errorMessage":"\u003cstring>","kind":"\u003cstring>","lowerLimit":123,"lowerLimitInclusive":true,"mandatoryLeaf":true,"regex":"\u003cstring>","upperLimit":123,"upperLimitInclusive":true},"values":[[{"ancestors":"\u003carray>","id":"\u003cstring>","kind":"\u003cstring>","leaf":true,"leafInNotOutdatedTree":true,"name":"\u003cstring>","name_i18n":"\u003cstring>","outdated":true,"parentId":"\u003cstring>","shortName":"\u003cstring>","value":"\u003cstring>"}]]}],"classId":"\u003cstring>","className":"\u003cstring>","className_i18n":"\u003cstring>","creationDate":"\u003cstring>","defaultTemplate":true,"domainName":"\u003cstring>","editable":true,"fields":[{"calculatedSettingsInfo":{},"calculatedValueInfo":{"error":true},"description":"\u003cstring>","description_i18n":"\u003cstring>","editable":true,"fieldId":"\u003cstring>","fieldMetadata":{},"fieldName":"\u003cstring>","fieldName_i18n":"\u003cstring>","hidden":true,"kind":"\u003cstring>","lookupConfiguration":{"sourceConfiguration":{"displaySearchProperties":["\u003cstring>"],"freezeStates":["\u003cstring>"],"scope":{"id":"\u003cstring>","type":"CLASS"},"type":"DOCUMENT"},"targetConfiguration":{"lookupKey":"\u003cstring>","sourceFieldId":"\u003cstring>","sourceFieldName":"\u003cstring>"}},"lookupValueInfo":{"displayName":"\u003cstring>","error":true,"errorMessage":"\u003cstring>"},"mandatory":true,"metadata":{"attachments":[{"drive":{"iconLink":"\u003cstring>","kind":"\u003cstring>","link":"\u003cstring>","permissionsOnDrive":[{"additionalRoles":["\u003cstring>"],"allowlisted":true,"belongsToDomain":true,"email":"\u003cstring>","googleEmailAddress":true,"kind":"\u003cstring>","name":"\u003cstring>","permissionId":"\u003cstring>","role":"\u003cstring>","thumbnailPhotoUrl":"\u003cstring>","type":"\u003cstring>","withLink":true}],"publishedLink":"\u003cstring>","resourceKey":"\u003cstring>","revisionId":"\u003cstring>"},"id":"\u003cstring>","kind":"\u003cstring>","mimeType":"\u003cstring>","name":"\u003cstring>","oss":{"downloadLink":"\u003cstring>","kind":"\u003cstring>"},"size":123}],"kind":"\u003cstring>"},"multiple":true,"placeholderText":"\u003cstring>","rank":123,"readOnly":true,"validation":{"audience":{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","value":"\u003cstring>"},"errorMessage":"\u003cstring>","kind":"\u003cstring>","lowerLimit":123,"lowerLimitInclusive":true,"mandatoryLeaf":true,"regex":"\u003cstring>","upperLimit":123,"upperLimitInclusive":true},"values":["\u003cstring>"]}],"folders":[{"editable":true,"editableDocuments":true,"fileId":"\u003cstring>","folderAodocsId":"\u003cstring>","folderDefinitionId":"\u003cstring>","folderIsRoot":true,"kind":"\u003cstring>","libraryId":"\u003cstring>","libraryName":"\u003cstring>","name":"\u003cstring>","parentFolderAodocsId":"\u003cstring>","parentFolderDriveId":"\u003cstring>","parentFolderIsRoot":true,"permittedOperations":[],"resourceKey":"\u003cstring>","restrictedDownload":true,"subfolders":"\u003carray>"}],"forbiddenOperations":{},"fullSizeOfAttachments":123,"hiddenTemplate":true,"iconLink":"\u003cstring>","id":"\u003cstring>","initialAuthor":"\u003cstring>","kind":"\u003cstring>","libraryId":"\u003cstring>","libraryName":"\u003cstring>","modificationDate":"\u003cstring>","numberOfAttachments":123,"onlyAdminCanChangeAcl":true,"onlyAdminCanDelete":true,"permittedOperations":[],"referenceCatalogs":[{"calculatedSettingsInfo":{},"calculatedValueInfo":{"error":true},"description":"\u003cstring>","description_i18n":"\u003cstring>","editable":true,"fieldId":"\u003cstring>","fieldMetadata":{},"fieldName":"\u003cstring>","fieldName_i18n":"\u003cstring>","hidden":true,"kind":"\u003cstring>","lookupConfiguration":{"sourceConfiguration":{"displaySearchProperties":["\u003cstring>"],"freezeStates":["\u003cstring>"],"scope":{"id":"\u003cstring>","type":"CLASS"},"type":"DOCUMENT"},"targetConfiguration":{"lookupKey":"\u003cstring>","sourceFieldId":"\u003cstring>","sourceFieldName":"\u003cstring>"}},"lookupValueInfo":{"displayName":"\u003cstring>","error":true,"errorMessage":"\u003cstring>"},"mandatory":true,"multiple":true,"placeholderText":"\u003cstring>","rank":123,"readOnly":true,"referenceCatalog":{"createdAt":123,"id":"\u003cstring>","kind":"\u003cstring>","levelNames":["\u003cstring>"],"modifiedAt":123,"name":"\u003cstring>","numberOfValues":123},"referenceCatalogId":"\u003cstring>","validation":{"audience":{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","value":"\u003cstring>"},"errorMessage":"\u003cstring>","kind":"\u003cstring>","lowerLimit":123,"lowerLimitInclusive":true,"mandatoryLeaf":true,"regex":"\u003cstring>","upperLimit":123,"upperLimitInclusive":true},"values":[{"deleted":true,"kind":"\u003cstring>","leaf":true,"name":"\u003cstring>","name_i18n":"\u003cstring>","parents":"\u003carray>","value":"\u003cstring>"}]}],"relatedDocuments":{},"requiresUserInput":true,"restrictedDownload":true,"richText":"\u003cstring>","sections":[{"columnCount":123,"description":"\u003cstring>","fields":[{"id":"\u003cstring>","type":"\u003cstring>"}],"id":"\u003cstring>","name":"\u003cstring>","name_i18n":"\u003cstring>"}],"setModifiedDate":true,"systemFields":[{"calculatedValueInfo":{"error":true},"displayName":"\u003cstring>","editable":true,"fieldMetadata":{},"hidden":true,"id":"\u003cstring>","kind":"\u003cstring>","mandatory":true,"readOnly":true,"value":"\u003cstring>"}],"tableFields":[{"calculatedSettingsInfo":{},"calculatedValueInfo":{"error":true},"columns":[{"calculatedSettingsInfo":{},"calculatedValueInfo":{"error":true},"categoryDefinition":{"description":"\u003cstring>","dynamicValues":true,"folder":true,"id":"\u003cstring>","kind":"\u003cstring>","levelNames":["\u003cstring>"],"levelNames_i18n":["\u003cstring>"],"libraryId":"\u003cstring>","name":"\u003cstring>","tags":true,"value":"\u003cstring>"},"description":"\u003cstring>","description_i18n":"\u003cstring>","editable":true,"fieldId":"\u003cstring>","fieldMetadata":{},"fieldName":"\u003cstring>","fieldName_i18n":"\u003cstring>","hidden":true,"kind":"\u003cstring>","lookupConfiguration":{"sourceConfiguration":{"displaySearchProperties":["\u003cstring>"],"freezeStates":["\u003cstring>"],"scope":{"id":"\u003cstring>","type":"CLASS"},"type":"DOCUMENT"},"targetConfiguration":{"lookupKey":"\u003cstring>","sourceFieldId":"\u003cstring>","sourceFieldName":"\u003cstring>"}},"lookupValueInfo":{"displayName":"\u003cstring>","error":true,"errorMessage":"\u003cstring>"},"mandatory":true,"multiple":true,"placeholderText":"\u003cstring>","rank":123,"readOnly":true,"referenceCatalogDefinition":{"createdAt":123,"id":"\u003cstring>","kind":"\u003cstring>","levelNames":["\u003cstring>"],"modifiedAt":123,"name":"\u003cstring>","numberOfValues":123},"validation":{"audience":{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","value":"\u003cstring>"},"errorMessage":"\u003cstring>","kind":"\u003cstring>","lowerLimit":123,"lowerLimitInclusive":true,"mandatoryLeaf":true,"regex":"\u003cstring>","upperLimit":123,"upperLimitInclusive":true}}],"description":"\u003cstring>","description_i18n":"\u003cstring>","editable":true,"fieldId":"\u003cstring>","fieldMetadata":{},"fieldName":"\u003cstring>","fieldName_i18n":"\u003cstring>","hidden":true,"kind":"\u003cstring>","lookupConfiguration":{"sourceConfiguration":{"displaySearchProperties":["\u003cstring>"],"freezeStates":["\u003cstring>"],"scope":{"id":"\u003cstring>","type":"CLASS"},"type":"DOCUMENT"},"targetConfiguration":{"lookupKey":"\u003cstring>","sourceFieldId":"\u003cstring>","sourceFieldName":"\u003cstring>"}},"lookupValueInfo":{"displayName":"\u003cstring>","error":true,"errorMessage":"\u003cstring>"},"mandatory":true,"multiple":true,"placeholderText":"\u003cstring>","rank":123,"readOnly":true,"validation":{"audience":{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","value":"\u003cstring>"},"errorMessage":"\u003cstring>","kind":"\u003cstring>","lowerLimit":123,"lowerLimitInclusive":true,"mandatoryLeaf":true,"regex":"\u003cstring>","upperLimit":123,"upperLimitInclusive":true},"values":[{"categories":{},"fieldMetadata":{},"fields":{},"referenceCatalogs":{},"rowId":"\u003cstring>"}]}],"templateName":"\u003cstring>","templateName_i18n":"\u003cstring>","title":"\u003cstring>","updateAuthor":"\u003cstring>","updateTokenId":"\u003cstring>","userCanChangeAcl":true,"userCanChangeProperties":true,"userCanDelete":true,"userMapping":{},"viewConfiguration":{"kind":"\u003cstring>","visibleRelations":["\u003cstring>"],"visibleSections":[]},"visibilityToken":{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","value":"\u003cstring>"}}],"usersCanAccessPreviousVersions":true,"value":"\u003cstring>","workflowId":"\u003cstring>"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"00e70838-a1f6-4d35-a9d2-f624fac3409f":{"description":"A ApiDocumentType response","content":{"application/json":{"schema":{"type":"object","properties":{"annotationEditors":{"type":"array","description":"Users, groups, roles or Everybody allowed to edit annotations on documents of this class. Used when aclSource is CLASS or CATEGORY. A user in editors but not in viewers may only view and edit annotations they authored.","items":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"annotationEditors.items.[INDEX].classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"annotationEditors.items.[INDEX].className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"annotationEditors.items.[INDEX].description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"annotationEditors.items.[INDEX].displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"annotationEditors.items.[INDEX].displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"annotationEditors.items.[INDEX].thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"annotationEditors.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"annotationEditors.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"annotationEditors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"annotationEditors","typeLabel":"object[]"},"annotationRestrictedViewers":{"type":"array","description":"(Deprecated, no longer enforced) Users, groups, roles or Everybody previously denied annotation access on documents of this class. Use annotationViewers and annotationEditors instead.","items":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"annotationRestrictedViewers.items.[INDEX].classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"annotationRestrictedViewers.items.[INDEX].className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"annotationRestrictedViewers.items.[INDEX].description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"annotationRestrictedViewers.items.[INDEX].displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"annotationRestrictedViewers.items.[INDEX].displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"annotationRestrictedViewers.items.[INDEX].thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"annotationRestrictedViewers.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"annotationRestrictedViewers.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"annotationRestrictedViewers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"annotationRestrictedViewers","typeLabel":"object[]"},"annotationViewers":{"type":"array","description":"Users, groups, roles or Everybody allowed to view annotations on documents of this class. Used when aclSource is CLASS or CATEGORY.","items":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"annotationViewers.items.[INDEX].classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"annotationViewers.items.[INDEX].className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"annotationViewers.items.[INDEX].description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"annotationViewers.items.[INDEX].displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"annotationViewers.items.[INDEX].displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"annotationViewers.items.[INDEX].thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"annotationViewers.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"annotationViewers.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"annotationViewers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"annotationViewers","typeLabel":"object[]"},"appMetadata":{"type":"object","description":"App Metadata let developers associate metadata with various configuration entities. The metadata is isolated within app namespaces in order to prevent one application from interfering with another's metadata.","additionalProperties":{"type":"object","properties":{"appNamespaceId":{"type":"string","description":"The id of the app namespace (read-only)","uniqueKey":"appMetadata.additionalProperties.appNamespaceId","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"appMetadata.additionalProperties.kind","typeLabel":"string"},"tags":{"type":"array","description":"The list of tags (name/value) in the namespace (limited to 10 items)","items":{"type":"object","properties":{"kind":{"type":"string","uniqueKey":"appMetadata.additionalProperties.tags.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The name of the tag","uniqueKey":"appMetadata.additionalProperties.tags.items.[INDEX].name","typeLabel":"string"},"stringValue":{"type":"string","description":"The value of the tag as a String","uniqueKey":"appMetadata.additionalProperties.tags.items.[INDEX].stringValue","typeLabel":"string"}},"uniqueKey":"appMetadata.additionalProperties.tags.items.[INDEX]","typeLabel":"object"},"uniqueKey":"appMetadata.additionalProperties.tags","typeLabel":"object[]"}},"uniqueKey":"appMetadata.additionalProperties","typeLabel":"object"},"uniqueKey":"appMetadata","typeLabel":"object"},"attachmentCreationModes":{"type":"object","description":"The list of supported attachment create modes with there setting (at least one mode should be enabled)","additionalProperties":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether this attachment creation mode should be possible for this document class","uniqueKey":"attachmentCreationModes.additionalProperties.enabled","typeLabel":"boolean"},"mustBeEnabled":{"type":"boolean","description":"Whether this attachment creation mode must be enabled or can be disabled according to library type and settings (read-only)","uniqueKey":"attachmentCreationModes.additionalProperties.mustBeEnabled","typeLabel":"boolean"}},"uniqueKey":"attachmentCreationModes.additionalProperties","typeLabel":"object"},"uniqueKey":"attachmentCreationModes","typeLabel":"object"},"checkoutMode":{"type":"string","description":"The mode for check-out use (DISABLED: no check-out possible, OPTIONAL: check-out can be used, MANDATORY: check-out must be used)","enum":["DISABLED","OPTIONAL","MANDATORY"],"uniqueKey":"checkoutMode","typeLabel":"enum\u003cstring>"},"colour":{"type":"string","description":"Optional banner color in hexadecimal #RRGGBB or #RRGGBBAA format (the latter with transparency). If omitted or empty, no banner is displayed.","uniqueKey":"colour","typeLabel":"string"},"coordinate":{"type":"string","description":"The coordinate of the document class based on the sequence ID (read-only field)","uniqueKey":"coordinate","typeLabel":"string"},"creators":{"type":"array","description":"The list of users/groups/roles who can create documents of this class (administrators implicitly can and readers implicitly can't)","items":{"type":"object","properties":{"displayName":{"type":"string","description":"The displayed name if type = USER, GROUP or ROLE","uniqueKey":"creators.items.[INDEX].displayName","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"creators.items.[INDEX].kind","typeLabel":"string"},"role":{"type":"string","description":"The level of the permission (READER, COMMENTER, WRITER or ATTACHMENT_EDITOR)","enum":["READER","COMMENTER","ATTACHMENT_EDITOR","WRITER"],"uniqueKey":"creators.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (for users)","uniqueKey":"creators.items.[INDEX].thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permitted audience (ANYONE, DOMAIN, GROUP, USER or ROLE)","enum":["ANYONE","DOMAIN","GROUP","USER","ROLE"],"uniqueKey":"creators.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if type = USER or GROUP, the ID of the role if type = ROLE","uniqueKey":"creators.items.[INDEX].value","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the audience will have access with the link","uniqueKey":"creators.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"creators.items.[INDEX]","typeLabel":"object"},"uniqueKey":"creators","typeLabel":"object[]"},"customActions":{"type":"array","description":"This list of custom actions to be triggered on documents of this class (both viewer and update actions)","items":{"type":"object","properties":{"event":{"type":"string","description":"The type of event (in workflow transitions: ON_STATE_ENTER_BEFORE_TRANSITION, ON_ENTER_STATE_AFTER_TRANSITION, ON_LEAVE_STATE_BEFORE_TRANSITION or ON_STATE_LEAVE_AFTER_TRANSITION, in relations: ON_RELATION_FILTER or ON_RELATION_RENDER, in classes: ON_DOCUMENT_UPDATE or ON_DOCUMENT_DISPLAY)","enum":["ON_STATE_ENTER_BEFORE_TRANSITION","ON_STATE_ENTER_AFTER_TRANSITION","ON_STATE_LEAVE_BEFORE_TRANSITION","ON_STATE_LEAVE_AFTER_TRANSITION","ON_RELATION_FILTER","ON_RELATION_RENDER","ON_DOCUMENT_DISPLAY","ON_DOCUMENT_UPDATE"],"uniqueKey":"customActions.items.[INDEX].event","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The id of the action (read-only)","uniqueKey":"customActions.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"customActions.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The name of the action","uniqueKey":"customActions.items.[INDEX].name","typeLabel":"string"},"params":{"type":"object","description":"The map key/value of the parameters","additionalProperties":{"type":"string","uniqueKey":"customActions.items.[INDEX].params.additionalProperties","typeLabel":"string"},"uniqueKey":"customActions.items.[INDEX].params","typeLabel":"object"},"scriptId":{"type":"string","description":"The ID of the custom script","uniqueKey":"customActions.items.[INDEX].scriptId","typeLabel":"string"},"scriptName":{"type":"string","description":"The name of the custom script (read-only field)","uniqueKey":"customActions.items.[INDEX].scriptName","typeLabel":"string"}},"uniqueKey":"customActions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"customActions","typeLabel":"object[]"},"defaultClass":{"type":"boolean","description":"Whether this class is the default document class of the library (read-only field)","uniqueKey":"defaultClass","typeLabel":"boolean"},"defaultTemplateId":{"type":"string","description":"The ID of the default document template of the document class","uniqueKey":"defaultTemplateId","typeLabel":"string"},"deleteFields":{"type":"array","description":"The list of field IDs to delete from the document class (use only during patch)","items":{"type":"string","uniqueKey":"deleteFields.items.[INDEX]","typeLabel":"string"},"uniqueKey":"deleteFields","typeLabel":"string[]"},"description":{"type":"string","description":"The description of the document class","uniqueKey":"description","typeLabel":"string"},"displayName":{"type":"string","description":"The name of the document class","uniqueKey":"displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The internationalized name of the document class (read-only field)","uniqueKey":"displayName_i18n","typeLabel":"string"},"documentCopyDisabled":{"type":"boolean","description":"Whether document copying is allowed or not","uniqueKey":"documentCopyDisabled","typeLabel":"boolean"},"duplicateDetection":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether duplicate detection is enabled","uniqueKey":"duplicateDetection.enabled","typeLabel":"boolean"},"similarityThreshold":{"type":"integer","format":"int32","description":"Similarity threshold used for duplicate detection (optional)","uniqueKey":"duplicateDetection.similarityThreshold","typeLabel":"integer\u003cint32>"}},"uniqueKey":"duplicateDetection","typeLabel":"object"},"elementsToCopy":{"type":"object","description":"User settings determining which attributes to copy when using 'Create From' mode to create a new document.","additionalProperties":{"type":"object","properties":{"restrictToIds":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The id","uniqueKey":"elementsToCopy.additionalProperties.restrictToIds.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"The name","uniqueKey":"elementsToCopy.additionalProperties.restrictToIds.items.[INDEX].name","typeLabel":"string"}},"uniqueKey":"elementsToCopy.additionalProperties.restrictToIds.items.[INDEX]","typeLabel":"object"},"uniqueKey":"elementsToCopy.additionalProperties.restrictToIds","typeLabel":"object[]"}},"uniqueKey":"elementsToCopy.additionalProperties","typeLabel":"object"},"uniqueKey":"elementsToCopy","typeLabel":"object"},"explicitPermissionMode":{"type":"string","description":"The mode for permissions override: EXPLICIT_PERMISSIONS_ALLOWED or EXPLICIT_PERMISSIONS_DISABLED","enum":["EXPLICIT_PERMISSIONS_ALLOWED","EXPLICIT_PERMISSIONS_DISABLED"],"uniqueKey":"explicitPermissionMode","typeLabel":"enum\u003cstring>"},"fields":{"type":"array","description":"The list of fields (metadata) configured in the document class","items":{"type":"object","properties":{"appMetadata":{"type":"object","description":"App Metadata let developers associate metadata with various configuration entities. The metadata is isolated within app namespaces in order to prevent one application from interfering with another's metadata.","additionalProperties":{"type":"object","properties":{"appNamespaceId":{"type":"string","description":"The id of the app namespace (read-only)","uniqueKey":"fields.items.[INDEX].appMetadata.additionalProperties.appNamespaceId","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].appMetadata.additionalProperties.kind","typeLabel":"string"},"tags":{"type":"array","description":"The list of tags (name/value) in the namespace (limited to 10 items)","items":{"type":"object","properties":{"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].appMetadata.additionalProperties.tags.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The name of the tag","uniqueKey":"fields.items.[INDEX].appMetadata.additionalProperties.tags.items.[INDEX].name","typeLabel":"string"},"stringValue":{"type":"string","description":"The value of the tag as a String","uniqueKey":"fields.items.[INDEX].appMetadata.additionalProperties.tags.items.[INDEX].stringValue","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].appMetadata.additionalProperties.tags.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].appMetadata.additionalProperties.tags","typeLabel":"object[]"}},"uniqueKey":"fields.items.[INDEX].appMetadata.additionalProperties","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].appMetadata","typeLabel":"object"},"calculatedSettings":{"type":"object","description":"The configuration of calculated settings (mandatory/hidden)","additionalProperties":{"type":"object","properties":{"code":{"type":"string","description":"JavaScript expression in charge of generating the actual value of the setting (ECMAScript 2020)","uniqueKey":"fields.items.[INDEX].calculatedSettings.additionalProperties.code","typeLabel":"string"},"fallbackValues":{"type":"array","description":"Fallback value(s) used when there was evaluation error on the calculated setting","items":{"type":"string","uniqueKey":"fields.items.[INDEX].calculatedSettings.additionalProperties.fallbackValues.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].calculatedSettings.additionalProperties.fallbackValues","typeLabel":"string[]"}},"uniqueKey":"fields.items.[INDEX].calculatedSettings.additionalProperties","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].calculatedSettings","typeLabel":"object"},"calculatedValue":{"type":"object","properties":{"code":{"type":"string","description":"JavaScript expression in charge of generating document field values (ECMAScript 2020)","uniqueKey":"fields.items.[INDEX].calculatedValue.code","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].calculatedValue","typeLabel":"object"},"categoryDefinition":{"type":"object","properties":{"description":{"type":"string","description":"The description of the category","uniqueKey":"fields.items.[INDEX].categoryDefinition.description","typeLabel":"string"},"dynamicValues":{"type":"boolean","description":"Whether the category authorizes dynamic values","uniqueKey":"fields.items.[INDEX].categoryDefinition.dynamicValues","typeLabel":"boolean"},"folder":{"type":"boolean","description":"Whether the category is the Folder category (read-only)","uniqueKey":"fields.items.[INDEX].categoryDefinition.folder","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the category","uniqueKey":"fields.items.[INDEX].categoryDefinition.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].categoryDefinition.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"The name of the levels in the category","items":{"type":"string","uniqueKey":"fields.items.[INDEX].categoryDefinition.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].categoryDefinition.levelNames","typeLabel":"string[]"},"levelNames_i18n":{"type":"array","description":"The internationalized name of the levels in the category (read-only field)","items":{"type":"string","uniqueKey":"fields.items.[INDEX].categoryDefinition.levelNames_i18n.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].categoryDefinition.levelNames_i18n","typeLabel":"string[]"},"libraryId":{"type":"string","description":"The ID of the library","uniqueKey":"fields.items.[INDEX].categoryDefinition.libraryId","typeLabel":"string"},"name":{"type":"string","description":"The name of the category","uniqueKey":"fields.items.[INDEX].categoryDefinition.name","typeLabel":"string"},"tags":{"type":"boolean","description":"Whether the category is the Tags category (read-only)","uniqueKey":"fields.items.[INDEX].categoryDefinition.tags","typeLabel":"boolean"},"value":{"type":"string","description":"The ID of the category (backward compatibility for category.category.listCategoryDefinitions)","uniqueKey":"fields.items.[INDEX].categoryDefinition.value","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].categoryDefinition","typeLabel":"object"},"categoryId":{"type":"string","description":"The ID of the category (if type = CATEGORY) - (deprecated, read-only)","uniqueKey":"fields.items.[INDEX].categoryId","typeLabel":"string"},"categoryValueMapping":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the mapping (read-only)","uniqueKey":"fields.items.[INDEX].categoryValueMapping.displayName","typeLabel":"string"},"id":{"type":"string","description":"The ID of the category value mapping","uniqueKey":"fields.items.[INDEX].categoryValueMapping.id","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].categoryValueMapping","typeLabel":"object"},"columns":{"type":"array","description":"The column properties of the field (only if this field is a table type field)","items":{"type":"object","properties":{"appMetadata":{"type":"object","description":"App Metadata let developers associate metadata with various configuration entities. The metadata is isolated within app namespaces in order to prevent one application from interfering with another's metadata.","additionalProperties":{"type":"object","properties":{"appNamespaceId":{"type":"string","description":"The id of the app namespace (read-only)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].appMetadata.additionalProperties.appNamespaceId","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].appMetadata.additionalProperties.kind","typeLabel":"string"},"tags":{"type":"array","description":"The list of tags (name/value) in the namespace (limited to 10 items)","items":{"type":"object","properties":{"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].appMetadata.additionalProperties.tags.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The name of the tag","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].appMetadata.additionalProperties.tags.items.[INDEX].name","typeLabel":"string"},"stringValue":{"type":"string","description":"The value of the tag as a String","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].appMetadata.additionalProperties.tags.items.[INDEX].stringValue","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].appMetadata.additionalProperties.tags.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].appMetadata.additionalProperties.tags","typeLabel":"object[]"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].appMetadata.additionalProperties","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].appMetadata","typeLabel":"object"},"calculatedSettings":{"type":"object","description":"The configuration of calculated settings (mandatory/hidden)","additionalProperties":{"type":"object","properties":{"code":{"type":"string","description":"JavaScript expression in charge of generating the actual value of the setting (ECMAScript 2020)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].calculatedSettings.additionalProperties.code","typeLabel":"string"},"fallbackValues":{"type":"array","description":"Fallback value(s) used when there was evaluation error on the calculated setting","items":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].calculatedSettings.additionalProperties.fallbackValues.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].calculatedSettings.additionalProperties.fallbackValues","typeLabel":"string[]"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].calculatedSettings.additionalProperties","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].calculatedSettings","typeLabel":"object"},"calculatedValue":{"type":"object","properties":{"code":{"type":"string","description":"JavaScript expression in charge of generating document field values (ECMAScript 2020)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].calculatedValue.code","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].calculatedValue","typeLabel":"object"},"categoryDefinition":{"type":"object","properties":{"description":{"type":"string","description":"The description of the category","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.description","typeLabel":"string"},"dynamicValues":{"type":"boolean","description":"Whether the category authorizes dynamic values","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.dynamicValues","typeLabel":"boolean"},"folder":{"type":"boolean","description":"Whether the category is the Folder category (read-only)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.folder","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the category","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"The name of the levels in the category","items":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames","typeLabel":"string[]"},"levelNames_i18n":{"type":"array","description":"The internationalized name of the levels in the category (read-only field)","items":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames_i18n.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames_i18n","typeLabel":"string[]"},"libraryId":{"type":"string","description":"The ID of the library","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.libraryId","typeLabel":"string"},"name":{"type":"string","description":"The name of the category","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.name","typeLabel":"string"},"tags":{"type":"boolean","description":"Whether the category is the Tags category (read-only)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.tags","typeLabel":"boolean"},"value":{"type":"string","description":"The ID of the category (backward compatibility for category.category.listCategoryDefinitions)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition.value","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryDefinition","typeLabel":"object"},"categoryId":{"type":"string","description":"The ID of the category (if type = CATEGORY) - (deprecated, read-only)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryId","typeLabel":"string"},"categoryValueMapping":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the mapping (read-only)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryValueMapping.displayName","typeLabel":"string"},"id":{"type":"string","description":"The ID of the category value mapping","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryValueMapping.id","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].categoryValueMapping","typeLabel":"object"},"columns":{"oneOf":[{"$circularRef":"6c86e38c-4e29-4ce7-b8da-e74f58e3d351"}],"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].columns","typeLabel":"any"},"creationSettings":{"type":"object","properties":{"hidden":{"type":"boolean","description":"Whether the field should be hidden during document creation only","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].creationSettings.hidden","typeLabel":"boolean"},"mandatory":{"type":"boolean","description":"Whether the field should be mandatory during document creation only (not compatible for all field types)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].creationSettings.mandatory","typeLabel":"boolean"},"readOnly":{"type":"boolean","description":"Whether the field should be read-only during document creation only (not compatible for all field types)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].creationSettings.readOnly","typeLabel":"boolean"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].creationSettings","typeLabel":"object"},"customPlaceholder":{"type":"boolean","description":"Whether to use a custom placeholder when displaying the field in the UI","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].customPlaceholder","typeLabel":"boolean"},"description":{"type":"string","description":"The description of the field","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].description","typeLabel":"string"},"displayInPreview":{"type":"object","description":"The display in preview configuration of the field","additionalProperties":{"type":"object","properties":{"order":{"type":"integer","format":"int32","description":"The display order of this property in the consumer's preview.","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].displayInPreview.additionalProperties.order","typeLabel":"integer\u003cint32>"},"show":{"type":"boolean","description":"Whether this property is displayed in the consumer's preview.","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].displayInPreview.additionalProperties.show","typeLabel":"boolean"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].displayInPreview.additionalProperties","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].displayInPreview","typeLabel":"object"},"displayName":{"type":"string","description":"The name of the field","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].displayName","typeLabel":"string"},"dynamicValues":{"type":"boolean","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].dynamicValues","typeLabel":"boolean"},"folder":{"type":"boolean","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].folder","typeLabel":"boolean"},"hidden":{"type":"boolean","description":"Whether the field should be hidden for the whole life-cycle of documents of the class","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].hidden","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the field (read-only field)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].kind","typeLabel":"string"},"levelNames":{"type":"array","items":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].levelNames","typeLabel":"string[]"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].lookupConfiguration","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field should be mandatory for the whole life-cycle of documents of the class (not compatible for all field types)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].mandatory","typeLabel":"boolean"},"mappingSourceField":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the field (read-only)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].mappingSourceField.displayName","typeLabel":"string"},"id":{"type":"string","description":"The ID of the field","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].mappingSourceField.id","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].mappingSourceField","typeLabel":"object"},"multiple":{"type":"boolean","description":"Whether the field should be multi-valued (not compatible for all field types)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The placeholder text if customPlaceholder = true","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank of the field in the list (deprecated)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field should be read-only for the whole life-cycle of documents of the class (not compatible for all field types)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].readOnly","typeLabel":"boolean"},"referenceCatalog":{"type":"object","properties":{"createdAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was created (read-only field)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].referenceCatalog.createdAt","typeLabel":"integer\u003cint64>"},"id":{"type":"string","description":"The ID of the reference catalog (read-only field)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].referenceCatalog.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].referenceCatalog.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"Ordered name of levels of the reference catalog","items":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].referenceCatalog.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].referenceCatalog.levelNames","typeLabel":"string[]"},"modifiedAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was last modified (read-only field)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].referenceCatalog.modifiedAt","typeLabel":"integer\u003cint64>"},"name":{"type":"string","description":"The name of the reference catalog","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].referenceCatalog.name","typeLabel":"string"},"numberOfValues":{"type":"integer","format":"int32","description":"The number of values in the reference catalog (read-only field)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].referenceCatalog.numberOfValues","typeLabel":"integer\u003cint32>"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].referenceCatalog","typeLabel":"object"},"referenceCatalogId":{"type":"string","description":"The ID of the reference catalog (if type = REFERENCE_CATALOG)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].referenceCatalogId","typeLabel":"string"},"type":{"type":"string","description":"The type of field (STRING, TEXT, DATE, TIME, DATETIME, INTEGER, DECIMAL, BOOLEAN, PERSON, GEOPOINT, URL, CATEGORY, REFERENCE_CATALOG, TABLE)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX].validation","typeLabel":"object"}},"uniqueKey":"fields.items.[INDEX].columns.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].columns","typeLabel":"object[]"},"creationSettings":{"type":"object","properties":{"hidden":{"type":"boolean","description":"Whether the field should be hidden during document creation only","uniqueKey":"fields.items.[INDEX].creationSettings.hidden","typeLabel":"boolean"},"mandatory":{"type":"boolean","description":"Whether the field should be mandatory during document creation only (not compatible for all field types)","uniqueKey":"fields.items.[INDEX].creationSettings.mandatory","typeLabel":"boolean"},"readOnly":{"type":"boolean","description":"Whether the field should be read-only during document creation only (not compatible for all field types)","uniqueKey":"fields.items.[INDEX].creationSettings.readOnly","typeLabel":"boolean"}},"uniqueKey":"fields.items.[INDEX].creationSettings","typeLabel":"object"},"customPlaceholder":{"type":"boolean","description":"Whether to use a custom placeholder when displaying the field in the UI","uniqueKey":"fields.items.[INDEX].customPlaceholder","typeLabel":"boolean"},"description":{"type":"string","description":"The description of the field","uniqueKey":"fields.items.[INDEX].description","typeLabel":"string"},"displayInPreview":{"type":"object","description":"The display in preview configuration of the field","additionalProperties":{"type":"object","properties":{"order":{"type":"integer","format":"int32","description":"The display order of this property in the consumer's preview.","uniqueKey":"fields.items.[INDEX].displayInPreview.additionalProperties.order","typeLabel":"integer\u003cint32>"},"show":{"type":"boolean","description":"Whether this property is displayed in the consumer's preview.","uniqueKey":"fields.items.[INDEX].displayInPreview.additionalProperties.show","typeLabel":"boolean"}},"uniqueKey":"fields.items.[INDEX].displayInPreview.additionalProperties","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].displayInPreview","typeLabel":"object"},"displayName":{"type":"string","description":"The name of the field","uniqueKey":"fields.items.[INDEX].displayName","typeLabel":"string"},"dynamicValues":{"type":"boolean","uniqueKey":"fields.items.[INDEX].dynamicValues","typeLabel":"boolean"},"folder":{"type":"boolean","uniqueKey":"fields.items.[INDEX].folder","typeLabel":"boolean"},"hidden":{"type":"boolean","description":"Whether the field should be hidden for the whole life-cycle of documents of the class","uniqueKey":"fields.items.[INDEX].hidden","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the field (read-only field)","uniqueKey":"fields.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].kind","typeLabel":"string"},"levelNames":{"type":"array","items":{"type":"string","uniqueKey":"fields.items.[INDEX].levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].levelNames","typeLabel":"string[]"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"fields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"fields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"fields.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"fields.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"fields.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"fields.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"fields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"fields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"fields.items.[INDEX].lookupConfiguration","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field should be mandatory for the whole life-cycle of documents of the class (not compatible for all field types)","uniqueKey":"fields.items.[INDEX].mandatory","typeLabel":"boolean"},"mappingSourceField":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the field (read-only)","uniqueKey":"fields.items.[INDEX].mappingSourceField.displayName","typeLabel":"string"},"id":{"type":"string","description":"The ID of the field","uniqueKey":"fields.items.[INDEX].mappingSourceField.id","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].mappingSourceField","typeLabel":"object"},"multiple":{"type":"boolean","description":"Whether the field should be multi-valued (not compatible for all field types)","uniqueKey":"fields.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The placeholder text if customPlaceholder = true","uniqueKey":"fields.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank of the field in the list (deprecated)","uniqueKey":"fields.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field should be read-only for the whole life-cycle of documents of the class (not compatible for all field types)","uniqueKey":"fields.items.[INDEX].readOnly","typeLabel":"boolean"},"referenceCatalog":{"type":"object","properties":{"createdAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was created (read-only field)","uniqueKey":"fields.items.[INDEX].referenceCatalog.createdAt","typeLabel":"integer\u003cint64>"},"id":{"type":"string","description":"The ID of the reference catalog (read-only field)","uniqueKey":"fields.items.[INDEX].referenceCatalog.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].referenceCatalog.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"Ordered name of levels of the reference catalog","items":{"type":"string","uniqueKey":"fields.items.[INDEX].referenceCatalog.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fields.items.[INDEX].referenceCatalog.levelNames","typeLabel":"string[]"},"modifiedAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was last modified (read-only field)","uniqueKey":"fields.items.[INDEX].referenceCatalog.modifiedAt","typeLabel":"integer\u003cint64>"},"name":{"type":"string","description":"The name of the reference catalog","uniqueKey":"fields.items.[INDEX].referenceCatalog.name","typeLabel":"string"},"numberOfValues":{"type":"integer","format":"int32","description":"The number of values in the reference catalog (read-only field)","uniqueKey":"fields.items.[INDEX].referenceCatalog.numberOfValues","typeLabel":"integer\u003cint32>"}},"uniqueKey":"fields.items.[INDEX].referenceCatalog","typeLabel":"object"},"referenceCatalogId":{"type":"string","description":"The ID of the reference catalog (if type = REFERENCE_CATALOG)","uniqueKey":"fields.items.[INDEX].referenceCatalogId","typeLabel":"string"},"type":{"type":"string","description":"The type of field (STRING, TEXT, DATE, TIME, DATETIME, INTEGER, DECIMAL, BOOLEAN, PERSON, GEOPOINT, URL, CATEGORY, REFERENCE_CATALOG, TABLE)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"fields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"fields.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"fields.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"fields.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"fields.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"fields.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"fields.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"fields.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"fields.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"fields.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"fields.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"fields.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"fields.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"fields.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"fields.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"fields.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"fields.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"fields.items.[INDEX].validation","typeLabel":"object"}},"uniqueKey":"fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields","typeLabel":"object[]"},"firstVersionName":{"type":"string","description":"The name of the first version if firstVersionNumberingMode = FIXED","uniqueKey":"firstVersionName","typeLabel":"string"},"firstVersionNumberingMode":{"type":"string","description":"Whether the first version's name should be overridden (FIXED) or implicit (AUTOMATIC)","enum":["AUTOMATIC","FIXED"],"uniqueKey":"firstVersionNumberingMode","typeLabel":"enum\u003cstring>"},"forceNumberVersions":{"type":"boolean","description":"Whether the version names must be numerical values","uniqueKey":"forceNumberVersions","typeLabel":"boolean"},"hiddenSystemFields":{"type":"array","description":"The IDs of the system fields hidden by default on the document page, among _lastModified, _version, _library, _class and folder. Users can still show them. Empty means all of them are shown","items":{"type":"string","uniqueKey":"hiddenSystemFields.items.[INDEX]","typeLabel":"string"},"uniqueKey":"hiddenSystemFields","typeLabel":"string[]"},"id":{"type":"string","description":"The ID of the document class (read-only field)","uniqueKey":"id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"kind","typeLabel":"string"},"layouts":{"type":"array","description":"The layouts of the Document Page: the ordered list of its sections (only one layout is used for now). Returned, and accepted, instead of sections, only if the library uses the new document page (custom configuration newUIDocumentViewPage)","items":{"type":"object","properties":{"sections":{"type":"array","description":"The ordered list of the sections of the Document Page, top to bottom, below the general information. The list order is the display order","items":{"type":"object","properties":{"columnCount":{"type":"integer","format":"int32","description":"The number of columns to display the properties of the section, from 1 to 4 (aodocs#propertiesSection only)","uniqueKey":"layouts.items.[INDEX].sections.items.[INDEX].columnCount","typeLabel":"integer\u003cint32>"},"description":{"type":"string","description":"The description of the section (400 characters at most)","uniqueKey":"layouts.items.[INDEX].sections.items.[INDEX].description","typeLabel":"string"},"fieldIds":{"type":"array","description":"The ordered IDs of the properties displayed in the section (aodocs#propertiesSection only). The properties that no section lists are displayed in the first properties section","items":{"type":"string","uniqueKey":"layouts.items.[INDEX].sections.items.[INDEX].fieldIds.items.[INDEX]","typeLabel":"string"},"uniqueKey":"layouts.items.[INDEX].sections.items.[INDEX].fieldIds","typeLabel":"string[]"},"hidden":{"type":"boolean","description":"Whether the section is hidden. A hidden section keeps its position and its settings. Defaults to false","uniqueKey":"layouts.items.[INDEX].sections.items.[INDEX].hidden","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the section, generated by the system (leave it empty to create a section)","uniqueKey":"layouts.items.[INDEX].sections.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","description":"The kind of the section: aodocs#descriptionSection, aodocs#attachedFileSection, aodocs#relatedItemSection or aodocs#propertiesSection","uniqueKey":"layouts.items.[INDEX].sections.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The title of the section (aodocs#propertiesSection only)","uniqueKey":"layouts.items.[INDEX].sections.items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized title of the section (read-only field, aodocs#propertiesSection only)","uniqueKey":"layouts.items.[INDEX].sections.items.[INDEX].name_i18n","typeLabel":"string"}},"uniqueKey":"layouts.items.[INDEX].sections.items.[INDEX]","typeLabel":"object"},"uniqueKey":"layouts.items.[INDEX].sections","typeLabel":"object[]"}},"uniqueKey":"layouts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"layouts","typeLabel":"object[]"},"libraryId":{"type":"string","description":"The ID of the library in which the document class is (read-only field)","uniqueKey":"libraryId","typeLabel":"string"},"managedPermissionSource":{"type":"string","description":"The inheritance mode for permissions: CLASS, WORKFLOW, FOLDER","enum":["CLASS","WORKFLOW","FOLDER"],"uniqueKey":"managedPermissionSource","typeLabel":"enum\u003cstring>"},"manualVersioningDisabled":{"type":"boolean","description":"Whether the manual versioning should be disabled for documents of this class","uniqueKey":"manualVersioningDisabled","typeLabel":"boolean"},"name":{"type":"string","description":"The display name of the document class (backward compatibility for documentType.documentType.listClasses)","uniqueKey":"name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The localized display name of the document class (backward compatibility for documentType.documentType.listClasses)","uniqueKey":"name_i18n","typeLabel":"string"},"onlyAdminsCanDelete":{"type":"boolean","description":"Whether only library administrators can delete documents of the class","uniqueKey":"onlyAdminsCanDelete","typeLabel":"boolean"},"onlyAdminsCanShare":{"type":"boolean","description":"Whether only library administrators can share documents of the class","uniqueKey":"onlyAdminsCanShare","typeLabel":"boolean"},"permissions":{"type":"array","description":"The list of users/groups/roles who can access the documents of this class (if managedPermissionSource = CLASS) and their access level","items":{"type":"object","properties":{"displayName":{"type":"string","description":"The displayed name if type = USER, GROUP or ROLE","uniqueKey":"permissions.items.[INDEX].displayName","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"permissions.items.[INDEX].kind","typeLabel":"string"},"role":{"type":"string","description":"The level of the permission (READER, COMMENTER, WRITER or ATTACHMENT_EDITOR)","enum":["READER","COMMENTER","ATTACHMENT_EDITOR","WRITER"],"uniqueKey":"permissions.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (for users)","uniqueKey":"permissions.items.[INDEX].thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permitted audience (ANYONE, DOMAIN, GROUP, USER or ROLE)","enum":["ANYONE","DOMAIN","GROUP","USER","ROLE"],"uniqueKey":"permissions.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if type = USER or GROUP, the ID of the role if type = ROLE","uniqueKey":"permissions.items.[INDEX].value","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the audience will have access with the link","uniqueKey":"permissions.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"permissions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"permissions","typeLabel":"object[]"},"previousVersionsVisibility":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"previousVersionsVisibility.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"previousVersionsVisibility.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"previousVersionsVisibility.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"previousVersionsVisibility.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"previousVersionsVisibility.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"previousVersionsVisibility.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"previousVersionsVisibility.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"previousVersionsVisibility.value","typeLabel":"string"}},"uniqueKey":"previousVersionsVisibility","typeLabel":"object"},"readOnlyTitle":{"type":"boolean","description":"DEPRECATED. Use systemFields['_title'].readOnly instead. Whether the title field should be read-only for whole life-cycle of documents of this class (except creation)","uniqueKey":"readOnlyTitle","typeLabel":"boolean"},"restrictedDownload":{"type":"boolean","description":"Whether the documents of this class should be restricted for download by readers","uniqueKey":"restrictedDownload","typeLabel":"boolean"},"sections":{"type":"array","description":"The sections of fields for organization","items":{"type":"object","properties":{"columnCount":{"type":"integer","format":"int32","description":"The number of columns to display fields for this section.","uniqueKey":"sections.items.[INDEX].columnCount","typeLabel":"integer\u003cint32>"},"description":{"type":"string","description":"The description of the section","uniqueKey":"sections.items.[INDEX].description","typeLabel":"string"},"fields":{"type":"array","description":"The list of fields in the section","items":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the field","uniqueKey":"sections.items.[INDEX].fields.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","description":"The type of the field (read-only field)","uniqueKey":"sections.items.[INDEX].fields.items.[INDEX].type","typeLabel":"string"}},"uniqueKey":"sections.items.[INDEX].fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"sections.items.[INDEX].fields","typeLabel":"object[]"},"id":{"type":"string","description":"The ID of the section (read-only field)","uniqueKey":"sections.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"The name of the section","uniqueKey":"sections.items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name of the section (read-only field)","uniqueKey":"sections.items.[INDEX].name_i18n","typeLabel":"string"}},"uniqueKey":"sections.items.[INDEX]","typeLabel":"object"},"uniqueKey":"sections","typeLabel":"object[]"},"sectionsDefaultColumnCount":{"type":"integer","format":"int32","description":"Default column count to apply to sections without a specific columnCount. Defaults to 2","uniqueKey":"sectionsDefaultColumnCount","typeLabel":"integer\u003cint32>"},"sequenceId":{"type":"integer","format":"int64","description":"The ID of sequence of the document class (read-only field)","uniqueKey":"sequenceId","typeLabel":"integer\u003cint64>"},"systemFields":{"type":"object","description":"The list of system fields in the document class (contains only '_title' for now)","additionalProperties":{"type":"object","properties":{"calculatedValue":{"type":"object","properties":{"code":{"type":"string","description":"JavaScript expression in charge of generating document field values (ECMAScript 2020)","uniqueKey":"systemFields.additionalProperties.calculatedValue.code","typeLabel":"string"}},"uniqueKey":"systemFields.additionalProperties.calculatedValue","typeLabel":"object"},"kind":{"type":"string","uniqueKey":"systemFields.additionalProperties.kind","typeLabel":"string"},"readOnly":{"type":"boolean","description":"Whether the system field should be read-only for the whole life-cycle of documents of the class","uniqueKey":"systemFields.additionalProperties.readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The type of field","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"systemFields.additionalProperties.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"systemFields.additionalProperties","typeLabel":"object"},"uniqueKey":"systemFields","typeLabel":"object"},"templates":{"type":"array","description":"The document templates of this class (read-only, returned only if TEMPLATES is specified within the include request param)","items":{"type":"object","properties":{"attachmentFields":{"type":"array","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].mandatory","typeLabel":"boolean"},"metadata":{"type":"object","properties":{"attachments":{"type":"array","items":{"type":"object","properties":{"drive":{"type":"object","properties":{"iconLink":{"type":"string","description":"The URL of the icon of the file","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.iconLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.kind","typeLabel":"string"},"link":{"type":"string","description":"The URL to the file in Drive","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.link","typeLabel":"string"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive","typeLabel":"object[]"},"publishedLink":{"type":"string","description":"The URL of the file when published","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.publishedLink","typeLabel":"string"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.resourceKey","typeLabel":"string"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.revisionId","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive","typeLabel":"object"},"id":{"type":"string","description":"The ID the file as used on the storage type","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].kind","typeLabel":"string"},"mimeType":{"type":"string","description":"The MIME type of the file","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].mimeType","typeLabel":"string"},"name":{"type":"string","description":"The name (title) of the file","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].name","typeLabel":"string"},"oss":{"type":"object","properties":{"downloadLink":{"type":"string","description":"The URL to download the OSS file","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].oss.downloadLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].oss.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].oss","typeLabel":"object"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].size","typeLabel":"integer\u003cint64>"},"storageType":{"type":"string","description":"Where is the file stored? Either DRIVE (Google Drive), or OSS (AODocs Object Storage System)","enum":["OSS","DRIVE"],"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].storageType","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments","typeLabel":"object[]"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].metadata","typeLabel":"object"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of values for the field","items":{"type":"string","uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX].values","typeLabel":"string[]"}},"uniqueKey":"templates.items.[INDEX].attachmentFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].attachmentFields","typeLabel":"object[]"},"attachments":{"type":"array","description":"The list of attachments to be copied in the document to be created using this template","items":{"type":"object","properties":{"autodeskUrn":{"type":"object","properties":{"status":{"type":"string","enum":["READY","IN_PROGRESS","FAILED"],"uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].autodeskUrn.status","typeLabel":"enum\u003cstring>"},"urn":{"type":"string","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].autodeskUrn.urn","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].autodeskUrn","typeLabel":"object"},"fileId":{"type":"string","description":"The ID the file in Drive","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].fileId","typeLabel":"string"},"iconLink":{"type":"string","description":"The URL of the icon of the file","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].iconLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].kind","typeLabel":"string"},"link":{"type":"string","description":"The URL to the file in Drive (read-only)","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].link","typeLabel":"string"},"md5Checksum":{"type":"string","description":"The MD5 checksum of the file content (null for native Google files)","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].md5Checksum","typeLabel":"string"},"mimeType":{"type":"string","description":"The MIME type of the file","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].mimeType","typeLabel":"string"},"name":{"type":"string","description":"The name (title) of the file","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].name","typeLabel":"string"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive","typeLabel":"object[]"},"publishedLink":{"type":"string","description":"The URL of the file when published","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].publishedLink","typeLabel":"string"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].resourceKey","typeLabel":"string"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].revisionId","typeLabel":"string"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file","uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].size","typeLabel":"integer\u003cint64>"},"storageLocation":{"type":"string","description":"The storage location of the file. Possible values are 'DRIVE' and 'OSS' (read-only)","enum":["DRIVE","OSS"],"uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX].storageLocation","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].attachments","typeLabel":"object[]"},"categories":{"type":"array","description":"The list of category fields which values (editable) will be used when creating a document using this template","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"categoryDefinition":{"type":"object","properties":{"description":{"type":"string","description":"The description of the category","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.description","typeLabel":"string"},"dynamicValues":{"type":"boolean","description":"Whether the category authorizes dynamic values","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.dynamicValues","typeLabel":"boolean"},"folder":{"type":"boolean","description":"Whether the category is the Folder category (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.folder","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the category","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"The name of the levels in the category","items":{"type":"string","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames","typeLabel":"string[]"},"levelNames_i18n":{"type":"array","description":"The internationalized name of the levels in the category (read-only field)","items":{"type":"string","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames_i18n.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames_i18n","typeLabel":"string[]"},"libraryId":{"type":"string","description":"The ID of the library","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.libraryId","typeLabel":"string"},"name":{"type":"string","description":"The name of the category","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.name","typeLabel":"string"},"tags":{"type":"boolean","description":"Whether the category is the Tags category (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.tags","typeLabel":"boolean"},"value":{"type":"string","description":"The ID of the category (backward compatibility for category.category.listCategoryDefinitions)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryDefinition","typeLabel":"object"},"categoryValueMapping":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the mapping (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryValueMapping.displayName","typeLabel":"string"},"id":{"type":"string","description":"The ID of the category value mapping","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryValueMapping.id","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].categoryValueMapping","typeLabel":"object"},"definitionId":{"type":"string","description":"(Deprecated) The ID of the category","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].definitionId","typeLabel":"string"},"definitionName":{"type":"string","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].definitionName","typeLabel":"string"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].description_i18n","typeLabel":"string"},"dynamicValues":{"type":"boolean","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].dynamicValues","typeLabel":"boolean"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].fieldName_i18n","typeLabel":"string"},"folder":{"type":"boolean","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].folder","typeLabel":"boolean"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].kind","typeLabel":"string"},"levelNames":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].levelNames","typeLabel":"string[]"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].mandatory","typeLabel":"boolean"},"mappingSourceField":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the field (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].mappingSourceField.displayName","typeLabel":"string"},"id":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].mappingSourceField.id","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].mappingSourceField","typeLabel":"object"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of category values","items":{"type":"array","items":{"type":"object","properties":{"ancestors":{"type":"array","description":"Ancestor category values from direct parent to root - only present with loadCategoryValue","items":{"$circularRef":"9b308f87-7c8b-415b-a763-2534d3bea0cc"},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].ancestors","typeLabel":"array"},"id":{"type":"string","description":"The ID of the category value","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","description":"Whether the category value is leaf","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].leaf","typeLabel":"boolean"},"leafInNotOutdatedTree":{"type":"boolean","description":"Whether the category value is leaf without not outdated child","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].leafInNotOutdatedTree","typeLabel":"boolean"},"name":{"type":"string","description":"The name of the category value","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name of the category value (read-only field)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].name_i18n","typeLabel":"string"},"outdated":{"type":"boolean","description":"Whether the category value is marked as outdated","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].outdated","typeLabel":"boolean"},"parentId":{"type":"string","description":"The ID of the parent category value (read-only field)","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].parentId","typeLabel":"string"},"shortName":{"type":"string","description":"The short name of the category value","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].shortName","typeLabel":"string"},"value":{"type":"string","description":"(Deprecated) The ID of the category value","uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values.items.[INDEX]","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX].values","typeLabel":"object[][]"}},"uniqueKey":"templates.items.[INDEX].categories.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].categories","typeLabel":"object[]"},"classId":{"type":"string","description":"The ID of the class of the document (read-only field)","uniqueKey":"templates.items.[INDEX].classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class of the document (read-only field)","uniqueKey":"templates.items.[INDEX].className","typeLabel":"string"},"className_i18n":{"type":"string","description":"The internationalized name of the class of the document (read-only field)","uniqueKey":"templates.items.[INDEX].className_i18n","typeLabel":"string"},"creationDate":{"type":"string","description":"The time at which the template was created (read-only field)","uniqueKey":"templates.items.[INDEX].creationDate","typeLabel":"string"},"defaultTemplate":{"type":"boolean","description":"Whether the template is the default one for the class (read-only field)","uniqueKey":"templates.items.[INDEX].defaultTemplate","typeLabel":"boolean"},"domainName":{"type":"string","description":"The name of the domain (read-only field)","uniqueKey":"templates.items.[INDEX].domainName","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the current user can edit the template (read-only field)","uniqueKey":"templates.items.[INDEX].editable","typeLabel":"boolean"},"fields":{"type":"array","description":"The list of native fields which values (editable) will be used when creating a document using this template","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].mandatory","typeLabel":"boolean"},"metadata":{"type":"object","properties":{"attachments":{"type":"array","items":{"type":"object","properties":{"drive":{"type":"object","properties":{"iconLink":{"type":"string","description":"The URL of the icon of the file","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.iconLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.kind","typeLabel":"string"},"link":{"type":"string","description":"The URL to the file in Drive","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.link","typeLabel":"string"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive","typeLabel":"object[]"},"publishedLink":{"type":"string","description":"The URL of the file when published","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.publishedLink","typeLabel":"string"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.resourceKey","typeLabel":"string"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.revisionId","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive","typeLabel":"object"},"id":{"type":"string","description":"The ID the file as used on the storage type","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].kind","typeLabel":"string"},"mimeType":{"type":"string","description":"The MIME type of the file","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].mimeType","typeLabel":"string"},"name":{"type":"string","description":"The name (title) of the file","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].name","typeLabel":"string"},"oss":{"type":"object","properties":{"downloadLink":{"type":"string","description":"The URL to download the OSS file","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].oss.downloadLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].oss.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].oss","typeLabel":"object"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].size","typeLabel":"integer\u003cint64>"},"storageType":{"type":"string","description":"Where is the file stored? Either DRIVE (Google Drive), or OSS (AODocs Object Storage System)","enum":["OSS","DRIVE"],"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].storageType","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.attachments","typeLabel":"object[]"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].metadata","typeLabel":"object"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of values for the field","items":{"type":"string","uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX].values","typeLabel":"string[]"}},"uniqueKey":"templates.items.[INDEX].fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].fields","typeLabel":"object[]"},"folders":{"type":"array","description":"The folder where the document will be created if no explicit folder is defined","items":{"type":"object","properties":{"editable":{"type":"boolean","description":"Whether the folder is editable by the current user (read-only field)","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].editable","typeLabel":"boolean"},"editableDocuments":{"type":"boolean","description":"Whether the documents in the folder are editable by the current user (read-only field)","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].editableDocuments","typeLabel":"boolean"},"fileId":{"type":"string","description":"The ID of the folder in Drive","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].fileId","typeLabel":"string"},"folderAodocsId":{"type":"string","description":"The ID of the folder in AODocs model (0 if root folder)","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].folderAodocsId","typeLabel":"string"},"folderDefinitionId":{"type":"string","description":"(Deprecated) The ID of the folder configuration","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].folderDefinitionId","typeLabel":"string"},"folderIsRoot":{"type":"boolean","description":"Whether the folder is the root folder (read-only field)","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].folderIsRoot","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].kind","typeLabel":"string"},"libraryId":{"type":"string","description":"The ID of the library","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].libraryId","typeLabel":"string"},"libraryName":{"type":"string","description":"The name of the library","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].libraryName","typeLabel":"string"},"name":{"type":"string","description":"The name of the folder","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].name","typeLabel":"string"},"parentFolderAodocsId":{"type":"string","description":"The ID of the parent folder in AODocs model (0 if root folder)","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].parentFolderAodocsId","typeLabel":"string"},"parentFolderDriveId":{"type":"string","description":"The ID of the parent folder in Drive","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].parentFolderDriveId","typeLabel":"string"},"parentFolderIsRoot":{"type":"boolean","description":"Whether the parent folder is the root folder (read-only field)","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].parentFolderIsRoot","typeLabel":"boolean"},"permittedOperations":{"type":"array","description":"The list of permitted operations to the current user (read-only field)","items":{"type":"string","enum":["DELETE","RENAME","MODIFY_ACL","VIEW_ACL","MOVE_TO_ANOTHER_FOLDER","EXPORT","EDIT_PROPERTIES","COPY","CREATE_COPY_FROM","EXPORT_COPY","CREATE_NEW_VERSION","ATTACHMENT_VERSION_REPLACE","ATTACHMENT_VERSION_CREATE","ADD_NEW_ATTACHMENT_FROM_DRIVE","ATTACH_ENCRYPTED_FILE","OPEN_IN_OFFICE","PUBLISH","UNPUBLISH","RESTORE_REVISION","REVERT_TO_THIS_REVISION","CREATE_RELATED_DOCUMENT","DOWNLOAD","DOWNLOAD_ATTACHMENT","NOTIFY_USERS","CHECK_IN","CHECK_OUT","DISCARD_CHECKOUT","FORCE_DISCARD_CHECKOUT","EDIT_TAGS","PERFORM_HUMAN_WORKFLOW_ACTIONS","VIEW_DRAFT","SHARE_PUBLICLY","VIEW_HISTORY","VIEW_VERSIONS","ADD_COMMENT","SET_TEMPLATE_AS_DEFAULT","SET_TEMPLATE_VISIBILITY_SCOPE","DELETE_COMMENT","KNOW_DRAFT","FORCE_PARALLEL_TRANSITION","CHANGE_WORKFLOW_STATE_DIRECTLY","SEE_HIDDEN_FIELDS","VIEW_TRASHED_ITEM","UNTRASH","PERMANENTLY_DELETE","VIEW_DRIVEONLY_ACL","MODIFY_DRIVEONLY_ACL","NON_GOOGLE_USERS_SUPPORT","SUPPORTS_LIVE_EVALUATION","ALLOWLIST_NOT_ENFORCED","CREATE_SUBFOLDER","CREATE_DOCUMENT_IN_THIS_FOLDER","IMPORT_FOLDERS_FROM_DRIVE_TO_THIS_FOLDER","ADD_NEW_ATTACHMENT_FROM_OSS","OPEN_IN_DRIVE","COPY_FOLDER_TREE","CHECK_FOLDER","MOVE_TO_DRIVE","COPY_TO_DRIVE","MOVE_TO_ANOTHER_LIBRARY","MOVE_TO_ANOTHER_CLASS","COPY_TO_ANOTHER_CLASS","COPY_ATTACHMENT","COPY_TO_ANOTHER_LIBRARY","EDIT_ATTACHMENT"],"uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].permittedOperations.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].permittedOperations","typeLabel":"enum\u003cstring>[]"},"resourceKey":{"type":"string","description":"A folder that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].resourceKey","typeLabel":"string"},"restrictedDownload":{"type":"boolean","description":"Whether the documents in the folder are marked as restricted to download, copy and print (for the readers)","uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].restrictedDownload","typeLabel":"boolean"},"subfolders":{"type":"array","description":"The list of subfolders","items":{"$circularRef":"afc56d6c-86c5-48e8-ab5c-59dc6fc1a03b"},"uniqueKey":"templates.items.[INDEX].folders.items.[INDEX].subfolders","typeLabel":"array"}},"uniqueKey":"templates.items.[INDEX].folders.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].folders","typeLabel":"object[]"},"forbiddenOperations":{"type":"object","description":"The map of the forbidden operations to the current user and the reasons why they are forbidden (read-only field)","additionalProperties":{"type":"array","items":{"type":"object","properties":{"localizedMessage":{"type":"string","uniqueKey":"templates.items.[INDEX].forbiddenOperations.additionalProperties.items.[INDEX].localizedMessage","typeLabel":"string"},"reason":{"type":"string","enum":["MANDATORY_CHECKOUT","PROTECTED_BY_CHECKOUT","MISSING_MANDATORY_FIELD","INCORRECT_FIELD_VALUES","CHECKED_OUT_IN_NORMAL_STATE","CONTAINS_ATTACHMENT","HAS_FOLDER","IS_DEFAULT_TEMPLATE","IS_HIDDEN","DOCUMENT_IS_DELETED","PERMISSION_NEEDED","CSE_ENCRYPTED_ATTACHMENT","THIRD_PARTY_SHORTCUT","DRIVEONLY_PERMISSIONS_NOT_SUPPORTED"],"uniqueKey":"templates.items.[INDEX].forbiddenOperations.additionalProperties.items.[INDEX].reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].forbiddenOperations.additionalProperties.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].forbiddenOperations.additionalProperties","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].forbiddenOperations","typeLabel":"object"},"fullSizeOfAttachments":{"type":"integer","format":"int64","description":"The summed size (in octet) of the attachments (read-only field)","uniqueKey":"templates.items.[INDEX].fullSizeOfAttachments","typeLabel":"integer\u003cint64>"},"hiddenTemplate":{"type":"boolean","description":"Whether the template should be hidden for document creation","uniqueKey":"templates.items.[INDEX].hiddenTemplate","typeLabel":"boolean"},"iconLink":{"type":"string","description":"The link to the icon relative to the attachment (read-only field)","uniqueKey":"templates.items.[INDEX].iconLink","typeLabel":"string"},"id":{"type":"string","description":"The ID of the document template (read-only field)","uniqueKey":"templates.items.[INDEX].id","typeLabel":"string"},"initialAuthor":{"type":"string","description":"The email of the user who created the template (read-only field)","uniqueKey":"templates.items.[INDEX].initialAuthor","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].kind","typeLabel":"string"},"libraryId":{"type":"string","description":"The ID of the library (read-only field)","uniqueKey":"templates.items.[INDEX].libraryId","typeLabel":"string"},"libraryName":{"type":"string","description":"The name of the library (read-only field)","uniqueKey":"templates.items.[INDEX].libraryName","typeLabel":"string"},"modificationDate":{"type":"string","description":"The time at which the template was last modified (read-only field)","uniqueKey":"templates.items.[INDEX].modificationDate","typeLabel":"string"},"numberOfAttachments":{"type":"integer","format":"int32","description":"The number of attachments in the template (read-only field)","uniqueKey":"templates.items.[INDEX].numberOfAttachments","typeLabel":"integer\u003cint32>"},"onlyAdminCanChangeAcl":{"type":"boolean","description":"Read-only field, not used.","uniqueKey":"templates.items.[INDEX].onlyAdminCanChangeAcl","typeLabel":"boolean"},"onlyAdminCanDelete":{"type":"boolean","description":"Read-only field, not used.","uniqueKey":"templates.items.[INDEX].onlyAdminCanDelete","typeLabel":"boolean"},"permittedOperations":{"type":"array","description":"The list of permitted operations to the current user (read-only field)","items":{"type":"string","enum":["DELETE","RENAME","MODIFY_ACL","VIEW_ACL","MOVE_TO_ANOTHER_FOLDER","EXPORT","EDIT_PROPERTIES","COPY","CREATE_COPY_FROM","EXPORT_COPY","CREATE_NEW_VERSION","ATTACHMENT_VERSION_REPLACE","ATTACHMENT_VERSION_CREATE","ADD_NEW_ATTACHMENT_FROM_DRIVE","ATTACH_ENCRYPTED_FILE","OPEN_IN_OFFICE","PUBLISH","UNPUBLISH","RESTORE_REVISION","REVERT_TO_THIS_REVISION","CREATE_RELATED_DOCUMENT","DOWNLOAD","DOWNLOAD_ATTACHMENT","NOTIFY_USERS","CHECK_IN","CHECK_OUT","DISCARD_CHECKOUT","FORCE_DISCARD_CHECKOUT","EDIT_TAGS","PERFORM_HUMAN_WORKFLOW_ACTIONS","VIEW_DRAFT","SHARE_PUBLICLY","VIEW_HISTORY","VIEW_VERSIONS","ADD_COMMENT","SET_TEMPLATE_AS_DEFAULT","SET_TEMPLATE_VISIBILITY_SCOPE","DELETE_COMMENT","KNOW_DRAFT","FORCE_PARALLEL_TRANSITION","CHANGE_WORKFLOW_STATE_DIRECTLY","SEE_HIDDEN_FIELDS","VIEW_TRASHED_ITEM","UNTRASH","PERMANENTLY_DELETE","VIEW_DRIVEONLY_ACL","MODIFY_DRIVEONLY_ACL","NON_GOOGLE_USERS_SUPPORT","SUPPORTS_LIVE_EVALUATION","ALLOWLIST_NOT_ENFORCED","CREATE_SUBFOLDER","CREATE_DOCUMENT_IN_THIS_FOLDER","IMPORT_FOLDERS_FROM_DRIVE_TO_THIS_FOLDER","ADD_NEW_ATTACHMENT_FROM_OSS","OPEN_IN_DRIVE","COPY_FOLDER_TREE","CHECK_FOLDER","MOVE_TO_DRIVE","COPY_TO_DRIVE","MOVE_TO_ANOTHER_LIBRARY","MOVE_TO_ANOTHER_CLASS","COPY_TO_ANOTHER_CLASS","COPY_ATTACHMENT","COPY_TO_ANOTHER_LIBRARY","EDIT_ATTACHMENT"],"uniqueKey":"templates.items.[INDEX].permittedOperations.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"templates.items.[INDEX].permittedOperations","typeLabel":"enum\u003cstring>[]"},"referenceCatalogs":{"type":"array","description":"The list of reference catalog fields which values (editable) will be used when creating a document using this template","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].mandatory","typeLabel":"boolean"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].readOnly","typeLabel":"boolean"},"referenceCatalog":{"type":"object","properties":{"createdAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was created (read-only field)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.createdAt","typeLabel":"integer\u003cint64>"},"id":{"type":"string","description":"The ID of the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"Ordered name of levels of the reference catalog","items":{"type":"string","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.levelNames","typeLabel":"string[]"},"modifiedAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was last modified (read-only field)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.modifiedAt","typeLabel":"integer\u003cint64>"},"name":{"type":"string","description":"The name of the reference catalog","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.name","typeLabel":"string"},"numberOfValues":{"type":"integer","format":"int32","description":"The number of values in the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.numberOfValues","typeLabel":"integer\u003cint32>"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog","typeLabel":"object"},"referenceCatalogId":{"type":"string","description":"The ID of the reference catalog","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalogId","typeLabel":"string"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of reference catalog values","items":{"type":"object","properties":{"deleted":{"type":"boolean","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].deleted","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].leaf","typeLabel":"boolean"},"name":{"type":"string","description":"The name","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].name_i18n","typeLabel":"string"},"parents":{"type":"array","items":{"$circularRef":"9ddb8dd5-ddcc-43e2-a328-c86c113f0964"},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].parents","typeLabel":"array"},"value":{"type":"string","description":"The value","uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX].values","typeLabel":"object[]"}},"uniqueKey":"templates.items.[INDEX].referenceCatalogs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].referenceCatalogs","typeLabel":"object[]"},"relatedDocuments":{"type":"object","description":"The map of related documents per relation.Target documents attached as relations on every document created from this template.","additionalProperties":{"type":"object","properties":{"customFromTitles":{"type":"array","description":"The corresponding custom title (if relation renderer enabled) for the related documents on FROM side (read-only field)","items":{"type":"object","properties":{"customHtmlTitle":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.customFromTitles.items.[INDEX].customHtmlTitle","typeLabel":"string"},"id":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.customFromTitles.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.customFromTitles.items.[INDEX].kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.customFromTitles.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.customFromTitles","typeLabel":"object[]"},"customToTitles":{"type":"array","description":"The corresponding custom title (if relation renderer enabled) for the related documents on TO side (read-only field)","items":{"type":"object","properties":{"customHtmlTitle":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.customToTitles.items.[INDEX].customHtmlTitle","typeLabel":"string"},"id":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.customToTitles.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.customToTitles.items.[INDEX].kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.customToTitles.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.customToTitles","typeLabel":"object[]"},"from":{"type":"array","description":"The list of related documents on FROM side","items":{"type":"object","properties":{"acl":{"type":"array","items":{"type":"object","properties":{"allow":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].acl.items.[INDEX].allow.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].acl.items.[INDEX].allow","typeLabel":"string[]"},"for":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].acl.items.[INDEX].for.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].acl.items.[INDEX].for","typeLabel":"string[]"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].acl.items.[INDEX].kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].acl.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].acl","typeLabel":"object[]"},"attachmentFields":{"type":"array","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].mandatory","typeLabel":"boolean"},"metadata":{"type":"object","properties":{"attachments":{"type":"array","items":{"type":"object","properties":{"drive":{"type":"object","properties":{"iconLink":{"type":"string","description":"The URL of the icon of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.iconLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.kind","typeLabel":"string"},"link":{"type":"string","description":"The URL to the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.link","typeLabel":"string"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive","typeLabel":"object[]"},"publishedLink":{"type":"string","description":"The URL of the file when published","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.publishedLink","typeLabel":"string"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.resourceKey","typeLabel":"string"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.revisionId","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive","typeLabel":"object"},"id":{"type":"string","description":"The ID the file as used on the storage type","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].kind","typeLabel":"string"},"mimeType":{"type":"string","description":"The MIME type of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].mimeType","typeLabel":"string"},"name":{"type":"string","description":"The name (title) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].name","typeLabel":"string"},"oss":{"type":"object","properties":{"downloadLink":{"type":"string","description":"The URL to download the OSS file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].oss.downloadLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].oss.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].oss","typeLabel":"object"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].size","typeLabel":"integer\u003cint64>"},"storageType":{"type":"string","description":"Where is the file stored? Either DRIVE (Google Drive), or OSS (AODocs Object Storage System)","enum":["OSS","DRIVE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].storageType","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments","typeLabel":"object[]"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].metadata","typeLabel":"object"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of values for the field","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX].values","typeLabel":"string[]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentFields","typeLabel":"object[]"},"attachments":{"type":"array","description":"The list of attachments","items":{"type":"object","properties":{"autodeskUrn":{"type":"object","properties":{"status":{"type":"string","enum":["READY","IN_PROGRESS","FAILED"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].autodeskUrn.status","typeLabel":"enum\u003cstring>"},"urn":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].autodeskUrn.urn","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].autodeskUrn","typeLabel":"object"},"fileId":{"type":"string","description":"The ID the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].fileId","typeLabel":"string"},"iconLink":{"type":"string","description":"The URL of the icon of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].iconLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].kind","typeLabel":"string"},"link":{"type":"string","description":"The URL to the file in Drive (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].link","typeLabel":"string"},"md5Checksum":{"type":"string","description":"The MD5 checksum of the file content (null for native Google files)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].md5Checksum","typeLabel":"string"},"mimeType":{"type":"string","description":"The MIME type of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].mimeType","typeLabel":"string"},"name":{"type":"string","description":"The name (title) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].name","typeLabel":"string"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive","typeLabel":"object[]"},"publishedLink":{"type":"string","description":"The URL of the file when published","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].publishedLink","typeLabel":"string"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].resourceKey","typeLabel":"string"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].revisionId","typeLabel":"string"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].size","typeLabel":"integer\u003cint64>"},"storageLocation":{"type":"string","description":"The storage location of the file. Possible values are 'DRIVE' and 'OSS' (read-only)","enum":["DRIVE","OSS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX].storageLocation","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachments","typeLabel":"object[]"},"attachmentsToCopy":{"type":"array","description":"The list of attachments to copy (for create/patch)","items":{"type":"object","properties":{"autodeskUrn":{"type":"object","properties":{"status":{"type":"string","enum":["READY","IN_PROGRESS","FAILED"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].autodeskUrn.status","typeLabel":"enum\u003cstring>"},"urn":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].autodeskUrn.urn","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].autodeskUrn","typeLabel":"object"},"fileId":{"type":"string","description":"The ID the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].fileId","typeLabel":"string"},"iconLink":{"type":"string","description":"The URL of the icon of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].iconLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].kind","typeLabel":"string"},"link":{"type":"string","description":"The URL to the file in Drive (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].link","typeLabel":"string"},"md5Checksum":{"type":"string","description":"The MD5 checksum of the file content (null for native Google files)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].md5Checksum","typeLabel":"string"},"mimeType":{"type":"string","description":"The MIME type of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].mimeType","typeLabel":"string"},"name":{"type":"string","description":"The name (title) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].name","typeLabel":"string"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive","typeLabel":"object[]"},"publishedLink":{"type":"string","description":"The URL of the file when published","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].publishedLink","typeLabel":"string"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].resourceKey","typeLabel":"string"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].revisionId","typeLabel":"string"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].size","typeLabel":"integer\u003cint64>"},"storageLocation":{"type":"string","description":"The storage location of the file. Possible values are 'DRIVE' and 'OSS' (read-only)","enum":["DRIVE","OSS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX].storageLocation","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].attachmentsToCopy","typeLabel":"object[]"},"categories":{"type":"array","description":"The list of category fields (only the values are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"categoryDefinition":{"type":"object","properties":{"description":{"type":"string","description":"The description of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.description","typeLabel":"string"},"dynamicValues":{"type":"boolean","description":"Whether the category authorizes dynamic values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.dynamicValues","typeLabel":"boolean"},"folder":{"type":"boolean","description":"Whether the category is the Folder category (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.folder","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"The name of the levels in the category","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames","typeLabel":"string[]"},"levelNames_i18n":{"type":"array","description":"The internationalized name of the levels in the category (read-only field)","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames_i18n.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames_i18n","typeLabel":"string[]"},"libraryId":{"type":"string","description":"The ID of the library","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.libraryId","typeLabel":"string"},"name":{"type":"string","description":"The name of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.name","typeLabel":"string"},"tags":{"type":"boolean","description":"Whether the category is the Tags category (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.tags","typeLabel":"boolean"},"value":{"type":"string","description":"The ID of the category (backward compatibility for category.category.listCategoryDefinitions)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryDefinition","typeLabel":"object"},"categoryValueMapping":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the mapping (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryValueMapping.displayName","typeLabel":"string"},"id":{"type":"string","description":"The ID of the category value mapping","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryValueMapping.id","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].categoryValueMapping","typeLabel":"object"},"definitionId":{"type":"string","description":"(Deprecated) The ID of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].definitionId","typeLabel":"string"},"definitionName":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].definitionName","typeLabel":"string"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].description_i18n","typeLabel":"string"},"dynamicValues":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].dynamicValues","typeLabel":"boolean"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].fieldName_i18n","typeLabel":"string"},"folder":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].folder","typeLabel":"boolean"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].kind","typeLabel":"string"},"levelNames":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].levelNames","typeLabel":"string[]"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].mandatory","typeLabel":"boolean"},"mappingSourceField":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].mappingSourceField.displayName","typeLabel":"string"},"id":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].mappingSourceField.id","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].mappingSourceField","typeLabel":"object"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of category values","items":{"type":"array","items":{"type":"object","properties":{"ancestors":{"type":"array","description":"Ancestor category values from direct parent to root - only present with loadCategoryValue","items":{"$circularRef":"9b308f87-7c8b-415b-a763-2534d3bea0cc"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].ancestors","typeLabel":"array"},"id":{"type":"string","description":"The ID of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","description":"Whether the category value is leaf","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].leaf","typeLabel":"boolean"},"leafInNotOutdatedTree":{"type":"boolean","description":"Whether the category value is leaf without not outdated child","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].leafInNotOutdatedTree","typeLabel":"boolean"},"name":{"type":"string","description":"The name of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name of the category value (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].name_i18n","typeLabel":"string"},"outdated":{"type":"boolean","description":"Whether the category value is marked as outdated","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].outdated","typeLabel":"boolean"},"parentId":{"type":"string","description":"The ID of the parent category value (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].parentId","typeLabel":"string"},"shortName":{"type":"string","description":"The short name of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].shortName","typeLabel":"string"},"value":{"type":"string","description":"(Deprecated) The ID of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values.items.[INDEX]","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX].values","typeLabel":"object[][]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].categories","typeLabel":"object[]"},"checkOutBy":{"type":"string","description":"The email of the user who checked-out the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].checkOutBy","typeLabel":"string"},"checkoutDate":{"type":"string","description":"The time at which the document was checked-out (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].checkoutDate","typeLabel":"string"},"classId":{"type":"string","description":"The ID of the class of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].className","typeLabel":"string"},"className_i18n":{"type":"string","description":"The internationalized name of the class of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].className_i18n","typeLabel":"string"},"coordinate":{"type":"string","description":"The coordinate of the sequence for the document (\u003clibrarySequenceId>.\u003cdocumentClassSequenceId>.\u003cdocumentSequenceId>[.\u003cversionSequenceId>]) (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].coordinate","typeLabel":"string"},"creationDate":{"type":"string","description":"The time at which the document was created (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].creationDate","typeLabel":"string"},"deleteAuthor":{"type":"string","description":"The email of the user who deleted the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].deleteAuthor","typeLabel":"string"},"deleted":{"type":"boolean","description":"Whether the document is deleted (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].deleted","typeLabel":"boolean"},"deletedReason":{"type":"string","description":"The reason for deleting the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].deletedReason","typeLabel":"string"},"deletionDate":{"type":"string","description":"The time at which the document was deleted (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].deletionDate","typeLabel":"string"},"domainName":{"type":"string","description":"The name of the domain (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].domainName","typeLabel":"string"},"driveOnlyPermissions":{"type":"array","description":"The list of additional permissions configured in Secured Folder libraries","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].driveOnlyPermissions","typeLabel":"object[]"},"editable":{"type":"boolean","description":"Whether the current user can edit the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].editable","typeLabel":"boolean"},"evaluationError":{"type":"boolean","description":"Whether there is an evaluation error on at least one field of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].evaluationError","typeLabel":"boolean"},"externalSource":{"type":"object","properties":{"displayName":{"type":"string","description":"The text displayed for the external source link.","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].externalSource.displayName","typeLabel":"string"},"url":{"type":"string","description":"The URL of the external source. Must be non-null and non-empty when clear is false.","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].externalSource.url","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].externalSource","typeLabel":"object"},"fields":{"type":"array","description":"The list of native fields (values and metadata are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].mandatory","typeLabel":"boolean"},"metadata":{"type":"object","properties":{"attachments":{"type":"array","items":{"type":"object","properties":{"drive":{"type":"object","properties":{"iconLink":{"type":"string","description":"The URL of the icon of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.iconLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.kind","typeLabel":"string"},"link":{"type":"string","description":"The URL to the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.link","typeLabel":"string"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive","typeLabel":"object[]"},"publishedLink":{"type":"string","description":"The URL of the file when published","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.publishedLink","typeLabel":"string"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.resourceKey","typeLabel":"string"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.revisionId","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive","typeLabel":"object"},"id":{"type":"string","description":"The ID the file as used on the storage type","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].kind","typeLabel":"string"},"mimeType":{"type":"string","description":"The MIME type of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].mimeType","typeLabel":"string"},"name":{"type":"string","description":"The name (title) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].name","typeLabel":"string"},"oss":{"type":"object","properties":{"downloadLink":{"type":"string","description":"The URL to download the OSS file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].oss.downloadLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].oss.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].oss","typeLabel":"object"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].size","typeLabel":"integer\u003cint64>"},"storageType":{"type":"string","description":"Where is the file stored? Either DRIVE (Google Drive), or OSS (AODocs Object Storage System)","enum":["OSS","DRIVE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].storageType","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.attachments","typeLabel":"object[]"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].metadata","typeLabel":"object"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of values for the field","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX].values","typeLabel":"string[]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fields","typeLabel":"object[]"},"folders":{"type":"array","description":"The location of the document (folder path as list of folders)","items":{"type":"object","properties":{"editable":{"type":"boolean","description":"Whether the folder is editable by the current user (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].editable","typeLabel":"boolean"},"editableDocuments":{"type":"boolean","description":"Whether the documents in the folder are editable by the current user (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].editableDocuments","typeLabel":"boolean"},"fileId":{"type":"string","description":"The ID of the folder in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].fileId","typeLabel":"string"},"folderAodocsId":{"type":"string","description":"The ID of the folder in AODocs model (0 if root folder)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].folderAodocsId","typeLabel":"string"},"folderDefinitionId":{"type":"string","description":"(Deprecated) The ID of the folder configuration","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].folderDefinitionId","typeLabel":"string"},"folderIsRoot":{"type":"boolean","description":"Whether the folder is the root folder (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].folderIsRoot","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].kind","typeLabel":"string"},"libraryId":{"type":"string","description":"The ID of the library","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].libraryId","typeLabel":"string"},"libraryName":{"type":"string","description":"The name of the library","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].libraryName","typeLabel":"string"},"name":{"type":"string","description":"The name of the folder","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].name","typeLabel":"string"},"parentFolderAodocsId":{"type":"string","description":"The ID of the parent folder in AODocs model (0 if root folder)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].parentFolderAodocsId","typeLabel":"string"},"parentFolderDriveId":{"type":"string","description":"The ID of the parent folder in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].parentFolderDriveId","typeLabel":"string"},"parentFolderIsRoot":{"type":"boolean","description":"Whether the parent folder is the root folder (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].parentFolderIsRoot","typeLabel":"boolean"},"permittedOperations":{"type":"array","description":"The list of permitted operations to the current user (read-only field)","items":{"type":"string","enum":["DELETE","RENAME","MODIFY_ACL","VIEW_ACL","MOVE_TO_ANOTHER_FOLDER","EXPORT","EDIT_PROPERTIES","COPY","CREATE_COPY_FROM","EXPORT_COPY","CREATE_NEW_VERSION","ATTACHMENT_VERSION_REPLACE","ATTACHMENT_VERSION_CREATE","ADD_NEW_ATTACHMENT_FROM_DRIVE","ATTACH_ENCRYPTED_FILE","OPEN_IN_OFFICE","PUBLISH","UNPUBLISH","RESTORE_REVISION","REVERT_TO_THIS_REVISION","CREATE_RELATED_DOCUMENT","DOWNLOAD","DOWNLOAD_ATTACHMENT","NOTIFY_USERS","CHECK_IN","CHECK_OUT","DISCARD_CHECKOUT","FORCE_DISCARD_CHECKOUT","EDIT_TAGS","PERFORM_HUMAN_WORKFLOW_ACTIONS","VIEW_DRAFT","SHARE_PUBLICLY","VIEW_HISTORY","VIEW_VERSIONS","ADD_COMMENT","SET_TEMPLATE_AS_DEFAULT","SET_TEMPLATE_VISIBILITY_SCOPE","DELETE_COMMENT","KNOW_DRAFT","FORCE_PARALLEL_TRANSITION","CHANGE_WORKFLOW_STATE_DIRECTLY","SEE_HIDDEN_FIELDS","VIEW_TRASHED_ITEM","UNTRASH","PERMANENTLY_DELETE","VIEW_DRIVEONLY_ACL","MODIFY_DRIVEONLY_ACL","NON_GOOGLE_USERS_SUPPORT","SUPPORTS_LIVE_EVALUATION","ALLOWLIST_NOT_ENFORCED","CREATE_SUBFOLDER","CREATE_DOCUMENT_IN_THIS_FOLDER","IMPORT_FOLDERS_FROM_DRIVE_TO_THIS_FOLDER","ADD_NEW_ATTACHMENT_FROM_OSS","OPEN_IN_DRIVE","COPY_FOLDER_TREE","CHECK_FOLDER","MOVE_TO_DRIVE","COPY_TO_DRIVE","MOVE_TO_ANOTHER_LIBRARY","MOVE_TO_ANOTHER_CLASS","COPY_TO_ANOTHER_CLASS","COPY_ATTACHMENT","COPY_TO_ANOTHER_LIBRARY","EDIT_ATTACHMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].permittedOperations.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].permittedOperations","typeLabel":"enum\u003cstring>[]"},"resourceKey":{"type":"string","description":"A folder that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].resourceKey","typeLabel":"string"},"restrictedDownload":{"type":"boolean","description":"Whether the documents in the folder are marked as restricted to download, copy and print (for the readers)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].restrictedDownload","typeLabel":"boolean"},"subfolders":{"type":"array","description":"The list of subfolders","items":{"$circularRef":"afc56d6c-86c5-48e8-ab5c-59dc6fc1a03b"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX].subfolders","typeLabel":"array"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].folders","typeLabel":"object[]"},"forbiddenOperations":{"type":"object","description":"The map of the forbidden operations to the current user and the reasons why they are forbidden (read-only field)","additionalProperties":{"type":"array","items":{"type":"object","properties":{"localizedMessage":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].forbiddenOperations.additionalProperties.items.[INDEX].localizedMessage","typeLabel":"string"},"reason":{"type":"string","enum":["MANDATORY_CHECKOUT","PROTECTED_BY_CHECKOUT","MISSING_MANDATORY_FIELD","INCORRECT_FIELD_VALUES","CHECKED_OUT_IN_NORMAL_STATE","CONTAINS_ATTACHMENT","HAS_FOLDER","IS_DEFAULT_TEMPLATE","IS_HIDDEN","DOCUMENT_IS_DELETED","PERMISSION_NEEDED","CSE_ENCRYPTED_ATTACHMENT","THIRD_PARTY_SHORTCUT","DRIVEONLY_PERMISSIONS_NOT_SUPPORTED"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].forbiddenOperations.additionalProperties.items.[INDEX].reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].forbiddenOperations.additionalProperties.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].forbiddenOperations.additionalProperties","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].forbiddenOperations","typeLabel":"object"},"fullSizeOfAttachments":{"type":"integer","format":"int64","description":"The summed size (in octet) of the attachments (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].fullSizeOfAttachments","typeLabel":"integer\u003cint64>"},"iconLink":{"type":"string","description":"The link to the icon relative to the attachment (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].iconLink","typeLabel":"string"},"id":{"type":"string","description":"The ID of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].id","typeLabel":"string"},"incomplete":{"type":"boolean","description":"Whether there are missing mandatory fields on the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].incomplete","typeLabel":"boolean"},"initialAuthor":{"type":"string","description":"The email of the user who created the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].initialAuthor","typeLabel":"string"},"internalMetadata":{"type":"object","description":"Technical metadata set by AODocs internal services (read-only field, only writable through the restricted internal metadata API)","additionalProperties":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].internalMetadata.additionalProperties.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].internalMetadata.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].internalMetadata","typeLabel":"object"},"invalidValues":{"type":"boolean","description":"Whether there are invalid values for fields of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].invalidValues","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].kind","typeLabel":"string"},"libraryId":{"type":"string","description":"The ID of the library (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].libraryId","typeLabel":"string"},"libraryName":{"type":"string","description":"The name of the library (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].libraryName","typeLabel":"string"},"modificationDate":{"type":"string","description":"The time at which the document was last modified (read-only field after document creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].modificationDate","typeLabel":"string"},"newPermissions":{"type":"array","description":"The new permissions to apply","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].newPermissions","typeLabel":"object[]"},"nextVersionName":{"type":"string","description":"The next version name (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].nextVersionName","typeLabel":"string"},"numberOfAttachments":{"type":"integer","format":"int32","description":"The number of attachments in the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].numberOfAttachments","typeLabel":"integer\u003cint32>"},"onlyAdminCanChangeAcl":{"type":"boolean","description":"Whether only administrators can modify the permissions of the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].onlyAdminCanChangeAcl","typeLabel":"boolean"},"onlyAdminCanDelete":{"type":"boolean","description":"Whether only administrators can be delete the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].onlyAdminCanDelete","typeLabel":"boolean"},"originalVersionId":{"type":"string","description":"Id of the original version if this version was created by restoring a previous version, otherwise null","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].originalVersionId","typeLabel":"string"},"permissions":{"type":"array","description":"The list of permissions relative to the document","items":{"type":"object","properties":{"fieldNames":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX].fieldNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX].fieldNames","typeLabel":"string[]"},"inherited":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX].inherited","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX].name","typeLabel":"string"},"right":{"type":"string","enum":["NONE","READER","COMMENTER","ATTACHMENT_EDITOR","WRITER","ADMIN","SUPER_ADMIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX].right","typeLabel":"enum\u003cstring>"},"roleNames":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX].roleNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX].roleNames","typeLabel":"string[]"},"thumbnailPhotoUrl":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","enum":["USER","GROUP","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permissions","typeLabel":"object[]"},"permittedOperations":{"type":"array","description":"The list of permitted operations to the current user (read-only field)","items":{"type":"string","enum":["DELETE","RENAME","MODIFY_ACL","VIEW_ACL","MOVE_TO_ANOTHER_FOLDER","EXPORT","EDIT_PROPERTIES","COPY","CREATE_COPY_FROM","EXPORT_COPY","CREATE_NEW_VERSION","ATTACHMENT_VERSION_REPLACE","ATTACHMENT_VERSION_CREATE","ADD_NEW_ATTACHMENT_FROM_DRIVE","ATTACH_ENCRYPTED_FILE","OPEN_IN_OFFICE","PUBLISH","UNPUBLISH","RESTORE_REVISION","REVERT_TO_THIS_REVISION","CREATE_RELATED_DOCUMENT","DOWNLOAD","DOWNLOAD_ATTACHMENT","NOTIFY_USERS","CHECK_IN","CHECK_OUT","DISCARD_CHECKOUT","FORCE_DISCARD_CHECKOUT","EDIT_TAGS","PERFORM_HUMAN_WORKFLOW_ACTIONS","VIEW_DRAFT","SHARE_PUBLICLY","VIEW_HISTORY","VIEW_VERSIONS","ADD_COMMENT","SET_TEMPLATE_AS_DEFAULT","SET_TEMPLATE_VISIBILITY_SCOPE","DELETE_COMMENT","KNOW_DRAFT","FORCE_PARALLEL_TRANSITION","CHANGE_WORKFLOW_STATE_DIRECTLY","SEE_HIDDEN_FIELDS","VIEW_TRASHED_ITEM","UNTRASH","PERMANENTLY_DELETE","VIEW_DRIVEONLY_ACL","MODIFY_DRIVEONLY_ACL","NON_GOOGLE_USERS_SUPPORT","SUPPORTS_LIVE_EVALUATION","ALLOWLIST_NOT_ENFORCED","CREATE_SUBFOLDER","CREATE_DOCUMENT_IN_THIS_FOLDER","IMPORT_FOLDERS_FROM_DRIVE_TO_THIS_FOLDER","ADD_NEW_ATTACHMENT_FROM_OSS","OPEN_IN_DRIVE","COPY_FOLDER_TREE","CHECK_FOLDER","MOVE_TO_DRIVE","COPY_TO_DRIVE","MOVE_TO_ANOTHER_LIBRARY","MOVE_TO_ANOTHER_CLASS","COPY_TO_ANOTHER_CLASS","COPY_ATTACHMENT","COPY_TO_ANOTHER_LIBRARY","EDIT_ATTACHMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permittedOperations.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].permittedOperations","typeLabel":"enum\u003cstring>[]"},"publishedLink":{"type":"string","description":"The link of the publication for mono-attachment documents","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].publishedLink","typeLabel":"string"},"publishedMode":{"type":"string","description":"The publication mode (NONE, DOMAIN, EVERYONE) for mono-attachment documents","enum":["NONE","DOMAIN","EVERYONE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].publishedMode","typeLabel":"enum\u003cstring>"},"referenceCatalogs":{"type":"array","description":"The list of reference catalog fields (only the values are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].mandatory","typeLabel":"boolean"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].readOnly","typeLabel":"boolean"},"referenceCatalog":{"type":"object","properties":{"createdAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was created (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.createdAt","typeLabel":"integer\u003cint64>"},"id":{"type":"string","description":"The ID of the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"Ordered name of levels of the reference catalog","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.levelNames","typeLabel":"string[]"},"modifiedAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was last modified (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.modifiedAt","typeLabel":"integer\u003cint64>"},"name":{"type":"string","description":"The name of the reference catalog","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.name","typeLabel":"string"},"numberOfValues":{"type":"integer","format":"int32","description":"The number of values in the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.numberOfValues","typeLabel":"integer\u003cint32>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog","typeLabel":"object"},"referenceCatalogId":{"type":"string","description":"The ID of the reference catalog","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalogId","typeLabel":"string"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of reference catalog values","items":{"type":"object","properties":{"deleted":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].deleted","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].leaf","typeLabel":"boolean"},"name":{"type":"string","description":"The name","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].name_i18n","typeLabel":"string"},"parents":{"type":"array","items":{"$circularRef":"9ddb8dd5-ddcc-43e2-a328-c86c113f0964"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].parents","typeLabel":"array"},"value":{"type":"string","description":"The value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX].values","typeLabel":"object[]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].referenceCatalogs","typeLabel":"object[]"},"relatedDocuments":{"type":"object","description":"The map of related documents per relation","additionalProperties":{"$circularRef":"b989f6d0-b70f-4bd6-8e20-48043dc0087d"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].relatedDocuments","typeLabel":"object"},"restrictedDownload":{"type":"boolean","description":"Whether the flag controlling whether reader users can download, copy or print the document is enabled.","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].restrictedDownload","typeLabel":"boolean"},"richText":{"type":"string","description":"The description of the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].richText","typeLabel":"string"},"sections":{"type":"array","description":"The sections in which fields are organized (read-only field)","items":{"type":"object","properties":{"columnCount":{"type":"integer","format":"int32","description":"The number of columns to display fields for this section.","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sections.items.[INDEX].columnCount","typeLabel":"integer\u003cint32>"},"description":{"type":"string","description":"The description of the section","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sections.items.[INDEX].description","typeLabel":"string"},"fields":{"type":"array","description":"The list of fields in the section","items":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sections.items.[INDEX].fields.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","description":"The type of the field (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sections.items.[INDEX].fields.items.[INDEX].type","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sections.items.[INDEX].fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sections.items.[INDEX].fields","typeLabel":"object[]"},"id":{"type":"string","description":"The ID of the section (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sections.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"The name of the section","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sections.items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name of the section (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sections.items.[INDEX].name_i18n","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sections.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sections","typeLabel":"object[]"},"sequenceId":{"type":"integer","format":"int64","description":"The sequence ID of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].sequenceId","typeLabel":"integer\u003cint64>"},"setModifiedDate":{"type":"boolean","description":"Whether to set the date of last modification","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].setModifiedDate","typeLabel":"boolean"},"similarDocuments":{"type":"array","description":"Represents a document identified as similar/duplicate with its associated metadata and similarity information","items":{"type":"object","properties":{"absoluteDuplicatesOnly":{"type":"boolean","description":"Flag indicating that only exact duplicate documents are considered","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].absoluteDuplicatesOnly","typeLabel":"boolean"},"attachmentId":{"type":"string","description":"Unique identifier of the attachment associated with the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].attachmentId","typeLabel":"string"},"attachmentLink":{"type":"string","description":"Direct link to download or access the attachment","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].attachmentLink","typeLabel":"string"},"attachmentMimeType":{"type":"string","description":"MIME type of the attachment","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].attachmentMimeType","typeLabel":"string"},"attachmentName":{"type":"string","description":"Name of the attachment file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].attachmentName","typeLabel":"string"},"documentId":{"type":"string","description":"Unique identifier of the similar document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].documentId","typeLabel":"string"},"documentLink":{"type":"string","description":"Direct link to access the similar document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].documentLink","typeLabel":"string"},"documentTitle":{"type":"string","description":"Title of the similar document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].documentTitle","typeLabel":"string"},"libraryId":{"type":"string","description":"Unique identifier of the library where the similar document is located","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].libraryId","typeLabel":"string"},"locationInfo":{"type":"string","description":"Information about where the similar content is located within the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].locationInfo","typeLabel":"string"},"locationType":{"type":"string","description":"Type of location reference","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].locationType","typeLabel":"string"},"quotedText":{"type":"string","description":"Extract of the text that was used to determine similarity","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].quotedText","typeLabel":"string"},"similarityScore":{"type":"number","format":"double","description":"Similarity score between the documents","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX].similarityScore","typeLabel":"number\u003cdouble>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].similarDocuments","typeLabel":"object[]"},"state":{"type":"string","description":"The name of the workflow state (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].state","typeLabel":"string"},"stateChangeAuthors":{"type":"array","description":"The person(s) who were involved in the last workflow state change (read-only field)","items":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateChangeAuthors.items.[INDEX].classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateChangeAuthors.items.[INDEX].className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateChangeAuthors.items.[INDEX].description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateChangeAuthors.items.[INDEX].displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateChangeAuthors.items.[INDEX].displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateChangeAuthors.items.[INDEX].thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateChangeAuthors.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateChangeAuthors.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateChangeAuthors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateChangeAuthors","typeLabel":"object[]"},"stateChangeDate":{"type":"string","format":"date-time","description":"The date at which the document last changed of workflow state (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateChangeDate","typeLabel":"string\u003cdate-time>"},"stateId":{"type":"string","description":"The ID of the workflow state","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].stateId","typeLabel":"string"},"state_i18n":{"type":"string","description":"The internationalized name of the workflow state (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].state_i18n","typeLabel":"string"},"systemFields":{"type":"array","description":"The list of system fields (only the values are editable)","items":{"type":"object","properties":{"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"displayName":{"type":"string","description":"The internationalized name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].displayName","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].editable","typeLabel":"boolean"},"fieldMetadata":{"type":"object","description":"Additional metadata associated with the field","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].fieldMetadata","typeLabel":"object"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].hidden","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the system field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].kind","typeLabel":"string"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].mandatory","typeLabel":"boolean"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].readOnly","typeLabel":"boolean"},"value":{"type":"string","description":"The value of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].systemFields","typeLabel":"object[]"},"tableFields":{"type":"array","description":"The list of table fields (only the values are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"columns":{"type":"array","description":"The columns definition of the table (read-only)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"categoryDefinition":{"type":"object","properties":{"description":{"type":"string","description":"The description of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.description","typeLabel":"string"},"dynamicValues":{"type":"boolean","description":"Whether the category authorizes dynamic values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.dynamicValues","typeLabel":"boolean"},"folder":{"type":"boolean","description":"Whether the category is the Folder category (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.folder","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"The name of the levels in the category","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames","typeLabel":"string[]"},"levelNames_i18n":{"type":"array","description":"The internationalized name of the levels in the category (read-only field)","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames_i18n.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames_i18n","typeLabel":"string[]"},"libraryId":{"type":"string","description":"The ID of the library","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.libraryId","typeLabel":"string"},"name":{"type":"string","description":"The name of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.name","typeLabel":"string"},"tags":{"type":"boolean","description":"Whether the category is the Tags category (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.tags","typeLabel":"boolean"},"value":{"type":"string","description":"The ID of the category (backward compatibility for category.category.listCategoryDefinitions)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].mandatory","typeLabel":"boolean"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].readOnly","typeLabel":"boolean"},"referenceCatalogDefinition":{"type":"object","properties":{"createdAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was created (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.createdAt","typeLabel":"integer\u003cint64>"},"id":{"type":"string","description":"The ID of the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"Ordered name of levels of the reference catalog","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.levelNames","typeLabel":"string[]"},"modifiedAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was last modified (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.modifiedAt","typeLabel":"integer\u003cint64>"},"name":{"type":"string","description":"The name of the reference catalog","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.name","typeLabel":"string"},"numberOfValues":{"type":"integer","format":"int32","description":"The number of values in the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.numberOfValues","typeLabel":"integer\u003cint32>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition","typeLabel":"object"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].columns","typeLabel":"object[]"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].mandatory","typeLabel":"boolean"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The values (organized as rows) contained in the table","items":{"type":"object","properties":{"categories":{"type":"object","description":"Cells of type category","additionalProperties":{"type":"array","items":{"type":"array","items":{"type":"object","properties":{"ancestors":{"type":"array","description":"Ancestor category values from direct parent to root - only present with loadCategoryValue","items":{"$circularRef":"9b308f87-7c8b-415b-a763-2534d3bea0cc"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].ancestors","typeLabel":"array"},"id":{"type":"string","description":"The ID of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","description":"Whether the category value is leaf","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].leaf","typeLabel":"boolean"},"leafInNotOutdatedTree":{"type":"boolean","description":"Whether the category value is leaf without not outdated child","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].leafInNotOutdatedTree","typeLabel":"boolean"},"name":{"type":"string","description":"The name of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name of the category value (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].name_i18n","typeLabel":"string"},"outdated":{"type":"boolean","description":"Whether the category value is marked as outdated","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].outdated","typeLabel":"boolean"},"parentId":{"type":"string","description":"The ID of the parent category value (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].parentId","typeLabel":"string"},"shortName":{"type":"string","description":"The short name of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].shortName","typeLabel":"string"},"value":{"type":"string","description":"(Deprecated) The ID of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX]","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties","typeLabel":"object[][]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories","typeLabel":"object"},"fieldMetadata":{"type":"object","description":"Additional metadata associated with each column field, keyed by column field id","additionalProperties":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fieldMetadata.additionalProperties.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fieldMetadata","typeLabel":"object"},"fields":{"type":"object","description":"Cells of static type","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fields.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fields.additionalProperties","typeLabel":"string[]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fields","typeLabel":"object"},"referenceCatalogs":{"type":"object","description":"Cells of type reference catalog","additionalProperties":{"type":"array","items":{"type":"object","properties":{"deleted":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].deleted","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].leaf","typeLabel":"boolean"},"name":{"type":"string","description":"The name","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].name_i18n","typeLabel":"string"},"parents":{"type":"array","items":{"$circularRef":"9ddb8dd5-ddcc-43e2-a328-c86c113f0964"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].parents","typeLabel":"array"},"value":{"type":"string","description":"The value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs","typeLabel":"object"},"rowId":{"type":"string","description":"Unique id of the current row","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].rowId","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX].values","typeLabel":"object[]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].tableFields","typeLabel":"object[]"},"templateDocumentId":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].templateDocumentId","typeLabel":"string"},"title":{"type":"string","description":"The title of the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].title","typeLabel":"string"},"updateAuthor":{"type":"string","description":"The email of the user who last modified the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].updateAuthor","typeLabel":"string"},"updateTokenId":{"type":"string","description":"An opaque version token for optimistic concurrency. Returned as the ETag response header on load; echo it back in the If-Match request header on patch to be rejected with 412 if the document changed meanwhile (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].updateTokenId","typeLabel":"string"},"userCanChangeAcl":{"type":"boolean","description":"Whether the current user can modify the permissions (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].userCanChangeAcl","typeLabel":"boolean"},"userCanChangeProperties":{"type":"boolean","description":"Whether the current user can modify the properties (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].userCanChangeProperties","typeLabel":"boolean"},"userCanDelete":{"type":"boolean","description":"Whether the current user can delete the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].userCanDelete","typeLabel":"boolean"},"userMapping":{"type":"object","description":"The mapping between user email and user profile (read-only field)","additionalProperties":{"type":"object","properties":{"email":{"type":"string","description":"The email of the user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].userMapping.additionalProperties.email","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].userMapping.additionalProperties.kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name of the user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].userMapping.additionalProperties.name","typeLabel":"string"},"nonGoogle":{"type":"boolean","description":"This user is not a google user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].userMapping.additionalProperties.nonGoogle","typeLabel":"boolean"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture of the user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].userMapping.additionalProperties.thumbnailPictureUrl","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].userMapping.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].userMapping","typeLabel":"object"},"versionCreated":{"type":"string","format":"date-time","description":"The time at which the version was created (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].versionCreated","typeLabel":"string\u003cdate-time>"},"versionCreator":{"type":"string","description":"The email of the user who created the version (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].versionCreator","typeLabel":"string"},"versionDescription":{"type":"string","description":"The description of the current version of the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].versionDescription","typeLabel":"string"},"versionId":{"type":"string","description":"The ID of the version (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].versionId","typeLabel":"string"},"versionLabel":{"type":"string","description":"(Deprecated) The description of the version (replaced by versionDescription)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].versionLabel","typeLabel":"string"},"versionName":{"type":"string","description":"The name of the current version of the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].versionName","typeLabel":"string"},"versionNumber":{"type":"string","description":"(Deprecated) The number of the version (replaced by versionName)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].versionNumber","typeLabel":"string"},"viewConfiguration":{"type":"object","properties":{"defaultTabToDisplay":{"type":"string","description":"The tab to display when open the document","enum":["PROPERTIES","FIRST_ATTACHMENT","SPLIT","FILE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].viewConfiguration.defaultTabToDisplay","typeLabel":"enum\u003cstring>"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].viewConfiguration.kind","typeLabel":"string"},"orientation":{"type":"string","description":"The orientation to display the document (PORTRAIT or LANDSCAPE)","enum":["PORTRAIT","LANDSCAPE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].viewConfiguration.orientation","typeLabel":"enum\u003cstring>"},"visibleRelations":{"type":"array","description":"The list of ordered relations to display in the Relations section","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].viewConfiguration.visibleRelations.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].viewConfiguration.visibleRelations","typeLabel":"string[]"},"visibleSections":{"type":"array","description":"The list of ordered sections to display","items":{"type":"string","enum":["INFO","WORKFLOW","PROPERTIES","ATTACHMENTS","RELATIONS","DESCRIPTION"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].viewConfiguration.visibleSections.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].viewConfiguration.visibleSections","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].viewConfiguration","typeLabel":"object"},"workflowId":{"type":"string","description":"The ID of the workflow related to the class of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX].workflowId","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.from","typeLabel":"object[]"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.kind","typeLabel":"string"},"relationId":{"type":"string","description":"The ID of the relation","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.relationId","typeLabel":"string"},"to":{"type":"array","description":"The list of related documents on TO side","items":{"type":"object","properties":{"acl":{"type":"array","items":{"type":"object","properties":{"allow":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].acl.items.[INDEX].allow.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].acl.items.[INDEX].allow","typeLabel":"string[]"},"for":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].acl.items.[INDEX].for.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].acl.items.[INDEX].for","typeLabel":"string[]"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].acl.items.[INDEX].kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].acl.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].acl","typeLabel":"object[]"},"attachmentFields":{"type":"array","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].mandatory","typeLabel":"boolean"},"metadata":{"type":"object","properties":{"attachments":{"type":"array","items":{"type":"object","properties":{"drive":{"type":"object","properties":{"iconLink":{"type":"string","description":"The URL of the icon of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.iconLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.kind","typeLabel":"string"},"link":{"type":"string","description":"The URL to the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.link","typeLabel":"string"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive","typeLabel":"object[]"},"publishedLink":{"type":"string","description":"The URL of the file when published","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.publishedLink","typeLabel":"string"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.resourceKey","typeLabel":"string"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive.revisionId","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].drive","typeLabel":"object"},"id":{"type":"string","description":"The ID the file as used on the storage type","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].kind","typeLabel":"string"},"mimeType":{"type":"string","description":"The MIME type of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].mimeType","typeLabel":"string"},"name":{"type":"string","description":"The name (title) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].name","typeLabel":"string"},"oss":{"type":"object","properties":{"downloadLink":{"type":"string","description":"The URL to download the OSS file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].oss.downloadLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].oss.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].oss","typeLabel":"object"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].size","typeLabel":"integer\u003cint64>"},"storageType":{"type":"string","description":"Where is the file stored? Either DRIVE (Google Drive), or OSS (AODocs Object Storage System)","enum":["OSS","DRIVE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX].storageType","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.attachments","typeLabel":"object[]"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].metadata","typeLabel":"object"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of values for the field","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX].values","typeLabel":"string[]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentFields","typeLabel":"object[]"},"attachments":{"type":"array","description":"The list of attachments","items":{"type":"object","properties":{"autodeskUrn":{"type":"object","properties":{"status":{"type":"string","enum":["READY","IN_PROGRESS","FAILED"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].autodeskUrn.status","typeLabel":"enum\u003cstring>"},"urn":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].autodeskUrn.urn","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].autodeskUrn","typeLabel":"object"},"fileId":{"type":"string","description":"The ID the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].fileId","typeLabel":"string"},"iconLink":{"type":"string","description":"The URL of the icon of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].iconLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].kind","typeLabel":"string"},"link":{"type":"string","description":"The URL to the file in Drive (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].link","typeLabel":"string"},"md5Checksum":{"type":"string","description":"The MD5 checksum of the file content (null for native Google files)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].md5Checksum","typeLabel":"string"},"mimeType":{"type":"string","description":"The MIME type of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].mimeType","typeLabel":"string"},"name":{"type":"string","description":"The name (title) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].name","typeLabel":"string"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].permissionsOnDrive","typeLabel":"object[]"},"publishedLink":{"type":"string","description":"The URL of the file when published","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].publishedLink","typeLabel":"string"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].resourceKey","typeLabel":"string"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].revisionId","typeLabel":"string"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].size","typeLabel":"integer\u003cint64>"},"storageLocation":{"type":"string","description":"The storage location of the file. Possible values are 'DRIVE' and 'OSS' (read-only)","enum":["DRIVE","OSS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX].storageLocation","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachments","typeLabel":"object[]"},"attachmentsToCopy":{"type":"array","description":"The list of attachments to copy (for create/patch)","items":{"type":"object","properties":{"autodeskUrn":{"type":"object","properties":{"status":{"type":"string","enum":["READY","IN_PROGRESS","FAILED"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].autodeskUrn.status","typeLabel":"enum\u003cstring>"},"urn":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].autodeskUrn.urn","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].autodeskUrn","typeLabel":"object"},"fileId":{"type":"string","description":"The ID the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].fileId","typeLabel":"string"},"iconLink":{"type":"string","description":"The URL of the icon of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].iconLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].kind","typeLabel":"string"},"link":{"type":"string","description":"The URL to the file in Drive (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].link","typeLabel":"string"},"md5Checksum":{"type":"string","description":"The MD5 checksum of the file content (null for native Google files)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].md5Checksum","typeLabel":"string"},"mimeType":{"type":"string","description":"The MIME type of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].mimeType","typeLabel":"string"},"name":{"type":"string","description":"The name (title) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].name","typeLabel":"string"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].permissionsOnDrive","typeLabel":"object[]"},"publishedLink":{"type":"string","description":"The URL of the file when published","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].publishedLink","typeLabel":"string"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].resourceKey","typeLabel":"string"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].revisionId","typeLabel":"string"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].size","typeLabel":"integer\u003cint64>"},"storageLocation":{"type":"string","description":"The storage location of the file. Possible values are 'DRIVE' and 'OSS' (read-only)","enum":["DRIVE","OSS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX].storageLocation","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].attachmentsToCopy","typeLabel":"object[]"},"categories":{"type":"array","description":"The list of category fields (only the values are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"categoryDefinition":{"type":"object","properties":{"description":{"type":"string","description":"The description of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.description","typeLabel":"string"},"dynamicValues":{"type":"boolean","description":"Whether the category authorizes dynamic values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.dynamicValues","typeLabel":"boolean"},"folder":{"type":"boolean","description":"Whether the category is the Folder category (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.folder","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"The name of the levels in the category","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames","typeLabel":"string[]"},"levelNames_i18n":{"type":"array","description":"The internationalized name of the levels in the category (read-only field)","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames_i18n.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.levelNames_i18n","typeLabel":"string[]"},"libraryId":{"type":"string","description":"The ID of the library","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.libraryId","typeLabel":"string"},"name":{"type":"string","description":"The name of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.name","typeLabel":"string"},"tags":{"type":"boolean","description":"Whether the category is the Tags category (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.tags","typeLabel":"boolean"},"value":{"type":"string","description":"The ID of the category (backward compatibility for category.category.listCategoryDefinitions)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryDefinition","typeLabel":"object"},"categoryValueMapping":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the mapping (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryValueMapping.displayName","typeLabel":"string"},"id":{"type":"string","description":"The ID of the category value mapping","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryValueMapping.id","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].categoryValueMapping","typeLabel":"object"},"definitionId":{"type":"string","description":"(Deprecated) The ID of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].definitionId","typeLabel":"string"},"definitionName":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].definitionName","typeLabel":"string"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].description_i18n","typeLabel":"string"},"dynamicValues":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].dynamicValues","typeLabel":"boolean"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].fieldName_i18n","typeLabel":"string"},"folder":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].folder","typeLabel":"boolean"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].kind","typeLabel":"string"},"levelNames":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].levelNames","typeLabel":"string[]"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].mandatory","typeLabel":"boolean"},"mappingSourceField":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].mappingSourceField.displayName","typeLabel":"string"},"id":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].mappingSourceField.id","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].mappingSourceField","typeLabel":"object"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of category values","items":{"type":"array","items":{"type":"object","properties":{"ancestors":{"type":"array","description":"Ancestor category values from direct parent to root - only present with loadCategoryValue","items":{"$circularRef":"9b308f87-7c8b-415b-a763-2534d3bea0cc"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].ancestors","typeLabel":"array"},"id":{"type":"string","description":"The ID of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","description":"Whether the category value is leaf","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].leaf","typeLabel":"boolean"},"leafInNotOutdatedTree":{"type":"boolean","description":"Whether the category value is leaf without not outdated child","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].leafInNotOutdatedTree","typeLabel":"boolean"},"name":{"type":"string","description":"The name of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name of the category value (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].name_i18n","typeLabel":"string"},"outdated":{"type":"boolean","description":"Whether the category value is marked as outdated","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].outdated","typeLabel":"boolean"},"parentId":{"type":"string","description":"The ID of the parent category value (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].parentId","typeLabel":"string"},"shortName":{"type":"string","description":"The short name of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].shortName","typeLabel":"string"},"value":{"type":"string","description":"(Deprecated) The ID of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX].items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values.items.[INDEX]","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX].values","typeLabel":"object[][]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].categories","typeLabel":"object[]"},"checkOutBy":{"type":"string","description":"The email of the user who checked-out the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].checkOutBy","typeLabel":"string"},"checkoutDate":{"type":"string","description":"The time at which the document was checked-out (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].checkoutDate","typeLabel":"string"},"classId":{"type":"string","description":"The ID of the class of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].className","typeLabel":"string"},"className_i18n":{"type":"string","description":"The internationalized name of the class of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].className_i18n","typeLabel":"string"},"coordinate":{"type":"string","description":"The coordinate of the sequence for the document (\u003clibrarySequenceId>.\u003cdocumentClassSequenceId>.\u003cdocumentSequenceId>[.\u003cversionSequenceId>]) (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].coordinate","typeLabel":"string"},"creationDate":{"type":"string","description":"The time at which the document was created (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].creationDate","typeLabel":"string"},"deleteAuthor":{"type":"string","description":"The email of the user who deleted the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].deleteAuthor","typeLabel":"string"},"deleted":{"type":"boolean","description":"Whether the document is deleted (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].deleted","typeLabel":"boolean"},"deletedReason":{"type":"string","description":"The reason for deleting the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].deletedReason","typeLabel":"string"},"deletionDate":{"type":"string","description":"The time at which the document was deleted (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].deletionDate","typeLabel":"string"},"domainName":{"type":"string","description":"The name of the domain (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].domainName","typeLabel":"string"},"driveOnlyPermissions":{"type":"array","description":"The list of additional permissions configured in Secured Folder libraries","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].driveOnlyPermissions","typeLabel":"object[]"},"editable":{"type":"boolean","description":"Whether the current user can edit the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].editable","typeLabel":"boolean"},"evaluationError":{"type":"boolean","description":"Whether there is an evaluation error on at least one field of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].evaluationError","typeLabel":"boolean"},"externalSource":{"type":"object","properties":{"displayName":{"type":"string","description":"The text displayed for the external source link.","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].externalSource.displayName","typeLabel":"string"},"url":{"type":"string","description":"The URL of the external source. Must be non-null and non-empty when clear is false.","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].externalSource.url","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].externalSource","typeLabel":"object"},"fields":{"type":"array","description":"The list of native fields (values and metadata are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].mandatory","typeLabel":"boolean"},"metadata":{"type":"object","properties":{"attachments":{"type":"array","items":{"type":"object","properties":{"drive":{"type":"object","properties":{"iconLink":{"type":"string","description":"The URL of the icon of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.iconLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.kind","typeLabel":"string"},"link":{"type":"string","description":"The URL to the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.link","typeLabel":"string"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.permissionsOnDrive","typeLabel":"object[]"},"publishedLink":{"type":"string","description":"The URL of the file when published","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.publishedLink","typeLabel":"string"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.resourceKey","typeLabel":"string"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive.revisionId","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].drive","typeLabel":"object"},"id":{"type":"string","description":"The ID the file as used on the storage type","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].kind","typeLabel":"string"},"mimeType":{"type":"string","description":"The MIME type of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].mimeType","typeLabel":"string"},"name":{"type":"string","description":"The name (title) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].name","typeLabel":"string"},"oss":{"type":"object","properties":{"downloadLink":{"type":"string","description":"The URL to download the OSS file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].oss.downloadLink","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].oss.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].oss","typeLabel":"object"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].size","typeLabel":"integer\u003cint64>"},"storageType":{"type":"string","description":"Where is the file stored? Either DRIVE (Google Drive), or OSS (AODocs Object Storage System)","enum":["OSS","DRIVE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX].storageType","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.attachments","typeLabel":"object[]"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata.kind","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].metadata","typeLabel":"object"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of values for the field","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].values.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX].values","typeLabel":"string[]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fields","typeLabel":"object[]"},"folders":{"type":"array","description":"The location of the document (folder path as list of folders)","items":{"type":"object","properties":{"editable":{"type":"boolean","description":"Whether the folder is editable by the current user (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].editable","typeLabel":"boolean"},"editableDocuments":{"type":"boolean","description":"Whether the documents in the folder are editable by the current user (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].editableDocuments","typeLabel":"boolean"},"fileId":{"type":"string","description":"The ID of the folder in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].fileId","typeLabel":"string"},"folderAodocsId":{"type":"string","description":"The ID of the folder in AODocs model (0 if root folder)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].folderAodocsId","typeLabel":"string"},"folderDefinitionId":{"type":"string","description":"(Deprecated) The ID of the folder configuration","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].folderDefinitionId","typeLabel":"string"},"folderIsRoot":{"type":"boolean","description":"Whether the folder is the root folder (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].folderIsRoot","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].kind","typeLabel":"string"},"libraryId":{"type":"string","description":"The ID of the library","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].libraryId","typeLabel":"string"},"libraryName":{"type":"string","description":"The name of the library","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].libraryName","typeLabel":"string"},"name":{"type":"string","description":"The name of the folder","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].name","typeLabel":"string"},"parentFolderAodocsId":{"type":"string","description":"The ID of the parent folder in AODocs model (0 if root folder)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].parentFolderAodocsId","typeLabel":"string"},"parentFolderDriveId":{"type":"string","description":"The ID of the parent folder in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].parentFolderDriveId","typeLabel":"string"},"parentFolderIsRoot":{"type":"boolean","description":"Whether the parent folder is the root folder (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].parentFolderIsRoot","typeLabel":"boolean"},"permittedOperations":{"type":"array","description":"The list of permitted operations to the current user (read-only field)","items":{"type":"string","enum":["DELETE","RENAME","MODIFY_ACL","VIEW_ACL","MOVE_TO_ANOTHER_FOLDER","EXPORT","EDIT_PROPERTIES","COPY","CREATE_COPY_FROM","EXPORT_COPY","CREATE_NEW_VERSION","ATTACHMENT_VERSION_REPLACE","ATTACHMENT_VERSION_CREATE","ADD_NEW_ATTACHMENT_FROM_DRIVE","ATTACH_ENCRYPTED_FILE","OPEN_IN_OFFICE","PUBLISH","UNPUBLISH","RESTORE_REVISION","REVERT_TO_THIS_REVISION","CREATE_RELATED_DOCUMENT","DOWNLOAD","DOWNLOAD_ATTACHMENT","NOTIFY_USERS","CHECK_IN","CHECK_OUT","DISCARD_CHECKOUT","FORCE_DISCARD_CHECKOUT","EDIT_TAGS","PERFORM_HUMAN_WORKFLOW_ACTIONS","VIEW_DRAFT","SHARE_PUBLICLY","VIEW_HISTORY","VIEW_VERSIONS","ADD_COMMENT","SET_TEMPLATE_AS_DEFAULT","SET_TEMPLATE_VISIBILITY_SCOPE","DELETE_COMMENT","KNOW_DRAFT","FORCE_PARALLEL_TRANSITION","CHANGE_WORKFLOW_STATE_DIRECTLY","SEE_HIDDEN_FIELDS","VIEW_TRASHED_ITEM","UNTRASH","PERMANENTLY_DELETE","VIEW_DRIVEONLY_ACL","MODIFY_DRIVEONLY_ACL","NON_GOOGLE_USERS_SUPPORT","SUPPORTS_LIVE_EVALUATION","ALLOWLIST_NOT_ENFORCED","CREATE_SUBFOLDER","CREATE_DOCUMENT_IN_THIS_FOLDER","IMPORT_FOLDERS_FROM_DRIVE_TO_THIS_FOLDER","ADD_NEW_ATTACHMENT_FROM_OSS","OPEN_IN_DRIVE","COPY_FOLDER_TREE","CHECK_FOLDER","MOVE_TO_DRIVE","COPY_TO_DRIVE","MOVE_TO_ANOTHER_LIBRARY","MOVE_TO_ANOTHER_CLASS","COPY_TO_ANOTHER_CLASS","COPY_ATTACHMENT","COPY_TO_ANOTHER_LIBRARY","EDIT_ATTACHMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].permittedOperations.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].permittedOperations","typeLabel":"enum\u003cstring>[]"},"resourceKey":{"type":"string","description":"A folder that is shared with the link may only be discovered with this resourceKey","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].resourceKey","typeLabel":"string"},"restrictedDownload":{"type":"boolean","description":"Whether the documents in the folder are marked as restricted to download, copy and print (for the readers)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].restrictedDownload","typeLabel":"boolean"},"subfolders":{"type":"array","description":"The list of subfolders","items":{"$circularRef":"afc56d6c-86c5-48e8-ab5c-59dc6fc1a03b"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX].subfolders","typeLabel":"array"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].folders","typeLabel":"object[]"},"forbiddenOperations":{"type":"object","description":"The map of the forbidden operations to the current user and the reasons why they are forbidden (read-only field)","additionalProperties":{"type":"array","items":{"type":"object","properties":{"localizedMessage":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].forbiddenOperations.additionalProperties.items.[INDEX].localizedMessage","typeLabel":"string"},"reason":{"type":"string","enum":["MANDATORY_CHECKOUT","PROTECTED_BY_CHECKOUT","MISSING_MANDATORY_FIELD","INCORRECT_FIELD_VALUES","CHECKED_OUT_IN_NORMAL_STATE","CONTAINS_ATTACHMENT","HAS_FOLDER","IS_DEFAULT_TEMPLATE","IS_HIDDEN","DOCUMENT_IS_DELETED","PERMISSION_NEEDED","CSE_ENCRYPTED_ATTACHMENT","THIRD_PARTY_SHORTCUT","DRIVEONLY_PERMISSIONS_NOT_SUPPORTED"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].forbiddenOperations.additionalProperties.items.[INDEX].reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].forbiddenOperations.additionalProperties.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].forbiddenOperations.additionalProperties","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].forbiddenOperations","typeLabel":"object"},"fullSizeOfAttachments":{"type":"integer","format":"int64","description":"The summed size (in octet) of the attachments (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].fullSizeOfAttachments","typeLabel":"integer\u003cint64>"},"iconLink":{"type":"string","description":"The link to the icon relative to the attachment (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].iconLink","typeLabel":"string"},"id":{"type":"string","description":"The ID of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].id","typeLabel":"string"},"incomplete":{"type":"boolean","description":"Whether there are missing mandatory fields on the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].incomplete","typeLabel":"boolean"},"initialAuthor":{"type":"string","description":"The email of the user who created the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].initialAuthor","typeLabel":"string"},"internalMetadata":{"type":"object","description":"Technical metadata set by AODocs internal services (read-only field, only writable through the restricted internal metadata API)","additionalProperties":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].internalMetadata.additionalProperties.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].internalMetadata.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].internalMetadata","typeLabel":"object"},"invalidValues":{"type":"boolean","description":"Whether there are invalid values for fields of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].invalidValues","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].kind","typeLabel":"string"},"libraryId":{"type":"string","description":"The ID of the library (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].libraryId","typeLabel":"string"},"libraryName":{"type":"string","description":"The name of the library (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].libraryName","typeLabel":"string"},"modificationDate":{"type":"string","description":"The time at which the document was last modified (read-only field after document creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].modificationDate","typeLabel":"string"},"newPermissions":{"type":"array","description":"The new permissions to apply","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].additionalRoles.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].additionalRoles","typeLabel":"string[]"},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].allowlisted","typeLabel":"boolean"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].belongsToDomain","typeLabel":"boolean"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].email","typeLabel":"string"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].googleEmailAddress","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name for the permission","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].name","typeLabel":"string"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].permissionId","typeLabel":"string"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].role","typeLabel":"string"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].type","typeLabel":"string"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX].withLink","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].newPermissions","typeLabel":"object[]"},"nextVersionName":{"type":"string","description":"The next version name (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].nextVersionName","typeLabel":"string"},"numberOfAttachments":{"type":"integer","format":"int32","description":"The number of attachments in the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].numberOfAttachments","typeLabel":"integer\u003cint32>"},"onlyAdminCanChangeAcl":{"type":"boolean","description":"Whether only administrators can modify the permissions of the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].onlyAdminCanChangeAcl","typeLabel":"boolean"},"onlyAdminCanDelete":{"type":"boolean","description":"Whether only administrators can be delete the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].onlyAdminCanDelete","typeLabel":"boolean"},"originalVersionId":{"type":"string","description":"Id of the original version if this version was created by restoring a previous version, otherwise null","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].originalVersionId","typeLabel":"string"},"permissions":{"type":"array","description":"The list of permissions relative to the document","items":{"type":"object","properties":{"fieldNames":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX].fieldNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX].fieldNames","typeLabel":"string[]"},"inherited":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX].inherited","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX].name","typeLabel":"string"},"right":{"type":"string","enum":["NONE","READER","COMMENTER","ATTACHMENT_EDITOR","WRITER","ADMIN","SUPER_ADMIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX].right","typeLabel":"enum\u003cstring>"},"roleNames":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX].roleNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX].roleNames","typeLabel":"string[]"},"thumbnailPhotoUrl":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX].thumbnailPhotoUrl","typeLabel":"string"},"type":{"type":"string","enum":["USER","GROUP","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permissions","typeLabel":"object[]"},"permittedOperations":{"type":"array","description":"The list of permitted operations to the current user (read-only field)","items":{"type":"string","enum":["DELETE","RENAME","MODIFY_ACL","VIEW_ACL","MOVE_TO_ANOTHER_FOLDER","EXPORT","EDIT_PROPERTIES","COPY","CREATE_COPY_FROM","EXPORT_COPY","CREATE_NEW_VERSION","ATTACHMENT_VERSION_REPLACE","ATTACHMENT_VERSION_CREATE","ADD_NEW_ATTACHMENT_FROM_DRIVE","ATTACH_ENCRYPTED_FILE","OPEN_IN_OFFICE","PUBLISH","UNPUBLISH","RESTORE_REVISION","REVERT_TO_THIS_REVISION","CREATE_RELATED_DOCUMENT","DOWNLOAD","DOWNLOAD_ATTACHMENT","NOTIFY_USERS","CHECK_IN","CHECK_OUT","DISCARD_CHECKOUT","FORCE_DISCARD_CHECKOUT","EDIT_TAGS","PERFORM_HUMAN_WORKFLOW_ACTIONS","VIEW_DRAFT","SHARE_PUBLICLY","VIEW_HISTORY","VIEW_VERSIONS","ADD_COMMENT","SET_TEMPLATE_AS_DEFAULT","SET_TEMPLATE_VISIBILITY_SCOPE","DELETE_COMMENT","KNOW_DRAFT","FORCE_PARALLEL_TRANSITION","CHANGE_WORKFLOW_STATE_DIRECTLY","SEE_HIDDEN_FIELDS","VIEW_TRASHED_ITEM","UNTRASH","PERMANENTLY_DELETE","VIEW_DRIVEONLY_ACL","MODIFY_DRIVEONLY_ACL","NON_GOOGLE_USERS_SUPPORT","SUPPORTS_LIVE_EVALUATION","ALLOWLIST_NOT_ENFORCED","CREATE_SUBFOLDER","CREATE_DOCUMENT_IN_THIS_FOLDER","IMPORT_FOLDERS_FROM_DRIVE_TO_THIS_FOLDER","ADD_NEW_ATTACHMENT_FROM_OSS","OPEN_IN_DRIVE","COPY_FOLDER_TREE","CHECK_FOLDER","MOVE_TO_DRIVE","COPY_TO_DRIVE","MOVE_TO_ANOTHER_LIBRARY","MOVE_TO_ANOTHER_CLASS","COPY_TO_ANOTHER_CLASS","COPY_ATTACHMENT","COPY_TO_ANOTHER_LIBRARY","EDIT_ATTACHMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permittedOperations.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].permittedOperations","typeLabel":"enum\u003cstring>[]"},"publishedLink":{"type":"string","description":"The link of the publication for mono-attachment documents","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].publishedLink","typeLabel":"string"},"publishedMode":{"type":"string","description":"The publication mode (NONE, DOMAIN, EVERYONE) for mono-attachment documents","enum":["NONE","DOMAIN","EVERYONE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].publishedMode","typeLabel":"enum\u003cstring>"},"referenceCatalogs":{"type":"array","description":"The list of reference catalog fields (only the values are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].mandatory","typeLabel":"boolean"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].readOnly","typeLabel":"boolean"},"referenceCatalog":{"type":"object","properties":{"createdAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was created (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.createdAt","typeLabel":"integer\u003cint64>"},"id":{"type":"string","description":"The ID of the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"Ordered name of levels of the reference catalog","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.levelNames","typeLabel":"string[]"},"modifiedAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was last modified (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.modifiedAt","typeLabel":"integer\u003cint64>"},"name":{"type":"string","description":"The name of the reference catalog","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.name","typeLabel":"string"},"numberOfValues":{"type":"integer","format":"int32","description":"The number of values in the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog.numberOfValues","typeLabel":"integer\u003cint32>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalog","typeLabel":"object"},"referenceCatalogId":{"type":"string","description":"The ID of the reference catalog","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].referenceCatalogId","typeLabel":"string"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The list of reference catalog values","items":{"type":"object","properties":{"deleted":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].deleted","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].leaf","typeLabel":"boolean"},"name":{"type":"string","description":"The name","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].name_i18n","typeLabel":"string"},"parents":{"type":"array","items":{"$circularRef":"9ddb8dd5-ddcc-43e2-a328-c86c113f0964"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].parents","typeLabel":"array"},"value":{"type":"string","description":"The value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].values.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX].values","typeLabel":"object[]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].referenceCatalogs","typeLabel":"object[]"},"relatedDocuments":{"type":"object","description":"The map of related documents per relation","additionalProperties":{"$circularRef":"b989f6d0-b70f-4bd6-8e20-48043dc0087d"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].relatedDocuments","typeLabel":"object"},"restrictedDownload":{"type":"boolean","description":"Whether the flag controlling whether reader users can download, copy or print the document is enabled.","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].restrictedDownload","typeLabel":"boolean"},"richText":{"type":"string","description":"The description of the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].richText","typeLabel":"string"},"sections":{"type":"array","description":"The sections in which fields are organized (read-only field)","items":{"type":"object","properties":{"columnCount":{"type":"integer","format":"int32","description":"The number of columns to display fields for this section.","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sections.items.[INDEX].columnCount","typeLabel":"integer\u003cint32>"},"description":{"type":"string","description":"The description of the section","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sections.items.[INDEX].description","typeLabel":"string"},"fields":{"type":"array","description":"The list of fields in the section","items":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sections.items.[INDEX].fields.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","description":"The type of the field (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sections.items.[INDEX].fields.items.[INDEX].type","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sections.items.[INDEX].fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sections.items.[INDEX].fields","typeLabel":"object[]"},"id":{"type":"string","description":"The ID of the section (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sections.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"The name of the section","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sections.items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name of the section (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sections.items.[INDEX].name_i18n","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sections.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sections","typeLabel":"object[]"},"sequenceId":{"type":"integer","format":"int64","description":"The sequence ID of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].sequenceId","typeLabel":"integer\u003cint64>"},"setModifiedDate":{"type":"boolean","description":"Whether to set the date of last modification","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].setModifiedDate","typeLabel":"boolean"},"similarDocuments":{"type":"array","description":"Represents a document identified as similar/duplicate with its associated metadata and similarity information","items":{"type":"object","properties":{"absoluteDuplicatesOnly":{"type":"boolean","description":"Flag indicating that only exact duplicate documents are considered","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].absoluteDuplicatesOnly","typeLabel":"boolean"},"attachmentId":{"type":"string","description":"Unique identifier of the attachment associated with the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].attachmentId","typeLabel":"string"},"attachmentLink":{"type":"string","description":"Direct link to download or access the attachment","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].attachmentLink","typeLabel":"string"},"attachmentMimeType":{"type":"string","description":"MIME type of the attachment","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].attachmentMimeType","typeLabel":"string"},"attachmentName":{"type":"string","description":"Name of the attachment file","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].attachmentName","typeLabel":"string"},"documentId":{"type":"string","description":"Unique identifier of the similar document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].documentId","typeLabel":"string"},"documentLink":{"type":"string","description":"Direct link to access the similar document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].documentLink","typeLabel":"string"},"documentTitle":{"type":"string","description":"Title of the similar document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].documentTitle","typeLabel":"string"},"libraryId":{"type":"string","description":"Unique identifier of the library where the similar document is located","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].libraryId","typeLabel":"string"},"locationInfo":{"type":"string","description":"Information about where the similar content is located within the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].locationInfo","typeLabel":"string"},"locationType":{"type":"string","description":"Type of location reference","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].locationType","typeLabel":"string"},"quotedText":{"type":"string","description":"Extract of the text that was used to determine similarity","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].quotedText","typeLabel":"string"},"similarityScore":{"type":"number","format":"double","description":"Similarity score between the documents","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX].similarityScore","typeLabel":"number\u003cdouble>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].similarDocuments","typeLabel":"object[]"},"state":{"type":"string","description":"The name of the workflow state (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].state","typeLabel":"string"},"stateChangeAuthors":{"type":"array","description":"The person(s) who were involved in the last workflow state change (read-only field)","items":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateChangeAuthors.items.[INDEX].classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateChangeAuthors.items.[INDEX].className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateChangeAuthors.items.[INDEX].description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateChangeAuthors.items.[INDEX].displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateChangeAuthors.items.[INDEX].displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateChangeAuthors.items.[INDEX].thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateChangeAuthors.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateChangeAuthors.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateChangeAuthors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateChangeAuthors","typeLabel":"object[]"},"stateChangeDate":{"type":"string","format":"date-time","description":"The date at which the document last changed of workflow state (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateChangeDate","typeLabel":"string\u003cdate-time>"},"stateId":{"type":"string","description":"The ID of the workflow state","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].stateId","typeLabel":"string"},"state_i18n":{"type":"string","description":"The internationalized name of the workflow state (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].state_i18n","typeLabel":"string"},"systemFields":{"type":"array","description":"The list of system fields (only the values are editable)","items":{"type":"object","properties":{"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"displayName":{"type":"string","description":"The internationalized name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].displayName","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].editable","typeLabel":"boolean"},"fieldMetadata":{"type":"object","description":"Additional metadata associated with the field","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].fieldMetadata","typeLabel":"object"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].hidden","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the system field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].kind","typeLabel":"string"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].mandatory","typeLabel":"boolean"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].readOnly","typeLabel":"boolean"},"value":{"type":"string","description":"The value of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].systemFields","typeLabel":"object[]"},"tableFields":{"type":"array","description":"The list of table fields (only the values are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"columns":{"type":"array","description":"The columns definition of the table (read-only)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"categoryDefinition":{"type":"object","properties":{"description":{"type":"string","description":"The description of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.description","typeLabel":"string"},"dynamicValues":{"type":"boolean","description":"Whether the category authorizes dynamic values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.dynamicValues","typeLabel":"boolean"},"folder":{"type":"boolean","description":"Whether the category is the Folder category (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.folder","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"The name of the levels in the category","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames","typeLabel":"string[]"},"levelNames_i18n":{"type":"array","description":"The internationalized name of the levels in the category (read-only field)","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames_i18n.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames_i18n","typeLabel":"string[]"},"libraryId":{"type":"string","description":"The ID of the library","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.libraryId","typeLabel":"string"},"name":{"type":"string","description":"The name of the category","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.name","typeLabel":"string"},"tags":{"type":"boolean","description":"Whether the category is the Tags category (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.tags","typeLabel":"boolean"},"value":{"type":"string","description":"The ID of the category (backward compatibility for category.category.listCategoryDefinitions)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].mandatory","typeLabel":"boolean"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].readOnly","typeLabel":"boolean"},"referenceCatalogDefinition":{"type":"object","properties":{"createdAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was created (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.createdAt","typeLabel":"integer\u003cint64>"},"id":{"type":"string","description":"The ID of the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"Ordered name of levels of the reference catalog","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.levelNames","typeLabel":"string[]"},"modifiedAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was last modified (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.modifiedAt","typeLabel":"integer\u003cint64>"},"name":{"type":"string","description":"The name of the reference catalog","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.name","typeLabel":"string"},"numberOfValues":{"type":"integer","format":"int32","description":"The number of values in the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.numberOfValues","typeLabel":"integer\u003cint32>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition","typeLabel":"object"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].columns","typeLabel":"object[]"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].mandatory","typeLabel":"boolean"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The values (organized as rows) contained in the table","items":{"type":"object","properties":{"categories":{"type":"object","description":"Cells of type category","additionalProperties":{"type":"array","items":{"type":"array","items":{"type":"object","properties":{"ancestors":{"type":"array","description":"Ancestor category values from direct parent to root - only present with loadCategoryValue","items":{"$circularRef":"9b308f87-7c8b-415b-a763-2534d3bea0cc"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].ancestors","typeLabel":"array"},"id":{"type":"string","description":"The ID of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","description":"Whether the category value is leaf","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].leaf","typeLabel":"boolean"},"leafInNotOutdatedTree":{"type":"boolean","description":"Whether the category value is leaf without not outdated child","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].leafInNotOutdatedTree","typeLabel":"boolean"},"name":{"type":"string","description":"The name of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name of the category value (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].name_i18n","typeLabel":"string"},"outdated":{"type":"boolean","description":"Whether the category value is marked as outdated","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].outdated","typeLabel":"boolean"},"parentId":{"type":"string","description":"The ID of the parent category value (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].parentId","typeLabel":"string"},"shortName":{"type":"string","description":"The short name of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].shortName","typeLabel":"string"},"value":{"type":"string","description":"(Deprecated) The ID of the category value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX]","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties","typeLabel":"object[][]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories","typeLabel":"object"},"fieldMetadata":{"type":"object","description":"Additional metadata associated with each column field, keyed by column field id","additionalProperties":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fieldMetadata.additionalProperties.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fieldMetadata","typeLabel":"object"},"fields":{"type":"object","description":"Cells of static type","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fields.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fields.additionalProperties","typeLabel":"string[]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fields","typeLabel":"object"},"referenceCatalogs":{"type":"object","description":"Cells of type reference catalog","additionalProperties":{"type":"array","items":{"type":"object","properties":{"deleted":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].deleted","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].leaf","typeLabel":"boolean"},"name":{"type":"string","description":"The name","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].name_i18n","typeLabel":"string"},"parents":{"type":"array","items":{"$circularRef":"9ddb8dd5-ddcc-43e2-a328-c86c113f0964"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].parents","typeLabel":"array"},"value":{"type":"string","description":"The value","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs","typeLabel":"object"},"rowId":{"type":"string","description":"Unique id of the current row","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].rowId","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX].values","typeLabel":"object[]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].tableFields","typeLabel":"object[]"},"templateDocumentId":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].templateDocumentId","typeLabel":"string"},"title":{"type":"string","description":"The title of the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].title","typeLabel":"string"},"updateAuthor":{"type":"string","description":"The email of the user who last modified the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].updateAuthor","typeLabel":"string"},"updateTokenId":{"type":"string","description":"An opaque version token for optimistic concurrency. Returned as the ETag response header on load; echo it back in the If-Match request header on patch to be rejected with 412 if the document changed meanwhile (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].updateTokenId","typeLabel":"string"},"userCanChangeAcl":{"type":"boolean","description":"Whether the current user can modify the permissions (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].userCanChangeAcl","typeLabel":"boolean"},"userCanChangeProperties":{"type":"boolean","description":"Whether the current user can modify the properties (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].userCanChangeProperties","typeLabel":"boolean"},"userCanDelete":{"type":"boolean","description":"Whether the current user can delete the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].userCanDelete","typeLabel":"boolean"},"userMapping":{"type":"object","description":"The mapping between user email and user profile (read-only field)","additionalProperties":{"type":"object","properties":{"email":{"type":"string","description":"The email of the user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].userMapping.additionalProperties.email","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].userMapping.additionalProperties.kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name of the user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].userMapping.additionalProperties.name","typeLabel":"string"},"nonGoogle":{"type":"boolean","description":"This user is not a google user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].userMapping.additionalProperties.nonGoogle","typeLabel":"boolean"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture of the user","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].userMapping.additionalProperties.thumbnailPictureUrl","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].userMapping.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].userMapping","typeLabel":"object"},"versionCreated":{"type":"string","format":"date-time","description":"The time at which the version was created (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].versionCreated","typeLabel":"string\u003cdate-time>"},"versionCreator":{"type":"string","description":"The email of the user who created the version (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].versionCreator","typeLabel":"string"},"versionDescription":{"type":"string","description":"The description of the current version of the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].versionDescription","typeLabel":"string"},"versionId":{"type":"string","description":"The ID of the version (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].versionId","typeLabel":"string"},"versionLabel":{"type":"string","description":"(Deprecated) The description of the version (replaced by versionDescription)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].versionLabel","typeLabel":"string"},"versionName":{"type":"string","description":"The name of the current version of the document","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].versionName","typeLabel":"string"},"versionNumber":{"type":"string","description":"(Deprecated) The number of the version (replaced by versionName)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].versionNumber","typeLabel":"string"},"viewConfiguration":{"type":"object","properties":{"defaultTabToDisplay":{"type":"string","description":"The tab to display when open the document","enum":["PROPERTIES","FIRST_ATTACHMENT","SPLIT","FILE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].viewConfiguration.defaultTabToDisplay","typeLabel":"enum\u003cstring>"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].viewConfiguration.kind","typeLabel":"string"},"orientation":{"type":"string","description":"The orientation to display the document (PORTRAIT or LANDSCAPE)","enum":["PORTRAIT","LANDSCAPE"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].viewConfiguration.orientation","typeLabel":"enum\u003cstring>"},"visibleRelations":{"type":"array","description":"The list of ordered relations to display in the Relations section","items":{"type":"string","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].viewConfiguration.visibleRelations.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].viewConfiguration.visibleRelations","typeLabel":"string[]"},"visibleSections":{"type":"array","description":"The list of ordered sections to display","items":{"type":"string","enum":["INFO","WORKFLOW","PROPERTIES","ATTACHMENTS","RELATIONS","DESCRIPTION"],"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].viewConfiguration.visibleSections.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].viewConfiguration.visibleSections","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].viewConfiguration","typeLabel":"object"},"workflowId":{"type":"string","description":"The ID of the workflow related to the class of the document (read-only field)","uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX].workflowId","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties.to","typeLabel":"object[]"}},"uniqueKey":"templates.items.[INDEX].relatedDocuments.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].relatedDocuments","typeLabel":"object"},"requiresUserInput":{"type":"boolean","description":"Whether this template requires user input (read-only field)","uniqueKey":"templates.items.[INDEX].requiresUserInput","typeLabel":"boolean"},"restrictedDownload":{"type":"boolean","uniqueKey":"templates.items.[INDEX].restrictedDownload","typeLabel":"boolean"},"richText":{"type":"string","description":"The description field (rich text) of the document to be created using this template","uniqueKey":"templates.items.[INDEX].richText","typeLabel":"string"},"sections":{"type":"array","description":"The sections in which fields are organized (read-only field)","items":{"type":"object","properties":{"columnCount":{"type":"integer","format":"int32","description":"The number of columns to display fields for this section.","uniqueKey":"templates.items.[INDEX].sections.items.[INDEX].columnCount","typeLabel":"integer\u003cint32>"},"description":{"type":"string","description":"The description of the section","uniqueKey":"templates.items.[INDEX].sections.items.[INDEX].description","typeLabel":"string"},"fields":{"type":"array","description":"The list of fields in the section","items":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].sections.items.[INDEX].fields.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","description":"The type of the field (read-only field)","uniqueKey":"templates.items.[INDEX].sections.items.[INDEX].fields.items.[INDEX].type","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].sections.items.[INDEX].fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].sections.items.[INDEX].fields","typeLabel":"object[]"},"id":{"type":"string","description":"The ID of the section (read-only field)","uniqueKey":"templates.items.[INDEX].sections.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"The name of the section","uniqueKey":"templates.items.[INDEX].sections.items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name of the section (read-only field)","uniqueKey":"templates.items.[INDEX].sections.items.[INDEX].name_i18n","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].sections.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].sections","typeLabel":"object[]"},"setModifiedDate":{"type":"boolean","description":"This field is not used.","uniqueKey":"templates.items.[INDEX].setModifiedDate","typeLabel":"boolean"},"systemFields":{"type":"array","description":"The list of system fields (only the values are editable)","items":{"type":"object","properties":{"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"displayName":{"type":"string","description":"The internationalized name of the field","uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].displayName","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].editable","typeLabel":"boolean"},"fieldMetadata":{"type":"object","description":"Additional metadata associated with the field","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].fieldMetadata","typeLabel":"object"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the current user","uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].hidden","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the system field","uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].kind","typeLabel":"string"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].mandatory","typeLabel":"boolean"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].readOnly","typeLabel":"boolean"},"value":{"type":"string","description":"The value of the field","uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].systemFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].systemFields","typeLabel":"object[]"},"tableFields":{"type":"array","description":"The list of table fields (only the values are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"columns":{"type":"array","description":"The columns definition of the table (read-only)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo.additionalProperties.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo.additionalProperties.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedSettingsInfo","typeLabel":"object"},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedValueInfo.error","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].calculatedValueInfo","typeLabel":"object"},"categoryDefinition":{"type":"object","properties":{"description":{"type":"string","description":"The description of the category","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.description","typeLabel":"string"},"dynamicValues":{"type":"boolean","description":"Whether the category authorizes dynamic values","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.dynamicValues","typeLabel":"boolean"},"folder":{"type":"boolean","description":"Whether the category is the Folder category (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.folder","typeLabel":"boolean"},"id":{"type":"string","description":"The ID of the category","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"The name of the levels in the category","items":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames","typeLabel":"string[]"},"levelNames_i18n":{"type":"array","description":"The internationalized name of the levels in the category (read-only field)","items":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames_i18n.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.levelNames_i18n","typeLabel":"string[]"},"libraryId":{"type":"string","description":"The ID of the library","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.libraryId","typeLabel":"string"},"name":{"type":"string","description":"The name of the category","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.name","typeLabel":"string"},"tags":{"type":"boolean","description":"Whether the category is the Tags category (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.tags","typeLabel":"boolean"},"value":{"type":"string","description":"The ID of the category (backward compatibility for category.category.listCategoryDefinitions)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].categoryDefinition","typeLabel":"object"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].mandatory","typeLabel":"boolean"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].readOnly","typeLabel":"boolean"},"referenceCatalogDefinition":{"type":"object","properties":{"createdAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was created (read-only field)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.createdAt","typeLabel":"integer\u003cint64>"},"id":{"type":"string","description":"The ID of the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.kind","typeLabel":"string"},"levelNames":{"type":"array","description":"Ordered name of levels of the reference catalog","items":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.levelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.levelNames","typeLabel":"string[]"},"modifiedAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was last modified (read-only field)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.modifiedAt","typeLabel":"integer\u003cint64>"},"name":{"type":"string","description":"The name of the reference catalog","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.name","typeLabel":"string"},"numberOfValues":{"type":"integer","format":"int32","description":"The number of values in the reference catalog (read-only field)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition.numberOfValues","typeLabel":"integer\u003cint32>"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].referenceCatalogDefinition","typeLabel":"object"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX].validation","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].columns","typeLabel":"object[]"},"description":{"type":"string","description":"The description of the field (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].description","typeLabel":"string"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].description_i18n","typeLabel":"string"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].editable","typeLabel":"boolean"},"fieldId":{"type":"string","description":"The ID of the field","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].fieldId","typeLabel":"string"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].fieldMetadata","typeLabel":"object"},"fieldName":{"type":"string","description":"The name of the field","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].fieldName","typeLabel":"string"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].fieldName_i18n","typeLabel":"string"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].hidden","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].kind","typeLabel":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.displaySearchProperties","typeLabel":"string[]"},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.freezeStates","typeLabel":"string[]"},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.id","typeLabel":"string"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"],"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.scope","typeLabel":"object"},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"],"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.synchronizationRule","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"],"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.sourceConfiguration","typeLabel":"object"},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration.lookupKey","typeLabel":"string"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldId","typeLabel":"string"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration.sourceFieldName","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration.targetConfiguration","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupConfiguration","typeLabel":"object"},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo.displayName","typeLabel":"string"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo.error","typeLabel":"boolean"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo.errorMessage","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].lookupValueInfo","typeLabel":"object"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].mandatory","typeLabel":"boolean"},"multiple":{"type":"boolean","description":"Whether there can be multiple values","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].multiple","typeLabel":"boolean"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].placeholderText","typeLabel":"string"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].rank","typeLabel":"integer\u003cint32>"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].readOnly","typeLabel":"boolean"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"],"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.audience.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.audience.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.audience.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.audience.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.audience.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.audience.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.audience.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.audience.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.audience","typeLabel":"object"},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.errorMessage","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.kind","typeLabel":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.lowerLimit","typeLabel":"number\u003cdouble>"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.lowerLimitInclusive","typeLabel":"boolean"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.mandatoryLeaf","typeLabel":"boolean"},"regex":{"type":"string","description":"The regular expression for String fields","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.regex","typeLabel":"string"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.upperLimit","typeLabel":"number\u003cdouble>"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation.upperLimitInclusive","typeLabel":"boolean"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].validation","typeLabel":"object"},"values":{"type":"array","description":"The values (organized as rows) contained in the table","items":{"type":"object","properties":{"categories":{"type":"object","description":"Cells of type category","additionalProperties":{"type":"array","items":{"type":"array","items":{"type":"object","properties":{"ancestors":{"type":"array","description":"Ancestor category values from direct parent to root - only present with loadCategoryValue","items":{"$circularRef":"9b308f87-7c8b-415b-a763-2534d3bea0cc"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].ancestors","typeLabel":"array"},"id":{"type":"string","description":"The ID of the category value","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].id","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","description":"Whether the category value is leaf","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].leaf","typeLabel":"boolean"},"leafInNotOutdatedTree":{"type":"boolean","description":"Whether the category value is leaf without not outdated child","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].leafInNotOutdatedTree","typeLabel":"boolean"},"name":{"type":"string","description":"The name of the category value","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name of the category value (read-only field)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].name_i18n","typeLabel":"string"},"outdated":{"type":"boolean","description":"Whether the category value is marked as outdated","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].outdated","typeLabel":"boolean"},"parentId":{"type":"string","description":"The ID of the parent category value (read-only field)","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].parentId","typeLabel":"string"},"shortName":{"type":"string","description":"The short name of the category value","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].shortName","typeLabel":"string"},"value":{"type":"string","description":"(Deprecated) The ID of the category value","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX].items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties.items.[INDEX]","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories.additionalProperties","typeLabel":"object[][]"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].categories","typeLabel":"object"},"fieldMetadata":{"type":"object","description":"Additional metadata associated with each column field, keyed by column field id","additionalProperties":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fieldMetadata.additionalProperties.additionalProperties","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fieldMetadata.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fieldMetadata","typeLabel":"object"},"fields":{"type":"object","description":"Cells of static type","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fields.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fields.additionalProperties","typeLabel":"string[]"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].fields","typeLabel":"object"},"referenceCatalogs":{"type":"object","description":"Cells of type reference catalog","additionalProperties":{"type":"array","items":{"type":"object","properties":{"deleted":{"type":"boolean","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].deleted","typeLabel":"boolean"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].kind","typeLabel":"string"},"leaf":{"type":"boolean","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].leaf","typeLabel":"boolean"},"name":{"type":"string","description":"The name","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].name","typeLabel":"string"},"name_i18n":{"type":"string","description":"The internationalized name","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].name_i18n","typeLabel":"string"},"parents":{"type":"array","items":{"$circularRef":"9ddb8dd5-ddcc-43e2-a328-c86c113f0964"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].parents","typeLabel":"array"},"value":{"type":"string","description":"The value","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs.additionalProperties","typeLabel":"object[]"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].referenceCatalogs","typeLabel":"object"},"rowId":{"type":"string","description":"Unique id of the current row","uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX].rowId","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX].values","typeLabel":"object[]"}},"uniqueKey":"templates.items.[INDEX].tableFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].tableFields","typeLabel":"object[]"},"templateName":{"type":"string","description":"The name of the document template","uniqueKey":"templates.items.[INDEX].templateName","typeLabel":"string"},"templateName_i18n":{"type":"string","description":"The internationalized name of the template (read-only field)","uniqueKey":"templates.items.[INDEX].templateName_i18n","typeLabel":"string"},"title":{"type":"string","description":"The title of the document to be created using this template (pointless in Team Folder and Secured Folder libraries)","uniqueKey":"templates.items.[INDEX].title","typeLabel":"string"},"updateAuthor":{"type":"string","description":"The email of the user who last modified the template (read-only field)","uniqueKey":"templates.items.[INDEX].updateAuthor","typeLabel":"string"},"updateTokenId":{"type":"string","description":"An opaque version token (read-only field). Not used for template documents.","uniqueKey":"templates.items.[INDEX].updateTokenId","typeLabel":"string"},"userCanChangeAcl":{"type":"boolean","description":"Read-only field, not used.","uniqueKey":"templates.items.[INDEX].userCanChangeAcl","typeLabel":"boolean"},"userCanChangeProperties":{"type":"boolean","description":"Read-only field, not used.","uniqueKey":"templates.items.[INDEX].userCanChangeProperties","typeLabel":"boolean"},"userCanDelete":{"type":"boolean","description":"Read-only field, not used.","uniqueKey":"templates.items.[INDEX].userCanDelete","typeLabel":"boolean"},"userMapping":{"type":"object","description":"The mapping between user email and user profile (read-only field)","additionalProperties":{"type":"object","properties":{"email":{"type":"string","description":"The email of the user","uniqueKey":"templates.items.[INDEX].userMapping.additionalProperties.email","typeLabel":"string"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].userMapping.additionalProperties.kind","typeLabel":"string"},"name":{"type":"string","description":"The displayed name of the user","uniqueKey":"templates.items.[INDEX].userMapping.additionalProperties.name","typeLabel":"string"},"nonGoogle":{"type":"boolean","description":"This user is not a google user","uniqueKey":"templates.items.[INDEX].userMapping.additionalProperties.nonGoogle","typeLabel":"boolean"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture of the user","uniqueKey":"templates.items.[INDEX].userMapping.additionalProperties.thumbnailPictureUrl","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].userMapping.additionalProperties","typeLabel":"object"},"uniqueKey":"templates.items.[INDEX].userMapping","typeLabel":"object"},"viewConfiguration":{"type":"object","properties":{"defaultTabToDisplay":{"type":"string","description":"The tab to display when open the document","enum":["PROPERTIES","FIRST_ATTACHMENT","SPLIT","FILE"],"uniqueKey":"templates.items.[INDEX].viewConfiguration.defaultTabToDisplay","typeLabel":"enum\u003cstring>"},"kind":{"type":"string","uniqueKey":"templates.items.[INDEX].viewConfiguration.kind","typeLabel":"string"},"orientation":{"type":"string","description":"The orientation to display the document (PORTRAIT or LANDSCAPE)","enum":["PORTRAIT","LANDSCAPE"],"uniqueKey":"templates.items.[INDEX].viewConfiguration.orientation","typeLabel":"enum\u003cstring>"},"visibleRelations":{"type":"array","description":"The list of ordered relations to display in the Relations section","items":{"type":"string","uniqueKey":"templates.items.[INDEX].viewConfiguration.visibleRelations.items.[INDEX]","typeLabel":"string"},"uniqueKey":"templates.items.[INDEX].viewConfiguration.visibleRelations","typeLabel":"string[]"},"visibleSections":{"type":"array","description":"The list of ordered sections to display","items":{"type":"string","enum":["INFO","WORKFLOW","PROPERTIES","ATTACHMENTS","RELATIONS","DESCRIPTION"],"uniqueKey":"templates.items.[INDEX].viewConfiguration.visibleSections.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"templates.items.[INDEX].viewConfiguration.visibleSections","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"templates.items.[INDEX].viewConfiguration","typeLabel":"object"},"visibilityToken":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].visibilityToken.classId","typeLabel":"string"},"className":{"type":"string","description":"The name of the class when type = FIELD","uniqueKey":"templates.items.[INDEX].visibilityToken.className","typeLabel":"string"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD","uniqueKey":"templates.items.[INDEX].visibilityToken.description","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].visibilityToken.displayName","typeLabel":"string"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)","uniqueKey":"templates.items.[INDEX].visibilityToken.displayName_i18n","typeLabel":"string"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)","uniqueKey":"templates.items.[INDEX].visibilityToken.thumbnailPictureUrl","typeLabel":"string"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"],"uniqueKey":"templates.items.[INDEX].visibilityToken.type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)","uniqueKey":"templates.items.[INDEX].visibilityToken.value","typeLabel":"string"}},"uniqueKey":"templates.items.[INDEX].visibilityToken","typeLabel":"object"}},"uniqueKey":"templates.items.[INDEX]","typeLabel":"object"},"uniqueKey":"templates","typeLabel":"object[]"},"usersCanAccessPreviousVersions":{"type":"boolean","description":"Whether users can access the previous versions of the documents of this class","uniqueKey":"usersCanAccessPreviousVersions","typeLabel":"boolean"},"value":{"type":"string","description":"The ID of the document class (backward compatibility for documentType.documentType.listClasses)","uniqueKey":"value","typeLabel":"string"},"workflowId":{"type":"string","description":"The ID of the workflow in which the document class is (read-only field)","uniqueKey":"workflowId","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"annotationEditors":[{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","type":"USER","value":"\u003cstring>"}],"annotationRestrictedViewers":[{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","type":"USER","value":"\u003cstring>"}],"annotationViewers":[{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","type":"USER","value":"\u003cstring>"}],"appMetadata":{},"attachmentCreationModes":{},"checkoutMode":"DISABLED","colour":"\u003cstring>","coordinate":"\u003cstring>","creators":[{"displayName":"\u003cstring>","kind":"\u003cstring>","role":"READER","thumbnailPictureUrl":"\u003cstring>","type":"ANYONE","value":"\u003cstring>","withLink":true}],"customActions":[{"event":"ON_STATE_ENTER_BEFORE_TRANSITION","id":"\u003cstring>","kind":"\u003cstring>","name":"\u003cstring>","params":{},"scriptId":"\u003cstring>","scriptName":"\u003cstring>"}],"defaultClass":true,"defaultTemplateId":"\u003cstring>","deleteFields":["\u003cstring>"],"description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","documentCopyDisabled":true,"duplicateDetection":{"enabled":true,"similarityThreshold":123},"elementsToCopy":{},"explicitPermissionMode":"EXPLICIT_PERMISSIONS_ALLOWED","fields":[{"appMetadata":{},"calculatedSettings":{},"calculatedValue":{"code":"\u003cstring>"},"categoryDefinition":{"description":"\u003cstring>","dynamicValues":true,"folder":true,"id":"\u003cstring>","kind":"\u003cstring>","levelNames":["\u003cstring>"],"levelNames_i18n":["\u003cstring>"],"libraryId":"\u003cstring>","name":"\u003cstring>","tags":true,"value":"\u003cstring>"},"categoryId":"\u003cstring>","categoryValueMapping":{"displayName":"\u003cstring>","id":"\u003cstring>"},"columns":[{"appMetadata":{},"calculatedSettings":{},"calculatedValue":{"code":"\u003cstring>"},"categoryDefinition":{"description":"\u003cstring>","dynamicValues":true,"folder":true,"id":"\u003cstring>","kind":"\u003cstring>","levelNames":["\u003cstring>"],"levelNames_i18n":["\u003cstring>"],"libraryId":"\u003cstring>","name":"\u003cstring>","tags":true,"value":"\u003cstring>"},"categoryId":"\u003cstring>","categoryValueMapping":{"displayName":"\u003cstring>","id":"\u003cstring>"},"columns":"\u003cunknown>","creationSettings":{"hidden":true,"mandatory":true,"readOnly":true},"customPlaceholder":true,"description":"\u003cstring>","displayInPreview":{},"displayName":"\u003cstring>","dynamicValues":true,"folder":true,"hidden":true,"id":"\u003cstring>","kind":"\u003cstring>","levelNames":["\u003cstring>"],"lookupConfiguration":{"sourceConfiguration":{"displaySearchProperties":["\u003cstring>"],"freezeStates":["\u003cstring>"],"scope":{"id":"\u003cstring>","type":"CLASS"},"synchronizationRule":"NEVER","type":"DOCUMENT"},"targetConfiguration":{"lookupKey":"\u003cstring>","sourceFieldId":"\u003cstring>","sourceFieldName":"\u003cstring>"}},"mandatory":true,"mappingSourceField":{"displayName":"\u003cstring>","id":"\u003cstring>"},"multiple":true,"placeholderText":"\u003cstring>","rank":123,"readOnly":true,"referenceCatalog":{"createdAt":123,"id":"\u003cstring>","kind":"\u003cstring>","levelNames":["\u003cstring>"],"modifiedAt":123,"name":"\u003cstring>","numberOfValues":123},"referenceCatalogId":"\u003cstring>","type":"STRING","validation":{"audience":{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","type":"USER","value":"\u003cstring>"},"errorMessage":"\u003cstring>","kind":"\u003cstring>","lowerLimit":123,"lowerLimitInclusive":true,"mandatoryLeaf":true,"regex":"\u003cstring>","upperLimit":123,"upperLimitInclusive":true}}],"creationSettings":{"hidden":true,"mandatory":true,"readOnly":true},"customPlaceholder":true,"description":"\u003cstring>","displayInPreview":{},"displayName":"\u003cstring>","dynamicValues":true,"folder":true,"hidden":true,"id":"\u003cstring>","kind":"\u003cstring>","levelNames":["\u003cstring>"],"lookupConfiguration":{"sourceConfiguration":{"displaySearchProperties":["\u003cstring>"],"freezeStates":["\u003cstring>"],"scope":{"id":"\u003cstring>","type":"CLASS"},"synchronizationRule":"NEVER","type":"DOCUMENT"},"targetConfiguration":{"lookupKey":"\u003cstring>","sourceFieldId":"\u003cstring>","sourceFieldName":"\u003cstring>"}},"mandatory":true,"mappingSourceField":{"displayName":"\u003cstring>","id":"\u003cstring>"},"multiple":true,"placeholderText":"\u003cstring>","rank":123,"readOnly":true,"referenceCatalog":{"createdAt":123,"id":"\u003cstring>","kind":"\u003cstring>","levelNames":["\u003cstring>"],"modifiedAt":123,"name":"\u003cstring>","numberOfValues":123},"referenceCatalogId":"\u003cstring>","type":"STRING","validation":{"audience":{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","type":"USER","value":"\u003cstring>"},"errorMessage":"\u003cstring>","kind":"\u003cstring>","lowerLimit":123,"lowerLimitInclusive":true,"mandatoryLeaf":true,"regex":"\u003cstring>","upperLimit":123,"upperLimitInclusive":true}}],"firstVersionName":"\u003cstring>","firstVersionNumberingMode":"AUTOMATIC","forceNumberVersions":true,"hiddenSystemFields":["\u003cstring>"],"id":"\u003cstring>","kind":"\u003cstring>","layouts":[{"sections":[{"columnCount":123,"description":"\u003cstring>","fieldIds":["\u003cstring>"],"hidden":true,"id":"\u003cstring>","kind":"\u003cstring>","name":"\u003cstring>","name_i18n":"\u003cstring>"}]}],"libraryId":"\u003cstring>","managedPermissionSource":"CLASS","manualVersioningDisabled":true,"name":"\u003cstring>","name_i18n":"\u003cstring>","onlyAdminsCanDelete":true,"onlyAdminsCanShare":true,"permissions":[{"displayName":"\u003cstring>","kind":"\u003cstring>","role":"READER","thumbnailPictureUrl":"\u003cstring>","type":"ANYONE","value":"\u003cstring>","withLink":true}],"previousVersionsVisibility":{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","type":"USER","value":"\u003cstring>"},"readOnlyTitle":true,"restrictedDownload":true,"sections":[{"columnCount":123,"description":"\u003cstring>","fields":[{"id":"\u003cstring>","type":"\u003cstring>"}],"id":"\u003cstring>","name":"\u003cstring>","name_i18n":"\u003cstring>"}],"sectionsDefaultColumnCount":123,"sequenceId":123,"systemFields":{},"templates":[{"attachmentFields":[{"calculatedSettingsInfo":{},"calculatedValueInfo":{"error":true},"description":"\u003cstring>","description_i18n":"\u003cstring>","editable":true,"fieldId":"\u003cstring>","fieldMetadata":{},"fieldName":"\u003cstring>","fieldName_i18n":"\u003cstring>","hidden":true,"kind":"\u003cstring>","lookupConfiguration":{"sourceConfiguration":{"displaySearchProperties":["\u003cstring>"],"freezeStates":["\u003cstring>"],"scope":{"id":"\u003cstring>","type":"CLASS"},"synchronizationRule":"NEVER","type":"DOCUMENT"},"targetConfiguration":{"lookupKey":"\u003cstring>","sourceFieldId":"\u003cstring>","sourceFieldName":"\u003cstring>"}},"lookupValueInfo":{"displayName":"\u003cstring>","error":true,"errorMessage":"\u003cstring>"},"mandatory":true,"metadata":{"attachments":[{"drive":{"iconLink":"\u003cstring>","kind":"\u003cstring>","link":"\u003cstring>","permissionsOnDrive":[{"additionalRoles":["\u003cstring>"],"allowlisted":true,"belongsToDomain":true,"email":"\u003cstring>","googleEmailAddress":true,"kind":"\u003cstring>","name":"\u003cstring>","permissionId":"\u003cstring>","role":"\u003cstring>","thumbnailPhotoUrl":"\u003cstring>","type":"\u003cstring>","withLink":true}],"publishedLink":"\u003cstring>","resourceKey":"\u003cstring>","revisionId":"\u003cstring>"},"id":"\u003cstring>","kind":"\u003cstring>","mimeType":"\u003cstring>","name":"\u003cstring>","oss":{"downloadLink":"\u003cstring>","kind":"\u003cstring>"},"size":123,"storageType":"OSS"}],"kind":"\u003cstring>"},"multiple":true,"placeholderText":"\u003cstring>","rank":123,"readOnly":true,"type":"STRING","validation":{"audience":{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","type":"USER","value":"\u003cstring>"},"errorMessage":"\u003cstring>","kind":"\u003cstring>","lowerLimit":123,"lowerLimitInclusive":true,"mandatoryLeaf":true,"regex":"\u003cstring>","upperLimit":123,"upperLimitInclusive":true},"values":["\u003cstring>"]}],"attachments":[{"autodeskUrn":{"status":"READY","urn":"\u003cstring>"},"fileId":"\u003cstring>","iconLink":"\u003cstring>","kind":"\u003cstring>","link":"\u003cstring>","md5Checksum":"\u003cstring>","mimeType":"\u003cstring>","name":"\u003cstring>","permissionsOnDrive":[{"additionalRoles":["\u003cstring>"],"allowlisted":true,"belongsToDomain":true,"email":"\u003cstring>","googleEmailAddress":true,"kind":"\u003cstring>","name":"\u003cstring>","permissionId":"\u003cstring>","role":"\u003cstring>","thumbnailPhotoUrl":"\u003cstring>","type":"\u003cstring>","withLink":true}],"publishedLink":"\u003cstring>","resourceKey":"\u003cstring>","revisionId":"\u003cstring>","size":123,"storageLocation":"DRIVE"}],"categories":[{"calculatedSettingsInfo":{},"calculatedValueInfo":{"error":true},"categoryDefinition":{"description":"\u003cstring>","dynamicValues":true,"folder":true,"id":"\u003cstring>","kind":"\u003cstring>","levelNames":["\u003cstring>"],"levelNames_i18n":["\u003cstring>"],"libraryId":"\u003cstring>","name":"\u003cstring>","tags":true,"value":"\u003cstring>"},"categoryValueMapping":{"displayName":"\u003cstring>","id":"\u003cstring>"},"definitionId":"\u003cstring>","definitionName":"\u003cstring>","description":"\u003cstring>","description_i18n":"\u003cstring>","dynamicValues":true,"editable":true,"fieldId":"\u003cstring>","fieldMetadata":{},"fieldName":"\u003cstring>","fieldName_i18n":"\u003cstring>","folder":true,"hidden":true,"kind":"\u003cstring>","levelNames":["\u003cstring>"],"lookupConfiguration":{"sourceConfiguration":{"displaySearchProperties":["\u003cstring>"],"freezeStates":["\u003cstring>"],"scope":{"id":"\u003cstring>","type":"CLASS"},"synchronizationRule":"NEVER","type":"DOCUMENT"},"targetConfiguration":{"lookupKey":"\u003cstring>","sourceFieldId":"\u003cstring>","sourceFieldName":"\u003cstring>"}},"lookupValueInfo":{"displayName":"\u003cstring>","error":true,"errorMessage":"\u003cstring>"},"mandatory":true,"mappingSourceField":{"displayName":"\u003cstring>","id":"\u003cstring>"},"multiple":true,"placeholderText":"\u003cstring>","rank":123,"readOnly":true,"type":"STRING","validation":{"audience":{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","type":"USER","value":"\u003cstring>"},"errorMessage":"\u003cstring>","kind":"\u003cstring>","lowerLimit":123,"lowerLimitInclusive":true,"mandatoryLeaf":true,"regex":"\u003cstring>","upperLimit":123,"upperLimitInclusive":true},"values":[[{"ancestors":"\u003carray>","id":"\u003cstring>","kind":"\u003cstring>","leaf":true,"leafInNotOutdatedTree":true,"name":"\u003cstring>","name_i18n":"\u003cstring>","outdated":true,"parentId":"\u003cstring>","shortName":"\u003cstring>","value":"\u003cstring>"}]]}],"classId":"\u003cstring>","className":"\u003cstring>","className_i18n":"\u003cstring>","creationDate":"\u003cstring>","defaultTemplate":true,"domainName":"\u003cstring>","editable":true,"fields":[{"calculatedSettingsInfo":{},"calculatedValueInfo":{"error":true},"description":"\u003cstring>","description_i18n":"\u003cstring>","editable":true,"fieldId":"\u003cstring>","fieldMetadata":{},"fieldName":"\u003cstring>","fieldName_i18n":"\u003cstring>","hidden":true,"kind":"\u003cstring>","lookupConfiguration":{"sourceConfiguration":{"displaySearchProperties":["\u003cstring>"],"freezeStates":["\u003cstring>"],"scope":{"id":"\u003cstring>","type":"CLASS"},"synchronizationRule":"NEVER","type":"DOCUMENT"},"targetConfiguration":{"lookupKey":"\u003cstring>","sourceFieldId":"\u003cstring>","sourceFieldName":"\u003cstring>"}},"lookupValueInfo":{"displayName":"\u003cstring>","error":true,"errorMessage":"\u003cstring>"},"mandatory":true,"metadata":{"attachments":[{"drive":{"iconLink":"\u003cstring>","kind":"\u003cstring>","link":"\u003cstring>","permissionsOnDrive":[{"additionalRoles":["\u003cstring>"],"allowlisted":true,"belongsToDomain":true,"email":"\u003cstring>","googleEmailAddress":true,"kind":"\u003cstring>","name":"\u003cstring>","permissionId":"\u003cstring>","role":"\u003cstring>","thumbnailPhotoUrl":"\u003cstring>","type":"\u003cstring>","withLink":true}],"publishedLink":"\u003cstring>","resourceKey":"\u003cstring>","revisionId":"\u003cstring>"},"id":"\u003cstring>","kind":"\u003cstring>","mimeType":"\u003cstring>","name":"\u003cstring>","oss":{"downloadLink":"\u003cstring>","kind":"\u003cstring>"},"size":123,"storageType":"OSS"}],"kind":"\u003cstring>"},"multiple":true,"placeholderText":"\u003cstring>","rank":123,"readOnly":true,"type":"STRING","validation":{"audience":{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","type":"USER","value":"\u003cstring>"},"errorMessage":"\u003cstring>","kind":"\u003cstring>","lowerLimit":123,"lowerLimitInclusive":true,"mandatoryLeaf":true,"regex":"\u003cstring>","upperLimit":123,"upperLimitInclusive":true},"values":["\u003cstring>"]}],"folders":[{"editable":true,"editableDocuments":true,"fileId":"\u003cstring>","folderAodocsId":"\u003cstring>","folderDefinitionId":"\u003cstring>","folderIsRoot":true,"kind":"\u003cstring>","libraryId":"\u003cstring>","libraryName":"\u003cstring>","name":"\u003cstring>","parentFolderAodocsId":"\u003cstring>","parentFolderDriveId":"\u003cstring>","parentFolderIsRoot":true,"permittedOperations":["DELETE"],"resourceKey":"\u003cstring>","restrictedDownload":true,"subfolders":"\u003carray>"}],"forbiddenOperations":{},"fullSizeOfAttachments":123,"hiddenTemplate":true,"iconLink":"\u003cstring>","id":"\u003cstring>","initialAuthor":"\u003cstring>","kind":"\u003cstring>","libraryId":"\u003cstring>","libraryName":"\u003cstring>","modificationDate":"\u003cstring>","numberOfAttachments":123,"onlyAdminCanChangeAcl":true,"onlyAdminCanDelete":true,"permittedOperations":["DELETE"],"referenceCatalogs":[{"calculatedSettingsInfo":{},"calculatedValueInfo":{"error":true},"description":"\u003cstring>","description_i18n":"\u003cstring>","editable":true,"fieldId":"\u003cstring>","fieldMetadata":{},"fieldName":"\u003cstring>","fieldName_i18n":"\u003cstring>","hidden":true,"kind":"\u003cstring>","lookupConfiguration":{"sourceConfiguration":{"displaySearchProperties":["\u003cstring>"],"freezeStates":["\u003cstring>"],"scope":{"id":"\u003cstring>","type":"CLASS"},"synchronizationRule":"NEVER","type":"DOCUMENT"},"targetConfiguration":{"lookupKey":"\u003cstring>","sourceFieldId":"\u003cstring>","sourceFieldName":"\u003cstring>"}},"lookupValueInfo":{"displayName":"\u003cstring>","error":true,"errorMessage":"\u003cstring>"},"mandatory":true,"multiple":true,"placeholderText":"\u003cstring>","rank":123,"readOnly":true,"referenceCatalog":{"createdAt":123,"id":"\u003cstring>","kind":"\u003cstring>","levelNames":["\u003cstring>"],"modifiedAt":123,"name":"\u003cstring>","numberOfValues":123},"referenceCatalogId":"\u003cstring>","type":"STRING","validation":{"audience":{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","type":"USER","value":"\u003cstring>"},"errorMessage":"\u003cstring>","kind":"\u003cstring>","lowerLimit":123,"lowerLimitInclusive":true,"mandatoryLeaf":true,"regex":"\u003cstring>","upperLimit":123,"upperLimitInclusive":true},"values":[{"deleted":true,"kind":"\u003cstring>","leaf":true,"name":"\u003cstring>","name_i18n":"\u003cstring>","parents":"\u003carray>","value":"\u003cstring>"}]}],"relatedDocuments":{},"requiresUserInput":true,"restrictedDownload":true,"richText":"\u003cstring>","sections":[{"columnCount":123,"description":"\u003cstring>","fields":[{"id":"\u003cstring>","type":"\u003cstring>"}],"id":"\u003cstring>","name":"\u003cstring>","name_i18n":"\u003cstring>"}],"setModifiedDate":true,"systemFields":[{"calculatedValueInfo":{"error":true},"displayName":"\u003cstring>","editable":true,"fieldMetadata":{},"hidden":true,"id":"\u003cstring>","kind":"\u003cstring>","mandatory":true,"readOnly":true,"value":"\u003cstring>"}],"tableFields":[{"calculatedSettingsInfo":{},"calculatedValueInfo":{"error":true},"columns":[{"calculatedSettingsInfo":{},"calculatedValueInfo":{"error":true},"categoryDefinition":{"description":"\u003cstring>","dynamicValues":true,"folder":true,"id":"\u003cstring>","kind":"\u003cstring>","levelNames":["\u003cstring>"],"levelNames_i18n":["\u003cstring>"],"libraryId":"\u003cstring>","name":"\u003cstring>","tags":true,"value":"\u003cstring>"},"description":"\u003cstring>","description_i18n":"\u003cstring>","editable":true,"fieldId":"\u003cstring>","fieldMetadata":{},"fieldName":"\u003cstring>","fieldName_i18n":"\u003cstring>","hidden":true,"kind":"\u003cstring>","lookupConfiguration":{"sourceConfiguration":{"displaySearchProperties":["\u003cstring>"],"freezeStates":["\u003cstring>"],"scope":{"id":"\u003cstring>","type":"CLASS"},"synchronizationRule":"NEVER","type":"DOCUMENT"},"targetConfiguration":{"lookupKey":"\u003cstring>","sourceFieldId":"\u003cstring>","sourceFieldName":"\u003cstring>"}},"lookupValueInfo":{"displayName":"\u003cstring>","error":true,"errorMessage":"\u003cstring>"},"mandatory":true,"multiple":true,"placeholderText":"\u003cstring>","rank":123,"readOnly":true,"referenceCatalogDefinition":{"createdAt":123,"id":"\u003cstring>","kind":"\u003cstring>","levelNames":["\u003cstring>"],"modifiedAt":123,"name":"\u003cstring>","numberOfValues":123},"type":"STRING","validation":{"audience":{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","type":"USER","value":"\u003cstring>"},"errorMessage":"\u003cstring>","kind":"\u003cstring>","lowerLimit":123,"lowerLimitInclusive":true,"mandatoryLeaf":true,"regex":"\u003cstring>","upperLimit":123,"upperLimitInclusive":true}}],"description":"\u003cstring>","description_i18n":"\u003cstring>","editable":true,"fieldId":"\u003cstring>","fieldMetadata":{},"fieldName":"\u003cstring>","fieldName_i18n":"\u003cstring>","hidden":true,"kind":"\u003cstring>","lookupConfiguration":{"sourceConfiguration":{"displaySearchProperties":["\u003cstring>"],"freezeStates":["\u003cstring>"],"scope":{"id":"\u003cstring>","type":"CLASS"},"synchronizationRule":"NEVER","type":"DOCUMENT"},"targetConfiguration":{"lookupKey":"\u003cstring>","sourceFieldId":"\u003cstring>","sourceFieldName":"\u003cstring>"}},"lookupValueInfo":{"displayName":"\u003cstring>","error":true,"errorMessage":"\u003cstring>"},"mandatory":true,"multiple":true,"placeholderText":"\u003cstring>","rank":123,"readOnly":true,"type":"STRING","validation":{"audience":{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","type":"USER","value":"\u003cstring>"},"errorMessage":"\u003cstring>","kind":"\u003cstring>","lowerLimit":123,"lowerLimitInclusive":true,"mandatoryLeaf":true,"regex":"\u003cstring>","upperLimit":123,"upperLimitInclusive":true},"values":[{"categories":{},"fieldMetadata":{},"fields":{},"referenceCatalogs":{},"rowId":"\u003cstring>"}]}],"templateName":"\u003cstring>","templateName_i18n":"\u003cstring>","title":"\u003cstring>","updateAuthor":"\u003cstring>","updateTokenId":"\u003cstring>","userCanChangeAcl":true,"userCanChangeProperties":true,"userCanDelete":true,"userMapping":{},"viewConfiguration":{"defaultTabToDisplay":"PROPERTIES","kind":"\u003cstring>","orientation":"PORTRAIT","visibleRelations":["\u003cstring>"],"visibleSections":["INFO"]},"visibilityToken":{"classId":"\u003cstring>","className":"\u003cstring>","description":"\u003cstring>","displayName":"\u003cstring>","displayName_i18n":"\u003cstring>","thumbnailPictureUrl":"\u003cstring>","type":"USER","value":"\u003cstring>"}}],"usersCanAccessPreviousVersions":true,"value":"\u003cstring>","workflowId":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"f4295e81-6aec-4ff8-b3f7-36db843fb3fb":{"google_id_token-a99f12e0":{"type":"oauth2","x-google-issuer":"https://accounts.google.com","x-google-jwks_uri":"https://www.googleapis.com/oauth2/v1/certs","x-google-audiences":"755040865326-h5gomu85549lkh2qf9d3lku39vnaf6ii.apps.googleusercontent.com,563231141203-231sn7f6ptedncun5h00h7ktbe3o2nd5.apps.googleusercontent.com,993707107224.apps.googleusercontent.com,ao-docs,aodocs-core-eu-1,ao-docs-staging,ao-docs-dev,aodocs-core-dev-us,aodocs-total-poc-euw3","flows":{"implicit":{"authorizationUrl":"https://accounts.google.com/o/oauth2/v2/auth","scopes":{"https://www.googleapis.com/auth/userinfo.email":"View your email address"}}},"scopes":["https://www.googleapis.com/auth/userinfo.email"],"schemeName":"google_id_token-a99f12e0"}},"702bbbf4-1651-406b-b03f-249168c3c010":{"google_id_token_legacy-a99f12e0":{"type":"oauth2","x-google-issuer":"accounts.google.com","x-google-jwks_uri":"https://www.googleapis.com/oauth2/v1/certs","x-google-audiences":"755040865326-h5gomu85549lkh2qf9d3lku39vnaf6ii.apps.googleusercontent.com,563231141203-231sn7f6ptedncun5h00h7ktbe3o2nd5.apps.googleusercontent.com,993707107224.apps.googleusercontent.com,ao-docs,aodocs-core-eu-1,ao-docs-staging,ao-docs-dev,aodocs-core-dev-us,aodocs-total-poc-euw3","flows":{"implicit":{"authorizationUrl":"https://accounts.google.com/o/oauth2/v2/auth","scopes":{"https://www.googleapis.com/auth/userinfo.email":"View your email address"}}},"scopes":["https://www.googleapis.com/auth/userinfo.email"],"schemeName":"google_id_token_legacy-a99f12e0"}}},"servers":{"774dffb3-b9c3-4ea7-bcc5-c443b95c8383":{"url":"https://aodocs.altirnao.com/api"}},"schemas":{"6c86e38c-4e29-4ce7-b8da-e74f58e3d351":{"type":"array","description":"The column properties of the field (only if this field is a table type field)","items":{"type":"object","properties":{"appMetadata":{"type":"object","description":"App Metadata let developers associate metadata with various configuration entities. The metadata is isolated within app namespaces in order to prevent one application from interfering with another's metadata.","additionalProperties":{"type":"object","properties":{"appNamespaceId":{"type":"string","description":"The id of the app namespace (read-only)"},"kind":{"type":"string"},"tags":{"type":"array","description":"The list of tags (name/value) in the namespace (limited to 10 items)","items":{"type":"object","properties":{"kind":{"type":"string"},"name":{"type":"string","description":"The name of the tag"},"stringValue":{"type":"string","description":"The value of the tag as a String"}}}}}}},"calculatedSettings":{"type":"object","description":"The configuration of calculated settings (mandatory/hidden)","additionalProperties":{"type":"object","properties":{"code":{"type":"string","description":"JavaScript expression in charge of generating the actual value of the setting (ECMAScript 2020)"},"fallbackValues":{"type":"array","description":"Fallback value(s) used when there was evaluation error on the calculated setting","items":{"type":"string"}}}}},"calculatedValue":{"type":"object","properties":{"code":{"type":"string","description":"JavaScript expression in charge of generating document field values (ECMAScript 2020)"}}},"categoryDefinition":{"type":"object","properties":{"description":{"type":"string","description":"The description of the category"},"dynamicValues":{"type":"boolean","description":"Whether the category authorizes dynamic values"},"folder":{"type":"boolean","description":"Whether the category is the Folder category (read-only)"},"id":{"type":"string","description":"The ID of the category"},"kind":{"type":"string"},"levelNames":{"type":"array","description":"The name of the levels in the category","items":{"type":"string"}},"levelNames_i18n":{"type":"array","description":"The internationalized name of the levels in the category (read-only field)","items":{"type":"string"}},"libraryId":{"type":"string","description":"The ID of the library"},"name":{"type":"string","description":"The name of the category"},"tags":{"type":"boolean","description":"Whether the category is the Tags category (read-only)"},"value":{"type":"string","description":"The ID of the category (backward compatibility for category.category.listCategoryDefinitions)"}}},"categoryId":{"type":"string","description":"The ID of the category (if type = CATEGORY) - (deprecated, read-only)"},"categoryValueMapping":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the mapping (read-only)"},"id":{"type":"string","description":"The ID of the category value mapping"}}},"columns":{"oneOf":[{}]},"creationSettings":{"type":"object","properties":{"hidden":{"type":"boolean","description":"Whether the field should be hidden during document creation only"},"mandatory":{"type":"boolean","description":"Whether the field should be mandatory during document creation only (not compatible for all field types)"},"readOnly":{"type":"boolean","description":"Whether the field should be read-only during document creation only (not compatible for all field types)"}}},"customPlaceholder":{"type":"boolean","description":"Whether to use a custom placeholder when displaying the field in the UI"},"description":{"type":"string","description":"The description of the field"},"displayInPreview":{"type":"object","description":"The display in preview configuration of the field","additionalProperties":{"type":"object","properties":{"order":{"type":"integer","format":"int32","description":"The display order of this property in the consumer's preview."},"show":{"type":"boolean","description":"Whether this property is displayed in the consumer's preview."}}}},"displayName":{"type":"string","description":"The name of the field"},"dynamicValues":{"type":"boolean"},"folder":{"type":"boolean"},"hidden":{"type":"boolean","description":"Whether the field should be hidden for the whole life-cycle of documents of the class"},"id":{"type":"string","description":"The ID of the field (read-only field)"},"kind":{"type":"string"},"levelNames":{"type":"array","items":{"type":"string"}},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string"}},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string"}},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"]}}},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"]},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"]}}},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)"}}}}},"mandatory":{"type":"boolean","description":"Whether the field should be mandatory for the whole life-cycle of documents of the class (not compatible for all field types)"},"mappingSourceField":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the field (read-only)"},"id":{"type":"string","description":"The ID of the field"}}},"multiple":{"type":"boolean","description":"Whether the field should be multi-valued (not compatible for all field types)"},"placeholderText":{"type":"string","description":"The placeholder text if customPlaceholder = true"},"rank":{"type":"integer","format":"int32","description":"The rank of the field in the list (deprecated)"},"readOnly":{"type":"boolean","description":"Whether the field should be read-only for the whole life-cycle of documents of the class (not compatible for all field types)"},"referenceCatalog":{"type":"object","properties":{"createdAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was created (read-only field)"},"id":{"type":"string","description":"The ID of the reference catalog (read-only field)"},"kind":{"type":"string"},"levelNames":{"type":"array","description":"Ordered name of levels of the reference catalog","items":{"type":"string"}},"modifiedAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was last modified (read-only field)"},"name":{"type":"string","description":"The name of the reference catalog"},"numberOfValues":{"type":"integer","format":"int32","description":"The number of values in the reference catalog (read-only field)"}}},"referenceCatalogId":{"type":"string","description":"The ID of the reference catalog (if type = REFERENCE_CATALOG)"},"type":{"type":"string","description":"The type of field (STRING, TEXT, DATE, TIME, DATETIME, INTEGER, DECIMAL, BOOLEAN, PERSON, GEOPOINT, URL, CATEGORY, REFERENCE_CATALOG, TABLE)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"]},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD"},"className":{"type":"string","description":"The name of the class when type = FIELD"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"]},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)"}}},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid"},"kind":{"type":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields"},"regex":{"type":"string","description":"The regular expression for String fields"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range"}}}}}},"9b308f87-7c8b-415b-a763-2534d3bea0cc":{"type":"object","properties":{"ancestors":{"type":"array","description":"Ancestor category values from direct parent to root - only present with loadCategoryValue","items":{"$circularRef":"9b308f87-7c8b-415b-a763-2534d3bea0cc"}},"id":{"type":"string","description":"The ID of the category value"},"kind":{"type":"string"},"leaf":{"type":"boolean","description":"Whether the category value is leaf"},"leafInNotOutdatedTree":{"type":"boolean","description":"Whether the category value is leaf without not outdated child"},"name":{"type":"string","description":"The name of the category value"},"name_i18n":{"type":"string","description":"The internationalized name of the category value (read-only field)"},"outdated":{"type":"boolean","description":"Whether the category value is marked as outdated"},"parentId":{"type":"string","description":"The ID of the parent category value (read-only field)"},"shortName":{"type":"string","description":"The short name of the category value"},"value":{"type":"string","description":"(Deprecated) The ID of the category value"}}},"afc56d6c-86c5-48e8-ab5c-59dc6fc1a03b":{"type":"object","properties":{"editable":{"type":"boolean","description":"Whether the folder is editable by the current user (read-only field)"},"editableDocuments":{"type":"boolean","description":"Whether the documents in the folder are editable by the current user (read-only field)"},"fileId":{"type":"string","description":"The ID of the folder in Drive"},"folderAodocsId":{"type":"string","description":"The ID of the folder in AODocs model (0 if root folder)"},"folderDefinitionId":{"type":"string","description":"(Deprecated) The ID of the folder configuration"},"folderIsRoot":{"type":"boolean","description":"Whether the folder is the root folder (read-only field)"},"kind":{"type":"string"},"libraryId":{"type":"string","description":"The ID of the library"},"libraryName":{"type":"string","description":"The name of the library"},"name":{"type":"string","description":"The name of the folder"},"parentFolderAodocsId":{"type":"string","description":"The ID of the parent folder in AODocs model (0 if root folder)"},"parentFolderDriveId":{"type":"string","description":"The ID of the parent folder in Drive"},"parentFolderIsRoot":{"type":"boolean","description":"Whether the parent folder is the root folder (read-only field)"},"permittedOperations":{"type":"array","description":"The list of permitted operations to the current user (read-only field)","items":{"type":"string","enum":["DELETE","RENAME","MODIFY_ACL","VIEW_ACL","MOVE_TO_ANOTHER_FOLDER","EXPORT","EDIT_PROPERTIES","COPY","CREATE_COPY_FROM","EXPORT_COPY","CREATE_NEW_VERSION","ATTACHMENT_VERSION_REPLACE","ATTACHMENT_VERSION_CREATE","ADD_NEW_ATTACHMENT_FROM_DRIVE","ATTACH_ENCRYPTED_FILE","OPEN_IN_OFFICE","PUBLISH","UNPUBLISH","RESTORE_REVISION","REVERT_TO_THIS_REVISION","CREATE_RELATED_DOCUMENT","DOWNLOAD","DOWNLOAD_ATTACHMENT","NOTIFY_USERS","CHECK_IN","CHECK_OUT","DISCARD_CHECKOUT","FORCE_DISCARD_CHECKOUT","EDIT_TAGS","PERFORM_HUMAN_WORKFLOW_ACTIONS","VIEW_DRAFT","SHARE_PUBLICLY","VIEW_HISTORY","VIEW_VERSIONS","ADD_COMMENT","SET_TEMPLATE_AS_DEFAULT","SET_TEMPLATE_VISIBILITY_SCOPE","DELETE_COMMENT","KNOW_DRAFT","FORCE_PARALLEL_TRANSITION","CHANGE_WORKFLOW_STATE_DIRECTLY","SEE_HIDDEN_FIELDS","VIEW_TRASHED_ITEM","UNTRASH","PERMANENTLY_DELETE","VIEW_DRIVEONLY_ACL","MODIFY_DRIVEONLY_ACL","NON_GOOGLE_USERS_SUPPORT","SUPPORTS_LIVE_EVALUATION","ALLOWLIST_NOT_ENFORCED","CREATE_SUBFOLDER","CREATE_DOCUMENT_IN_THIS_FOLDER","IMPORT_FOLDERS_FROM_DRIVE_TO_THIS_FOLDER","ADD_NEW_ATTACHMENT_FROM_OSS","OPEN_IN_DRIVE","COPY_FOLDER_TREE","CHECK_FOLDER","MOVE_TO_DRIVE","COPY_TO_DRIVE","MOVE_TO_ANOTHER_LIBRARY","MOVE_TO_ANOTHER_CLASS","COPY_TO_ANOTHER_CLASS","COPY_ATTACHMENT","COPY_TO_ANOTHER_LIBRARY","EDIT_ATTACHMENT"]}},"resourceKey":{"type":"string","description":"A folder that is shared with the link may only be discovered with this resourceKey"},"restrictedDownload":{"type":"boolean","description":"Whether the documents in the folder are marked as restricted to download, copy and print (for the readers)"},"subfolders":{"type":"array","description":"The list of subfolders","items":{"$circularRef":"afc56d6c-86c5-48e8-ab5c-59dc6fc1a03b"}}}},"9ddb8dd5-ddcc-43e2-a328-c86c113f0964":{"type":"object","properties":{"deleted":{"type":"boolean"},"kind":{"type":"string"},"leaf":{"type":"boolean"},"name":{"type":"string","description":"The name"},"name_i18n":{"type":"string","description":"The internationalized name"},"parents":{"type":"array","items":{"$circularRef":"9ddb8dd5-ddcc-43e2-a328-c86c113f0964"}},"value":{"type":"string","description":"The value"}}},"b989f6d0-b70f-4bd6-8e20-48043dc0087d":{"type":"object","properties":{"customFromTitles":{"type":"array","description":"The corresponding custom title (if relation renderer enabled) for the related documents on FROM side (read-only field)","items":{"type":"object","properties":{"customHtmlTitle":{"type":"string"},"id":{"type":"string"},"kind":{"type":"string"}}}},"customToTitles":{"type":"array","description":"The corresponding custom title (if relation renderer enabled) for the related documents on TO side (read-only field)","items":{"type":"object","properties":{"customHtmlTitle":{"type":"string"},"id":{"type":"string"},"kind":{"type":"string"}}}},"from":{"type":"array","description":"The list of related documents on FROM side","items":{"type":"object","properties":{"acl":{"type":"array","items":{"type":"object","properties":{"allow":{"type":"array","items":{"type":"string"}},"for":{"type":"array","items":{"type":"string"}},"kind":{"type":"string"}}}},"attachmentFields":{"type":"array","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)"}}}},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)"}}},"description":{"type":"string","description":"The description of the field (read-only)"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user"},"fieldId":{"type":"string","description":"The ID of the field"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string"}},"fieldName":{"type":"string","description":"The name of the field"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user"},"kind":{"type":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string"}},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string"}},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"]}}},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"]},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"]}}},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)"}}}}},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values"}}},"mandatory":{"type":"boolean","description":"Whether the field is mandatory"},"metadata":{"type":"object","properties":{"attachments":{"type":"array","items":{"type":"object","properties":{"drive":{"type":"object","properties":{"iconLink":{"type":"string","description":"The URL of the icon of the file"},"kind":{"type":"string"},"link":{"type":"string","description":"The URL to the file in Drive"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string"}},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account"},"kind":{"type":"string"},"name":{"type":"string","description":"The displayed name for the permission"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)"}}}},"publishedLink":{"type":"string","description":"The URL of the file when published"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive"}}},"id":{"type":"string","description":"The ID the file as used on the storage type"},"kind":{"type":"string"},"mimeType":{"type":"string","description":"The MIME type of the file"},"name":{"type":"string","description":"The name (title) of the file"},"oss":{"type":"object","properties":{"downloadLink":{"type":"string","description":"The URL to download the OSS file"},"kind":{"type":"string"}}},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file"},"storageType":{"type":"string","description":"Where is the file stored? Either DRIVE (Google Drive), or OSS (AODocs Object Storage System)","enum":["OSS","DRIVE"]}}}},"kind":{"type":"string"}}},"multiple":{"type":"boolean","description":"Whether there can be multiple values"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"]},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD"},"className":{"type":"string","description":"The name of the class when type = FIELD"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"]},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)"}}},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid"},"kind":{"type":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields"},"regex":{"type":"string","description":"The regular expression for String fields"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range"}}},"values":{"type":"array","description":"The list of values for the field","items":{"type":"string"}}}}},"attachments":{"type":"array","description":"The list of attachments","items":{"type":"object","properties":{"autodeskUrn":{"type":"object","properties":{"status":{"type":"string","enum":["READY","IN_PROGRESS","FAILED"]},"urn":{"type":"string"}}},"fileId":{"type":"string","description":"The ID the file in Drive"},"iconLink":{"type":"string","description":"The URL of the icon of the file"},"kind":{"type":"string"},"link":{"type":"string","description":"The URL to the file in Drive (read-only)"},"md5Checksum":{"type":"string","description":"The MD5 checksum of the file content (null for native Google files)"},"mimeType":{"type":"string","description":"The MIME type of the file"},"name":{"type":"string","description":"The name (title) of the file"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string"}},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account"},"kind":{"type":"string"},"name":{"type":"string","description":"The displayed name for the permission"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)"}}}},"publishedLink":{"type":"string","description":"The URL of the file when published"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file"},"storageLocation":{"type":"string","description":"The storage location of the file. Possible values are 'DRIVE' and 'OSS' (read-only)","enum":["DRIVE","OSS"]}}}},"attachmentsToCopy":{"type":"array","description":"The list of attachments to copy (for create/patch)","items":{"type":"object","properties":{"autodeskUrn":{"type":"object","properties":{"status":{"type":"string","enum":["READY","IN_PROGRESS","FAILED"]},"urn":{"type":"string"}}},"fileId":{"type":"string","description":"The ID the file in Drive"},"iconLink":{"type":"string","description":"The URL of the icon of the file"},"kind":{"type":"string"},"link":{"type":"string","description":"The URL to the file in Drive (read-only)"},"md5Checksum":{"type":"string","description":"The MD5 checksum of the file content (null for native Google files)"},"mimeType":{"type":"string","description":"The MIME type of the file"},"name":{"type":"string","description":"The name (title) of the file"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string"}},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account"},"kind":{"type":"string"},"name":{"type":"string","description":"The displayed name for the permission"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)"}}}},"publishedLink":{"type":"string","description":"The URL of the file when published"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file"},"storageLocation":{"type":"string","description":"The storage location of the file. Possible values are 'DRIVE' and 'OSS' (read-only)","enum":["DRIVE","OSS"]}}}},"categories":{"type":"array","description":"The list of category fields (only the values are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)"}}}},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)"}}},"categoryDefinition":{"type":"object","properties":{"description":{"type":"string","description":"The description of the category"},"dynamicValues":{"type":"boolean","description":"Whether the category authorizes dynamic values"},"folder":{"type":"boolean","description":"Whether the category is the Folder category (read-only)"},"id":{"type":"string","description":"The ID of the category"},"kind":{"type":"string"},"levelNames":{"type":"array","description":"The name of the levels in the category","items":{"type":"string"}},"levelNames_i18n":{"type":"array","description":"The internationalized name of the levels in the category (read-only field)","items":{"type":"string"}},"libraryId":{"type":"string","description":"The ID of the library"},"name":{"type":"string","description":"The name of the category"},"tags":{"type":"boolean","description":"Whether the category is the Tags category (read-only)"},"value":{"type":"string","description":"The ID of the category (backward compatibility for category.category.listCategoryDefinitions)"}}},"categoryValueMapping":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the mapping (read-only)"},"id":{"type":"string","description":"The ID of the category value mapping"}}},"definitionId":{"type":"string","description":"(Deprecated) The ID of the category"},"definitionName":{"type":"string"},"description":{"type":"string","description":"The description of the field (read-only)"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)"},"dynamicValues":{"type":"boolean"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user"},"fieldId":{"type":"string","description":"The ID of the field"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string"}},"fieldName":{"type":"string","description":"The name of the field"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)"},"folder":{"type":"boolean"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user"},"kind":{"type":"string"},"levelNames":{"type":"array","items":{"type":"string"}},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string"}},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string"}},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"]}}},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"]},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"]}}},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)"}}}}},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values"}}},"mandatory":{"type":"boolean","description":"Whether the field is mandatory"},"mappingSourceField":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the field (read-only)"},"id":{"type":"string","description":"The ID of the field"}}},"multiple":{"type":"boolean","description":"Whether there can be multiple values"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"]},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD"},"className":{"type":"string","description":"The name of the class when type = FIELD"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"]},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)"}}},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid"},"kind":{"type":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields"},"regex":{"type":"string","description":"The regular expression for String fields"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range"}}},"values":{"type":"array","description":"The list of category values","items":{"type":"array","items":{"type":"object","properties":{"ancestors":{"type":"array","description":"Ancestor category values from direct parent to root - only present with loadCategoryValue","items":{"$circularRef":"9b308f87-7c8b-415b-a763-2534d3bea0cc"}},"id":{"type":"string","description":"The ID of the category value"},"kind":{"type":"string"},"leaf":{"type":"boolean","description":"Whether the category value is leaf"},"leafInNotOutdatedTree":{"type":"boolean","description":"Whether the category value is leaf without not outdated child"},"name":{"type":"string","description":"The name of the category value"},"name_i18n":{"type":"string","description":"The internationalized name of the category value (read-only field)"},"outdated":{"type":"boolean","description":"Whether the category value is marked as outdated"},"parentId":{"type":"string","description":"The ID of the parent category value (read-only field)"},"shortName":{"type":"string","description":"The short name of the category value"},"value":{"type":"string","description":"(Deprecated) The ID of the category value"}}}}}}}},"checkOutBy":{"type":"string","description":"The email of the user who checked-out the document (read-only field)"},"checkoutDate":{"type":"string","description":"The time at which the document was checked-out (read-only field)"},"classId":{"type":"string","description":"The ID of the class of the document (read-only field)"},"className":{"type":"string","description":"The name of the class of the document (read-only field)"},"className_i18n":{"type":"string","description":"The internationalized name of the class of the document (read-only field)"},"coordinate":{"type":"string","description":"The coordinate of the sequence for the document (\u003clibrarySequenceId>.\u003cdocumentClassSequenceId>.\u003cdocumentSequenceId>[.\u003cversionSequenceId>]) (read-only field)"},"creationDate":{"type":"string","description":"The time at which the document was created (read-only field)"},"deleteAuthor":{"type":"string","description":"The email of the user who deleted the document (read-only field)"},"deleted":{"type":"boolean","description":"Whether the document is deleted (read-only field)"},"deletedReason":{"type":"string","description":"The reason for deleting the document (read-only field)"},"deletionDate":{"type":"string","description":"The time at which the document was deleted (read-only field)"},"domainName":{"type":"string","description":"The name of the domain (read-only field)"},"driveOnlyPermissions":{"type":"array","description":"The list of additional permissions configured in Secured Folder libraries","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string"}},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account"},"kind":{"type":"string"},"name":{"type":"string","description":"The displayed name for the permission"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)"}}}},"editable":{"type":"boolean","description":"Whether the current user can edit the document (read-only field)"},"evaluationError":{"type":"boolean","description":"Whether there is an evaluation error on at least one field of the document (read-only field)"},"externalSource":{"type":"object","properties":{"displayName":{"type":"string","description":"The text displayed for the external source link."},"url":{"type":"string","description":"The URL of the external source. Must be non-null and non-empty when clear is false."}}},"fields":{"type":"array","description":"The list of native fields (values and metadata are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)"}}}},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)"}}},"description":{"type":"string","description":"The description of the field (read-only)"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user"},"fieldId":{"type":"string","description":"The ID of the field"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string"}},"fieldName":{"type":"string","description":"The name of the field"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user"},"kind":{"type":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string"}},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string"}},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"]}}},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"]},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"]}}},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)"}}}}},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values"}}},"mandatory":{"type":"boolean","description":"Whether the field is mandatory"},"metadata":{"type":"object","properties":{"attachments":{"type":"array","items":{"type":"object","properties":{"drive":{"type":"object","properties":{"iconLink":{"type":"string","description":"The URL of the icon of the file"},"kind":{"type":"string"},"link":{"type":"string","description":"The URL to the file in Drive"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string"}},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account"},"kind":{"type":"string"},"name":{"type":"string","description":"The displayed name for the permission"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)"}}}},"publishedLink":{"type":"string","description":"The URL of the file when published"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive"}}},"id":{"type":"string","description":"The ID the file as used on the storage type"},"kind":{"type":"string"},"mimeType":{"type":"string","description":"The MIME type of the file"},"name":{"type":"string","description":"The name (title) of the file"},"oss":{"type":"object","properties":{"downloadLink":{"type":"string","description":"The URL to download the OSS file"},"kind":{"type":"string"}}},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file"},"storageType":{"type":"string","description":"Where is the file stored? Either DRIVE (Google Drive), or OSS (AODocs Object Storage System)","enum":["OSS","DRIVE"]}}}},"kind":{"type":"string"}}},"multiple":{"type":"boolean","description":"Whether there can be multiple values"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"]},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD"},"className":{"type":"string","description":"The name of the class when type = FIELD"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"]},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)"}}},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid"},"kind":{"type":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields"},"regex":{"type":"string","description":"The regular expression for String fields"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range"}}},"values":{"type":"array","description":"The list of values for the field","items":{"type":"string"}}}}},"folders":{"type":"array","description":"The location of the document (folder path as list of folders)","items":{"type":"object","properties":{"editable":{"type":"boolean","description":"Whether the folder is editable by the current user (read-only field)"},"editableDocuments":{"type":"boolean","description":"Whether the documents in the folder are editable by the current user (read-only field)"},"fileId":{"type":"string","description":"The ID of the folder in Drive"},"folderAodocsId":{"type":"string","description":"The ID of the folder in AODocs model (0 if root folder)"},"folderDefinitionId":{"type":"string","description":"(Deprecated) The ID of the folder configuration"},"folderIsRoot":{"type":"boolean","description":"Whether the folder is the root folder (read-only field)"},"kind":{"type":"string"},"libraryId":{"type":"string","description":"The ID of the library"},"libraryName":{"type":"string","description":"The name of the library"},"name":{"type":"string","description":"The name of the folder"},"parentFolderAodocsId":{"type":"string","description":"The ID of the parent folder in AODocs model (0 if root folder)"},"parentFolderDriveId":{"type":"string","description":"The ID of the parent folder in Drive"},"parentFolderIsRoot":{"type":"boolean","description":"Whether the parent folder is the root folder (read-only field)"},"permittedOperations":{"type":"array","description":"The list of permitted operations to the current user (read-only field)","items":{"type":"string","enum":["DELETE","RENAME","MODIFY_ACL","VIEW_ACL","MOVE_TO_ANOTHER_FOLDER","EXPORT","EDIT_PROPERTIES","COPY","CREATE_COPY_FROM","EXPORT_COPY","CREATE_NEW_VERSION","ATTACHMENT_VERSION_REPLACE","ATTACHMENT_VERSION_CREATE","ADD_NEW_ATTACHMENT_FROM_DRIVE","ATTACH_ENCRYPTED_FILE","OPEN_IN_OFFICE","PUBLISH","UNPUBLISH","RESTORE_REVISION","REVERT_TO_THIS_REVISION","CREATE_RELATED_DOCUMENT","DOWNLOAD","DOWNLOAD_ATTACHMENT","NOTIFY_USERS","CHECK_IN","CHECK_OUT","DISCARD_CHECKOUT","FORCE_DISCARD_CHECKOUT","EDIT_TAGS","PERFORM_HUMAN_WORKFLOW_ACTIONS","VIEW_DRAFT","SHARE_PUBLICLY","VIEW_HISTORY","VIEW_VERSIONS","ADD_COMMENT","SET_TEMPLATE_AS_DEFAULT","SET_TEMPLATE_VISIBILITY_SCOPE","DELETE_COMMENT","KNOW_DRAFT","FORCE_PARALLEL_TRANSITION","CHANGE_WORKFLOW_STATE_DIRECTLY","SEE_HIDDEN_FIELDS","VIEW_TRASHED_ITEM","UNTRASH","PERMANENTLY_DELETE","VIEW_DRIVEONLY_ACL","MODIFY_DRIVEONLY_ACL","NON_GOOGLE_USERS_SUPPORT","SUPPORTS_LIVE_EVALUATION","ALLOWLIST_NOT_ENFORCED","CREATE_SUBFOLDER","CREATE_DOCUMENT_IN_THIS_FOLDER","IMPORT_FOLDERS_FROM_DRIVE_TO_THIS_FOLDER","ADD_NEW_ATTACHMENT_FROM_OSS","OPEN_IN_DRIVE","COPY_FOLDER_TREE","CHECK_FOLDER","MOVE_TO_DRIVE","COPY_TO_DRIVE","MOVE_TO_ANOTHER_LIBRARY","MOVE_TO_ANOTHER_CLASS","COPY_TO_ANOTHER_CLASS","COPY_ATTACHMENT","COPY_TO_ANOTHER_LIBRARY","EDIT_ATTACHMENT"]}},"resourceKey":{"type":"string","description":"A folder that is shared with the link may only be discovered with this resourceKey"},"restrictedDownload":{"type":"boolean","description":"Whether the documents in the folder are marked as restricted to download, copy and print (for the readers)"},"subfolders":{"type":"array","description":"The list of subfolders","items":{"$circularRef":"afc56d6c-86c5-48e8-ab5c-59dc6fc1a03b"}}}}},"forbiddenOperations":{"type":"object","description":"The map of the forbidden operations to the current user and the reasons why they are forbidden (read-only field)","additionalProperties":{"type":"array","items":{"type":"object","properties":{"localizedMessage":{"type":"string"},"reason":{"type":"string","enum":["MANDATORY_CHECKOUT","PROTECTED_BY_CHECKOUT","MISSING_MANDATORY_FIELD","INCORRECT_FIELD_VALUES","CHECKED_OUT_IN_NORMAL_STATE","CONTAINS_ATTACHMENT","HAS_FOLDER","IS_DEFAULT_TEMPLATE","IS_HIDDEN","DOCUMENT_IS_DELETED","PERMISSION_NEEDED","CSE_ENCRYPTED_ATTACHMENT","THIRD_PARTY_SHORTCUT","DRIVEONLY_PERMISSIONS_NOT_SUPPORTED"]}}}}},"fullSizeOfAttachments":{"type":"integer","format":"int64","description":"The summed size (in octet) of the attachments (read-only field)"},"iconLink":{"type":"string","description":"The link to the icon relative to the attachment (read-only field)"},"id":{"type":"string","description":"The ID of the document (read-only field)"},"incomplete":{"type":"boolean","description":"Whether there are missing mandatory fields on the document (read-only field)"},"initialAuthor":{"type":"string","description":"The email of the user who created the document (read-only field)"},"internalMetadata":{"type":"object","description":"Technical metadata set by AODocs internal services (read-only field, only writable through the restricted internal metadata API)","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"invalidValues":{"type":"boolean","description":"Whether there are invalid values for fields of the document (read-only field)"},"kind":{"type":"string"},"libraryId":{"type":"string","description":"The ID of the library (read-only field)"},"libraryName":{"type":"string","description":"The name of the library (read-only field)"},"modificationDate":{"type":"string","description":"The time at which the document was last modified (read-only field after document creation)"},"newPermissions":{"type":"array","description":"The new permissions to apply","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string"}},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account"},"kind":{"type":"string"},"name":{"type":"string","description":"The displayed name for the permission"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)"}}}},"nextVersionName":{"type":"string","description":"The next version name (read-only field)"},"numberOfAttachments":{"type":"integer","format":"int32","description":"The number of attachments in the document (read-only field)"},"onlyAdminCanChangeAcl":{"type":"boolean","description":"Whether only administrators can modify the permissions of the document"},"onlyAdminCanDelete":{"type":"boolean","description":"Whether only administrators can be delete the document"},"originalVersionId":{"type":"string","description":"Id of the original version if this version was created by restoring a previous version, otherwise null"},"permissions":{"type":"array","description":"The list of permissions relative to the document","items":{"type":"object","properties":{"fieldNames":{"type":"array","items":{"type":"string"}},"inherited":{"type":"boolean"},"kind":{"type":"string"},"name":{"type":"string"},"right":{"type":"string","enum":["NONE","READER","COMMENTER","ATTACHMENT_EDITOR","WRITER","ADMIN","SUPER_ADMIN"]},"roleNames":{"type":"array","items":{"type":"string"}},"thumbnailPhotoUrl":{"type":"string"},"type":{"type":"string","enum":["USER","GROUP","DOMAIN"]},"value":{"type":"string"}}}},"permittedOperations":{"type":"array","description":"The list of permitted operations to the current user (read-only field)","items":{"type":"string","enum":["DELETE","RENAME","MODIFY_ACL","VIEW_ACL","MOVE_TO_ANOTHER_FOLDER","EXPORT","EDIT_PROPERTIES","COPY","CREATE_COPY_FROM","EXPORT_COPY","CREATE_NEW_VERSION","ATTACHMENT_VERSION_REPLACE","ATTACHMENT_VERSION_CREATE","ADD_NEW_ATTACHMENT_FROM_DRIVE","ATTACH_ENCRYPTED_FILE","OPEN_IN_OFFICE","PUBLISH","UNPUBLISH","RESTORE_REVISION","REVERT_TO_THIS_REVISION","CREATE_RELATED_DOCUMENT","DOWNLOAD","DOWNLOAD_ATTACHMENT","NOTIFY_USERS","CHECK_IN","CHECK_OUT","DISCARD_CHECKOUT","FORCE_DISCARD_CHECKOUT","EDIT_TAGS","PERFORM_HUMAN_WORKFLOW_ACTIONS","VIEW_DRAFT","SHARE_PUBLICLY","VIEW_HISTORY","VIEW_VERSIONS","ADD_COMMENT","SET_TEMPLATE_AS_DEFAULT","SET_TEMPLATE_VISIBILITY_SCOPE","DELETE_COMMENT","KNOW_DRAFT","FORCE_PARALLEL_TRANSITION","CHANGE_WORKFLOW_STATE_DIRECTLY","SEE_HIDDEN_FIELDS","VIEW_TRASHED_ITEM","UNTRASH","PERMANENTLY_DELETE","VIEW_DRIVEONLY_ACL","MODIFY_DRIVEONLY_ACL","NON_GOOGLE_USERS_SUPPORT","SUPPORTS_LIVE_EVALUATION","ALLOWLIST_NOT_ENFORCED","CREATE_SUBFOLDER","CREATE_DOCUMENT_IN_THIS_FOLDER","IMPORT_FOLDERS_FROM_DRIVE_TO_THIS_FOLDER","ADD_NEW_ATTACHMENT_FROM_OSS","OPEN_IN_DRIVE","COPY_FOLDER_TREE","CHECK_FOLDER","MOVE_TO_DRIVE","COPY_TO_DRIVE","MOVE_TO_ANOTHER_LIBRARY","MOVE_TO_ANOTHER_CLASS","COPY_TO_ANOTHER_CLASS","COPY_ATTACHMENT","COPY_TO_ANOTHER_LIBRARY","EDIT_ATTACHMENT"]}},"publishedLink":{"type":"string","description":"The link of the publication for mono-attachment documents"},"publishedMode":{"type":"string","description":"The publication mode (NONE, DOMAIN, EVERYONE) for mono-attachment documents","enum":["NONE","DOMAIN","EVERYONE"]},"referenceCatalogs":{"type":"array","description":"The list of reference catalog fields (only the values are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)"}}}},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)"}}},"description":{"type":"string","description":"The description of the field (read-only)"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user"},"fieldId":{"type":"string","description":"The ID of the field"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string"}},"fieldName":{"type":"string","description":"The name of the field"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user"},"kind":{"type":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string"}},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string"}},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"]}}},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"]},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"]}}},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)"}}}}},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values"}}},"mandatory":{"type":"boolean","description":"Whether the field is mandatory"},"multiple":{"type":"boolean","description":"Whether there can be multiple values"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only"},"referenceCatalog":{"type":"object","properties":{"createdAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was created (read-only field)"},"id":{"type":"string","description":"The ID of the reference catalog (read-only field)"},"kind":{"type":"string"},"levelNames":{"type":"array","description":"Ordered name of levels of the reference catalog","items":{"type":"string"}},"modifiedAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was last modified (read-only field)"},"name":{"type":"string","description":"The name of the reference catalog"},"numberOfValues":{"type":"integer","format":"int32","description":"The number of values in the reference catalog (read-only field)"}}},"referenceCatalogId":{"type":"string","description":"The ID of the reference catalog"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"]},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD"},"className":{"type":"string","description":"The name of the class when type = FIELD"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"]},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)"}}},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid"},"kind":{"type":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields"},"regex":{"type":"string","description":"The regular expression for String fields"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range"}}},"values":{"type":"array","description":"The list of reference catalog values","items":{"type":"object","properties":{"deleted":{"type":"boolean"},"kind":{"type":"string"},"leaf":{"type":"boolean"},"name":{"type":"string","description":"The name"},"name_i18n":{"type":"string","description":"The internationalized name"},"parents":{"type":"array","items":{"$circularRef":"9ddb8dd5-ddcc-43e2-a328-c86c113f0964"}},"value":{"type":"string","description":"The value"}}}}}}},"relatedDocuments":{"type":"object","description":"The map of related documents per relation","additionalProperties":{"$circularRef":"b989f6d0-b70f-4bd6-8e20-48043dc0087d"}},"restrictedDownload":{"type":"boolean","description":"Whether the flag controlling whether reader users can download, copy or print the document is enabled."},"richText":{"type":"string","description":"The description of the document"},"sections":{"type":"array","description":"The sections in which fields are organized (read-only field)","items":{"type":"object","properties":{"columnCount":{"type":"integer","format":"int32","description":"The number of columns to display fields for this section."},"description":{"type":"string","description":"The description of the section"},"fields":{"type":"array","description":"The list of fields in the section","items":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the field"},"type":{"type":"string","description":"The type of the field (read-only field)"}}}},"id":{"type":"string","description":"The ID of the section (read-only field)"},"name":{"type":"string","description":"The name of the section"},"name_i18n":{"type":"string","description":"The internationalized name of the section (read-only field)"}}}},"sequenceId":{"type":"integer","format":"int64","description":"The sequence ID of the document (read-only field)"},"setModifiedDate":{"type":"boolean","description":"Whether to set the date of last modification"},"similarDocuments":{"type":"array","description":"Represents a document identified as similar/duplicate with its associated metadata and similarity information","items":{"type":"object","properties":{"absoluteDuplicatesOnly":{"type":"boolean","description":"Flag indicating that only exact duplicate documents are considered"},"attachmentId":{"type":"string","description":"Unique identifier of the attachment associated with the document"},"attachmentLink":{"type":"string","description":"Direct link to download or access the attachment"},"attachmentMimeType":{"type":"string","description":"MIME type of the attachment"},"attachmentName":{"type":"string","description":"Name of the attachment file"},"documentId":{"type":"string","description":"Unique identifier of the similar document"},"documentLink":{"type":"string","description":"Direct link to access the similar document"},"documentTitle":{"type":"string","description":"Title of the similar document"},"libraryId":{"type":"string","description":"Unique identifier of the library where the similar document is located"},"locationInfo":{"type":"string","description":"Information about where the similar content is located within the document"},"locationType":{"type":"string","description":"Type of location reference"},"quotedText":{"type":"string","description":"Extract of the text that was used to determine similarity"},"similarityScore":{"type":"number","format":"double","description":"Similarity score between the documents"}}}},"state":{"type":"string","description":"The name of the workflow state (read-only field)"},"stateChangeAuthors":{"type":"array","description":"The person(s) who were involved in the last workflow state change (read-only field)","items":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD"},"className":{"type":"string","description":"The name of the class when type = FIELD"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"]},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)"}}}},"stateChangeDate":{"type":"string","format":"date-time","description":"The date at which the document last changed of workflow state (read-only field)"},"stateId":{"type":"string","description":"The ID of the workflow state"},"state_i18n":{"type":"string","description":"The internationalized name of the workflow state (read-only field)"},"systemFields":{"type":"array","description":"The list of system fields (only the values are editable)","items":{"type":"object","properties":{"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)"}}},"displayName":{"type":"string","description":"The internationalized name of the field"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user"},"fieldMetadata":{"type":"object","description":"Additional metadata associated with the field","additionalProperties":{"type":"string"}},"hidden":{"type":"boolean","description":"Whether the field is hidden to the current user"},"id":{"type":"string","description":"The ID of the system field"},"kind":{"type":"string"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only"},"value":{"type":"string","description":"The value of the field"}}}},"tableFields":{"type":"array","description":"The list of table fields (only the values are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)"}}}},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)"}}},"columns":{"type":"array","description":"The columns definition of the table (read-only)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)"}}}},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)"}}},"categoryDefinition":{"type":"object","properties":{"description":{"type":"string","description":"The description of the category"},"dynamicValues":{"type":"boolean","description":"Whether the category authorizes dynamic values"},"folder":{"type":"boolean","description":"Whether the category is the Folder category (read-only)"},"id":{"type":"string","description":"The ID of the category"},"kind":{"type":"string"},"levelNames":{"type":"array","description":"The name of the levels in the category","items":{"type":"string"}},"levelNames_i18n":{"type":"array","description":"The internationalized name of the levels in the category (read-only field)","items":{"type":"string"}},"libraryId":{"type":"string","description":"The ID of the library"},"name":{"type":"string","description":"The name of the category"},"tags":{"type":"boolean","description":"Whether the category is the Tags category (read-only)"},"value":{"type":"string","description":"The ID of the category (backward compatibility for category.category.listCategoryDefinitions)"}}},"description":{"type":"string","description":"The description of the field (read-only)"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user"},"fieldId":{"type":"string","description":"The ID of the field"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string"}},"fieldName":{"type":"string","description":"The name of the field"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user"},"kind":{"type":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string"}},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string"}},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"]}}},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"]},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"]}}},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)"}}}}},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values"}}},"mandatory":{"type":"boolean","description":"Whether the field is mandatory"},"multiple":{"type":"boolean","description":"Whether there can be multiple values"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only"},"referenceCatalogDefinition":{"type":"object","properties":{"createdAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was created (read-only field)"},"id":{"type":"string","description":"The ID of the reference catalog (read-only field)"},"kind":{"type":"string"},"levelNames":{"type":"array","description":"Ordered name of levels of the reference catalog","items":{"type":"string"}},"modifiedAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was last modified (read-only field)"},"name":{"type":"string","description":"The name of the reference catalog"},"numberOfValues":{"type":"integer","format":"int32","description":"The number of values in the reference catalog (read-only field)"}}},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"]},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD"},"className":{"type":"string","description":"The name of the class when type = FIELD"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"]},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)"}}},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid"},"kind":{"type":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields"},"regex":{"type":"string","description":"The regular expression for String fields"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range"}}}}}},"description":{"type":"string","description":"The description of the field (read-only)"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user"},"fieldId":{"type":"string","description":"The ID of the field"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string"}},"fieldName":{"type":"string","description":"The name of the field"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user"},"kind":{"type":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string"}},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string"}},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"]}}},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"]},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"]}}},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)"}}}}},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values"}}},"mandatory":{"type":"boolean","description":"Whether the field is mandatory"},"multiple":{"type":"boolean","description":"Whether there can be multiple values"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"]},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD"},"className":{"type":"string","description":"The name of the class when type = FIELD"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"]},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)"}}},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid"},"kind":{"type":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields"},"regex":{"type":"string","description":"The regular expression for String fields"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range"}}},"values":{"type":"array","description":"The values (organized as rows) contained in the table","items":{"type":"object","properties":{"categories":{"type":"object","description":"Cells of type category","additionalProperties":{"type":"array","items":{"type":"array","items":{"type":"object","properties":{"ancestors":{"type":"array","description":"Ancestor category values from direct parent to root - only present with loadCategoryValue","items":{"$circularRef":"9b308f87-7c8b-415b-a763-2534d3bea0cc"}},"id":{"type":"string","description":"The ID of the category value"},"kind":{"type":"string"},"leaf":{"type":"boolean","description":"Whether the category value is leaf"},"leafInNotOutdatedTree":{"type":"boolean","description":"Whether the category value is leaf without not outdated child"},"name":{"type":"string","description":"The name of the category value"},"name_i18n":{"type":"string","description":"The internationalized name of the category value (read-only field)"},"outdated":{"type":"boolean","description":"Whether the category value is marked as outdated"},"parentId":{"type":"string","description":"The ID of the parent category value (read-only field)"},"shortName":{"type":"string","description":"The short name of the category value"},"value":{"type":"string","description":"(Deprecated) The ID of the category value"}}}}}},"fieldMetadata":{"type":"object","description":"Additional metadata associated with each column field, keyed by column field id","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"fields":{"type":"object","description":"Cells of static type","additionalProperties":{"type":"array","items":{"type":"string"}}},"referenceCatalogs":{"type":"object","description":"Cells of type reference catalog","additionalProperties":{"type":"array","items":{"type":"object","properties":{"deleted":{"type":"boolean"},"kind":{"type":"string"},"leaf":{"type":"boolean"},"name":{"type":"string","description":"The name"},"name_i18n":{"type":"string","description":"The internationalized name"},"parents":{"type":"array","items":{"$circularRef":"9ddb8dd5-ddcc-43e2-a328-c86c113f0964"}},"value":{"type":"string","description":"The value"}}}}},"rowId":{"type":"string","description":"Unique id of the current row"}}}}}}},"templateDocumentId":{"type":"string"},"title":{"type":"string","description":"The title of the document"},"updateAuthor":{"type":"string","description":"The email of the user who last modified the document (read-only field)"},"updateTokenId":{"type":"string","description":"An opaque version token for optimistic concurrency. Returned as the ETag response header on load; echo it back in the If-Match request header on patch to be rejected with 412 if the document changed meanwhile (read-only field)"},"userCanChangeAcl":{"type":"boolean","description":"Whether the current user can modify the permissions (read-only field)"},"userCanChangeProperties":{"type":"boolean","description":"Whether the current user can modify the properties (read-only field)"},"userCanDelete":{"type":"boolean","description":"Whether the current user can delete the document (read-only field)"},"userMapping":{"type":"object","description":"The mapping between user email and user profile (read-only field)","additionalProperties":{"type":"object","properties":{"email":{"type":"string","description":"The email of the user"},"kind":{"type":"string"},"name":{"type":"string","description":"The displayed name of the user"},"nonGoogle":{"type":"boolean","description":"This user is not a google user"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture of the user"}}}},"versionCreated":{"type":"string","format":"date-time","description":"The time at which the version was created (read-only field)"},"versionCreator":{"type":"string","description":"The email of the user who created the version (read-only field)"},"versionDescription":{"type":"string","description":"The description of the current version of the document"},"versionId":{"type":"string","description":"The ID of the version (read-only field)"},"versionLabel":{"type":"string","description":"(Deprecated) The description of the version (replaced by versionDescription)"},"versionName":{"type":"string","description":"The name of the current version of the document"},"versionNumber":{"type":"string","description":"(Deprecated) The number of the version (replaced by versionName)"},"viewConfiguration":{"type":"object","properties":{"defaultTabToDisplay":{"type":"string","description":"The tab to display when open the document","enum":["PROPERTIES","FIRST_ATTACHMENT","SPLIT","FILE"]},"kind":{"type":"string"},"orientation":{"type":"string","description":"The orientation to display the document (PORTRAIT or LANDSCAPE)","enum":["PORTRAIT","LANDSCAPE"]},"visibleRelations":{"type":"array","description":"The list of ordered relations to display in the Relations section","items":{"type":"string"}},"visibleSections":{"type":"array","description":"The list of ordered sections to display","items":{"type":"string","enum":["INFO","WORKFLOW","PROPERTIES","ATTACHMENTS","RELATIONS","DESCRIPTION"]}}}},"workflowId":{"type":"string","description":"The ID of the workflow related to the class of the document (read-only field)"}}}},"kind":{"type":"string"},"relationId":{"type":"string","description":"The ID of the relation"},"to":{"type":"array","description":"The list of related documents on TO side","items":{"type":"object","properties":{"acl":{"type":"array","items":{"type":"object","properties":{"allow":{"type":"array","items":{"type":"string"}},"for":{"type":"array","items":{"type":"string"}},"kind":{"type":"string"}}}},"attachmentFields":{"type":"array","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)"}}}},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)"}}},"description":{"type":"string","description":"The description of the field (read-only)"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user"},"fieldId":{"type":"string","description":"The ID of the field"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string"}},"fieldName":{"type":"string","description":"The name of the field"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user"},"kind":{"type":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string"}},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string"}},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"]}}},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"]},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"]}}},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)"}}}}},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values"}}},"mandatory":{"type":"boolean","description":"Whether the field is mandatory"},"metadata":{"type":"object","properties":{"attachments":{"type":"array","items":{"type":"object","properties":{"drive":{"type":"object","properties":{"iconLink":{"type":"string","description":"The URL of the icon of the file"},"kind":{"type":"string"},"link":{"type":"string","description":"The URL to the file in Drive"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string"}},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account"},"kind":{"type":"string"},"name":{"type":"string","description":"The displayed name for the permission"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)"}}}},"publishedLink":{"type":"string","description":"The URL of the file when published"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive"}}},"id":{"type":"string","description":"The ID the file as used on the storage type"},"kind":{"type":"string"},"mimeType":{"type":"string","description":"The MIME type of the file"},"name":{"type":"string","description":"The name (title) of the file"},"oss":{"type":"object","properties":{"downloadLink":{"type":"string","description":"The URL to download the OSS file"},"kind":{"type":"string"}}},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file"},"storageType":{"type":"string","description":"Where is the file stored? Either DRIVE (Google Drive), or OSS (AODocs Object Storage System)","enum":["OSS","DRIVE"]}}}},"kind":{"type":"string"}}},"multiple":{"type":"boolean","description":"Whether there can be multiple values"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"]},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD"},"className":{"type":"string","description":"The name of the class when type = FIELD"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"]},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)"}}},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid"},"kind":{"type":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields"},"regex":{"type":"string","description":"The regular expression for String fields"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range"}}},"values":{"type":"array","description":"The list of values for the field","items":{"type":"string"}}}}},"attachments":{"type":"array","description":"The list of attachments","items":{"type":"object","properties":{"autodeskUrn":{"type":"object","properties":{"status":{"type":"string","enum":["READY","IN_PROGRESS","FAILED"]},"urn":{"type":"string"}}},"fileId":{"type":"string","description":"The ID the file in Drive"},"iconLink":{"type":"string","description":"The URL of the icon of the file"},"kind":{"type":"string"},"link":{"type":"string","description":"The URL to the file in Drive (read-only)"},"md5Checksum":{"type":"string","description":"The MD5 checksum of the file content (null for native Google files)"},"mimeType":{"type":"string","description":"The MIME type of the file"},"name":{"type":"string","description":"The name (title) of the file"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string"}},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account"},"kind":{"type":"string"},"name":{"type":"string","description":"The displayed name for the permission"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)"}}}},"publishedLink":{"type":"string","description":"The URL of the file when published"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file"},"storageLocation":{"type":"string","description":"The storage location of the file. Possible values are 'DRIVE' and 'OSS' (read-only)","enum":["DRIVE","OSS"]}}}},"attachmentsToCopy":{"type":"array","description":"The list of attachments to copy (for create/patch)","items":{"type":"object","properties":{"autodeskUrn":{"type":"object","properties":{"status":{"type":"string","enum":["READY","IN_PROGRESS","FAILED"]},"urn":{"type":"string"}}},"fileId":{"type":"string","description":"The ID the file in Drive"},"iconLink":{"type":"string","description":"The URL of the icon of the file"},"kind":{"type":"string"},"link":{"type":"string","description":"The URL to the file in Drive (read-only)"},"md5Checksum":{"type":"string","description":"The MD5 checksum of the file content (null for native Google files)"},"mimeType":{"type":"string","description":"The MIME type of the file"},"name":{"type":"string","description":"The name (title) of the file"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string"}},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account"},"kind":{"type":"string"},"name":{"type":"string","description":"The displayed name for the permission"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)"}}}},"publishedLink":{"type":"string","description":"The URL of the file when published"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive"},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file"},"storageLocation":{"type":"string","description":"The storage location of the file. Possible values are 'DRIVE' and 'OSS' (read-only)","enum":["DRIVE","OSS"]}}}},"categories":{"type":"array","description":"The list of category fields (only the values are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)"}}}},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)"}}},"categoryDefinition":{"type":"object","properties":{"description":{"type":"string","description":"The description of the category"},"dynamicValues":{"type":"boolean","description":"Whether the category authorizes dynamic values"},"folder":{"type":"boolean","description":"Whether the category is the Folder category (read-only)"},"id":{"type":"string","description":"The ID of the category"},"kind":{"type":"string"},"levelNames":{"type":"array","description":"The name of the levels in the category","items":{"type":"string"}},"levelNames_i18n":{"type":"array","description":"The internationalized name of the levels in the category (read-only field)","items":{"type":"string"}},"libraryId":{"type":"string","description":"The ID of the library"},"name":{"type":"string","description":"The name of the category"},"tags":{"type":"boolean","description":"Whether the category is the Tags category (read-only)"},"value":{"type":"string","description":"The ID of the category (backward compatibility for category.category.listCategoryDefinitions)"}}},"categoryValueMapping":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the mapping (read-only)"},"id":{"type":"string","description":"The ID of the category value mapping"}}},"definitionId":{"type":"string","description":"(Deprecated) The ID of the category"},"definitionName":{"type":"string"},"description":{"type":"string","description":"The description of the field (read-only)"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)"},"dynamicValues":{"type":"boolean"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user"},"fieldId":{"type":"string","description":"The ID of the field"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string"}},"fieldName":{"type":"string","description":"The name of the field"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)"},"folder":{"type":"boolean"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user"},"kind":{"type":"string"},"levelNames":{"type":"array","items":{"type":"string"}},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string"}},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string"}},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"]}}},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"]},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"]}}},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)"}}}}},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values"}}},"mandatory":{"type":"boolean","description":"Whether the field is mandatory"},"mappingSourceField":{"type":"object","properties":{"displayName":{"type":"string","description":"The display name of the field (read-only)"},"id":{"type":"string","description":"The ID of the field"}}},"multiple":{"type":"boolean","description":"Whether there can be multiple values"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"]},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD"},"className":{"type":"string","description":"The name of the class when type = FIELD"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"]},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)"}}},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid"},"kind":{"type":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields"},"regex":{"type":"string","description":"The regular expression for String fields"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range"}}},"values":{"type":"array","description":"The list of category values","items":{"type":"array","items":{"type":"object","properties":{"ancestors":{"type":"array","description":"Ancestor category values from direct parent to root - only present with loadCategoryValue","items":{"$circularRef":"9b308f87-7c8b-415b-a763-2534d3bea0cc"}},"id":{"type":"string","description":"The ID of the category value"},"kind":{"type":"string"},"leaf":{"type":"boolean","description":"Whether the category value is leaf"},"leafInNotOutdatedTree":{"type":"boolean","description":"Whether the category value is leaf without not outdated child"},"name":{"type":"string","description":"The name of the category value"},"name_i18n":{"type":"string","description":"The internationalized name of the category value (read-only field)"},"outdated":{"type":"boolean","description":"Whether the category value is marked as outdated"},"parentId":{"type":"string","description":"The ID of the parent category value (read-only field)"},"shortName":{"type":"string","description":"The short name of the category value"},"value":{"type":"string","description":"(Deprecated) The ID of the category value"}}}}}}}},"checkOutBy":{"type":"string","description":"The email of the user who checked-out the document (read-only field)"},"checkoutDate":{"type":"string","description":"The time at which the document was checked-out (read-only field)"},"classId":{"type":"string","description":"The ID of the class of the document (read-only field)"},"className":{"type":"string","description":"The name of the class of the document (read-only field)"},"className_i18n":{"type":"string","description":"The internationalized name of the class of the document (read-only field)"},"coordinate":{"type":"string","description":"The coordinate of the sequence for the document (\u003clibrarySequenceId>.\u003cdocumentClassSequenceId>.\u003cdocumentSequenceId>[.\u003cversionSequenceId>]) (read-only field)"},"creationDate":{"type":"string","description":"The time at which the document was created (read-only field)"},"deleteAuthor":{"type":"string","description":"The email of the user who deleted the document (read-only field)"},"deleted":{"type":"boolean","description":"Whether the document is deleted (read-only field)"},"deletedReason":{"type":"string","description":"The reason for deleting the document (read-only field)"},"deletionDate":{"type":"string","description":"The time at which the document was deleted (read-only field)"},"domainName":{"type":"string","description":"The name of the domain (read-only field)"},"driveOnlyPermissions":{"type":"array","description":"The list of additional permissions configured in Secured Folder libraries","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string"}},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account"},"kind":{"type":"string"},"name":{"type":"string","description":"The displayed name for the permission"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)"}}}},"editable":{"type":"boolean","description":"Whether the current user can edit the document (read-only field)"},"evaluationError":{"type":"boolean","description":"Whether there is an evaluation error on at least one field of the document (read-only field)"},"externalSource":{"type":"object","properties":{"displayName":{"type":"string","description":"The text displayed for the external source link."},"url":{"type":"string","description":"The URL of the external source. Must be non-null and non-empty when clear is false."}}},"fields":{"type":"array","description":"The list of native fields (values and metadata are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)"}}}},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)"}}},"description":{"type":"string","description":"The description of the field (read-only)"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user"},"fieldId":{"type":"string","description":"The ID of the field"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string"}},"fieldName":{"type":"string","description":"The name of the field"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user"},"kind":{"type":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string"}},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string"}},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"]}}},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"]},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"]}}},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)"}}}}},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values"}}},"mandatory":{"type":"boolean","description":"Whether the field is mandatory"},"metadata":{"type":"object","properties":{"attachments":{"type":"array","items":{"type":"object","properties":{"drive":{"type":"object","properties":{"iconLink":{"type":"string","description":"The URL of the icon of the file"},"kind":{"type":"string"},"link":{"type":"string","description":"The URL to the file in Drive"},"permissionsOnDrive":{"type":"array","description":"The list of permissions set in Drive for the file","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string"}},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account"},"kind":{"type":"string"},"name":{"type":"string","description":"The displayed name for the permission"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)"}}}},"publishedLink":{"type":"string","description":"The URL of the file when published"},"resourceKey":{"type":"string","description":"A file that is shared with the link may only be discovered with this resourceKey"},"revisionId":{"type":"string","description":"The ID of the revision of the file in Drive"}}},"id":{"type":"string","description":"The ID the file as used on the storage type"},"kind":{"type":"string"},"mimeType":{"type":"string","description":"The MIME type of the file"},"name":{"type":"string","description":"The name (title) of the file"},"oss":{"type":"object","properties":{"downloadLink":{"type":"string","description":"The URL to download the OSS file"},"kind":{"type":"string"}}},"size":{"type":"integer","format":"int64","description":"The size (in octet) of the file"},"storageType":{"type":"string","description":"Where is the file stored? Either DRIVE (Google Drive), or OSS (AODocs Object Storage System)","enum":["OSS","DRIVE"]}}}},"kind":{"type":"string"}}},"multiple":{"type":"boolean","description":"Whether there can be multiple values"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"]},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD"},"className":{"type":"string","description":"The name of the class when type = FIELD"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"]},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)"}}},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid"},"kind":{"type":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields"},"regex":{"type":"string","description":"The regular expression for String fields"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range"}}},"values":{"type":"array","description":"The list of values for the field","items":{"type":"string"}}}}},"folders":{"type":"array","description":"The location of the document (folder path as list of folders)","items":{"type":"object","properties":{"editable":{"type":"boolean","description":"Whether the folder is editable by the current user (read-only field)"},"editableDocuments":{"type":"boolean","description":"Whether the documents in the folder are editable by the current user (read-only field)"},"fileId":{"type":"string","description":"The ID of the folder in Drive"},"folderAodocsId":{"type":"string","description":"The ID of the folder in AODocs model (0 if root folder)"},"folderDefinitionId":{"type":"string","description":"(Deprecated) The ID of the folder configuration"},"folderIsRoot":{"type":"boolean","description":"Whether the folder is the root folder (read-only field)"},"kind":{"type":"string"},"libraryId":{"type":"string","description":"The ID of the library"},"libraryName":{"type":"string","description":"The name of the library"},"name":{"type":"string","description":"The name of the folder"},"parentFolderAodocsId":{"type":"string","description":"The ID of the parent folder in AODocs model (0 if root folder)"},"parentFolderDriveId":{"type":"string","description":"The ID of the parent folder in Drive"},"parentFolderIsRoot":{"type":"boolean","description":"Whether the parent folder is the root folder (read-only field)"},"permittedOperations":{"type":"array","description":"The list of permitted operations to the current user (read-only field)","items":{"type":"string","enum":["DELETE","RENAME","MODIFY_ACL","VIEW_ACL","MOVE_TO_ANOTHER_FOLDER","EXPORT","EDIT_PROPERTIES","COPY","CREATE_COPY_FROM","EXPORT_COPY","CREATE_NEW_VERSION","ATTACHMENT_VERSION_REPLACE","ATTACHMENT_VERSION_CREATE","ADD_NEW_ATTACHMENT_FROM_DRIVE","ATTACH_ENCRYPTED_FILE","OPEN_IN_OFFICE","PUBLISH","UNPUBLISH","RESTORE_REVISION","REVERT_TO_THIS_REVISION","CREATE_RELATED_DOCUMENT","DOWNLOAD","DOWNLOAD_ATTACHMENT","NOTIFY_USERS","CHECK_IN","CHECK_OUT","DISCARD_CHECKOUT","FORCE_DISCARD_CHECKOUT","EDIT_TAGS","PERFORM_HUMAN_WORKFLOW_ACTIONS","VIEW_DRAFT","SHARE_PUBLICLY","VIEW_HISTORY","VIEW_VERSIONS","ADD_COMMENT","SET_TEMPLATE_AS_DEFAULT","SET_TEMPLATE_VISIBILITY_SCOPE","DELETE_COMMENT","KNOW_DRAFT","FORCE_PARALLEL_TRANSITION","CHANGE_WORKFLOW_STATE_DIRECTLY","SEE_HIDDEN_FIELDS","VIEW_TRASHED_ITEM","UNTRASH","PERMANENTLY_DELETE","VIEW_DRIVEONLY_ACL","MODIFY_DRIVEONLY_ACL","NON_GOOGLE_USERS_SUPPORT","SUPPORTS_LIVE_EVALUATION","ALLOWLIST_NOT_ENFORCED","CREATE_SUBFOLDER","CREATE_DOCUMENT_IN_THIS_FOLDER","IMPORT_FOLDERS_FROM_DRIVE_TO_THIS_FOLDER","ADD_NEW_ATTACHMENT_FROM_OSS","OPEN_IN_DRIVE","COPY_FOLDER_TREE","CHECK_FOLDER","MOVE_TO_DRIVE","COPY_TO_DRIVE","MOVE_TO_ANOTHER_LIBRARY","MOVE_TO_ANOTHER_CLASS","COPY_TO_ANOTHER_CLASS","COPY_ATTACHMENT","COPY_TO_ANOTHER_LIBRARY","EDIT_ATTACHMENT"]}},"resourceKey":{"type":"string","description":"A folder that is shared with the link may only be discovered with this resourceKey"},"restrictedDownload":{"type":"boolean","description":"Whether the documents in the folder are marked as restricted to download, copy and print (for the readers)"},"subfolders":{"type":"array","description":"The list of subfolders","items":{"$circularRef":"afc56d6c-86c5-48e8-ab5c-59dc6fc1a03b"}}}}},"forbiddenOperations":{"type":"object","description":"The map of the forbidden operations to the current user and the reasons why they are forbidden (read-only field)","additionalProperties":{"type":"array","items":{"type":"object","properties":{"localizedMessage":{"type":"string"},"reason":{"type":"string","enum":["MANDATORY_CHECKOUT","PROTECTED_BY_CHECKOUT","MISSING_MANDATORY_FIELD","INCORRECT_FIELD_VALUES","CHECKED_OUT_IN_NORMAL_STATE","CONTAINS_ATTACHMENT","HAS_FOLDER","IS_DEFAULT_TEMPLATE","IS_HIDDEN","DOCUMENT_IS_DELETED","PERMISSION_NEEDED","CSE_ENCRYPTED_ATTACHMENT","THIRD_PARTY_SHORTCUT","DRIVEONLY_PERMISSIONS_NOT_SUPPORTED"]}}}}},"fullSizeOfAttachments":{"type":"integer","format":"int64","description":"The summed size (in octet) of the attachments (read-only field)"},"iconLink":{"type":"string","description":"The link to the icon relative to the attachment (read-only field)"},"id":{"type":"string","description":"The ID of the document (read-only field)"},"incomplete":{"type":"boolean","description":"Whether there are missing mandatory fields on the document (read-only field)"},"initialAuthor":{"type":"string","description":"The email of the user who created the document (read-only field)"},"internalMetadata":{"type":"object","description":"Technical metadata set by AODocs internal services (read-only field, only writable through the restricted internal metadata API)","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"invalidValues":{"type":"boolean","description":"Whether there are invalid values for fields of the document (read-only field)"},"kind":{"type":"string"},"libraryId":{"type":"string","description":"The ID of the library (read-only field)"},"libraryName":{"type":"string","description":"The name of the library (read-only field)"},"modificationDate":{"type":"string","description":"The time at which the document was last modified (read-only field after document creation)"},"newPermissions":{"type":"array","description":"The new permissions to apply","items":{"type":"object","properties":{"additionalRoles":{"type":"array","description":"The additional roles for the permission like COMMENTER","items":{"type":"string"}},"allowlisted":{"type":"boolean","description":"Whether the email address is allowlisted (individually or via its domain) in the current domain"},"belongsToDomain":{"type":"boolean","description":"Whether the email address is part of the current domain"},"email":{"type":"string","description":"The email of the permission or the domain name if type = DOMAIN"},"googleEmailAddress":{"type":"boolean","description":"Whether the email address is tied to a Google account"},"kind":{"type":"string"},"name":{"type":"string","description":"The displayed name for the permission"},"permissionId":{"type":"string","description":"The unique ID for the permission in Drive"},"role":{"type":"string","description":"The role of the permission: READER, WRITER, OWNER"},"thumbnailPhotoUrl":{"type":"string","description":"The URL of the thumbnail picture of the permitted user or group"},"type":{"type":"string","description":"The type of permission in Drive: ANYONE, DOMAIN, GROUP, USER"},"withLink":{"type":"boolean","description":"Whether the permission imposes to have the link to access (vs. can be searched for)"}}}},"nextVersionName":{"type":"string","description":"The next version name (read-only field)"},"numberOfAttachments":{"type":"integer","format":"int32","description":"The number of attachments in the document (read-only field)"},"onlyAdminCanChangeAcl":{"type":"boolean","description":"Whether only administrators can modify the permissions of the document"},"onlyAdminCanDelete":{"type":"boolean","description":"Whether only administrators can be delete the document"},"originalVersionId":{"type":"string","description":"Id of the original version if this version was created by restoring a previous version, otherwise null"},"permissions":{"type":"array","description":"The list of permissions relative to the document","items":{"type":"object","properties":{"fieldNames":{"type":"array","items":{"type":"string"}},"inherited":{"type":"boolean"},"kind":{"type":"string"},"name":{"type":"string"},"right":{"type":"string","enum":["NONE","READER","COMMENTER","ATTACHMENT_EDITOR","WRITER","ADMIN","SUPER_ADMIN"]},"roleNames":{"type":"array","items":{"type":"string"}},"thumbnailPhotoUrl":{"type":"string"},"type":{"type":"string","enum":["USER","GROUP","DOMAIN"]},"value":{"type":"string"}}}},"permittedOperations":{"type":"array","description":"The list of permitted operations to the current user (read-only field)","items":{"type":"string","enum":["DELETE","RENAME","MODIFY_ACL","VIEW_ACL","MOVE_TO_ANOTHER_FOLDER","EXPORT","EDIT_PROPERTIES","COPY","CREATE_COPY_FROM","EXPORT_COPY","CREATE_NEW_VERSION","ATTACHMENT_VERSION_REPLACE","ATTACHMENT_VERSION_CREATE","ADD_NEW_ATTACHMENT_FROM_DRIVE","ATTACH_ENCRYPTED_FILE","OPEN_IN_OFFICE","PUBLISH","UNPUBLISH","RESTORE_REVISION","REVERT_TO_THIS_REVISION","CREATE_RELATED_DOCUMENT","DOWNLOAD","DOWNLOAD_ATTACHMENT","NOTIFY_USERS","CHECK_IN","CHECK_OUT","DISCARD_CHECKOUT","FORCE_DISCARD_CHECKOUT","EDIT_TAGS","PERFORM_HUMAN_WORKFLOW_ACTIONS","VIEW_DRAFT","SHARE_PUBLICLY","VIEW_HISTORY","VIEW_VERSIONS","ADD_COMMENT","SET_TEMPLATE_AS_DEFAULT","SET_TEMPLATE_VISIBILITY_SCOPE","DELETE_COMMENT","KNOW_DRAFT","FORCE_PARALLEL_TRANSITION","CHANGE_WORKFLOW_STATE_DIRECTLY","SEE_HIDDEN_FIELDS","VIEW_TRASHED_ITEM","UNTRASH","PERMANENTLY_DELETE","VIEW_DRIVEONLY_ACL","MODIFY_DRIVEONLY_ACL","NON_GOOGLE_USERS_SUPPORT","SUPPORTS_LIVE_EVALUATION","ALLOWLIST_NOT_ENFORCED","CREATE_SUBFOLDER","CREATE_DOCUMENT_IN_THIS_FOLDER","IMPORT_FOLDERS_FROM_DRIVE_TO_THIS_FOLDER","ADD_NEW_ATTACHMENT_FROM_OSS","OPEN_IN_DRIVE","COPY_FOLDER_TREE","CHECK_FOLDER","MOVE_TO_DRIVE","COPY_TO_DRIVE","MOVE_TO_ANOTHER_LIBRARY","MOVE_TO_ANOTHER_CLASS","COPY_TO_ANOTHER_CLASS","COPY_ATTACHMENT","COPY_TO_ANOTHER_LIBRARY","EDIT_ATTACHMENT"]}},"publishedLink":{"type":"string","description":"The link of the publication for mono-attachment documents"},"publishedMode":{"type":"string","description":"The publication mode (NONE, DOMAIN, EVERYONE) for mono-attachment documents","enum":["NONE","DOMAIN","EVERYONE"]},"referenceCatalogs":{"type":"array","description":"The list of reference catalog fields (only the values are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)"}}}},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)"}}},"description":{"type":"string","description":"The description of the field (read-only)"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user"},"fieldId":{"type":"string","description":"The ID of the field"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string"}},"fieldName":{"type":"string","description":"The name of the field"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user"},"kind":{"type":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string"}},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string"}},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"]}}},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"]},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"]}}},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)"}}}}},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values"}}},"mandatory":{"type":"boolean","description":"Whether the field is mandatory"},"multiple":{"type":"boolean","description":"Whether there can be multiple values"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only"},"referenceCatalog":{"type":"object","properties":{"createdAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was created (read-only field)"},"id":{"type":"string","description":"The ID of the reference catalog (read-only field)"},"kind":{"type":"string"},"levelNames":{"type":"array","description":"Ordered name of levels of the reference catalog","items":{"type":"string"}},"modifiedAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was last modified (read-only field)"},"name":{"type":"string","description":"The name of the reference catalog"},"numberOfValues":{"type":"integer","format":"int32","description":"The number of values in the reference catalog (read-only field)"}}},"referenceCatalogId":{"type":"string","description":"The ID of the reference catalog"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"]},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD"},"className":{"type":"string","description":"The name of the class when type = FIELD"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"]},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)"}}},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid"},"kind":{"type":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields"},"regex":{"type":"string","description":"The regular expression for String fields"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range"}}},"values":{"type":"array","description":"The list of reference catalog values","items":{"type":"object","properties":{"deleted":{"type":"boolean"},"kind":{"type":"string"},"leaf":{"type":"boolean"},"name":{"type":"string","description":"The name"},"name_i18n":{"type":"string","description":"The internationalized name"},"parents":{"type":"array","items":{"$circularRef":"9ddb8dd5-ddcc-43e2-a328-c86c113f0964"}},"value":{"type":"string","description":"The value"}}}}}}},"relatedDocuments":{"type":"object","description":"The map of related documents per relation","additionalProperties":{"$circularRef":"b989f6d0-b70f-4bd6-8e20-48043dc0087d"}},"restrictedDownload":{"type":"boolean","description":"Whether the flag controlling whether reader users can download, copy or print the document is enabled."},"richText":{"type":"string","description":"The description of the document"},"sections":{"type":"array","description":"The sections in which fields are organized (read-only field)","items":{"type":"object","properties":{"columnCount":{"type":"integer","format":"int32","description":"The number of columns to display fields for this section."},"description":{"type":"string","description":"The description of the section"},"fields":{"type":"array","description":"The list of fields in the section","items":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the field"},"type":{"type":"string","description":"The type of the field (read-only field)"}}}},"id":{"type":"string","description":"The ID of the section (read-only field)"},"name":{"type":"string","description":"The name of the section"},"name_i18n":{"type":"string","description":"The internationalized name of the section (read-only field)"}}}},"sequenceId":{"type":"integer","format":"int64","description":"The sequence ID of the document (read-only field)"},"setModifiedDate":{"type":"boolean","description":"Whether to set the date of last modification"},"similarDocuments":{"type":"array","description":"Represents a document identified as similar/duplicate with its associated metadata and similarity information","items":{"type":"object","properties":{"absoluteDuplicatesOnly":{"type":"boolean","description":"Flag indicating that only exact duplicate documents are considered"},"attachmentId":{"type":"string","description":"Unique identifier of the attachment associated with the document"},"attachmentLink":{"type":"string","description":"Direct link to download or access the attachment"},"attachmentMimeType":{"type":"string","description":"MIME type of the attachment"},"attachmentName":{"type":"string","description":"Name of the attachment file"},"documentId":{"type":"string","description":"Unique identifier of the similar document"},"documentLink":{"type":"string","description":"Direct link to access the similar document"},"documentTitle":{"type":"string","description":"Title of the similar document"},"libraryId":{"type":"string","description":"Unique identifier of the library where the similar document is located"},"locationInfo":{"type":"string","description":"Information about where the similar content is located within the document"},"locationType":{"type":"string","description":"Type of location reference"},"quotedText":{"type":"string","description":"Extract of the text that was used to determine similarity"},"similarityScore":{"type":"number","format":"double","description":"Similarity score between the documents"}}}},"state":{"type":"string","description":"The name of the workflow state (read-only field)"},"stateChangeAuthors":{"type":"array","description":"The person(s) who were involved in the last workflow state change (read-only field)","items":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD"},"className":{"type":"string","description":"The name of the class when type = FIELD"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"]},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)"}}}},"stateChangeDate":{"type":"string","format":"date-time","description":"The date at which the document last changed of workflow state (read-only field)"},"stateId":{"type":"string","description":"The ID of the workflow state"},"state_i18n":{"type":"string","description":"The internationalized name of the workflow state (read-only field)"},"systemFields":{"type":"array","description":"The list of system fields (only the values are editable)","items":{"type":"object","properties":{"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)"}}},"displayName":{"type":"string","description":"The internationalized name of the field"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user"},"fieldMetadata":{"type":"object","description":"Additional metadata associated with the field","additionalProperties":{"type":"string"}},"hidden":{"type":"boolean","description":"Whether the field is hidden to the current user"},"id":{"type":"string","description":"The ID of the system field"},"kind":{"type":"string"},"mandatory":{"type":"boolean","description":"Whether the field is mandatory"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only"},"value":{"type":"string","description":"The value of the field"}}}},"tableFields":{"type":"array","description":"The list of table fields (only the values are editable)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)"}}}},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)"}}},"columns":{"type":"array","description":"The columns definition of the table (read-only)","items":{"type":"object","properties":{"calculatedSettingsInfo":{"type":"object","description":"Information about the result of evaluation of calculated settings (read-only)","additionalProperties":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates whether the evaluation of the setting terminated on error (read-only)"},"errorMessage":{"type":"string","description":"If the evaluation terminated on error, indicates the error message (read-only)"}}}},"calculatedValueInfo":{"type":"object","properties":{"error":{"type":"boolean","description":"If the field has no value, indicates whether this is due to an evaluation error (read-only)"}}},"categoryDefinition":{"type":"object","properties":{"description":{"type":"string","description":"The description of the category"},"dynamicValues":{"type":"boolean","description":"Whether the category authorizes dynamic values"},"folder":{"type":"boolean","description":"Whether the category is the Folder category (read-only)"},"id":{"type":"string","description":"The ID of the category"},"kind":{"type":"string"},"levelNames":{"type":"array","description":"The name of the levels in the category","items":{"type":"string"}},"levelNames_i18n":{"type":"array","description":"The internationalized name of the levels in the category (read-only field)","items":{"type":"string"}},"libraryId":{"type":"string","description":"The ID of the library"},"name":{"type":"string","description":"The name of the category"},"tags":{"type":"boolean","description":"Whether the category is the Tags category (read-only)"},"value":{"type":"string","description":"The ID of the category (backward compatibility for category.category.listCategoryDefinitions)"}}},"description":{"type":"string","description":"The description of the field (read-only)"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user"},"fieldId":{"type":"string","description":"The ID of the field"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string"}},"fieldName":{"type":"string","description":"The name of the field"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user"},"kind":{"type":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string"}},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string"}},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"]}}},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"]},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"]}}},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)"}}}}},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values"}}},"mandatory":{"type":"boolean","description":"Whether the field is mandatory"},"multiple":{"type":"boolean","description":"Whether there can be multiple values"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only"},"referenceCatalogDefinition":{"type":"object","properties":{"createdAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was created (read-only field)"},"id":{"type":"string","description":"The ID of the reference catalog (read-only field)"},"kind":{"type":"string"},"levelNames":{"type":"array","description":"Ordered name of levels of the reference catalog","items":{"type":"string"}},"modifiedAt":{"type":"integer","format":"int64","description":"The timestamp (in ms) at which the catalog was last modified (read-only field)"},"name":{"type":"string","description":"The name of the reference catalog"},"numberOfValues":{"type":"integer","format":"int32","description":"The number of values in the reference catalog (read-only field)"}}},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"]},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD"},"className":{"type":"string","description":"The name of the class when type = FIELD"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"]},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)"}}},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid"},"kind":{"type":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields"},"regex":{"type":"string","description":"The regular expression for String fields"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range"}}}}}},"description":{"type":"string","description":"The description of the field (read-only)"},"description_i18n":{"type":"string","description":"The internationalized description of the field (read-only)"},"editable":{"type":"boolean","description":"Whether the field is editable by the current user"},"fieldId":{"type":"string","description":"The ID of the field"},"fieldMetadata":{"type":"object","description":"Additional metadata for AI extraction","additionalProperties":{"type":"string"}},"fieldName":{"type":"string","description":"The name of the field"},"fieldName_i18n":{"type":"string","description":"The internationalized name of the field (read-only)"},"hidden":{"type":"boolean","description":"Whether the field is hidden to the user user"},"kind":{"type":"string"},"lookupConfiguration":{"type":"object","properties":{"sourceConfiguration":{"type":"object","properties":{"displaySearchProperties":{"type":"array","description":"List of field IDs from the referenced class to be displayed in lookup search results. Valid values are custom field IDs or '_title' for the system title field.","items":{"type":"string"}},"freezeStates":{"type":"array","description":"Workflow state IDs during which the lookup target(s) freeze and do not synchronize with the referenced field. Required when synchronizationRule is FREEZE_ON_STATE.","items":{"type":"string"}},"scope":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the lookup source scope configuration (e.g.: document class ID when the type is CLASS"},"type":{"type":"string","description":"Type of the lookup source scope configuration. Supported types: CLASS","enum":["CLASS"]}}},"synchronizationRule":{"type":"string","description":"Synchronization rule for the lookup source. Supported values: NEVER, ALWAYS, FREEZE_ON_STATE","enum":["NEVER","ALWAYS","FREEZE_ON_STATE"]},"type":{"type":"string","description":"Type of the lookup source configuration. Supported types: DOCUMENT","enum":["DOCUMENT"]}}},"targetConfiguration":{"type":"object","properties":{"lookupKey":{"type":"string","description":"Key of the lookup target configuration. Used to get the value from the referenced resource (e.g.: existing fieldId of the class defined in the source lookup"},"sourceFieldId":{"type":"string","description":"Identifier of the lookup source field"},"sourceFieldName":{"type":"string","description":"Name of the lookup source field. Can be used to refer the field by name when ID is not allocated yet (e.g.: along with source field creation)"}}}}},"lookupValueInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"Display name of the source document"},"error":{"type":"boolean","description":"Indicates if there was an error during the evaluation of the lookup field values"},"errorMessage":{"type":"string","description":"Error message if any error occurred during the evaluation of the lookup field values"}}},"mandatory":{"type":"boolean","description":"Whether the field is mandatory"},"multiple":{"type":"boolean","description":"Whether there can be multiple values"},"placeholderText":{"type":"string","description":"The help text to display in the field input (read-only)"},"rank":{"type":"integer","format":"int32","description":"The rank at which the field is displayed in the document page (read-only)"},"readOnly":{"type":"boolean","description":"Whether the field is currently read-only"},"type":{"type":"string","description":"The field type (STRING, DATE, ..., CATEGORY, REFERENCE_CATALOG)","enum":["STRING","TEXT","DATE","TIME","DATETIME","INTEGER","FILESIZE","DECIMAL","BOOLEAN","PERSON","CATEGORY","GEOPOINT","URL","REFERENCE_CATALOG","MIMETYPEGROUP","CLASS","FOLDER","STATE","OSS_ATTACHMENT","DRIVE_ATTACHMENT","TABLE"]},"validation":{"type":"object","properties":{"audience":{"type":"object","properties":{"classId":{"type":"string","description":"The ID of the class when type = FIELD"},"className":{"type":"string","description":"The name of the class when type = FIELD"},"description":{"type":"string","description":"The description for type in GROUP, ROLE, FIELD"},"displayName":{"type":"string","description":"The display name of the user or group, the name of the role (read-only field)"},"displayName_i18n":{"type":"string","description":"The display name of the user or group, the internationalized name of the role (read-only field)"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture (especially for users)"},"type":{"type":"string","description":"The type of person (user, group, role, field based, domain i.e. everybody)","enum":["USER","GROUP","ROLE","FIELD","DOMAIN"]},"value":{"type":"string","description":"The email address if user or group, the ID of the role, the ID of the class/field (ignored if type = DOMAIN)"}}},"errorMessage":{"type":"string","description":"The error message if the value inputted is not valid"},"kind":{"type":"string"},"lowerLimit":{"type":"number","format":"double","description":"The lower limit of the range for numerical fields"},"lowerLimitInclusive":{"type":"boolean","description":"Whether to include the lower limit value in the range"},"mandatoryLeaf":{"type":"boolean","description":"Whether the leaf selection is required for Category or Reference Catalog fields"},"regex":{"type":"string","description":"The regular expression for String fields"},"upperLimit":{"type":"number","format":"double","description":"The upper limit of the range for numerical fields"},"upperLimitInclusive":{"type":"boolean","description":"Whether to include the upper limit value in the range"}}},"values":{"type":"array","description":"The values (organized as rows) contained in the table","items":{"type":"object","properties":{"categories":{"type":"object","description":"Cells of type category","additionalProperties":{"type":"array","items":{"type":"array","items":{"type":"object","properties":{"ancestors":{"type":"array","description":"Ancestor category values from direct parent to root - only present with loadCategoryValue","items":{"$circularRef":"9b308f87-7c8b-415b-a763-2534d3bea0cc"}},"id":{"type":"string","description":"The ID of the category value"},"kind":{"type":"string"},"leaf":{"type":"boolean","description":"Whether the category value is leaf"},"leafInNotOutdatedTree":{"type":"boolean","description":"Whether the category value is leaf without not outdated child"},"name":{"type":"string","description":"The name of the category value"},"name_i18n":{"type":"string","description":"The internationalized name of the category value (read-only field)"},"outdated":{"type":"boolean","description":"Whether the category value is marked as outdated"},"parentId":{"type":"string","description":"The ID of the parent category value (read-only field)"},"shortName":{"type":"string","description":"The short name of the category value"},"value":{"type":"string","description":"(Deprecated) The ID of the category value"}}}}}},"fieldMetadata":{"type":"object","description":"Additional metadata associated with each column field, keyed by column field id","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"fields":{"type":"object","description":"Cells of static type","additionalProperties":{"type":"array","items":{"type":"string"}}},"referenceCatalogs":{"type":"object","description":"Cells of type reference catalog","additionalProperties":{"type":"array","items":{"type":"object","properties":{"deleted":{"type":"boolean"},"kind":{"type":"string"},"leaf":{"type":"boolean"},"name":{"type":"string","description":"The name"},"name_i18n":{"type":"string","description":"The internationalized name"},"parents":{"type":"array","items":{"$circularRef":"9ddb8dd5-ddcc-43e2-a328-c86c113f0964"}},"value":{"type":"string","description":"The value"}}}}},"rowId":{"type":"string","description":"Unique id of the current row"}}}}}}},"templateDocumentId":{"type":"string"},"title":{"type":"string","description":"The title of the document"},"updateAuthor":{"type":"string","description":"The email of the user who last modified the document (read-only field)"},"updateTokenId":{"type":"string","description":"An opaque version token for optimistic concurrency. Returned as the ETag response header on load; echo it back in the If-Match request header on patch to be rejected with 412 if the document changed meanwhile (read-only field)"},"userCanChangeAcl":{"type":"boolean","description":"Whether the current user can modify the permissions (read-only field)"},"userCanChangeProperties":{"type":"boolean","description":"Whether the current user can modify the properties (read-only field)"},"userCanDelete":{"type":"boolean","description":"Whether the current user can delete the document (read-only field)"},"userMapping":{"type":"object","description":"The mapping between user email and user profile (read-only field)","additionalProperties":{"type":"object","properties":{"email":{"type":"string","description":"The email of the user"},"kind":{"type":"string"},"name":{"type":"string","description":"The displayed name of the user"},"nonGoogle":{"type":"boolean","description":"This user is not a google user"},"thumbnailPictureUrl":{"type":"string","description":"The URL of the thumbnail picture of the user"}}}},"versionCreated":{"type":"string","format":"date-time","description":"The time at which the version was created (read-only field)"},"versionCreator":{"type":"string","description":"The email of the user who created the version (read-only field)"},"versionDescription":{"type":"string","description":"The description of the current version of the document"},"versionId":{"type":"string","description":"The ID of the version (read-only field)"},"versionLabel":{"type":"string","description":"(Deprecated) The description of the version (replaced by versionDescription)"},"versionName":{"type":"string","description":"The name of the current version of the document"},"versionNumber":{"type":"string","description":"(Deprecated) The number of the version (replaced by versionName)"},"viewConfiguration":{"type":"object","properties":{"defaultTabToDisplay":{"type":"string","description":"The tab to display when open the document","enum":["PROPERTIES","FIRST_ATTACHMENT","SPLIT","FILE"]},"kind":{"type":"string"},"orientation":{"type":"string","description":"The orientation to display the document (PORTRAIT or LANDSCAPE)","enum":["PORTRAIT","LANDSCAPE"]},"visibleRelations":{"type":"array","description":"The list of ordered relations to display in the Relations section","items":{"type":"string"}},"visibleSections":{"type":"array","description":"The list of ordered sections to display","items":{"type":"string","enum":["INFO","WORKFLOW","PROPERTIES","ATTACHMENTS","RELATIONS","DESCRIPTION"]}}}},"workflowId":{"type":"string","description":"The ID of the workflow related to the class of the document (read-only field)"}}}}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"oauth2","x-google-issuer":"https://accounts.google.com","x-google-jwks_uri":"https://www.googleapis.com/oauth2/v1/certs","x-google-audiences":"755040865326-h5gomu85549lkh2qf9d3lku39vnaf6ii.apps.googleusercontent.com,563231141203-231sn7f6ptedncun5h00h7ktbe3o2nd5.apps.googleusercontent.com,993707107224.apps.googleusercontent.com,ao-docs,aodocs-core-eu-1,ao-docs-staging,ao-docs-dev,aodocs-core-dev-us,aodocs-total-poc-euw3","flows":{"implicit":{"authorizationUrl":"https://accounts.google.com/o/oauth2/v2/auth","scopes":{"https://www.googleapis.com/auth/userinfo.email":"View your email address"}}},"scopes":["https://www.googleapis.com/auth/userinfo.email"],"schemeName":"google_id_token-a99f12e0"},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"The access token received from the authorization server in the OAuth 2.0 flow.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"google_id_token-a99f12e0","name":"Authorization"}],"title":"google_id_token-a99f12e0"},{"schemes":[{"scheme":{"type":"oauth2","x-google-issuer":"accounts.google.com","x-google-jwks_uri":"https://www.googleapis.com/oauth2/v1/certs","x-google-audiences":"755040865326-h5gomu85549lkh2qf9d3lku39vnaf6ii.apps.googleusercontent.com,563231141203-231sn7f6ptedncun5h00h7ktbe3o2nd5.apps.googleusercontent.com,993707107224.apps.googleusercontent.com,ao-docs,aodocs-core-eu-1,ao-docs-staging,ao-docs-dev,aodocs-core-dev-us,aodocs-total-poc-euw3","flows":{"implicit":{"authorizationUrl":"https://accounts.google.com/o/oauth2/v2/auth","scopes":{"https://www.googleapis.com/auth/userinfo.email":"View your email address"}}},"scopes":["https://www.googleapis.com/auth/userinfo.email"],"schemeName":"google_id_token_legacy-a99f12e0"},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"The access token received from the authorization server in the OAuth 2.0 flow.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"google_id_token_legacy-a99f12e0","name":"Authorization"}],"title":"google_id_token_legacy-a99f12e0"}]},"originalFileLocation":"openapis/documentType.json"},"subdomain":"aodocs","siteName":"AO Docs Documentation","title":"Patch documenttypev1libraries documenttypes - AO Docs Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-26T09:51:38.383Z","originalFileLocation":"api-reference/documenttype/patch-documenttypev1libraries-documenttypes.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Updates a document class configuration (keep existing values for not specified fields).\">\u003cmeta data-mint-head name=\"application-name\" content=\"AO Docs Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/aodocs/0jcxC6UtFTOe8Ch1/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/aodocs/0jcxC6UtFTOe8Ch1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/aodocs/0jcxC6UtFTOe8Ch1/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/aodocs/0jcxC6UtFTOe8Ch1/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/aodocs/0jcxC6UtFTOe8Ch1/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/aodocs/0jcxC6UtFTOe8Ch1/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/aodocs/0jcxC6UtFTOe8Ch1/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/aodocs/0jcxC6UtFTOe8Ch1/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/aodocs/0jcxC6UtFTOe8Ch1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Patch documenttypev1libraries documenttypes - AO Docs Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Updates a document class configuration (keep existing values for not specified fields).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AO Docs Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://api.aodocs.com/api-reference/documenttype/patch-documenttypev1libraries-documenttypes\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://aodocs.mintlify.app/_mintlify/api/og/v2?division=documentType\u0026amp;title=Patch+documenttypev1libraries+documenttypes\u0026amp;description=Updates+a+document+class+configuration+%28keep+existing+values+for+not+specified+fields%29.\u0026amp;theme=458f498de6859a4d05c4c954\u0026amp;signature=8b5b9fb16a77184bf7547ed2f437f7c6ac65a03509e7ebf1d375811f2a7607ea\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Patch documenttypev1libraries documenttypes - AO Docs Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Updates a document class configuration (keep existing values for not specified fields).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aodocs.mintlify.app/_mintlify/api/og/v2?division=documentType\u0026amp;title=Patch+documenttypev1libraries+documenttypes\u0026amp;description=Updates+a+document+class+configuration+%28keep+existing+values+for+not+specified+fields%29.\u0026amp;theme=458f498de6859a4d05c4c954\u0026amp;signature=8b5b9fb16a77184bf7547ed2f437f7c6ac65a03509e7ebf1d375811f2a7607ea\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/aodocs/0jcxC6UtFTOe8Ch1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AO Docs Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#006CB2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://api.aodocs.com/api-reference/documenttype/patch-documenttypev1libraries-documenttypes\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/documenttype/patch-documenttypev1libraries-documenttypes.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://api.aodocs.com/#organization\",\"name\":\"AO Docs Documentation\",\"url\":\"https://api.aodocs.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/aodocs/ln9-UK7vfqtB6Ctx/logo/light.svg?fit=max\u0026auto=format\u0026n=ln9-UK7vfqtB6Ctx\u0026q=85\u0026s=c418895665a6cfafbf4d17e675f7c276\"}},{\"@type\":\"WebSite\",\"@id\":\"https://api.aodocs.com#website\",\"name\":\"AO Docs Documentation\",\"url\":\"https://api.aodocs.com\",\"publisher\":{\"@id\":\"https://api.aodocs.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://api.aodocs.com/api-reference/documenttype/patch-documenttypev1libraries-documenttypes#webpage\",\"url\":\"https://api.aodocs.com/api-reference/documenttype/patch-documenttypev1libraries-documenttypes\",\"name\":\"Patch documenttypev1libraries documenttypes\",\"description\":\"Updates a document class configuration (keep existing values for not specified fields).\",\"dateModified\":\"2026-10-26T09:51:38.383Z\",\"isPartOf\":{\"@id\":\"https://api.aodocs.com#website\"},\"breadcrumb\":{\"@id\":\"https://api.aodocs.com/api-reference/documenttype/patch-documenttypev1libraries-documenttypes#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://api.aodocs.com/api-reference/documenttype/patch-documenttypev1libraries-documenttypes#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Document Type\",\"item\":\"https://api.aodocs.com/api-reference/document-type\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"documentType\",\"item\":\"https://api.aodocs.com/api-reference/documenttype/get-documenttypev1libraries-documenttypes\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Patch documenttypev1libraries documenttypes\",\"item\":\"https://api.aodocs.com/api-reference/documenttype/patch-documenttypev1libraries-documenttypes\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://api.aodocs.com/api-reference/documenttype/patch-documenttypev1libraries-documenttypes#apireference\",\"headline\":\"Patch documenttypev1libraries documenttypes\",\"name\":\"Patch documenttypev1libraries documenttypes\",\"description\":\"Updates a document class configuration (keep existing values for not specified fields).\",\"url\":\"https://api.aodocs.com/api-reference/documenttype/patch-documenttypev1libraries-documenttypes\",\"mainEntityOfPage\":{\"@id\":\"https://api.aodocs.com/api-reference/documenttype/patch-documenttypev1libraries-documenttypes#webpage\"},\"dateModified\":\"2026-10-26T09:51:38.383Z\",\"publisher\":{\"@id\":\"https://api.aodocs.com/#organization\"},\"isPartOf\":{\"@id\":\"https://api.aodocs.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AO Docs Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"AO Docs Documentation","nav":{"global":{"anchors":[{"anchor":"About","icon":"users","href":"https://www.aodocs.com/company/"},{"anchor":"Blog","icon":"newspaper","href":"https://www.aodocs.com/blog/"},{"anchor":"Status","icon":"signal","href":"https://status.aodocs.com/?__hstc=7523757.3689b6b59ff0c12fcac6aa9719dd6032.1586143551842.1586316583659.1586321455157.16\u0026__hssc=7523757.35.1586321455157\u0026__hsfp=209583371"}]},"tabs":[{"tab":"Home","icon":"home","pages":[{"title":"Home","href":""}]},{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":"/getting-started"}]},{"tab":"Core API Reference","icon":"code-simple","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"group":"Attachment","pages":[{"title":"Attachment","sidebarTitle":"Overview","href":"/api-reference/attachment"},{"group":"drawing","pages":[{"title":"Get library classid documentid attachmentid checkxref","deprecated":null,"version":null,"openapi":"/openapis/attachment.json get /library/{libraryId}/classId/{classId}/documentId/{documentId}/attachmentId/{attachmentId}/checkXref","href":"/api-reference/drawing/get-library-classid-documentid-attachmentid-checkxref"},{"title":"Get library classid documentid attachmentid extension","deprecated":null,"version":null,"openapi":"/openapis/attachment.json get /library/{libraryId}/classId/{classId}/documentId/{documentId}/attachmentId/{attachmentId}/extension/{extensionType}","href":"/api-reference/drawing/get-library-classid-documentid-attachmentid-extension"}]}]},{"group":"Category","pages":[{"title":"Category","sidebarTitle":"Overview","href":"/api-reference/category"},{"group":"category","pages":[{"title":"Put categoryv1","deprecated":null,"version":null,"openapi":"/openapis/category.json put /category/v1","href":"/api-reference/category/put-categoryv1"},{"title":"Post categoryv1","deprecated":null,"version":null,"openapi":"/openapis/category.json post /category/v1","href":"/api-reference/category/post-categoryv1"},{"title":"Patch categoryv1","deprecated":null,"version":null,"openapi":"/openapis/category.json patch /category/v1","href":"/api-reference/category/patch-categoryv1"},{"title":"Get categoryv1libraries","deprecated":null,"version":null,"openapi":"/openapis/category.json get /category/v1/libraries/{libraryId}","href":"/api-reference/category/get-categoryv1libraries"},{"title":"Get categoryv1libraries categories","deprecated":null,"version":null,"openapi":"/openapis/category.json get /category/v1/libraries/{libraryId}/categories/{categoryId}","href":"/api-reference/category/get-categoryv1libraries-categories"},{"title":"Delete categoryv1libraries categories","deprecated":null,"version":null,"openapi":"/openapis/category.json delete /category/v1/libraries/{libraryId}/categories/{categoryId}","href":"/api-reference/category/delete-categoryv1libraries-categories"},{"title":"Get categoryv1libraries categories allvalueshierarchy","deprecated":null,"version":null,"openapi":"/openapis/category.json get /category/v1/libraries/{libraryId}/categories/{categoryId}/allvalueshierarchy","href":"/api-reference/category/get-categoryv1libraries-categories-allvalueshierarchy"},{"title":"Get categoryv1libraries categories values","deprecated":null,"version":null,"openapi":"/openapis/category.json get /category/v1/libraries/{libraryId}/categories/{categoryId}/values","href":"/api-reference/category/get-categoryv1libraries-categories-values"},{"title":"Put categoryv1libraries categories values","deprecated":null,"version":null,"openapi":"/openapis/category.json put /category/v1/libraries/{libraryId}/categories/{categoryId}/values","href":"/api-reference/category/put-categoryv1libraries-categories-values"},{"title":"Patch categoryv1libraries categories values","deprecated":null,"version":null,"openapi":"/openapis/category.json patch /category/v1/libraries/{libraryId}/categories/{categoryId}/values","href":"/api-reference/category/patch-categoryv1libraries-categories-values"},{"title":"Put categoryv1libraries categories valuesbatch","deprecated":null,"version":null,"openapi":"/openapis/category.json put /category/v1/libraries/{libraryId}/categories/{categoryId}/values/batch","href":"/api-reference/category/put-categoryv1libraries-categories-valuesbatch"},{"title":"Get categoryv1libraries categories values 1","deprecated":null,"version":null,"openapi":"/openapis/category.json get /category/v1/libraries/{libraryId}/categories/{categoryId}/values/{categoryValueId}","href":"/api-reference/category/get-categoryv1libraries-categories-values-1"},{"title":"Delete categoryv1libraries categories values","deprecated":null,"version":null,"openapi":"/openapis/category.json delete /category/v1/libraries/{libraryId}/categories/{categoryId}/values/{categoryValueId}","href":"/api-reference/category/delete-categoryv1libraries-categories-values"},{"title":"Post categoryv1libraries categories :removeemptysublevels","deprecated":null,"version":null,"openapi":"/openapis/category.json post /category/v1/libraries/{libraryId}/categories/{categoryId}:removeEmptySublevels","href":"/api-reference/category/post-categoryv1libraries-categories-:removeemptysublevels"}]}]},{"group":"Document ID","pages":[{"title":"Document ID","sidebarTitle":"Overview","href":"/api-reference/documentid"},{"group":"documentId","pages":[{"title":"Get documentv1","deprecated":null,"version":null,"openapi":"/openapis/documentId.json get /document/v1","href":"/api-reference/documentid/get-documentv1"},{"title":"Put documentv1","deprecated":null,"version":null,"openapi":"/openapis/documentId.json put /document/v1","href":"/api-reference/documentid/put-documentv1"},{"title":"Post documentv1createdrivefile","deprecated":null,"version":null,"openapi":"/openapis/documentId.json post /document/v1/createdrivefile","href":"/api-reference/documentid/post-documentv1createdrivefile"},{"title":"Post documentv1newversionbyattachment","deprecated":true,"version":null,"openapi":"/openapis/documentId.json post /document/v1/newversionbyattachment/{driveId}","href":"/api-reference/documentid/post-documentv1newversionbyattachment"},{"title":"Get documentv1 1","deprecated":null,"version":null,"openapi":"/openapis/documentId.json get /document/v1/{documentId}","href":"/api-reference/documentid/get-documentv1-1"},{"title":"Post documentv1","deprecated":null,"version":null,"openapi":"/openapis/documentId.json post /document/v1/{documentId}","href":"/api-reference/documentid/post-documentv1"},{"title":"Delete documentv1","deprecated":null,"version":null,"openapi":"/openapis/documentId.json delete /document/v1/{documentId}","href":"/api-reference/documentid/delete-documentv1"},{"title":"Patch documentv1","deprecated":null,"version":null,"openapi":"/openapis/documentId.json patch /document/v1/{documentId}","href":"/api-reference/documentid/patch-documentv1"},{"title":"Post documentv1 add attachments","deprecated":null,"version":null,"openapi":"/openapis/documentId.json post /document/v1/{documentId}/add-attachments","href":"/api-reference/documentid/post-documentv1-add-attachments"},{"title":"Put documentv1 checkin","deprecated":null,"version":null,"openapi":"/openapis/documentId.json put /document/v1/{documentId}/checkin","href":"/api-reference/documentid/put-documentv1-checkin"},{"title":"Put documentv1 checkout","deprecated":null,"version":null,"openapi":"/openapis/documentId.json put /document/v1/{documentId}/checkout","href":"/api-reference/documentid/put-documentv1-checkout"},{"title":"Post documentv1 copy","deprecated":null,"version":null,"openapi":"/openapis/documentId.json post /document/v1/{documentId}/copy","href":"/api-reference/documentid/post-documentv1-copy"},{"title":"Put documentv1 discardcheckout","deprecated":null,"version":null,"openapi":"/openapis/documentId.json put /document/v1/{documentId}/discardcheckout","href":"/api-reference/documentid/put-documentv1-discardcheckout"},{"title":"Post documentv1 exporttomydrive","deprecated":null,"version":null,"openapi":"/openapis/documentId.json post /document/v1/{documentId}/exportToMyDrive","href":"/api-reference/documentid/post-documentv1-exporttomydrive"},{"title":"Post documentv1 lock","deprecated":null,"version":null,"openapi":"/openapis/documentId.json post /document/v1/{documentId}/lock","href":"/api-reference/documentid/post-documentv1-lock"},{"title":"Delete documentv1 lock","deprecated":null,"version":null,"openapi":"/openapis/documentId.json delete /document/v1/{documentId}/lock","href":"/api-reference/documentid/delete-documentv1-lock"},{"title":"Post documentv1 move","deprecated":null,"version":null,"openapi":"/openapis/documentId.json post /document/v1/{documentId}/move/{folderAodocsId}","href":"/api-reference/documentid/post-documentv1-move"},{"title":"Post documentv1 notifyusers","deprecated":null,"version":null,"openapi":"/openapis/documentId.json post /document/v1/{documentId}/notifyUsers","href":"/api-reference/documentid/post-documentv1-notifyusers"},{"title":"Post documentv1 remove attachments","deprecated":null,"version":null,"openapi":"/openapis/documentId.json post /document/v1/{documentId}/remove-attachments","href":"/api-reference/documentid/post-documentv1-remove-attachments"},{"title":"Put documentv1 untrash","deprecated":null,"version":null,"openapi":"/openapis/documentId.json put /document/v1/{documentId}/untrash","href":"/api-reference/documentid/put-documentv1-untrash"},{"title":"Get documentv1 version","deprecated":null,"version":null,"openapi":"/openapis/documentId.json get /document/v1/{documentId}/version","href":"/api-reference/documentid/get-documentv1-version"},{"title":"Put documentv1 version","deprecated":null,"version":null,"openapi":"/openapis/documentId.json put /document/v1/{documentId}/version","href":"/api-reference/documentid/put-documentv1-version"},{"title":"Get documentv1 version 1","deprecated":null,"version":null,"openapi":"/openapis/documentId.json get /document/v1/{documentId}/version/{versionId}","href":"/api-reference/documentid/get-documentv1-version-1"},{"title":"Post documentv1 version","deprecated":null,"version":null,"openapi":"/openapis/documentId.json post /document/v1/{documentId}/version/{versionId}","href":"/api-reference/documentid/post-documentv1-version"},{"title":"Get documentv1:listlocked","deprecated":null,"version":null,"openapi":"/openapis/documentId.json get /document/v1:listLocked","href":"/api-reference/documentid/get-documentv1:listlocked"},{"title":"Put documentv1beta1","deprecated":null,"version":null,"openapi":"/openapis/documentId.json put /document/v1beta1","href":"/api-reference/documentid/put-documentv1beta1"},{"title":"Get documentv1beta1activities","deprecated":null,"version":null,"openapi":"/openapis/documentId.json get /document/v1beta1/activities","href":"/api-reference/documentid/get-documentv1beta1activities"},{"title":"Put documentv1beta1async","deprecated":null,"version":null,"openapi":"/openapis/documentId.json put /document/v1beta1/async","href":"/api-reference/documentid/put-documentv1beta1async"},{"title":"Put documentv1beta1asyncwithversions","deprecated":null,"version":null,"openapi":"/openapis/documentId.json put /document/v1beta1/asyncWithVersions","href":"/api-reference/documentid/put-documentv1beta1asyncwithversions"},{"title":"Post documentv1beta1calculate","deprecated":null,"version":null,"openapi":"/openapis/documentId.json post /document/v1beta1/calculate","href":"/api-reference/documentid/post-documentv1beta1calculate"},{"title":"Get documentv1beta1creation token","deprecated":null,"version":null,"openapi":"/openapis/documentId.json get /document/v1beta1/creation-token","href":"/api-reference/documentid/get-documentv1beta1creation-token"},{"title":"Get documentv1beta1generateids","deprecated":null,"version":null,"openapi":"/openapis/documentId.json get /document/v1beta1/generateIds","href":"/api-reference/documentid/get-documentv1beta1generateids"},{"title":"Patch documentv1beta1 async","deprecated":null,"version":null,"openapi":"/openapis/documentId.json patch /document/v1beta1/{documentId}/async","href":"/api-reference/documentid/patch-documentv1beta1-async"},{"title":"Post documentv1beta1 attachments","deprecated":null,"version":null,"openapi":"/openapis/documentId.json post /document/v1beta1/{documentId}/attachments/{attachmentDriveFileId}","href":"/api-reference/documentid/post-documentv1beta1-attachments"},{"title":"Get documentv1beta1 comments","deprecated":null,"version":null,"openapi":"/openapis/documentId.json get /document/v1beta1/{documentId}/comments","href":"/api-reference/documentid/get-documentv1beta1-comments"},{"title":"Post documentv1beta1 comments","deprecated":null,"version":null,"openapi":"/openapis/documentId.json post /document/v1beta1/{documentId}/comments","href":"/api-reference/documentid/post-documentv1beta1-comments"},{"title":"Delete documentv1beta1 comments","deprecated":null,"version":null,"openapi":"/openapis/documentId.json delete /document/v1beta1/{documentId}/comments/{commentId}","href":"/api-reference/documentid/delete-documentv1beta1-comments"},{"title":"Patch documentv1beta1 internalmetadata","deprecated":null,"version":null,"openapi":"/openapis/documentId.json patch /document/v1beta1/{documentId}/internalMetadata","href":"/api-reference/documentid/patch-documentv1beta1-internalmetadata"},{"title":"Put documentv1beta1 publish","deprecated":null,"version":null,"openapi":"/openapis/documentId.json put /document/v1beta1/{documentId}/publish","href":"/api-reference/documentid/put-documentv1beta1-publish"},{"title":"Patch documentv1beta1 version","deprecated":null,"version":null,"openapi":"/openapis/documentId.json patch /document/v1beta1/{documentId}/version/{versionId}","href":"/api-reference/documentid/patch-documentv1beta1-version"},{"title":"Get documentv1beta1 vieweractions","deprecated":null,"version":null,"openapi":"/openapis/documentId.json get /document/v1beta1/{documentId}/viewerActions","href":"/api-reference/documentid/get-documentv1beta1-vieweractions"},{"title":"Post documentv1beta1 vieweractionsvieweractions execute","deprecated":null,"version":null,"openapi":"/openapis/documentId.json post /document/v1beta1/{documentId}/viewerActions/viewerActions/{actionId}/execute","href":"/api-reference/documentid/post-documentv1beta1-vieweractionsvieweractions-execute"}]}]},{"group":"Document","pages":[{"title":"Document","sidebarTitle":"Overview","href":"/api-reference/document"},{"group":"document","pages":[{"title":"Get documentv2beta1documents states","deprecated":null,"version":null,"openapi":"/openapis/document.json get /document/v2beta1/documents/{documentId}/states","href":"/api-reference/document/get-documentv2beta1documents-states"},{"title":"Get documentv2beta1documents transitions","deprecated":null,"version":null,"openapi":"/openapis/document.json get /document/v2beta1/documents/{documentId}/transitions","href":"/api-reference/document/get-documentv2beta1documents-transitions"},{"title":"Get documentv2beta1documents transitionshistory","deprecated":null,"version":null,"openapi":"/openapis/document.json get /document/v2beta1/documents/{documentId}/transitions/history","href":"/api-reference/document/get-documentv2beta1documents-transitionshistory"},{"title":"Get documentv2beta1documents transitions 1","deprecated":null,"version":null,"openapi":"/openapis/document.json get /document/v2beta1/documents/{documentId}/transitions/{transitionId}","href":"/api-reference/document/get-documentv2beta1documents-transitions-1"}]}]},{"group":"Document Type","pages":[{"title":"Document Type","sidebarTitle":"Overview","href":"/api-reference/document-type"},{"group":"documentType","pages":[{"title":"Get documenttypev1libraries documenttypes","deprecated":null,"version":null,"openapi":"/openapis/documentType.json get /documentType/v1/libraries/{libId}/documentTypes/{documentTypeId}","href":"/api-reference/documenttype/get-documenttypev1libraries-documenttypes"},{"title":"Put documenttypev1libraries documenttypes","deprecated":null,"version":null,"openapi":"/openapis/documentType.json put /documentType/v1/libraries/{libId}/documentTypes/{documentTypeId}","href":"/api-reference/documenttype/put-documenttypev1libraries-documenttypes"},{"title":"Delete documenttypev1libraries documenttypes","description":"Deletes a document class.","deprecated":null,"version":null,"openapi":"/openapis/documentType.json delete /documentType/v1/libraries/{libId}/documentTypes/{documentTypeId}","href":"/api-reference/documenttype/delete-documenttypev1libraries-documenttypes"},{"title":"Patch documenttypev1libraries documenttypes","deprecated":null,"version":null,"openapi":"/openapis/documentType.json patch /documentType/v1/libraries/{libId}/documentTypes/{documentTypeId}","href":"/api-reference/documenttype/patch-documenttypev1libraries-documenttypes"},{"title":"Get documenttypev1libraries","description":"Lists the ID/name of the document classes in a library.","deprecated":null,"version":null,"openapi":"/openapis/documentType.json get /documentType/v1/libraries/{libraryId}","href":"/api-reference/documenttype/get-documenttypev1libraries"},{"title":"Post documenttypev1libraries documenttypes","deprecated":null,"version":null,"openapi":"/openapis/documentType.json post /documentType/v1/libraries/{library}/documentTypes","href":"/api-reference/documenttype/post-documenttypev1libraries-documenttypes"},{"title":"Get documenttypev1beta1libraries documenttypes templatedocuments","deprecated":null,"version":null,"openapi":"/openapis/documentType.json get /documentType/v1beta1/libraries/{libId}/documentTypes/{documentTypeId}/templateDocuments","href":"/api-reference/documenttype/get-documenttypev1beta1libraries-documenttypes-templatedocuments"},{"title":"Put documenttypev1beta1libraries documenttypes templatedocuments","deprecated":null,"version":null,"openapi":"/openapis/documentType.json put /documentType/v1beta1/libraries/{libId}/documentTypes/{documentTypeId}/templateDocuments","href":"/api-reference/documenttype/put-documenttypev1beta1libraries-documenttypes-templatedocuments"},{"title":"Get documenttypev1beta1libraries documenttypes templatedocuments 1","deprecated":null,"version":null,"openapi":"/openapis/documentType.json get /documentType/v1beta1/libraries/{libId}/documentTypes/{documentTypeId}/templateDocuments/{templateDocumentId}","href":"/api-reference/documenttype/get-documenttypev1beta1libraries-documenttypes-templatedocuments-1"},{"title":"Delete documenttypev1beta1libraries documenttypes templatedocuments","deprecated":null,"version":null,"openapi":"/openapis/documentType.json delete /documentType/v1beta1/libraries/{libId}/documentTypes/{documentTypeId}/templateDocuments/{templateDocumentId}","href":"/api-reference/documenttype/delete-documenttypev1beta1libraries-documenttypes-templatedocuments"},{"title":"Patch documenttypev1beta1libraries documenttypes templatedocuments","deprecated":null,"version":null,"openapi":"/openapis/documentType.json patch /documentType/v1beta1/libraries/{libId}/documentTypes/{documentTypeId}/templateDocuments/{templateDocumentId}","href":"/api-reference/documenttype/patch-documenttypev1beta1libraries-documenttypes-templatedocuments"}]}]},{"group":"Document View Config","pages":[{"title":"Document View Config","sidebarTitle":"Overview","href":"/api-reference/document-view-config"},{"group":"documentViewConfig","pages":[{"title":"Get documentviewconfigv1library documenttype","deprecated":null,"version":null,"openapi":"/openapis/documentViewConfig.json get /documentViewConfig/v1/library/{libraryId}/documentType/{documentTypeId}","href":"/api-reference/documentviewconfig/get-documentviewconfigv1library-documenttype"},{"title":"Put documentviewconfigv1library documenttype","deprecated":null,"version":null,"openapi":"/openapis/documentViewConfig.json put /documentViewConfig/v1/library/{libraryId}/documentType/{documentTypeId}","href":"/api-reference/documentviewconfig/put-documentviewconfigv1library-documenttype"}]}]},{"group":"Domain","pages":[{"title":"Domain","sidebarTitle":"Overview","href":"/api-reference/domain"},{"group":"domain","pages":[{"title":"Put domainv1activate","deprecated":null,"version":null,"openapi":"/openapis/domain.json put /domain/v1/activate","href":"/api-reference/domain/put-domainv1activate"},{"title":"Get domainv1auditlog","deprecated":null,"version":null,"openapi":"/openapis/domain.json get /domain/v1/auditLog","href":"/api-reference/domain/get-domainv1auditlog"},{"title":"Get domainv1check","deprecated":null,"version":null,"openapi":"/openapis/domain.json get /domain/v1/check/{applicationId}","href":"/api-reference/domain/get-domainv1check"},{"title":"Put domainv1register ","deprecated":null,"version":null,"openapi":"/openapis/domain.json put /domain/v1/register/{applicationId}/{storageAdmin}","href":"/api-reference/domain/put-domainv1register-"},{"title":"Get domainv1storageadmins","deprecated":null,"version":null,"openapi":"/openapis/domain.json get /domain/v1/storageadmins","href":"/api-reference/domain/get-domainv1storageadmins"},{"title":"Get domainv1beta1","deprecated":null,"version":null,"openapi":"/openapis/domain.json get /domain/v1beta1","href":"/api-reference/domain/get-domainv1beta1"},{"title":"Patch domainv1beta1","deprecated":null,"version":null,"openapi":"/openapis/domain.json patch /domain/v1beta1","href":"/api-reference/domain/patch-domainv1beta1"},{"title":"Get domainv1beta1billingstatus","deprecated":null,"version":null,"openapi":"/openapis/domain.json get /domain/v1beta1/billingStatus","href":"/api-reference/domain/get-domainv1beta1billingstatus"},{"title":"Patch domainv1beta1billingstatus","deprecated":null,"version":null,"openapi":"/openapis/domain.json patch /domain/v1beta1/billingStatus","href":"/api-reference/domain/patch-domainv1beta1billingstatus"},{"title":"Get domainv1beta1configuration","deprecated":null,"version":null,"openapi":"/openapis/domain.json get /domain/v1beta1/configuration","href":"/api-reference/domain/get-domainv1beta1configuration"},{"title":"Post domainv1beta1configuration","deprecated":null,"version":null,"openapi":"/openapis/domain.json post /domain/v1beta1/configuration","href":"/api-reference/domain/post-domainv1beta1configuration"},{"title":"Post domainv1beta1configuration 1","deprecated":null,"version":null,"openapi":"/openapis/domain.json post /domain/v1beta1/configuration/{flagName}","href":"/api-reference/domain/post-domainv1beta1configuration-1"},{"title":"Delete domainv1beta1configuration","deprecated":null,"version":null,"openapi":"/openapis/domain.json delete /domain/v1beta1/configuration/{flagName}","href":"/api-reference/domain/delete-domainv1beta1configuration"},{"title":"Get domainv1beta1configurationflags","deprecated":null,"version":null,"openapi":"/openapis/domain.json get /domain/v1beta1/configurationFlags","href":"/api-reference/domain/get-domainv1beta1configurationflags"},{"title":"Get domainv1beta1expiredlicenseusers","deprecated":true,"version":null,"openapi":"/openapis/domain.json get /domain/v1beta1/expiredLicenseUsers","href":"/api-reference/domain/get-domainv1beta1expiredlicenseusers"},{"title":"Post domainv1beta1image","deprecated":null,"version":null,"openapi":"/openapis/domain.json post /domain/v1beta1/image","href":"/api-reference/domain/post-domainv1beta1image"},{"title":"Get domainv1beta1licensedusers","deprecated":null,"version":null,"openapi":"/openapis/domain.json get /domain/v1beta1/licensedUsers","href":"/api-reference/domain/get-domainv1beta1licensedusers"},{"title":"Put domainv1beta1licensedusersbatchallocate","deprecated":null,"version":null,"openapi":"/openapis/domain.json put /domain/v1beta1/licensedUsers/batchAllocate","href":"/api-reference/domain/put-domainv1beta1licensedusersbatchallocate"},{"title":"Post domainv1beta1licensedusersbatchdelete","deprecated":null,"version":null,"openapi":"/openapis/domain.json post /domain/v1beta1/licensedUsers/batchDelete","href":"/api-reference/domain/post-domainv1beta1licensedusersbatchdelete"},{"title":"Get domainv1beta1licensedusers 1","deprecated":null,"version":null,"openapi":"/openapis/domain.json get /domain/v1beta1/licensedUsers/{userId}","href":"/api-reference/domain/get-domainv1beta1licensedusers-1"},{"title":"Put domainv1beta1licensedusers","deprecated":null,"version":null,"openapi":"/openapis/domain.json put /domain/v1beta1/licensedUsers/{userId}","href":"/api-reference/domain/put-domainv1beta1licensedusers"},{"title":"Delete domainv1beta1licensedusers","deprecated":null,"version":null,"openapi":"/openapis/domain.json delete /domain/v1beta1/licensedUsers/{userId}","href":"/api-reference/domain/delete-domainv1beta1licensedusers"},{"title":"Get domainv1beta1roles","deprecated":null,"version":null,"openapi":"/openapis/domain.json get /domain/v1beta1/roles","href":"/api-reference/domain/get-domainv1beta1roles"},{"title":"Post domainv1beta1roles","deprecated":null,"version":null,"openapi":"/openapis/domain.json post /domain/v1beta1/roles","href":"/api-reference/domain/post-domainv1beta1roles"},{"title":"Get domainv1beta1roles 1","deprecated":null,"version":null,"openapi":"/openapis/domain.json get /domain/v1beta1/roles/{roleId}","href":"/api-reference/domain/get-domainv1beta1roles-1"},{"title":"Delete domainv1beta1roles","deprecated":null,"version":null,"openapi":"/openapis/domain.json delete /domain/v1beta1/roles/{roleId}","href":"/api-reference/domain/delete-domainv1beta1roles"},{"title":"Patch domainv1beta1roles","deprecated":null,"version":null,"openapi":"/openapis/domain.json patch /domain/v1beta1/roles/{roleId}","href":"/api-reference/domain/patch-domainv1beta1roles"},{"title":"Get domainv1beta1securitycodes","deprecated":null,"version":null,"openapi":"/openapis/domain.json get /domain/v1beta1/securityCodes","href":"/api-reference/domain/get-domainv1beta1securitycodes"},{"title":"Post domainv1beta1securitycodes","deprecated":null,"version":null,"openapi":"/openapis/domain.json post /domain/v1beta1/securityCodes","href":"/api-reference/domain/post-domainv1beta1securitycodes"},{"title":"Delete domainv1beta1securitycodes","deprecated":null,"version":null,"openapi":"/openapis/domain.json delete /domain/v1beta1/securityCodes/{securityCode}","href":"/api-reference/domain/delete-domainv1beta1securitycodes"},{"title":"Patch domainv1beta1securitycodes","deprecated":null,"version":null,"openapi":"/openapis/domain.json patch /domain/v1beta1/securityCodes/{securityCode}","href":"/api-reference/domain/patch-domainv1beta1securitycodes"},{"title":"Get domainv1beta1standardactions","deprecated":null,"version":null,"openapi":"/openapis/domain.json get /domain/v1beta1/standardActions","href":"/api-reference/domain/get-domainv1beta1standardactions"},{"title":"Get domainv1beta1statistics","deprecated":null,"version":null,"openapi":"/openapis/domain.json get /domain/v1beta1/statistics/{type}","href":"/api-reference/domain/get-domainv1beta1statistics"},{"title":"Get domainv1beta1statistics ","deprecated":null,"version":null,"openapi":"/openapis/domain.json get /domain/v1beta1/statistics/{type}/{id}","href":"/api-reference/domain/get-domainv1beta1statistics-"},{"title":"Get domainv1beta1storageaccounts","deprecated":null,"version":null,"openapi":"/openapis/domain.json get /domain/v1beta1/storageAccounts","href":"/api-reference/domain/get-domainv1beta1storageaccounts"},{"title":"Post domainv1beta1storageaccounts","deprecated":null,"version":null,"openapi":"/openapis/domain.json post /domain/v1beta1/storageAccounts","href":"/api-reference/domain/post-domainv1beta1storageaccounts"},{"title":"Get domainv1beta1storageaccounts 1","deprecated":null,"version":null,"openapi":"/openapis/domain.json get /domain/v1beta1/storageAccounts/{storageAccount}","href":"/api-reference/domain/get-domainv1beta1storageaccounts-1"},{"title":"Delete domainv1beta1storageaccounts","deprecated":null,"version":null,"openapi":"/openapis/domain.json delete /domain/v1beta1/storageAccounts/{storageAccount}","href":"/api-reference/domain/delete-domainv1beta1storageaccounts"},{"title":"Patch domainv1beta1storageaccounts","deprecated":null,"version":null,"openapi":"/openapis/domain.json patch /domain/v1beta1/storageAccounts/{storageAccount}","href":"/api-reference/domain/patch-domainv1beta1storageaccounts"}]},{"group":"crosslibraryview","pages":[{"title":"Get viewv1crosslibrary","deprecated":null,"version":null,"openapi":"/openapis/domain.json get /view/v1/crossLibrary","href":"/api-reference/crosslibraryview/get-viewv1crosslibrary"},{"title":"Put viewv1crosslibrary","deprecated":null,"version":null,"openapi":"/openapis/domain.json put /view/v1/crossLibrary","href":"/api-reference/crosslibraryview/put-viewv1crosslibrary"}]}]},{"group":"Drive ID","pages":[{"title":"Drive ID","sidebarTitle":"Overview","href":"/api-reference/driveid"},{"group":"driveId","pages":[{"title":"Get documentv1","deprecated":null,"version":null,"openapi":"/openapis/driveId.json get /document/v1","href":"/api-reference/driveid/get-documentv1"},{"title":"Put documentv1","deprecated":null,"version":null,"openapi":"/openapis/driveId.json put /document/v1","href":"/api-reference/driveid/put-documentv1"},{"title":"Post documentv1createdrivefile","deprecated":null,"version":null,"openapi":"/openapis/driveId.json post /document/v1/createdrivefile","href":"/api-reference/driveid/post-documentv1createdrivefile"},{"title":"Post documentv1drivenative","deprecated":null,"version":null,"openapi":"/openapis/driveId.json post /document/v1/drive/native","href":"/api-reference/driveid/post-documentv1drivenative"},{"title":"Get documentv1drive","deprecated":null,"version":null,"openapi":"/openapis/driveId.json get /document/v1/drive/{driveId}","href":"/api-reference/driveid/get-documentv1drive"},{"title":"Post documentv1drive","deprecated":null,"version":null,"openapi":"/openapis/driveId.json post /document/v1/drive/{driveId}","href":"/api-reference/driveid/post-documentv1drive"},{"title":"Delete documentv1drive","deprecated":null,"version":null,"openapi":"/openapis/driveId.json delete /document/v1/drive/{driveId}","href":"/api-reference/driveid/delete-documentv1drive"},{"title":"Patch documentv1drive","deprecated":null,"version":null,"openapi":"/openapis/driveId.json patch /document/v1/drive/{driveId}","href":"/api-reference/driveid/patch-documentv1drive"},{"title":"Post documentv1drive check","deprecated":null,"version":null,"openapi":"/openapis/driveId.json post /document/v1/drive/{driveId}/check","href":"/api-reference/driveid/post-documentv1drive-check"},{"title":"Put documentv1drive checkin","deprecated":null,"version":null,"openapi":"/openapis/driveId.json put /document/v1/drive/{driveId}/checkin","href":"/api-reference/driveid/put-documentv1drive-checkin"},{"title":"Put documentv1drive checkout","deprecated":null,"version":null,"openapi":"/openapis/driveId.json put /document/v1/drive/{driveId}/checkout","href":"/api-reference/driveid/put-documentv1drive-checkout"},{"title":"Post documentv1drive copy","deprecated":null,"version":null,"openapi":"/openapis/driveId.json post /document/v1/drive/{driveId}/copy","href":"/api-reference/driveid/post-documentv1drive-copy"},{"title":"Put documentv1drive discardcheckout","deprecated":null,"version":null,"openapi":"/openapis/driveId.json put /document/v1/drive/{driveId}/discardcheckout","href":"/api-reference/driveid/put-documentv1drive-discardcheckout"},{"title":"Post documentv1drive lock","deprecated":null,"version":null,"openapi":"/openapis/driveId.json post /document/v1/drive/{driveId}/lock","href":"/api-reference/driveid/post-documentv1drive-lock"},{"title":"Delete documentv1drive lock","deprecated":null,"version":null,"openapi":"/openapis/driveId.json delete /document/v1/drive/{driveId}/lock","href":"/api-reference/driveid/delete-documentv1drive-lock"},{"title":"Post documentv1drive move","deprecated":null,"version":null,"openapi":"/openapis/driveId.json post /document/v1/drive/{driveId}/move/{parentId}","href":"/api-reference/driveid/post-documentv1drive-move"},{"title":"Get documentv1drive permission","deprecated":null,"version":null,"openapi":"/openapis/driveId.json get /document/v1/drive/{driveId}/permission","href":"/api-reference/driveid/get-documentv1drive-permission"},{"title":"Post documentv1drive permission","deprecated":null,"version":null,"openapi":"/openapis/driveId.json post /document/v1/drive/{driveId}/permission","href":"/api-reference/driveid/post-documentv1drive-permission"},{"title":"Put documentv1drive untrash","deprecated":null,"version":null,"openapi":"/openapis/driveId.json put /document/v1/drive/{driveId}/untrash","href":"/api-reference/driveid/put-documentv1drive-untrash"},{"title":"Get documentv1drive version","deprecated":null,"version":null,"openapi":"/openapis/driveId.json get /document/v1/drive/{driveId}/version","href":"/api-reference/driveid/get-documentv1drive-version"},{"title":"Put documentv1drive version","deprecated":null,"version":null,"openapi":"/openapis/driveId.json put /document/v1/drive/{driveId}/version","href":"/api-reference/driveid/put-documentv1drive-version"},{"title":"Get documentv1drive version 1","deprecated":null,"version":null,"openapi":"/openapis/driveId.json get /document/v1/drive/{driveId}/version/{versionId}","href":"/api-reference/driveid/get-documentv1drive-version-1"},{"title":"Post documentv1drive version","deprecated":null,"version":null,"openapi":"/openapis/driveId.json post /document/v1/drive/{driveId}/version/{versionId}","href":"/api-reference/driveid/post-documentv1drive-version"},{"title":"Get documentv1drive webdav","deprecated":null,"version":null,"openapi":"/openapis/driveId.json get /document/v1/drive/{driveId}/webdav","href":"/api-reference/driveid/get-documentv1drive-webdav"},{"title":"Post documentv1newversionbyattachment","deprecated":true,"version":null,"openapi":"/openapis/driveId.json post /document/v1/newversionbyattachment/{driveId}","href":"/api-reference/driveid/post-documentv1newversionbyattachment"},{"title":"Get documentv1beta1drive revision revisionlink","deprecated":null,"version":null,"openapi":"/openapis/driveId.json get /document/v1beta1/drive/{fileId}/revision/{revisionId}/revisionlink","href":"/api-reference/driveid/get-documentv1beta1drive-revision-revisionlink"},{"title":"Get documentv1beta1drive revision storagelink","deprecated":null,"version":null,"openapi":"/openapis/driveId.json get /document/v1beta1/drive/{fileId}/revision/{revisionId}/storagelink","href":"/api-reference/driveid/get-documentv1beta1drive-revision-storagelink"}]}]},{"group":"Drive Import","pages":[{"title":"Drive Import","sidebarTitle":"Overview","href":"/api-reference/driveImport"},{"group":"driveImport","pages":[{"title":"Post driveimportv1driveimportv1importsupload","deprecated":null,"version":null,"openapi":"/openapis/driveImport.json post /driveImport/v1/driveImport/v1/imports/upload","href":"/api-reference/driveimport/post-driveimportv1driveimportv1importsupload"},{"title":"Get driveimportv1imports","deprecated":null,"version":null,"openapi":"/openapis/driveImport.json get /driveImport/v1/imports","href":"/api-reference/driveimport/get-driveimportv1imports"},{"title":"Put driveimportv1importsbatchfolders","deprecated":null,"version":null,"openapi":"/openapis/driveImport.json put /driveImport/v1/imports/batch/folders/{parentFolderId}","href":"/api-reference/driveimport/put-driveimportv1importsbatchfolders"},{"title":"Put driveimportv1importsfolders ","deprecated":null,"version":null,"openapi":"/openapis/driveImport.json put /driveImport/v1/imports/folders/{parentFolderId}/{fileId}","href":"/api-reference/driveimport/put-driveimportv1importsfolders-"},{"title":"Get driveimportv1imports 1","deprecated":null,"version":null,"openapi":"/openapis/driveImport.json get /driveImport/v1/imports/{importId}","href":"/api-reference/driveimport/get-driveimportv1imports-1"},{"title":"Get driveimportv1imports files","deprecated":null,"version":null,"openapi":"/openapis/driveImport.json get /driveImport/v1/imports/{importId}/files","href":"/api-reference/driveimport/get-driveimportv1imports-files"}]}]},{"group":"Folder","pages":[{"title":"Folder","sidebarTitle":"Overview","href":"/api-reference/folder"},{"group":"folder","pages":[{"title":"Post folderv1","deprecated":null,"version":null,"openapi":"/openapis/folder.json post /folder/v1","href":"/api-reference/folder/post-folderv1"},{"title":"Patch folderv1","deprecated":null,"version":null,"openapi":"/openapis/folder.json patch /folder/v1","href":"/api-reference/folder/patch-folderv1"},{"title":"Post folderv1duplicate ","deprecated":null,"version":null,"openapi":"/openapis/folder.json post /folder/v1/duplicate/{sourceFolderId}/{destinationFolderId}/{folderName}","href":"/api-reference/folder/post-folderv1duplicate-"},{"title":"Get folderv1files","deprecated":null,"version":null,"openapi":"/openapis/folder.json get /folder/v1/files/{folderId}","href":"/api-reference/folder/get-folderv1files"},{"title":"Put folderv1files","deprecated":null,"version":null,"openapi":"/openapis/folder.json put /folder/v1/files/{folderId}","href":"/api-reference/folder/put-folderv1files"},{"title":"Post folderv1files","deprecated":null,"version":null,"openapi":"/openapis/folder.json post /folder/v1/files/{folderId}","href":"/api-reference/folder/post-folderv1files"},{"title":"Delete folderv1files","deprecated":null,"version":null,"openapi":"/openapis/folder.json delete /folder/v1/files/{folderId}","href":"/api-reference/folder/delete-folderv1files"},{"title":"Get folderv1files children","deprecated":null,"version":null,"openapi":"/openapis/folder.json get /folder/v1/files/{folderId}/children","href":"/api-reference/folder/get-folderv1files-children"},{"title":"Get folderv1foldertrees","deprecated":null,"version":null,"openapi":"/openapis/folder.json get /folder/v1/folderTrees/{rootFolderId}","href":"/api-reference/folder/get-folderv1foldertrees"},{"title":"Get folderv1folders hierarchy","deprecated":null,"version":null,"openapi":"/openapis/folder.json get /folder/v1/folders/{displayRootFolderId}/hierarchy","href":"/api-reference/folder/get-folderv1folders-hierarchy"},{"title":"Post folderv1folders applypermissionsrecursively","deprecated":null,"version":null,"openapi":"/openapis/folder.json post /folder/v1/folders/{folderId}/applypermissionsrecursively","href":"/api-reference/folder/post-folderv1folders-applypermissionsrecursively"},{"title":"Post folderv1folders checkfolder","deprecated":null,"version":null,"openapi":"/openapis/folder.json post /folder/v1/folders/{folderId}/checkfolder","href":"/api-reference/folder/post-folderv1folders-checkfolder"},{"title":"Get folderv1folders extendedpermissions","deprecated":null,"version":null,"openapi":"/openapis/folder.json get /folder/v1/folders/{folderId}/extendedPermissions","href":"/api-reference/folder/get-folderv1folders-extendedpermissions"},{"title":"Post folderv1folders extendedpermissions","deprecated":null,"version":null,"openapi":"/openapis/folder.json post /folder/v1/folders/{folderId}/extendedPermissions","href":"/api-reference/folder/post-folderv1folders-extendedpermissions"},{"title":"Post folderv1folders move","deprecated":null,"version":null,"openapi":"/openapis/folder.json post /folder/v1/folders/{folderId}/move/{parentFolderId}","href":"/api-reference/folder/post-folderv1folders-move"},{"title":"Get folderv1folders permissions","deprecated":true,"version":null,"openapi":"/openapis/folder.json get /folder/v1/folders/{folderId}/permissions","href":"/api-reference/folder/get-folderv1folders-permissions"},{"title":"Post folderv1folders permissions","deprecated":null,"version":null,"openapi":"/openapis/folder.json post /folder/v1/folders/{folderId}/permissions","href":"/api-reference/folder/post-folderv1folders-permissions"},{"title":"Post folderv1folders untrash","deprecated":null,"version":null,"openapi":"/openapis/folder.json post /folder/v1/folders/{folderId}/untrash","href":"/api-reference/folder/post-folderv1folders-untrash"},{"title":"Get folderv1libraries","deprecated":null,"version":null,"openapi":"/openapis/folder.json get /folder/v1/libraries/{libraryId}","href":"/api-reference/folder/get-folderv1libraries"},{"title":"Get folderv1libraries folders","deprecated":true,"version":null,"openapi":"/openapis/folder.json get /folder/v1/libraries/{libraryId}/folders","href":"/api-reference/folder/get-folderv1libraries-folders"},{"title":"Put folderv1libraries folders","deprecated":true,"version":null,"openapi":"/openapis/folder.json put /folder/v1/libraries/{libraryId}/folders","href":"/api-reference/folder/put-folderv1libraries-folders"},{"title":"Get folderv1libraries folderschildren","deprecated":true,"version":null,"openapi":"/openapis/folder.json get /folder/v1/libraries/{libraryId}/folders/children","href":"/api-reference/folder/get-folderv1libraries-folderschildren"},{"title":"Get folderv1libraries folders 1","deprecated":true,"version":null,"openapi":"/openapis/folder.json get /folder/v1/libraries/{libraryId}/folders/{folderAodocsId}","href":"/api-reference/folder/get-folderv1libraries-folders-1"},{"title":"Post folderv1libraries folders","deprecated":true,"version":null,"openapi":"/openapis/folder.json post /folder/v1/libraries/{libraryId}/folders/{folderAodocsId}","href":"/api-reference/folder/post-folderv1libraries-folders"},{"title":"Delete folderv1libraries folders","deprecated":true,"version":null,"openapi":"/openapis/folder.json delete /folder/v1/libraries/{libraryId}/folders/{folderAodocsId}","href":"/api-reference/folder/delete-folderv1libraries-folders"},{"title":"Get folderv1libraries foldersanddocuments","deprecated":null,"version":null,"openapi":"/openapis/folder.json get /folder/v1/libraries/{libraryId}/foldersAndDocuments","href":"/api-reference/folder/get-folderv1libraries-foldersanddocuments"},{"title":"Post folderv1libraries foldersanddocumentsmove","deprecated":null,"version":null,"openapi":"/openapis/folder.json post /folder/v1/libraries/{libraryId}/foldersAndDocuments/move","href":"/api-reference/folder/post-folderv1libraries-foldersanddocumentsmove"},{"title":"Post folderv1libraries foldersanddocumentstrash","deprecated":null,"version":null,"openapi":"/openapis/folder.json post /folder/v1/libraries/{libraryId}/foldersAndDocuments/trash","href":"/api-reference/folder/post-folderv1libraries-foldersanddocumentstrash"},{"title":"Post folderv1libraries foldersanddocumentsuntrash","deprecated":null,"version":null,"openapi":"/openapis/folder.json post /folder/v1/libraries/{libraryId}/foldersAndDocuments/untrash","href":"/api-reference/folder/post-folderv1libraries-foldersanddocumentsuntrash"}]}]},{"group":"Job","pages":[{"title":"Job","sidebarTitle":"Overview","href":"/api-reference/job"},{"group":"job","pages":[{"title":"Get jobv1events","deprecated":null,"version":null,"openapi":"/openapis/job.json get /job/v1/events/{jobId}","href":"/api-reference/job/get-jobv1events"},{"title":"Get jobv1libraries","deprecated":null,"version":null,"openapi":"/openapis/job.json get /job/v1/libraries/{libraryId}","href":"/api-reference/job/get-jobv1libraries"},{"title":"Get jobv1","deprecated":null,"version":null,"openapi":"/openapis/job.json get /job/v1/{jobId}","href":"/api-reference/job/get-jobv1"},{"title":"Post jobv1 cancel","deprecated":null,"version":null,"openapi":"/openapis/job.json post /job/v1/{jobId}/cancel","href":"/api-reference/job/post-jobv1-cancel"}]}]},{"group":"Library","pages":[{"title":"Library","sidebarTitle":"Overview","href":"/api-reference/library"},{"group":"library","pages":[{"title":"Put libraryv1","deprecated":null,"version":null,"openapi":"/openapis/library.json put /library/v1","href":"/api-reference/library/put-libraryv1"},{"title":"Post libraryv1library","deprecated":null,"version":null,"openapi":"/openapis/library.json post /library/v1/library","href":"/api-reference/library/post-libraryv1library"},{"title":"Post libraryv1library 1","deprecated":null,"version":null,"openapi":"/openapis/library.json post /library/v1/library/{libraryName}","href":"/api-reference/library/post-libraryv1library-1"},{"title":"Put libraryv1plain","deprecated":null,"version":null,"openapi":"/openapis/library.json put /library/v1/plain","href":"/api-reference/library/put-libraryv1plain"},{"title":"Get libraryv1","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v1/{libId}","href":"/api-reference/library/get-libraryv1"},{"title":"Put libraryv1 1","deprecated":null,"version":null,"openapi":"/openapis/library.json put /library/v1/{libId}","href":"/api-reference/library/put-libraryv1-1"},{"title":"Delete libraryv1","deprecated":null,"version":null,"openapi":"/openapis/library.json delete /library/v1/{libId}","href":"/api-reference/library/delete-libraryv1"},{"title":"Patch libraryv1","deprecated":null,"version":null,"openapi":"/openapis/library.json patch /library/v1/{libId}","href":"/api-reference/library/patch-libraryv1"},{"title":"Get libraryv1 categoryvaluemappings","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v1/{libId}/categoryValueMappings","href":"/api-reference/library/get-libraryv1-categoryvaluemappings"},{"title":"Post libraryv1 categoryvaluemappings","deprecated":null,"version":null,"openapi":"/openapis/library.json post /library/v1/{libId}/categoryValueMappings","href":"/api-reference/library/post-libraryv1-categoryvaluemappings"},{"title":"Get libraryv1 categoryvaluemappings 1","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v1/{libId}/categoryValueMappings/{mappingId}","href":"/api-reference/library/get-libraryv1-categoryvaluemappings-1"},{"title":"Put libraryv1 categoryvaluemappings","deprecated":null,"version":null,"openapi":"/openapis/library.json put /library/v1/{libId}/categoryValueMappings/{mappingId}","href":"/api-reference/library/put-libraryv1-categoryvaluemappings"},{"title":"Delete libraryv1 categoryvaluemappings","deprecated":null,"version":null,"openapi":"/openapis/library.json delete /library/v1/{libId}/categoryValueMappings/{mappingId}","href":"/api-reference/library/delete-libraryv1-categoryvaluemappings"},{"title":"Get libraryv1 categoryvaluemappings targets","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v1/{libId}/categoryValueMappings/{mappingId}/targets","href":"/api-reference/library/get-libraryv1-categoryvaluemappings-targets"},{"title":"Get libraryv1 permission","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v1/{libraryId}/permission","href":"/api-reference/library/get-libraryv1-permission"},{"title":"Post libraryv1 permission","deprecated":null,"version":null,"openapi":"/openapis/library.json post /library/v1/{libraryId}/permission","href":"/api-reference/library/post-libraryv1-permission"},{"title":"Post libraryv1beta1 changeattachmentmode","deprecated":null,"version":null,"openapi":"/openapis/library.json post /library/v1beta1/{libId}/changeAttachmentMode","href":"/api-reference/library/post-libraryv1beta1-changeattachmentmode"},{"title":"Get libraryv1beta1 classesandtemplates","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v1beta1/{libId}/classesAndTemplates","href":"/api-reference/library/get-libraryv1beta1-classesandtemplates"},{"title":"Get libraryv1beta1 configuration","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v1beta1/{libId}/configuration","href":"/api-reference/library/get-libraryv1beta1-configuration"},{"title":"Post libraryv1beta1 configuration","deprecated":null,"version":null,"openapi":"/openapis/library.json post /library/v1beta1/{libId}/configuration","href":"/api-reference/library/post-libraryv1beta1-configuration"},{"title":"Post libraryv1beta1 configuration 1","deprecated":null,"version":null,"openapi":"/openapis/library.json post /library/v1beta1/{libId}/configuration/{flagName}","href":"/api-reference/library/post-libraryv1beta1-configuration-1"},{"title":"Delete libraryv1beta1 configuration","deprecated":null,"version":null,"openapi":"/openapis/library.json delete /library/v1beta1/{libId}/configuration/{flagName}","href":"/api-reference/library/delete-libraryv1beta1-configuration"},{"title":"Get libraryv1beta1 configurationflags","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v1beta1/{libId}/configurationFlags","href":"/api-reference/library/get-libraryv1beta1-configurationflags"},{"title":"Get libraryv1beta1 customscripts","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v1beta1/{libId}/customScripts","href":"/api-reference/library/get-libraryv1beta1-customscripts"},{"title":"Post libraryv1beta1 customscripts","deprecated":null,"version":null,"openapi":"/openapis/library.json post /library/v1beta1/{libId}/customScripts","href":"/api-reference/library/post-libraryv1beta1-customscripts"},{"title":"Get libraryv1beta1 customscripts 1","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v1beta1/{libId}/customScripts/{customScriptId}","href":"/api-reference/library/get-libraryv1beta1-customscripts-1"},{"title":"Put libraryv1beta1 customscripts","deprecated":null,"version":null,"openapi":"/openapis/library.json put /library/v1beta1/{libId}/customScripts/{customScriptId}","href":"/api-reference/library/put-libraryv1beta1-customscripts"},{"title":"Delete libraryv1beta1 customscripts","deprecated":null,"version":null,"openapi":"/openapis/library.json delete /library/v1beta1/{libId}/customScripts/{customScriptId}","href":"/api-reference/library/delete-libraryv1beta1-customscripts"},{"title":"Post libraryv1beta1 customscripts:compile","deprecated":null,"version":null,"openapi":"/openapis/library.json post /library/v1beta1/{libId}/customScripts:compile","href":"/api-reference/library/post-libraryv1beta1-customscripts:compile"},{"title":"Get libraryv1beta1 customuiactions","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v1beta1/{libId}/customuiactions","href":"/api-reference/library/get-libraryv1beta1-customuiactions"},{"title":"Post libraryv1beta1 customuiactions","deprecated":null,"version":null,"openapi":"/openapis/library.json post /library/v1beta1/{libId}/customuiactions","href":"/api-reference/library/post-libraryv1beta1-customuiactions"},{"title":"Get libraryv1beta1 customuiactions 1","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v1beta1/{libId}/customuiactions/{customUIActionId}","href":"/api-reference/library/get-libraryv1beta1-customuiactions-1"},{"title":"Delete libraryv1beta1 customuiactions","deprecated":null,"version":null,"openapi":"/openapis/library.json delete /library/v1beta1/{libId}/customuiactions/{customUIActionId}","href":"/api-reference/library/delete-libraryv1beta1-customuiactions"},{"title":"Patch libraryv1beta1 customuiactions","deprecated":null,"version":null,"openapi":"/openapis/library.json patch /library/v1beta1/{libId}/customuiactions/{customUIActionId}","href":"/api-reference/library/patch-libraryv1beta1-customuiactions"},{"title":"Post libraryv1beta1 exportdocumentsandfolders","deprecated":null,"version":null,"openapi":"/openapis/library.json post /library/v1beta1/{libId}/exportDocumentsAndFolders","href":"/api-reference/library/post-libraryv1beta1-exportdocumentsandfolders"},{"title":"Get libraryv1beta1 glossary","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v1beta1/{libId}/glossary","href":"/api-reference/library/get-libraryv1beta1-glossary"},{"title":"Post libraryv1beta1 glossary","deprecated":null,"version":null,"openapi":"/openapis/library.json post /library/v1beta1/{libId}/glossary","href":"/api-reference/library/post-libraryv1beta1-glossary"},{"title":"Get libraryv1beta1 inboundemails","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v1beta1/{libId}/inboundEmails","href":"/api-reference/library/get-libraryv1beta1-inboundemails"},{"title":"Post libraryv1beta1 inboundemails","deprecated":null,"version":null,"openapi":"/openapis/library.json post /library/v1beta1/{libId}/inboundEmails","href":"/api-reference/library/post-libraryv1beta1-inboundemails"},{"title":"Get libraryv1beta1 inboundemails 1","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v1beta1/{libId}/inboundEmails/{inboundEmailId}","href":"/api-reference/library/get-libraryv1beta1-inboundemails-1"},{"title":"Delete libraryv1beta1 inboundemails","deprecated":null,"version":null,"openapi":"/openapis/library.json delete /library/v1beta1/{libId}/inboundEmails/{inboundEmailId}","href":"/api-reference/library/delete-libraryv1beta1-inboundemails"},{"title":"Patch libraryv1beta1 inboundemails","deprecated":null,"version":null,"openapi":"/openapis/library.json patch /library/v1beta1/{libId}/inboundEmails/{inboundEmailId}","href":"/api-reference/library/patch-libraryv1beta1-inboundemails"},{"title":"Post libraryv1beta1 lock","deprecated":null,"version":null,"openapi":"/openapis/library.json post /library/v1beta1/{libId}/lock","href":"/api-reference/library/post-libraryv1beta1-lock"},{"title":"Delete libraryv1beta1 lock","deprecated":null,"version":null,"openapi":"/openapis/library.json delete /library/v1beta1/{libId}/lock","href":"/api-reference/library/delete-libraryv1beta1-lock"},{"title":"Get libraryv1beta1 personfields","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v1beta1/{libId}/personFields","href":"/api-reference/library/get-libraryv1beta1-personfields"},{"title":"Get libraryv1beta1 roles","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v1beta1/{libId}/roles","href":"/api-reference/library/get-libraryv1beta1-roles"},{"title":"Post libraryv1beta1 roles","deprecated":null,"version":null,"openapi":"/openapis/library.json post /library/v1beta1/{libId}/roles","href":"/api-reference/library/post-libraryv1beta1-roles"},{"title":"Get libraryv1beta1 roles 1","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v1beta1/{libId}/roles/{roleId}","href":"/api-reference/library/get-libraryv1beta1-roles-1"},{"title":"Delete libraryv1beta1 roles","deprecated":null,"version":null,"openapi":"/openapis/library.json delete /library/v1beta1/{libId}/roles/{roleId}","href":"/api-reference/library/delete-libraryv1beta1-roles"},{"title":"Patch libraryv1beta1 roles","deprecated":null,"version":null,"openapi":"/openapis/library.json patch /library/v1beta1/{libId}/roles/{roleId}","href":"/api-reference/library/patch-libraryv1beta1-roles"},{"title":"Get libraryv1beta1 workflowemails","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v1beta1/{libId}/workflowEmails","href":"/api-reference/library/get-libraryv1beta1-workflowemails"},{"title":"Post libraryv1beta1 workflowemails","deprecated":null,"version":null,"openapi":"/openapis/library.json post /library/v1beta1/{libId}/workflowEmails","href":"/api-reference/library/post-libraryv1beta1-workflowemails"},{"title":"Get libraryv1beta1 workflowemails 1","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v1beta1/{libId}/workflowEmails/{workflowEmailId}","href":"/api-reference/library/get-libraryv1beta1-workflowemails-1"},{"title":"Delete libraryv1beta1 workflowemails","deprecated":null,"version":null,"openapi":"/openapis/library.json delete /library/v1beta1/{libId}/workflowEmails/{workflowEmailId}","href":"/api-reference/library/delete-libraryv1beta1-workflowemails"},{"title":"Patch libraryv1beta1 workflowemails","deprecated":null,"version":null,"openapi":"/openapis/library.json patch /library/v1beta1/{libId}/workflowEmails/{workflowEmailId}","href":"/api-reference/library/patch-libraryv1beta1-workflowemails"},{"title":"Post libraryv1beta1 :exportdocumentsandfolders","deprecated":null,"version":null,"openapi":"/openapis/library.json post /library/v1beta1/{libId}:exportDocumentsAndFolders","href":"/api-reference/library/post-libraryv1beta1-:exportdocumentsandfolders"},{"title":"Patch libraryv1beta1 :privilegedupdate","deprecated":null,"version":null,"openapi":"/openapis/library.json patch /library/v1beta1/{libId}:privilegedUpdate","href":"/api-reference/library/patch-libraryv1beta1-:privilegedupdate"},{"title":"Get libraryv1beta1 standardactions","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v1beta1/{libraryId}/standardActions","href":"/api-reference/library/get-libraryv1beta1-standardactions"},{"title":"Get libraryv1beta1 standardactions 1","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v1beta1/{libraryId}/standardActions/{standardActionId}","href":"/api-reference/library/get-libraryv1beta1-standardactions-1"},{"title":"Patch libraryv1beta1 standardactions","deprecated":null,"version":null,"openapi":"/openapis/library.json patch /library/v1beta1/{libraryId}/standardActions/{standardActionId}","href":"/api-reference/library/patch-libraryv1beta1-standardactions"},{"title":"Get libraryv2beta1search","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v2beta1/search","href":"/api-reference/library/get-libraryv2beta1search"},{"title":"Get libraryv2beta1searcharchived","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v2beta1/searchArchived","href":"/api-reference/library/get-libraryv2beta1searcharchived"},{"title":"Get libraryv2beta1suggest","deprecated":null,"version":null,"openapi":"/openapis/library.json get /library/v2beta1/suggest","href":"/api-reference/library/get-libraryv2beta1suggest"}]}]},{"group":"Reference Catalog","pages":[{"title":"Reference Catalog","sidebarTitle":"Overview","href":"/api-reference/reference-catalog"},{"group":"referenceCatalog","pages":[{"title":"Get referencecatalogv1","deprecated":null,"version":null,"openapi":"/openapis/referenceCatalog.json get /referenceCatalog/v1","href":"/api-reference/referencecatalog/get-referencecatalogv1"},{"title":"Put referencecatalogv1","deprecated":null,"version":null,"openapi":"/openapis/referenceCatalog.json put /referenceCatalog/v1","href":"/api-reference/referencecatalog/put-referencecatalogv1"},{"title":"Post referencecatalogv1","deprecated":null,"version":null,"openapi":"/openapis/referenceCatalog.json post /referenceCatalog/v1","href":"/api-reference/referencecatalog/post-referencecatalogv1"},{"title":"Get referencecatalogv1 1","deprecated":null,"version":null,"openapi":"/openapis/referenceCatalog.json get /referenceCatalog/v1/{catalogId}","href":"/api-reference/referencecatalog/get-referencecatalogv1-1"},{"title":"Delete referencecatalogv1","deprecated":null,"version":null,"openapi":"/openapis/referenceCatalog.json delete /referenceCatalog/v1/{catalogId}","href":"/api-reference/referencecatalog/delete-referencecatalogv1"},{"title":"Get referencecatalogv1 items","deprecated":null,"version":null,"openapi":"/openapis/referenceCatalog.json get /referenceCatalog/v1/{catalogId}/items","href":"/api-reference/referencecatalog/get-referencecatalogv1-items"},{"title":"Post referencecatalogv1 items","deprecated":null,"version":null,"openapi":"/openapis/referenceCatalog.json post /referenceCatalog/v1/{catalogId}/items","href":"/api-reference/referencecatalog/post-referencecatalogv1-items"},{"title":"Get referencecatalogv1 items 1","deprecated":null,"version":null,"openapi":"/openapis/referenceCatalog.json get /referenceCatalog/v1/{catalogId}/items/{referenceCatalogValueId}","href":"/api-reference/referencecatalog/get-referencecatalogv1-items-1"},{"title":"Delete referencecatalogv1 items","deprecated":null,"version":null,"openapi":"/openapis/referenceCatalog.json delete /referenceCatalog/v1/{catalogId}/items/{referenceCatalogValueId}","href":"/api-reference/referencecatalog/delete-referencecatalogv1-items"},{"title":"Get referencecatalogv1 suggest","deprecated":null,"version":null,"openapi":"/openapis/referenceCatalog.json get /referenceCatalog/v1/{catalogId}/suggest","href":"/api-reference/referencecatalog/get-referencecatalogv1-suggest"}]}]},{"group":"Relation","pages":[{"title":"Relation","sidebarTitle":"Overview","href":"/api-reference/relation"},{"group":"relation","pages":[{"title":"Get relationv1document","deprecated":null,"version":null,"openapi":"/openapis/relation.json get /relation/v1/document/{documentId}","href":"/api-reference/relation/get-relationv1document"},{"title":"Post relationv1document","deprecated":null,"version":null,"openapi":"/openapis/relation.json post /relation/v1/document/{documentId}","href":"/api-reference/relation/post-relationv1document"},{"title":"Get relationv1libraries relations documents","deprecated":null,"version":null,"openapi":"/openapis/relation.json get /relation/v1/libraries/{libraryId}/relations/{relationId}/documents/{documentId}","href":"/api-reference/relation/get-relationv1libraries-relations-documents"},{"title":"Get relationv1relations side documents","deprecated":null,"version":null,"openapi":"/openapis/relation.json get /relation/v1/relations/{relationId}/side/{side}/documents","href":"/api-reference/relation/get-relationv1relations-side-documents"},{"title":"Get relationv1relations side documents 1","deprecated":null,"version":null,"openapi":"/openapis/relation.json get /relation/v1/relations/{relationId}/side/{side}/documents/{documentId}","href":"/api-reference/relation/get-relationv1relations-side-documents-1"},{"title":"Get relationv1relations side templates","deprecated":null,"version":null,"openapi":"/openapis/relation.json get /relation/v1/relations/{relationId}/side/{side}/templates/{templateId}","href":"/api-reference/relation/get-relationv1relations-side-templates"},{"title":"Get relationv1beta1document relation","deprecated":null,"version":null,"openapi":"/openapis/relation.json get /relation/v1beta1/document/{documentId}/relation/{relationId}","href":"/api-reference/relation/get-relationv1beta1document-relation"},{"title":"Get relationv1beta1relationdefinitions","deprecated":null,"version":null,"openapi":"/openapis/relation.json get /relation/v1beta1/relationDefinitions","href":"/api-reference/relation/get-relationv1beta1relationdefinitions"},{"title":"Post relationv1beta1relationdefinitions","deprecated":null,"version":null,"openapi":"/openapis/relation.json post /relation/v1beta1/relationDefinitions","href":"/api-reference/relation/post-relationv1beta1relationdefinitions"},{"title":"Get relationv1beta1relationdefinitions 1","deprecated":null,"version":null,"openapi":"/openapis/relation.json get /relation/v1beta1/relationDefinitions/{relationDefinitionId}","href":"/api-reference/relation/get-relationv1beta1relationdefinitions-1"},{"title":"Delete relationv1beta1relationdefinitions","deprecated":null,"version":null,"openapi":"/openapis/relation.json delete /relation/v1beta1/relationDefinitions/{relationDefinitionId}","href":"/api-reference/relation/delete-relationv1beta1relationdefinitions"},{"title":"Patch relationv1beta1relationdefinitions","deprecated":null,"version":null,"openapi":"/openapis/relation.json patch /relation/v1beta1/relationDefinitions/{relationDefinitionId}","href":"/api-reference/relation/patch-relationv1beta1relationdefinitions"}]}]},{"group":"Search","pages":[{"title":"Search","sidebarTitle":"Overview","href":"/api-reference/search"},{"group":"search","pages":[{"title":"Post searchv1document","deprecated":null,"version":null,"openapi":"/openapis/search.json post /search/v1/document","href":"/api-reference/search/post-searchv1document"},{"title":"Post searchv1domain","deprecated":null,"version":null,"openapi":"/openapis/search.json post /search/v1/domain","href":"/api-reference/search/post-searchv1domain"},{"title":"Post searchv1filterableproperties","deprecated":null,"version":null,"openapi":"/openapis/search.json post /search/v1/filterableproperties","href":"/api-reference/search/post-searchv1filterableproperties"},{"title":"Post searchv1libraries count","deprecated":null,"version":null,"openapi":"/openapis/search.json post /search/v1/libraries/{libraryId}/count","href":"/api-reference/search/post-searchv1libraries-count"},{"title":"Post searchv1libraries list","deprecated":null,"version":null,"openapi":"/openapis/search.json post /search/v1/libraries/{libraryId}/list","href":"/api-reference/search/post-searchv1libraries-list"},{"title":"Post searchv1libraries search","deprecated":null,"version":null,"openapi":"/openapis/search.json post /search/v1/libraries/{libraryId}/search","href":"/api-reference/search/post-searchv1libraries-search"},{"title":"Post searchv1libraries searchdrive","deprecated":null,"version":null,"openapi":"/openapis/search.json post /search/v1/libraries/{libraryId}/search/drive","href":"/api-reference/search/post-searchv1libraries-searchdrive"},{"title":"Post searchv1libraries views","deprecated":null,"version":null,"openapi":"/openapis/search.json post /search/v1/libraries/{libraryId}/views/{viewId}","href":"/api-reference/search/post-searchv1libraries-views"},{"title":"Post searchv2alphalibraries search","deprecated":null,"version":null,"openapi":"/openapis/search.json post /search/v2alpha/libraries/{libraryId}/search","href":"/api-reference/search/post-searchv2alphalibraries-search"}]}]},{"group":"Templating","pages":[{"title":"Templating","sidebarTitle":"Overview","href":"/api-reference/templating"},{"group":"templating","pages":[{"title":"Post templatingv1","deprecated":null,"version":null,"openapi":"/openapis/templating.json post /templating/v1","href":"/api-reference/templating/post-templatingv1"}]}]},{"group":"User","pages":[{"title":"User","sidebarTitle":"Overview","href":"/api-reference/user"},{"group":"user","pages":[{"title":"Get userv1combinedsuggest","deprecated":null,"version":null,"openapi":"/openapis/user.json get /user/v1/combinedSuggest","href":"/api-reference/user/get-userv1combinedsuggest"},{"title":"Get userv1group members","deprecated":null,"version":null,"openapi":"/openapis/user.json get /user/v1/group/{groupEmail}/members","href":"/api-reference/user/get-userv1group-members"},{"title":"Post userv1group refresh","deprecated":null,"version":null,"openapi":"/openapis/user.json post /user/v1/group/{groupEmail}/refresh","href":"/api-reference/user/post-userv1group-refresh"},{"title":"Get userv1groupsuggest","deprecated":null,"version":null,"openapi":"/openapis/user.json get /user/v1/groupSuggest","href":"/api-reference/user/get-userv1groupsuggest"},{"title":"Get userv1licenseusersuggest","deprecated":true,"version":null,"openapi":"/openapis/user.json get /user/v1/licenseUserSuggest","href":"/api-reference/user/get-userv1licenseusersuggest"},{"title":"Get userv1me","deprecated":null,"version":null,"openapi":"/openapis/user.json get /user/v1/me","href":"/api-reference/user/get-userv1me"},{"title":"Patch userv1me","deprecated":null,"version":null,"openapi":"/openapis/user.json patch /user/v1/me","href":"/api-reference/user/patch-userv1me"},{"title":"Get userv1storageaccounts","deprecated":null,"version":null,"openapi":"/openapis/user.json get /user/v1/storageAccounts","href":"/api-reference/user/get-userv1storageaccounts"},{"title":"Get userv1userandgroupsuggest","deprecated":null,"version":null,"openapi":"/openapis/user.json get /user/v1/userAndGroupSuggest","href":"/api-reference/user/get-userv1userandgroupsuggest"},{"title":"Get userv1usersuggest","deprecated":null,"version":null,"openapi":"/openapis/user.json get /user/v1/userSuggest","href":"/api-reference/user/get-userv1usersuggest"},{"title":"Get userv1workflowtasks","deprecated":null,"version":null,"openapi":"/openapis/user.json get /user/v1/workflowTasks","href":"/api-reference/user/get-userv1workflowtasks"},{"title":"Get userv1","deprecated":null,"version":null,"openapi":"/openapis/user.json get /user/v1/{userId}","href":"/api-reference/user/get-userv1"},{"title":"Get userv1 starred","deprecated":null,"version":null,"openapi":"/openapis/user.json get /user/v1/{user}/starred/{type}","href":"/api-reference/user/get-userv1-starred"},{"title":"Post userv1 starred ","deprecated":null,"version":null,"openapi":"/openapis/user.json post /user/v1/{user}/starred/{type}/{objectId}","href":"/api-reference/user/post-userv1-starred-"},{"title":"Delete userv1 starred ","deprecated":null,"version":null,"openapi":"/openapis/user.json delete /user/v1/{user}/starred/{type}/{objectId}","href":"/api-reference/user/delete-userv1-starred-"},{"title":"Get userv1beta1emailqualification","deprecated":null,"version":null,"openapi":"/openapis/user.json get /user/v1beta1/emailQualification/{email}","href":"/api-reference/user/get-userv1beta1emailqualification"},{"title":"Get userv1beta1meroles","deprecated":null,"version":null,"openapi":"/openapis/user.json get /user/v1beta1/me/roles","href":"/api-reference/user/get-userv1beta1meroles"},{"title":"Get userv1beta1meroles 1","deprecated":null,"version":null,"openapi":"/openapis/user.json get /user/v1beta1/me/roles/{libraryId}","href":"/api-reference/user/get-userv1beta1meroles-1"}]}]},{"group":"View","pages":[{"title":"View","sidebarTitle":"Overview","href":"/api-reference/view"},{"group":"view","pages":[{"title":"Put viewv1","deprecated":null,"version":null,"openapi":"/openapis/view.json put /view/v1","href":"/api-reference/view/put-viewv1"},{"title":"Post viewv1","deprecated":null,"version":null,"openapi":"/openapis/view.json post /view/v1","href":"/api-reference/view/post-viewv1"},{"title":"Patch viewv1","deprecated":null,"version":null,"openapi":"/openapis/view.json patch /view/v1","href":"/api-reference/view/patch-viewv1"},{"title":"Get viewv1libraries","deprecated":null,"version":null,"openapi":"/openapis/view.json get /view/v1/libraries/{libraryId}","href":"/api-reference/view/get-viewv1libraries"},{"title":"Get viewv1libraries views","deprecated":null,"version":null,"openapi":"/openapis/view.json get /view/v1/libraries/{libraryId}/views/{viewId}","href":"/api-reference/view/get-viewv1libraries-views"},{"title":"Delete viewv1libraries views","deprecated":null,"version":null,"openapi":"/openapis/view.json delete /view/v1/libraries/{libraryId}/views/{viewId}","href":"/api-reference/view/delete-viewv1libraries-views"}]}]},{"group":"Workflow","pages":[{"title":"Workflow","sidebarTitle":"Overview","href":"/api-reference/workflow"},{"group":"workflow","pages":[{"title":"Post workflowv1documents states","deprecated":null,"version":null,"openapi":"/openapis/workflow.json post /workflow/v1/documents/{documentId}/states/{stateId}","href":"/api-reference/workflow/post-workflowv1documents-states"},{"title":"Post workflowv1documents states message","deprecated":null,"version":null,"openapi":"/openapis/workflow.json post /workflow/v1/documents/{documentId}/states/{stateId}/message/{message}","href":"/api-reference/workflow/post-workflowv1documents-states-message"},{"title":"Get workflowv1documents transitions","deprecated":null,"version":null,"openapi":"/openapis/workflow.json get /workflow/v1/documents/{documentId}/transitions","href":"/api-reference/workflow/get-workflowv1documents-transitions"},{"title":"Post workflowv1documents transitions","deprecated":null,"version":null,"openapi":"/openapis/workflow.json post /workflow/v1/documents/{documentId}/transitions/{transitionId}","href":"/api-reference/workflow/post-workflowv1documents-transitions"},{"title":"Post workflowv1documents transitions message","deprecated":null,"version":null,"openapi":"/openapis/workflow.json post /workflow/v1/documents/{documentId}/transitions/{transitionId}/message/{message}","href":"/api-reference/workflow/post-workflowv1documents-transitions-message"},{"title":"Get workflowv1libraries","deprecated":null,"version":null,"openapi":"/openapis/workflow.json get /workflow/v1/libraries/{libraryId}","href":"/api-reference/workflow/get-workflowv1libraries"},{"title":"Get workflowv1libraries workbasket","deprecated":null,"version":null,"openapi":"/openapis/workflow.json get /workflow/v1/libraries/{libraryId}/workbasket","href":"/api-reference/workflow/get-workflowv1libraries-workbasket"},{"title":"Get workflowv1libraries workflows","deprecated":null,"version":null,"openapi":"/openapis/workflow.json get /workflow/v1/libraries/{libraryId}/workflows/{workflowId}","href":"/api-reference/workflow/get-workflowv1libraries-workflows"},{"title":"Get workflowv1libraries workflows states","deprecated":true,"version":null,"openapi":"/openapis/workflow.json get /workflow/v1/libraries/{libraryId}/workflows/{workflowId}/states","href":"/api-reference/workflow/get-workflowv1libraries-workflows-states"},{"title":"Get workflowv1workflows transitions fields","deprecated":null,"version":null,"openapi":"/openapis/workflow.json get /workflow/v1/workflows/{workflowId}/transitions/{transitionId}/fields","href":"/api-reference/workflow/get-workflowv1workflows-transitions-fields"},{"title":"Get workflowv1beta1humanworkflowactions","deprecated":null,"version":null,"openapi":"/openapis/workflow.json get /workflow/v1beta1/humanWorkflowActions","href":"/api-reference/workflow/get-workflowv1beta1humanworkflowactions"},{"title":"Post workflowv1beta1humanworkflowactions","deprecated":null,"version":null,"openapi":"/openapis/workflow.json post /workflow/v1beta1/humanWorkflowActions","href":"/api-reference/workflow/post-workflowv1beta1humanworkflowactions"},{"title":"Get workflowv1beta1humanworkflowactions 1","deprecated":null,"version":null,"openapi":"/openapis/workflow.json get /workflow/v1beta1/humanWorkflowActions/{humanWorkflowActionId}","href":"/api-reference/workflow/get-workflowv1beta1humanworkflowactions-1"},{"title":"Delete workflowv1beta1humanworkflowactions","deprecated":null,"version":null,"openapi":"/openapis/workflow.json delete /workflow/v1beta1/humanWorkflowActions/{humanWorkflowActionId}","href":"/api-reference/workflow/delete-workflowv1beta1humanworkflowactions"},{"title":"Patch workflowv1beta1humanworkflowactions","deprecated":null,"version":null,"openapi":"/openapis/workflow.json patch /workflow/v1beta1/humanWorkflowActions/{humanWorkflowActionId}","href":"/api-reference/workflow/patch-workflowv1beta1humanworkflowactions"},{"title":"Get workflowv1beta1libraries workbasketcount","deprecated":null,"version":null,"openapi":"/openapis/workflow.json get /workflow/v1beta1/libraries/{libraryId}/workbasket/count","href":"/api-reference/workflow/get-workflowv1beta1libraries-workbasketcount"},{"title":"Get workflowv2beta1workflows","deprecated":null,"version":null,"openapi":"/openapis/workflow.json get /workflow/v2beta1/workflows","href":"/api-reference/workflow/get-workflowv2beta1workflows"},{"title":"Post workflowv2beta1workflows","deprecated":null,"version":null,"openapi":"/openapis/workflow.json post /workflow/v2beta1/workflows","href":"/api-reference/workflow/post-workflowv2beta1workflows"},{"title":"Get workflowv2beta1workflowshumanworkflowactions","deprecated":null,"version":null,"openapi":"/openapis/workflow.json get /workflow/v2beta1/workflows/humanWorkflowActions","href":"/api-reference/workflow/get-workflowv2beta1workflowshumanworkflowactions"},{"title":"Post workflowv2beta1workflowshumanworkflowactions","deprecated":null,"version":null,"openapi":"/openapis/workflow.json post /workflow/v2beta1/workflows/humanWorkflowActions","href":"/api-reference/workflow/post-workflowv2beta1workflowshumanworkflowactions"},{"title":"Get workflowv2beta1workflowshumanworkflowactions 1","deprecated":null,"version":null,"openapi":"/openapis/workflow.json get /workflow/v2beta1/workflows/humanWorkflowActions/{humanWorkflowActionId}","href":"/api-reference/workflow/get-workflowv2beta1workflowshumanworkflowactions-1"},{"title":"Delete workflowv2beta1workflowshumanworkflowactions","deprecated":null,"version":null,"openapi":"/openapis/workflow.json delete /workflow/v2beta1/workflows/humanWorkflowActions/{humanWorkflowActionId}","href":"/api-reference/workflow/delete-workflowv2beta1workflowshumanworkflowactions"},{"title":"Patch workflowv2beta1workflowshumanworkflowactions","deprecated":null,"version":null,"openapi":"/openapis/workflow.json patch /workflow/v2beta1/workflows/humanWorkflowActions/{humanWorkflowActionId}","href":"/api-reference/workflow/patch-workflowv2beta1workflowshumanworkflowactions"},{"title":"Get workflowv2beta1workflows 1","deprecated":null,"version":null,"openapi":"/openapis/workflow.json get /workflow/v2beta1/workflows/{workflowId}","href":"/api-reference/workflow/get-workflowv2beta1workflows-1"},{"title":"Delete workflowv2beta1workflows","deprecated":null,"version":null,"openapi":"/openapis/workflow.json delete /workflow/v2beta1/workflows/{workflowId}","href":"/api-reference/workflow/delete-workflowv2beta1workflows"},{"title":"Patch workflowv2beta1workflows","deprecated":null,"version":null,"openapi":"/openapis/workflow.json patch /workflow/v2beta1/workflows/{workflowId}","href":"/api-reference/workflow/patch-workflowv2beta1workflows"},{"title":"Get workflowv2beta1workflows states","deprecated":null,"version":null,"openapi":"/openapis/workflow.json get /workflow/v2beta1/workflows/{workflowId}/states","href":"/api-reference/workflow/get-workflowv2beta1workflows-states"},{"title":"Post workflowv2beta1workflows states","deprecated":null,"version":null,"openapi":"/openapis/workflow.json post /workflow/v2beta1/workflows/{workflowId}/states","href":"/api-reference/workflow/post-workflowv2beta1workflows-states"},{"title":"Delete workflowv2beta1workflows states","deprecated":null,"version":null,"openapi":"/openapis/workflow.json delete /workflow/v2beta1/workflows/{workflowId}/states","href":"/api-reference/workflow/delete-workflowv2beta1workflows-states"},{"title":"Get workflowv2beta1workflows states 1","deprecated":null,"version":null,"openapi":"/openapis/workflow.json get /workflow/v2beta1/workflows/{workflowId}/states/{stateId}","href":"/api-reference/workflow/get-workflowv2beta1workflows-states-1"},{"title":"Patch workflowv2beta1workflows states","deprecated":null,"version":null,"openapi":"/openapis/workflow.json patch /workflow/v2beta1/workflows/{workflowId}/states/{stateId}","href":"/api-reference/workflow/patch-workflowv2beta1workflows-states"},{"title":"Get workflowv2beta1workflows states transitions","deprecated":null,"version":null,"openapi":"/openapis/workflow.json get /workflow/v2beta1/workflows/{workflowId}/states/{stateId}/transitions","href":"/api-reference/workflow/get-workflowv2beta1workflows-states-transitions"},{"title":"Post workflowv2beta1workflows states transitions","deprecated":null,"version":null,"openapi":"/openapis/workflow.json post /workflow/v2beta1/workflows/{workflowId}/states/{stateId}/transitions","href":"/api-reference/workflow/post-workflowv2beta1workflows-states-transitions"},{"title":"Get workflowv2beta1workflows states transitions 1","deprecated":null,"version":null,"openapi":"/openapis/workflow.json get /workflow/v2beta1/workflows/{workflowId}/states/{stateId}/transitions/{transitionId}","href":"/api-reference/workflow/get-workflowv2beta1workflows-states-transitions-1"},{"title":"Delete workflowv2beta1workflows states transitions","deprecated":null,"version":null,"openapi":"/openapis/workflow.json delete /workflow/v2beta1/workflows/{workflowId}/states/{stateId}/transitions/{transitionId}","href":"/api-reference/workflow/delete-workflowv2beta1workflows-states-transitions"},{"title":"Patch workflowv2beta1workflows states transitions","deprecated":null,"version":null,"openapi":"/openapis/workflow.json patch /workflow/v2beta1/workflows/{workflowId}/states/{stateId}/transitions/{transitionId}","href":"/api-reference/workflow/patch-workflowv2beta1workflows-states-transitions"}]}]}]},{"tab":"AI API Reference","icon":"code-simple","pages":[{"title":"AI API Reference","href":"/aida-api/introduction"}]}]},"basePath":"","title":"Patch documenttypev1libraries documenttypes - AO Docs Documentation","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}