{"openapi":"3.0.3","info":{"title":"AMx Configuration Service API","version":"v2"},"servers":[{"url":"http://localhost:10024","description":"The AMx configuration service"}],"paths":{"/pcs/amx-configuration/actuator/health/liveness":{"get":{"summary":"The liveness of this service","operationId":"getLiveness","tags":["health"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LivenessResponse"}}}}}}},"/pcs/amx-configuration/actuator/health/readiness":{"get":{"summary":"The readiness of this service","operationId":"getReadiness","tags":["health"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadinessResponse"}}}}}}},"/pcs/amx-configuration/deviation/v2/{id}":{"get":{"summary":"Get a Deviation By Deviation ID.  Requires s2s token.","operationId":"getDeviation","tags":["deviation"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"pcs-appId","in":"header","schema":{"type":"string"}},{"in":"header","name":"pcs-tenantId","schema":{"type":"string"}},{"in":"header","name":"pcs-userId","schema":{"type":"string"}},{"in":"header","name":"pcs-roles","schema":{"type":"string","description":"String of comma separated roles","example":"system-user-role"}},{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"ID of the deviation to retrieve","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deviation"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1008","errorKey":"deviation-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/deviation/v2":{"post":{"summary":"Store/Update a Deviation.  Requires s2s token.","operationId":"storeDeviation","tags":["deviation"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"pcs-appId","in":"header","schema":{"type":"string"}},{"in":"header","name":"pcs-tenantId","schema":{"type":"string"}},{"in":"header","name":"pcs-userId","schema":{"type":"string"}},{"in":"header","name":"pcs-roles","schema":{"type":"string","description":"String of comma separated roles","example":"system-user-role"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreDeviationRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deviation"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"deviation-fixed-fields-changed":{"errorCode":"amx-configuration-2028","errorKey":"deviation-fixed-fields-changed"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/deviation/v2/action/search":{"post":{"summary":"Search deviations","operationId":"searchDeviations","tags":["deviation"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"pcs-appId","in":"header","schema":{"type":"string"}},{"in":"header","name":"pcs-tenantId","schema":{"type":"string"}},{"in":"header","name":"pcs-userId","schema":{"type":"string"}},{"in":"header","name":"pcs-roles","schema":{"type":"string","description":"String of comma separated roles","example":"system-user-role"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviationSearchRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Deviation"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template-series/v2/{id}":{"get":{"summary":"Get a template series by id.","operationId":"getTemplateSeries","tags":["template series"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"pcs-appId","in":"header","schema":{"type":"string"}},{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"ID of the template series to retrieve","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateSeries"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1007","errorKey":"template-series-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/action/create":{"post":{"summary":"Create a template","operationId":"createTemplate","tags":["template"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTemplateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Template"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/{id}/action/compile":{"post":{"summary":"Compile the template with the given ID","operationId":"compileTemplate","tags":["template"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"pcs-appId","in":"header","schema":{"type":"string"}},{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"ID of the Template","required":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompileTemplateEntityRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompiledTemplate"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1001","errorKey":"template-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/{id}/action/publish":{"patch":{"summary":"Publish the template with the given ID","operationId":"publishTemplate","tags":["template"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"pcs-appId","in":"header","schema":{"type":"string"}},{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"ID of the Template to publish","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Template"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationResults"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1001","errorKey":"template-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/{id}/action/revise":{"post":{"summary":"Revise the template with the given ID","operationId":"reviseTemplate","tags":["template"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string"}},{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"ID of the Template to revise","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Template"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1001","errorKey":"template-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/{id}/action/duplicate":{"post":{"summary":"Duplicate the template with the given ID","operationId":"duplicateTemplate","tags":["template"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string"}},{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"ID of the Template to duplicate","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Template"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1001","errorKey":"template-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/{id}/action/validate":{"get":{"summary":"Validate the template with the given ID","operationId":"validateTemplate","tags":["template"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string"}},{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"ID of the Template to validate","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateValidationResponse"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1001","errorKey":"template-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/action/import":{"post":{"summary":"Import template","operationId":"importTemplate","tags":["template"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"pcs-appId","in":"header","schema":{"type":"string"}},{"name":"pcs-tenantId","in":"header","schema":{"type":"string"}},{"in":"header","name":"pcs-userId","schema":{"type":"string"}},{"in":"header","name":"pcs-roles","schema":{"type":"string","description":"String of comma separated roles","example":"system-user-role"}},{"name":"type","in":"query","schema":{"$ref":"#/components/schemas/TemplateType"}},{"name":"merge","in":"query","schema":{"$ref":"#/components/schemas/MergeType"},"description":"How the import will handle importing the same template again."},{"name":"dataPurpose","in":"query","schema":{"$ref":"#/components/schemas/DataPurpose"},"description":"The data purpose for this template."},{"name":"useDeterministicIds","in":"query","schema":{"type":"boolean"},"description":"Uses the id generation strategy outlined by the amx-migration team which is needed to support CMx-AMx Hybrid mode.  If no value is supplied, the default for DataPurpose.TEST will be false.  For all DataPurpose types, the default will be true."}],"requestBody":{"description":"The template to import as JSON in CMx 'master template' format.","content":{"text/plain":{"schema":{"type":"string","format":"byte"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Template"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"invalid-template-type-for-import":{"errorCode":"amx-configuration-2024","errorKey":"invalid-template-type-for-import"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1007","errorKey":"template-series-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/action/search":{"post":{"summary":"Search templates","operationId":"searchTemplates","tags":["template"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"pcs-appId","in":"header","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateSearchRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplatePage"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/{id}":{"get":{"summary":"Get a template by id.","operationId":"getTemplate","tags":["template"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"pcs-appId","in":"header","schema":{"type":"string"}},{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"Id of the template to retrieve","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Template"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1001","errorKey":"template-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}},"patch":{"summary":"Update a template by id","operationId":"updateTemplate","tags":["template"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"pcs-appId","in":"header","schema":{"type":"string"}},{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"Id of the template to update","required":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Template"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Template"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"invalid-object-version":{"errorCode":"amx-configuration-2002","errorKey":"invalid-object-version"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1001","errorKey":"template-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/{id}/nodes":{"get":{"summary":"Get the nodes for a template.","operationId":"getNodesForTemplate","tags":["template"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"pcs-appId","in":"header","schema":{"type":"string"}},{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"ID of the template","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TemplateNode"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/{id}/captures":{"get":{"summary":"Get the captures for a template.  Requires s2s token.","operationId":"getCapturesForTemplate","tags":["template"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"pcs-appId","in":"header","schema":{"type":"string"}},{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"ID of the template","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TemplateCapture"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/{id}/projections":{"get":{"summary":"Get the projections for a template.  Requires s2s token.","operationId":"getProjectionsForTemplate","tags":["template"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"pcs-appId","in":"header","schema":{"type":"string"}},{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"ID of the template","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TemplateDataProjection"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/cmx/find":{"get":{"summary":"Get a template by tenant id and CMX id","operationId":"getTemplateByTenantIdAndCmxId","tags":["template"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"pcs-appId","in":"header","schema":{"type":"string"},"required":true},{"name":"tenantId","in":"query","schema":{"type":"string"},"description":"Tenant id of the template to retrieve.","required":true},{"name":"cmxId","in":"query","schema":{"type":"integer"},"description":"CMX id of the template to retrieve.","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Template"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1001","errorKey":"template-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/action/validate-regex":{"post":{"summary":"Validate the requested regex","operationId":"validateRegex","tags":["template"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegexValidationRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegexValidationResponse"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"invalid-object-version":{"errorCode":"amx-configuration-2002","errorKey":"invalid-object-version"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/template/{templateId}":{"delete":{"summary":"Delete a template by id","operationId":"deleteTemplate","tags":["template"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"templateId","in":"path","schema":{"type":"string","format":"uuid"},"description":"Id of the template","required":true}],"responses":{"200":{"description":"OK"},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8010","errorKey":"illegal-template-modification"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1001","errorKey":"template-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/template/{templateId}/action/purge":{"delete":{"summary":"Purge a template by id","operationId":"purgeTemplate","tags":["template"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"templateId","in":"path","schema":{"type":"string","format":"uuid"},"description":"Id of the template","required":true}],"responses":{"200":{"description":"OK"},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1001","errorKey":"template-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/template/{id}/action/export-configuration-specification/{language}":{"get":{"summary":"Get Template Configuration Specification Document","operationId":"getConfigurationSpecificationDocument","tags":["template"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"updateCachedFile","in":"header","schema":{"type":"boolean","default":false},"description":"If true, the cached file -if there is- will be deleted and new file will be uploaded to S3"},{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"Id of the template","required":true},{"name":"language","in":"path","schema":{"$ref":"#/components/schemas/Language"},"description":"Language of the document","required":true}],"responses":{"200":{"description":"OK","content":{"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1001","errorKey":"template-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/template/{id}/action/export-validation-report/{language}":{"get":{"summary":"Get VOD Report & Template Configuration Specification Document in a Package","operationId":"getVODReportAndConfigurationSpecificationDocument","tags":["template"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"updateCachedFile","in":"header","schema":{"type":"boolean","default":false},"description":"If true, the cached file -if there is- will be deleted and new file will be uploaded to S3"},{"name":"validationPlanId","in":"header","required":true,"schema":{"type":"string","format":"uuid"},"description":"Validation Plan Id for the VOD report."},{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"Id of the template","required":true},{"name":"language","in":"path","schema":{"$ref":"#/components/schemas/Language"},"description":"Language of the document","required":true}],"responses":{"200":{"description":"OK","content":{"application/zip":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1001","errorKey":"template-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/node/{nodeId}":{"get":{"summary":"Get a template node","operationId":"getTemplateNode","tags":["templateNode"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"nodeId","in":"path","schema":{"type":"string","format":"uuid"},"description":"Id of the node","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateNode"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-node-not-found":{"errorCode":"amx-configuration-1002","errorKey":"template-node-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}},"patch":{"summary":"Update a template node by id","operationId":"updateTemplateNode","tags":["templateNode"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"pcs-appId","in":"header","schema":{"type":"string"}},{"name":"nodeId","in":"path","schema":{"type":"string","format":"uuid"},"description":"Id of the template node to update","required":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateNodeWithStringConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateNode"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"invalid-object-version":{"errorCode":"amx-configuration-2002","errorKey":"invalid-object-version"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1001","errorKey":"template-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}},"delete":{"deprecated":true,"summary":"Delete a template node by id","operationId":"deleteTemplateNode","tags":["templateNode"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"pcs-appId","in":"header","schema":{"type":"string"}},{"name":"nodeId","in":"path","schema":{"type":"string","format":"uuid"},"description":"Id of the template node to delete","required":true}],"responses":{"204":{"description":"No content"},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"invalid-object-version":{"errorCode":"amx-configuration-2002","errorKey":"invalid-object-version"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1001","errorKey":"template-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/node/{id}/action/compile":{"post":{"summary":"Compile the node with the given ID","operationId":"compileNode","tags":["templateNode"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"pcs-appId","in":"header","schema":{"type":"string"}},{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"ID of the Node","required":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompileTemplateEntityRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompiledTemplateNode"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1002","errorKey":"template-node-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/node/action/serialize":{"post":{"summary":"Serialize nodes with given node ids","operationId":"serializeNodes","tags":["templateNode"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SerializeNodeRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SerializedNodeResponse"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1002","errorKey":"template-node-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v3/node":{"delete":{"summary":"Delete a template node by id and object version and return all effected item lists as a response","operationId":"deleteTemplateNodeWithItemReference","tags":["templateNode"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemReference"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemReferenceMap"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"invalid-object-version":{"errorCode":"amx-configuration-2002","errorKey":"invalid-object-version"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1001","errorKey":"template-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/node/{nodeId}/action/undelete":{"patch":{"deprecated":true,"summary":"Undelete a template node by id","operationId":"undeleteTemplateNode","tags":["templateNode"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"nodeId","in":"path","schema":{"type":"string","format":"uuid"},"description":"ID of the template","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateNode"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v3/node/action/undelete":{"patch":{"summary":"Undelete template node and sub items with id and object version map. Returns empty because of bulk inputs","operationId":"undeleteItemsWithReferenceMap","tags":["templateNode"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemReferenceMap"}}},"required":true},"responses":{"204":{"description":"No content"},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/node/{nodeId}/children":{"get":{"summary":"Get children of a template node","operationId":"getTemplateNodeChildren","tags":["templateNode"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"nodeId","in":"path","schema":{"type":"string","format":"uuid"},"description":"Id of the node","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TemplateNode"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-node-not-found":{"errorCode":"amx-1003","errorKey":"template-node-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/node/{nodeId}/captures":{"get":{"summary":"Get captures of a template node","operationId":"getTemplateNodeCaptures","tags":["templateNode"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"nodeId","in":"path","schema":{"type":"string","format":"uuid"},"description":"Id of the node","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TemplateCapture"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-node-not-found":{"errorCode":"amx-1003","errorKey":"template-node-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/node/action/search":{"post":{"summary":"Search template nodes","operationId":"searchTemplateNodes","tags":["templateNode"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateNodeSearchRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateNodePage"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/node/action/create":{"post":{"summary":"Create a template node from a template","operationId":"createTemplateNode","tags":["templateNode"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTemplateNodeRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateNode"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1001","errorKey":"template-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/node/action/create-with-capture":{"post":{"summary":"Create a template node with capture from a template","operationId":"createTemplateNodeWithCapture","tags":["templateNode"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTemplateNodeWithCaptureRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateNode"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1001","errorKey":"template-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/node/action/duplicate":{"post":{"summary":"Duplicate template nodes","operationId":"duplicateTemplateNode","tags":["templateNode"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DuplicateTemplateNodeRequest"}}},"required":true},"responses":{"204":{"description":"No content"},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1001","errorKey":"template-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/node/{nodeId}/action/move":{"patch":{"summary":"Move a template node by id","operationId":"moveTemplateNode","tags":["templateNode"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"pcs-appId","in":"header","schema":{"type":"string"}},{"name":"nodeId","in":"path","schema":{"type":"string","format":"uuid"},"description":"Id of the template node to update","required":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoveTemplateNodeRequest"}}},"required":true},"responses":{"204":{"description":"No content"},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"invalid-object-version":{"errorCode":"amx-configuration-2002","errorKey":"invalid-object-version"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-node-not-found":{"errorCode":"amx-configuration-1002","errorKey":"template-node-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/capture/{id}":{"get":{"summary":"Get a template capture","operationId":"getTemplateCapture","tags":["templateCapture"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"Id of the capture","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateCapture"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-node-not-found":{"errorCode":"amx-configuration-1003","errorKey":"template-capture-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}},"patch":{"summary":"Update a template capture by id","operationId":"updateTemplateCapture","tags":["templateCapture"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"pcs-appId","in":"header","schema":{"type":"string"}},{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"Id of the template capture to update","required":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateCaptureWithStringConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateCapture"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"invalid-object-version":{"errorCode":"amx-configuration-2002","errorKey":"invalid-object-version"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1003","errorKey":"template-capture-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}},"delete":{"deprecated":true,"summary":"Delete a template capture by id","operationId":"deleteTemplateCapture","tags":["templateCapture"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"pcs-appId","in":"header","schema":{"type":"string"}},{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"Id of the template capture to delete","required":true}],"responses":{"204":{"description":"No content"},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"invalid-object-version":{"errorCode":"amx-configuration-2002","errorKey":"invalid-object-version"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1003","errorKey":"template-capture-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v3/capture":{"delete":{"summary":"Delete a template capture by id and object version","operationId":"deleteTemplateCaptureWithItemReference","tags":["templateCapture"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemReference"}}},"required":true},"responses":{"204":{"description":"No content"},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"invalid-object-version":{"errorCode":"amx-configuration-2002","errorKey":"invalid-object-version"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1003","errorKey":"template-capture-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/capture/{captureId}/action/undelete":{"patch":{"deprecated":true,"summary":"Undelete a template capture by id","operationId":"undeleteTemplateCapture","tags":["templateCapture"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"captureId","in":"path","schema":{"type":"string","format":"uuid"},"description":"ID of the template","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateCapture"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v3/capture/action/undelete":{"patch":{"summary":"Undelete a template capture by id and object version","operationId":"undeleteTemplateCaptureWithItemReference","tags":["templateCapture"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemReference"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateCapture"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/capture/action/search":{"post":{"summary":"Search template captures","operationId":"searchTemplateCaptures","tags":["templateCapture"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateCaptureSearchRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateCapturePage"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/node/{id}/capture/action/create":{"post":{"summary":"Create a template capture from a node","operationId":"createTemplateCapture","tags":["templateCapture"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"Id of the template node to add","required":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTemplateCaptureRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateCapture"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1003","errorKey":"template-capture-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/attachment/action/create":{"post":{"summary":"Create a template attachment","operationId":"createTemplateAttachment","tags":["templateAttachment"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTemplateAttachmentRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateAttachment"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1005","errorKey":"template-attachment-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/attachment/action/create-with-tenant-id":{"post":{"summary":"Create a template attachment with tenant id","operationId":"createTemplateAttachmentWithTenantId","tags":["templateAttachment"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"tenantId","description":"Tenant ID for the adding attachment","in":"header","schema":{"type":"string"},"required":true},{"name":"pcs-appId","description":"App ID from where this request comes from","in":"header","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTemplateAttachmentRequest"}}},"required":true},"responses":{"204":{"description":"No content"},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1005","errorKey":"template-attachment-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/attachment/{id}":{"get":{"summary":"Get a template attachment","operationId":"getTemplateAttachment","tags":["templateAttachment"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"Id of the attachment","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateAttachment"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-node-not-found":{"errorCode":"amx-configuration-1005","errorKey":"template-attachment-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}},"delete":{"deprecated":true,"summary":"Delete a template attachment by id","operationId":"deleteTemplateAttachment","tags":["templateAttachment"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"Id of the template attachment to delete","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateAttachment"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"invalid-object-version":{"errorCode":"amx-configuration-2002","errorKey":"invalid-object-version"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1005","errorKey":"template-attachment-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v3/attachment":{"delete":{"summary":"Delete a template attachment by id and object version","operationId":"deleteTemplateAttachmentWithItemReference","tags":["templateAttachment"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemReference"}}},"required":true},"responses":{"204":{"description":"No content"},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"invalid-object-version":{"errorCode":"amx-configuration-2002","errorKey":"invalid-object-version"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1005","errorKey":"template-attachment-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/attachment/{attachmentId}/action/undelete":{"patch":{"deprecated":true,"summary":"Undelete a template attachment by id","operationId":"undeleteTemplateAttachment","tags":["templateAttachment"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"attachmentId","in":"path","schema":{"type":"string","format":"uuid"},"description":"ID of the template attachment","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateAttachment"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v3/attachment/action/undelete":{"patch":{"summary":"Undelete a template attachment by id and version","operationId":"undeleteTemplateAttachmentWithItemReference","tags":["templateAttachment"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemReference"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateAttachment"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/projection/{projectionId}":{"get":{"summary":"Get a template data projection","operationId":"getTemplateDataProjection","tags":["templateDataProjection"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"projectionId","in":"path","schema":{"type":"string","format":"uuid"},"description":"Id of the projection","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateDataProjection"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-node-not-found":{"errorCode":"amx-configuration-1004","errorKey":"template-projection-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}},"patch":{"summary":"Update a template data projection by id","operationId":"updateTemplateDataProjection","tags":["templateDataProjection"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"pcs-appId","in":"header","schema":{"type":"string"}},{"name":"projectionId","in":"path","schema":{"type":"string","format":"uuid"},"description":"Id of the template data projection to update","required":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateDataProjection"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateDataProjection"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"invalid-object-version":{"errorCode":"amx-configuration-2002","errorKey":"invalid-object-version"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1004","errorKey":"template-projection-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}},"delete":{"deprecated":true,"summary":"Delete a template data projection by id","operationId":"deleteTemplateDataProjection","tags":["templateDataProjection"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"pcs-appId","in":"header","schema":{"type":"string"}},{"name":"projectionId","in":"path","schema":{"type":"string","format":"uuid"},"description":"Id of the template data projection to delete","required":true}],"responses":{"204":{"description":"No content"},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"invalid-object-version":{"errorCode":"amx-configuration-2002","errorKey":"invalid-object-version"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1004","errorKey":"template-projection-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v3/projection":{"delete":{"summary":"Delete a template data projection by id and object version","operationId":"deleteTemplateDataProjectionWithItemReference","tags":["templateDataProjection"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemReference"}}},"required":true},"responses":{"204":{"description":"No content"},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"invalid-object-version":{"errorCode":"amx-configuration-2002","errorKey":"invalid-object-version"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1004","errorKey":"template-projection-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/projection/{projectionId}/action/undelete":{"patch":{"deprecated":true,"summary":"Undelete a template data projection by id","operationId":"undeleteTemplateDataProjection","tags":["templateDataProjection"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}},{"name":"projectionId","in":"path","schema":{"type":"string","format":"uuid"},"description":"ID of the template","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateDataProjection"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v3/projection/action/undelete":{"patch":{"summary":"Undelete a template data projection by id and object version","operationId":"undeleteTemplateDataProjectionWithItemReference","tags":["templateDataProjection"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemReference"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateDataProjection"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/template/v2/projection/action/create":{"post":{"summary":"Create a template data projection from a template","operationId":"createTemplateDataProjection","tags":["templateDataProjection"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","schema":{"type":"string","default":"AMX"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTemplateDataProjectionRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateDataProjection"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1004","errorKey":"template-projection-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/api-configuration/v2/action/save":{"put":{"summary":"Create or Update API Configuration","operationId":"saveApiConfiguration","tags":["apiConfiguration"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"pcs-appId","in":"header","schema":{"type":"string"},"required":true}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiConfigurationRequest"}}},"required":true},"responses":{"204":{"description":"No content"},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/api-configuration/v2/{id}":{"delete":{"deprecated":true,"summary":"Delete an Api Configuration by id","operationId":"deleteApiConfiguration","tags":["apiConfiguration"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"pcs-appId","in":"header","schema":{"type":"string"}},{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"Id of the Api Configuration to delete","required":true}],"responses":{"204":{"description":"No content"},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"invalid-object-version":{"errorCode":"amx-configuration-2002","errorKey":"invalid-object-version"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1006","errorKey":"api-configuration-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/api-configuration/v3":{"delete":{"summary":"Delete an Api Configuration by id and object version","operationId":"deleteApiConfigurationWithItemReference","tags":["apiConfiguration"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"pcs-appId","in":"header","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemReference"}}},"required":true},"responses":{"204":{"description":"No content"},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"invalid-object-version":{"errorCode":"amx-configuration-2002","errorKey":"invalid-object-version"}}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"access-denied":{"errorCode":"amx-configuration-8000","errorKey":"access-denied"}}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"template-not-found":{"errorCode":"amx-configuration-1006","errorKey":"api-configuration-not-found"}}}}},"500":{"description":"INTERNAL_SERVER_ERROR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"internal-server-error":{"errorCode":"amx-configuration-9000","errorKey":"internal-server-error"}}}}}}}},"/pcs/amx-configuration/api-configuration/v3/{id}":{"get":{"summary":"Get an API Configuration by id","operationId":"getApiConfiguration","tags":["apiConfiguration"],"security":[{"bearerAuth":[]}],"parameters":[{"name":"pcs-appId","in":"header","schema":{"type":"string"},"required":true},{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"Id of the API Configuration to retrieve","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiConfiguration"}}}},"400":{"description":"BAD_REQUEST","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"UNAUTHORIZED"},"403":{"description":"FORBIDDEN"},"404":{"description":"NOT_FOUND"},"500":{"description":"INTERNAL_SERVER_ERROR"}}}},"/pcs/amx-configuration/v1/oauth2/token":{"post":{"tags":["auth"],"description":"Exchange credentials for a service to service authentication token. Publicly open.","operationId":"passwordGrant","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"username":{"type":"string"},"password":{"type":"string"},"grant_type":{"type":"string","example":"password"},"scope":{"type":"string","example":"read write"}}}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}}}},"/pcs/amx-configuration/v2/aiml/session/messages":{"get":{"tags":["aiml"],"summary":"Get AIML chat session and messages.","operationId":"getChatSessionAndMessages","security":[{"bearer":[]}],"parameters":[{"in":"header","name":"Mc-Application-Id","required":true,"schema":{"type":"string"}},{"in":"header","name":"session-id","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"ai-application","in":"header","required":false,"schema":{"type":"string","title":"Ai-Application"}}],"responses":{"200":{"description":"Successfully retrieved chat session and messages.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AimlChatSessionAndMessagesResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/pcs/amx-configuration/v2/aiml/chat":{"post":{"tags":["aiml"],"summary":"Chat with AIML chat-bot.","operationId":"chat","security":[{"bearer":[]}],"parameters":[{"in":"header","name":"Mc-Application-Id","required":true,"schema":{"type":"string"}},{"in":"header","name":"session-id","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"ai-application","in":"header","required":false,"schema":{"type":"string","title":"Ai-Application"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AimlChatRequest"}}},"required":true},"responses":{"200":{"description":"Successfully received aiml chat response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AimlChatResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/pcs/amx-configuration/v2/aiml/tools/action/parse-file":{"post":{"tags":["aiml"],"summary":"Parse file with AIML tools.","operationId":"parseFile","security":[{"bearer":[]}],"parameters":[{"name":"Mc-Application-Id","in":"header","required":true,"schema":{"type":"string"}},{"name":"ai-application","in":"header","required":false,"schema":{"type":"string","title":"Ai-Application"}},{"name":"output-format","in":"query","required":false,"schema":{"enum":["markdown","text","html","json"],"type":"string","default":"markdown","title":"Output Format"}}],"requestBody":{"description":"S3 File Id and Folder Id of file to be parsed to a JSON source to import as a Template.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/S3FileInfo"}}},"required":true},"responses":{"200":{"description":"Successfully received aiml chat response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AimlParseResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"LivenessResponse":{"type":"object","properties":{"status":{"type":"string"},"components":{"type":"object","properties":{"livenessState":{"type":"object","properties":{"status":{"type":"string"}}}}}}},"ReadinessResponse":{"type":"object","properties":{"status":{"type":"string"},"components":{"type":"object","properties":{"readinessState":{"type":"object","properties":{"status":{"type":"string"}}}}}}},"ErrorResponse":{"type":"object","properties":{"errorCode":{"type":"string","enum":["amx-configuration-1001","amx-configuration-1002","amx-configuration-1003","amx-configuration-1004","amx-configuration-1005","amx-configuration-1006","amx-configuration-1007","amx-configuration-1008","amx-configuration-2002","amx-configuration-2003","amx-configuration-2004","amx-configuration-2005","amx-configuration-2006","amx-configuration-2007","amx-configuration-2008","amx-configuration-2009","amx-configuration-2010","amx-configuration-2011","amx-configuration-2012","amx-configuration-2013","amx-configuration-2014","amx-configuration-2015","amx-configuration-2016","amx-configuration-2017","amx-configuration-2018","amx-configuration-2019","amx-configuration-2020","amx-configuration-2021","amx-configuration-2022","amx-configuration-2023","amx-configuration-2024","amx-configuration-2025","amx-configuration-2026","amx-configuration-2027","amx-configuration-2028","amx-configuration-2029","amx-configuration-2030","amx-configuration-2031","amx-configuration-2032","amx-configuration-2033","amx-configuration-2034","amx-configuration-2035","amx-configuration-2036","amx-configuration-2037","amx-configuration-2038","amx-configuration-2039","amx-configuration-2040","amx-configuration-8000","amx-configuration-8010","amx-configuration-8011","amx-configuration-9000"]},"errorKey":{"type":"string","enum":["template-not-found","template-node-not-found","template-capture-not-found","template-data-projection-not-found","template-attachment-not-found","api-configuration-not-found","template-series-not-found","deviation-not-found","invalid-object-version","template-capture-already-completed","invalid-template-capture-value","template-capture-not-applicable","template-capture-disallowed-not-applicable","invalid-character-limits-empty-value","invalid-character-limits-min-length-less-than-min-limit","invalid-character-limits-max-length-greater-than-max-limit","invalid-character-limits-min-length-greater-than-max-length","invalid-suggested-entry-empty-value","invalid-example-format-value","invalid-regex-value","invalid-input-match-empty-value","invalid-template-search-page-size-value","invalid-multiple-choice-option-duplicated-entry","invalid-suggested-entry-duplicated-value","invalid-template-product-name-length","invalid-template-product-key-length","invalid-template-acc-page-custom-text-length","invalid-template-custom-headers-size","invalid-template-custom-header-label-length","invalid-template-custom-header-content-length","invalid-template-type-for-import","invalid-template-product-name-empty-value","invalid-template-product-key-empty-value","invalid-template-type-empty-value","invalid-template-default-quantity-value","deviation-fixed-fields-changed","invalid-template-node-structure","invalid-template-node-level","invalid-multiple-choice-option-size","invalid-instruction-urls","invalid-template-node-empty-title","invalid-template-life-cycle-to-revise","invalid-template-life-cycle-in-template-series-to-revise","template-revision-limit-exceeded","invalid-template-structure-empty-content","invalid-template-data-entry-node-structure","invalid-instruction-content-empty","access-denied","illegal-template-modification","illegal-template-in-use-modification","internal-server-error"]}}},"Deviation":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"formSource":{"$ref":"#/components/schemas/FormSource"},"formInstanceName":{"type":"string","description":"The name of the instance"},"formTemplateName":{"type":"string","description":"The name of the template"},"formInstanceId":{"type":"string","description":"The id of the instance"},"signOffUserId":{"type":"string","description":"The user id of the sign off user"},"signOffLegacyUserInfo":{"$ref":"#/components/schemas/LegacyUserInfo"},"signOffDate":{"type":"string","format":"date-time","description":"The date of the sign off"},"comments":{"type":"string","description":"Comments for the deviation"},"startDateBoundary":{"type":"string","format":"date","description":"Start date of the deviation"},"endDateBoundary":{"type":"string","format":"date","description":"End date of the deviation"},"lotNumberBoundary":{"type":"array","items":{"type":"string"},"description":"List of lot numbers associated with the deviation"},"nodeConfigs":{"type":"array","items":{"$ref":"#/components/schemas/DeviationNodeConfig"}},"objectVersion":{"type":"integer","description":"Current version of the object. This is needed when requesting changes to an existing deviation.","example":1234567}}},"DeviationNodeConfig":{"type":"object","properties":{"templateId":{"type":"string","format":"uuid","description":"The id of the template affected by this node configuration"},"nodeId":{"type":"string","format":"uuid","description":"The id of the node affected by this node configuration"},"temporaryTemplateSeriesId":{"type":"string","format":"uuid","description":"The id of the temporary template series which will replace the node in this node configuration. If not provided, the deviation will still be attached to the node, but not replace it."}}},"LegacyUserInfo":{"type":"object","description":"User information for a user who existed before OKTA was used and doesn't exist in OKTA.","properties":{"displayName":{"type":"string","description":"The first and last name of the user","example":"Sara Robinson"},"userName":{"type":"string","description":"The username of the user","example":"srobinson"},"externalUserId":{"type":"string","description":"The userId of the user in whichever system it came from","example":"123"},"externalSource":{"type":"string","description":"The system from which the user came","example":"CMx"}}},"TemplateSeries":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The template series UUID as generated by the system."},"currentTemplateId":{"type":"string","format":"uuid","description":"The ID of the current template (published and in production) for the template series with the given ID."},"objectVersion":{"type":"integer","description":"Current version of the object. This is needed when requesting changes to an existing template series.","example":1234567}}},"Template":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The template UUID as generated by the system."},"template-series-id":{"type":"string","format":"uuid","description":"The ID of the template series."},"type":{"type":"string","enum":["TEMPLATE","GLOBAL_TEMPLATE","UNDEFINED","TEMPORARY","TEMPORARY_TEMPLATE"],"description":"The template type.","example":"TEMPLATE"},"infoCardId":{"type":"string","description":"The Qx InfoCard id for backward compatibility.","example":"need a sample infocard id"},"productKey":{"type":"string","description":"The product key.","example":"Space Suits"},"productName":{"type":"string","description":"The product name copied from the product.","example":"Space Suit"},"levels":{"type":"array","description":"The customer specified levels of the template.","items":{"$ref":"#/components/schemas/TemplateLevel"}},"lifecycle":{"$ref":"#/components/schemas/TemplateLifecycle"},"objectVersion":{"type":"integer","description":"Current version of the object. This is needed when requesting changes to an existing template.","example":1234567},"createdOnDate":{"type":"string","format":"date-time","description":"The date and time when the template was created.","example":"2024-11-15T13:25:43Z"},"requiresReleaseNote":{"$ref":"#/components/schemas/RequiresReleaseNote"},"companyLogoImageId":{"deprecated":true,"type":"string","format":"uuid","description":"The id of the company logo image."},"companyLogoImageFilename":{"type":"string","description":"The file name of company logo image."},"numberSeriesId":{"type":"string","description":"The id of the number series that used to generate the lot numbers associated records."},"appendSkuToProductId":{"type":"boolean","description":"Should the configured SKU be appended at the end of the product id of every associated record."},"lotNumberMatchRegex":{"type":"string","format":"regex","description":"The regular expression format that all lot numbers must match.","example":"[A-z][a-z]{3}\\d{3}"},"lotNumberMatchExample":{"type":"string","format":"regex","description":"An example lot number that matches the required regex.","example":"lot345"},"lotNumberMatchDisplayOnInterface":{"type":"boolean","description":"Indicates whether the example lot number format will be shown on interface"},"defaultLotAmount":{"deprecated":true,"type":"integer","description":"The default quantity for associated records.  This can be overridden during production record creation.","example":"2"},"defaultQuantity":{"type":"string","description":"The default quantity for associated records.  This can be overridden during production record creation.","example":"2"},"lastTemplateUpdateDate":{"type":"string","format":"date-time","description":"The last date and time when the template was modified.","example":"2024-11-15T13:25:43Z"},"lastSuccessfulPublish":{"type":"string","format":"date-time","description":"The last date and time when the template was published.","example":"2024-11-15T13:25:43Z"},"revision":{"type":"string","description":"The revision of the template.  Multiple alphanumeric formats are supported.","example":"C"},"inspectionsConfigured":{"type":"boolean","description":"Have inspections been configured for this template?"},"config":{"$ref":"#/components/schemas/TemplateConfig"},"customHeaders":{"type":"array","items":{"$ref":"#/components/schemas/CustomHeader"}},"lotNumberConfiguration":{"type":"string"},"accPageCustomText":{"type":"string"},"accPageDocumentationEnabled":{"type":"boolean"},"accPageSignaturesEnabled":{"type":"boolean"},"accPageFormsAndTempChangesEnabled":{"type":"boolean"},"accPageLinkedPrdRecordsEnabled":{"type":"boolean"},"createdBy":{"type":"string"},"lastModifiedBy":{"type":"string"},"dataPurpose":{"$ref":"#/components/schemas/DataPurpose"}}},"TemplateLevel":{"type":"object","properties":{"depth":{"type":"integer","description":"The level depth in the template.","example":2},"key":{"type":"string","description":"The key of the level. Used for backward compatibility with CMx","example":"OPERATION"},"name":{"type":"string","description":"The customer specified level name.","example":"Operation"}}},"CompiledTemplate":{"type":"object","allOf":[{"$ref":"#/components/schemas/Template"},{"description":"A compiled template with all children recursively."},{"properties":{"capture":{"$ref":"#/components/schemas/CompiledTemplateCapture"},"captures":{"type":"string","additionalProperties":{"$ref":"#/components/schemas/CompiledTemplateCapture"}},"children":{"type":"array","items":{"$ref":"#/components/schemas/CompiledTemplateNode"}}}}]},"TemplateConfig":{"type":"object","allOf":[{"$ref":"#/components/schemas/TemplateNodeConfig"},{"properties":{"collectionType":{"$ref":"#/components/schemas/RepeatableCollectionType"}}}]},"TemplateNode":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The template node UUID as generated by the system."},"globalHistoryId":{"type":"string","format":"uuid","description":"An ID that is consistent across all revisions, duplications, and imports of this node."},"localHistoryId":{"type":"string","format":"uuid","description":"An ID that is consistent across all revisions of this node."},"placeholderTemplateSeriesId":{"type":"string","format":"uuid","description":"The ID of the Template Series that will be used to replace the contents of this placeholder node during record creation. NOTE: The current, or released, revision of the template in the series at the time of record creation will be used."},"title":{"type":"string","description":"The template node title.","example":"Space Suit - Size M"},"parentId":{"type":"string","format":"uuid","description":"The parent node's id"},"type":{"$ref":"#/components/schemas/TemplateNodeType"},"config":{"$ref":"#/components/schemas/TemplateNodeConfig"},"orderNumber":{"description":"The order number is the number given to the node for user reference. The numbers are one-based and should be the same as the final digit in the orderLabel. This number is not the same as the displayOrder","type":"integer","example":1},"orderLabel":{"description":"The order label is the label given to the node for user reference. The label numbers are one-based and should include the parent node numbers.","type":"string","example":"1.3.2.1"},"displayOrder":{"description":"The display order is the order in which the node should be displayed in the UI. The numbers are zero-based and increment with no gaps. This number is not the same as the orderNumber.","type":"integer","example":0},"subTemplate":{"type":"boolean","description":"The new template node is subTemplate or not"},"level":{"type":"string","description":"The key given to the level in the template tree that this node resides","example":"OPERATION"},"levelDepth":{"type":"integer","description":"The level depth of the node. This is the depth of the node in the template tree. The template itself is at level 0. The first node is at level 1 and so on.","example":2},"levelName":{"type":"string","description":"The name given to the level in the template tree that this node resides","example":"OPERATION"},"capture":{"$ref":"#/components/schemas/TemplateCapture"},"captures":{"type":"string","additionalProperties":{"$ref":"#/components/schemas/TemplateCapture"}},"objectVersion":{"type":"integer","description":"Current version of the object. This is needed when requesting changes to an existing template node.","example":1234567}}},"CompiledTemplateNode":{"type":"object","allOf":[{"$ref":"#/components/schemas/TemplateNode"},{"description":"A compiled template node with all projections and all children recursively."},{"properties":{"capture":{"$ref":"#/components/schemas/CompiledTemplateCapture"},"captures":{"type":"string","additionalProperties":{"$ref":"#/components/schemas/CompiledTemplateCapture"}},"children":{"type":"array","items":{"$ref":"#/components/schemas/CompiledTemplateNode"}},"incomingDataProjections":{"type":"array","items":{"$ref":"#/components/schemas/CompiledTemplateDataProjection"}},"outgoingDataProjections":{"type":"array","items":{"$ref":"#/components/schemas/CompiledTemplateDataProjection"}},"contentSupplierEntityId":{"type":"string","format":"uuid","description":"The type of entity that is supplying the configuration content for this node. The value should be null if the configuration content of this node is not overridden by another entity."},"contentSupplierType":{"$ref":"#/components/schemas/ContentSupplierType"},"templateId":{"type":"string","format":"uuid","description":"The template ID."},"rootPlaceholderId":{"type":"string","format":"uuid","description":"The root ID of the entity that will be supplied configuration content by another entity during template compilation."},"templateNodeIdCompiled":{"type":"boolean","description":"Indicates whether the template node id was generated during template compilation or if it is the id of an actual database entity."}}}]},"TemplateNodeWithStringConfig":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The template node UUID as generated by the system."},"title":{"type":"string","description":"The template node title.","example":"Space Suit - Size M"},"parentId":{"type":"string","format":"uuid","description":"The parent node's id"},"type":{"$ref":"#/components/schemas/TemplateNodeType"},"config":{"$ref":"#/components/schemas/TemplateNodeConfig"},"orderNumber":{"description":"The order number is the number given to the node for user reference. The numbers are one-based and should be the same as the final digit in the orderLabel. This number is not the same as the displayOrder","type":"integer","example":1},"orderLabel":{"description":"The order label is the label given to the node for user reference. The label numbers are one-based and should include the parent node numbers.","type":"string","example":"1.3.2.1"},"displayOrder":{"description":"The display order is the order in which the node should be displayed in the UI. The numbers are zero-based and increment with no gaps. This number is not the same as the orderNumber.","type":"integer","example":0},"subTemplate":{"type":"boolean","description":"The new template node is subTemplate or not"},"objectVersion":{"type":"integer","description":"Current version of the object. This is needed when requesting changes to an existing template node.","example":1234567},"level":{"type":"string","description":"The name given to the level in the node tree that this node resides. Examples: Operation, Phase"},"capture":{"$ref":"#/components/schemas/TemplateCaptureWithStringConfig"},"captures":{"type":"string","additionalProperties":{"$ref":"#/components/schemas/TemplateCaptureWithStringConfig"}}}},"TemplateNodeConfig":{"type":"object","properties":{"notApplicableEnabled":{"type":"boolean","description":"Indicates whether the node can be marked applicable or not. If a node is marked as not applicable, it becomes disabled and the value is not required."},"repeatable":{"type":"boolean","description":"If the node can be repeated."},"autoComplete":{"type":"boolean","description":"Indicates whether this node should be auto-completed, if its children only has auto-complete captures."},"repeatNodeAuthorizedRoleIds":{"type":"array","items":{"type":"string"},"description":"Role ids that are authorized to repeat this node."},"minRepetitions":{"type":"integer","description":"The minimum number of times the node can be repeated.","example":1},"minRepetitionsQuantityDivisor":{"type":"integer","description":"Divide the lot quantity by this number to get the minimum number of repetitions.","example":1},"enforceSequenceOnChildrenType":{"type":"string","description":"Indicates whether the children of this node must be completed in order and if witness and/or verify must be completed in order to advance to the next step."},"simplifiedNavigationRoleIds":{"type":"array","items":{"type":"string"},"description":"The simplified navigation role ids.","deprecated":true},"navigationRoleIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"The navigation role ids."},"triggers":{"title":"array","items":{"$ref":"#/components/schemas/ActionTrigger"}},"signatureConfigs":{"type":"array","items":{"$ref":"#/components/schemas/SignatureConfig"},"description":"The signatures that are required to complete a template node.","example":[{"intent":"VERIFY","restrictedRoleIds":["BBYFBX3LPZDNTCVP2A"]}]},"linkedDocuments":{"type":"array","items":{"type":"string"},"description":"The info card ids associated with the node or its children"},"closeTableEnabled":{"type":"boolean","description":"Indicates whether the table can be closed."},"enforceSequenceType":{"$ref":"#/components/schemas/EnforceSequenceType"},"temporaryChangesApplied":{"type":"boolean","description":"Indicates whether temporary changes have been applied to this node."},"tableSectionType":{"$ref":"#/components/schemas/TableSectionType"}}},"TemplateCaptureWithStringConfig":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The capture id"},"parentId":{"type":"string","format":"uuid","description":"The id of node"},"parentType":{"type":"string","description":"Parent type. Examples are template, template_node, etc..."},"keyId":{"type":"string","description":"Key id.  Provides ability to \"tag\" certain data captures for easy retrieval.  \"LOT_QUANTITY\" is an example"},"templateId":{"type":"string","format":"uuid","description":"Template id"},"type":{"$ref":"#/components/schemas/CaptureType"},"orderLabel":{"type":"string"},"displayOrder":{"type":"integer"},"config":{"type":"string","description":"JSON string of capture config object."},"objectVersion":{"type":"integer","description":"Current version of the object. This is needed when requesting changes to an existing template capture.","example":1234567}}},"TemplateCapture":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The capture id"},"globalHistoryId":{"type":"string","format":"uuid","description":"An ID that is consistent across all revisions, duplications, and imports of this capture."},"localHistoryId":{"type":"string","format":"uuid","description":"An ID that is consistent across all revisions of this capture."},"parentId":{"type":"string","format":"uuid","description":"The id of node"},"parentType":{"type":"string","description":"Parent type. Examples are template, template_node, etc..."},"keyId":{"type":"string","description":"Key id.  Provides ability to \"tag\" certain data captures for easy retrieval.  \"LOT_QUANTITY\" is an example"},"templateId":{"type":"string","format":"uuid","description":"Template id"},"type":{"$ref":"#/components/schemas/CaptureType"},"orderLabel":{"type":"string"},"title":{"type":"string"},"displayOrder":{"type":"integer"},"globalName":{"type":"string","description":"A user created ID for this capture that is consistent across revisions. NOTE: global name is used, in the UI, to create data projection relationships (such as calculations and relative limits) from global elements to templates with the global element imported."},"config":{"$ref":"#/components/schemas/CaptureConfig"},"objectVersion":{"type":"integer","description":"Current version of the object. This is needed when requesting changes to an existing template capture.","example":1234567}}},"CompiledTemplateCapture":{"type":"object","allOf":[{"$ref":"#/components/schemas/TemplateCapture"},{"description":"A compiled template capture with all projections."},{"properties":{"incomingDataProjections":{"type":"array","items":{"$ref":"#/components/schemas/CompiledTemplateDataProjection"}},"outgoingDataProjections":{"type":"array","items":{"$ref":"#/components/schemas/CompiledTemplateDataProjection"}},"contentSupplierEntityId":{"type":"string","format":"uuid","description":"The type of entity that is supplying the configuration content for this capture. The value should be null if the configuration content of this data projection is not overridden by another capture."},"contentSupplierType":{"$ref":"#/components/schemas/ContentSupplierType"},"rootPlaceholderId":{"type":"string","format":"uuid","description":"The root ID of the entity that will be supplied configuration content by another entity during template compilation."},"templateCaptureIdCompiled":{"type":"boolean","description":"Indicates whether the template capture id was generated during template compilation or if it is the id of an actual database entity."}}}]},"TemplateAttachment":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The attachment id"},"cmxId":{"type":"integer","description":"The cmx id"},"templateId":{"type":"string","format":"uuid","description":"Template id"},"parentId":{"type":"string","format":"uuid","description":"The id of attachment parent"},"parentType":{"$ref":"#/components/schemas/AttachmentParentType"},"type":{"$ref":"#/components/schemas/AttachmentType"},"attributes":{"$ref":"#/components/schemas/AttachmentAttributesType"},"objectVersion":{"type":"integer","description":"Current version of the object. This is needed when requesting changes to an existing template attachment.","example":1234567}}},"TemplateDataProjection":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The template data projection UUID as generated by the system."},"sourceNodeId":{"type":"string","format":"uuid","description":"ID of the node that is the source of the projection. Deprecated: prefer source ID with a sourceType of EntityType.TEMPLATE_NODE","deprecated":true},"sourceCaptureId":{"type":"string","format":"uuid","description":"Id of the capture that is the source of the data. Deprecated: prefer source ID with a sourceType of EntityType.TEMPLATE_CAPTURE","deprecated":true},"targetCaptureId":{"type":"string","format":"uuid","description":"Id of the capture that is the target of the data. Deprecated: prefer target ID with a targetType of EntityType.TEMPLATE_CAPTURE","deprecated":true},"sourceId":{"type":"string","format":"uuid","description":"ID of the source (projecting) entity."},"sourceType":{"$ref":"#/components/schemas/EntityType"},"sourcePlaceholderNodeId":{"type":"string","format":"uuid","description":"ID of the source (projecting) placeholder node. NOTE: Used when projecting data from a global element to a template that has imported the global element. This ID with the source ID is used to uniquely identify the source if the same global element has been imported multiple times."},"targetId":{"type":"string","format":"uuid","description":"ID of the target (receiving) entity."},"targetType":{"$ref":"#/components/schemas/EntityType"},"templateId":{"type":"string","format":"uuid","description":"Template ID of the data projection"},"type":{"$ref":"#/components/schemas/TemplateDataProjectionType"},"objectVersion":{"type":"integer","description":"Current version of the object. This is needed when requesting changes to an existing template data projection.","example":1234567}}},"CompiledTemplateDataProjection":{"type":"object","allOf":[{"$ref":"#/components/schemas/TemplateDataProjection"},{"description":"A compiled template data projection."},{"properties":{"contentSupplierEntityId":{"type":"string","format":"uuid","description":"The type of entity that is supplying the configuration content for this data projection. The value should be null if the configuration content of this data projection is not overridden by another entity."},"contentSupplierType":{"$ref":"#/components/schemas/ContentSupplierType"}}}]},"SignatureIntent":{"type":"string","enum":["EMERGENCY_REJECT","REJECT","RELEASE","REVIEW","SUPERVISOR_OVERRIDE","TRAINING_OVERRIDE","PREDECESSOR_OVERRIDE","UNDEFINED","VERIFY","WITNESS"]},"TemplateLifecycle":{"type":"string","enum":["DRAFT","PILOT","PRODUCTION","ARCHIVE","PUBLISHING","REVISING"],"description":"The lifecycle of a template.\n  - `DRAFT` - Template is in draft mode.\n  - `PILOT` - Template is in pilot mode.\n  - `PRODUCTION` - Template is in production mode.\n  - `ARCHIVE` - A template previously in PILOT or PRODUCTION mode is archived.\n  - `PUBLISHING` - A template is ready to create a production record from it.\n  - `REVISING` - A template is ready to create a new working revision.\n"},"RequiresReleaseNote":{"type":"string","enum":["DISABLED","OPTIONAL","REQUIRED"]},"CustomHeader":{"type":"object","properties":{"label":{"type":"string"},"content":{"type":"string"}}},"CaptureConfig":{"type":"object","properties":{"configType":{"type":"string","description":"Discriminator property for capture configs, equal to the name of the config schema.","example":"TextCaptureConfig"},"notApplicableEnabled":{"type":"boolean","description":"Config flag that indicates whether a capture can be marked as not applicable."},"roleIds":{"type":"array","items":{"type":"string"},"description":"The roles that are authorized to perform an action on this capture."},"notesEnabled":{"type":"boolean","description":"Config flag that indicates whether notes can be attached."},"signatureConfigs":{"type":"array","items":{"$ref":"#/components/schemas/SignatureConfig"},"description":"The signatures that are required to complete a capture.","example":[{"intent":"VERIFY","restrictedRoleIds":["BBYFBX3LPZDNTCVP2A"]}]},"permissionEvaluationEnabled":{"type":"boolean","description":"Is permission evaluation enabled for this capture."},"triggers":{"title":"array","items":{"$ref":"#/components/schemas/ActionTrigger"}},"correctionConfig":{"$ref":"#/components/schemas/CorrectionConfig"},"alwaysDisplayOnRbeConfigured":{"type":"boolean","description":"Config flag that indicates whether a capture can be displayed in Review By Exception."},"orderNumber":{"type":"integer","description":"Order Number of Custom Header"},"header":{"type":"boolean","description":"Is the capture a Custom Header?"},"defaultValue":{"type":"string","description":"Custom Header default value"},"allowEditWithoutCorrection":{"type":"boolean","description":"No need a correction to edit the Custom Header"}},"required":["configType"],"discriminator":{"propertyName":"configType","mapping":{"AggregateCaptureConfig":"#/components/schemas/AggregateCaptureConfig","ApiCaptureConfig":"#/components/schemas/ApiCaptureConfig","AttachmentCaptureConfig":"#/components/schemas/AttachmentCaptureConfig","CalculationCaptureConfig":"#/components/schemas/CalculationCaptureConfig","DateCaptureConfig":"#/components/schemas/DateCaptureConfig","DateTimeCaptureConfig":"#/components/schemas/DateTimeCaptureConfig","EquipmentCaptureConfig":"#/components/schemas/EquipmentCaptureConfig","FormLaunchCaptureConfig":"#/components/schemas/FormLaunchCaptureConfig","HyperlinkCaptureConfig":"#/components/schemas/HyperlinkCaptureConfig","InstructionCaptureConfig":"#/components/schemas/InstructionCaptureConfig","MultipleChoiceCaptureConfig":"#/components/schemas/MultipleChoiceCaptureConfig","NumberCaptureConfig":"#/components/schemas/NumberCaptureConfig","PassFailCaptureConfig":"#/components/schemas/PassFailCaptureConfig","NodeCompleteCaptureConfig":"#/components/schemas/NodeCompleteCaptureConfig","StepCompleteCaptureConfig":"#/components/schemas/StepCompleteCaptureConfig","TextCaptureConfig":"#/components/schemas/TextCaptureConfig","DurationCaptureConfig":"#/components/schemas/DurationCaptureConfig"}}},"AggregateCaptureConfig":{"type":"object","allOf":[{"$ref":"#/components/schemas/CaptureConfig"},{"properties":{"aggregateType":{"$ref":"#/components/schemas/AggregateType"},"precision":{"$ref":"#/components/schemas/PrecisionConfig"},"scientificNotation":{"$ref":"#/components/schemas/ScientificNotationConfig"}}}]},"ApiCaptureConfig":{"type":"object","allOf":[{"$ref":"#/components/schemas/CaptureConfig"},{"properties":{"apiConfigurationId":{"type":"string","format":"uuid","description":"Id of the API configuration to use to communicate with an external ERP."},"autoCapture":{"type":"boolean","description":"Indicates whether the capture should be automatically captured."},"captureKey":{"type":"string","description":"Used by the external ERP to identify which captures to return."},"captureMap":{"type":"object","description":"Map with a key value from the external server and the corresponding capture uuid.","example":{"lotNumber":"9c6e2238-6122-4f62-973d-e2224e853f51","materialId":"699177e7-9a19-46a2-bfb9-5ebde442b87a"}},"captureValuePath":{"type":"string","description":"Path used to get the capture value."},"tabular":{"type":"boolean","description":"Indicates whether the capture is tabular data."},"subType":{"$ref":"#/components/schemas/CaptureType"}}}]},"AttachmentCaptureConfig":{"type":"object","allOf":[{"$ref":"#/components/schemas/CaptureConfig"},{"properties":{"maxFileSize":{"type":"integer","description":"Maximum file size in bytes."},"multiAttachmentEnabled":{"type":"boolean","description":"Indicates whether the capture accepts multiple attachment."}}}]},"CalculationCaptureConfig":{"type":"object","allOf":[{"$ref":"#/components/schemas/CaptureConfig"},{"properties":{"expression":{"type":"array","items":{"$ref":"#/components/schemas/ExpressionToken"},"description":"Expression to calculate the value of the capture represented as an array of expression tokens."},"originalExpression":{"type":"string","description":"Expression to calculate the value of the capture. Input references are not resolved.","example":"([9c6e2238-6122-4f62-973d-e2224e853f51] + 2) / [699177e7-9a19-46a2-bfb9-5ebde442b87a]"},"unit":{"type":"string","description":"The unit of measure of the calculation result.","example":"mm"},"scientificNotation":{"$ref":"#/components/schemas/ScientificNotationConfig"},"precision":{"$ref":"#/components/schemas/CalculationPrecisionConfig"}}}]},"DateCaptureConfig":{"type":"object","allOf":[{"$ref":"#/components/schemas/CaptureConfig"}]},"DateTimeCaptureConfig":{"type":"object","allOf":[{"$ref":"#/components/schemas/CaptureConfig"},{"properties":{"captureNow":{"type":"boolean","deprecated":true},"captureTimestampType":{"$ref":"#/components/schemas/CaptureTimestampType"},"showSeconds":{"type":"boolean","description":"true to show seconds"}}}]},"EquipmentCaptureConfig":{"type":"object","allOf":[{"$ref":"#/components/schemas/CaptureConfig"}],"properties":{"options":{"type":"array","items":{"$ref":"#/components/schemas/EquipmentOptionConfig"}}},"required":["options"]},"FormLaunchCaptureConfig":{"type":"object","allOf":[{"$ref":"#/components/schemas/CaptureConfig"},{"properties":{"name":{"type":"string","description":"name of form workflow external to amx","example":"Deviation"},"source":{"$ref":"#/components/schemas/FormSource"},"workflowId":{"type":"string","description":"id representing a resource external to amx"}}}]},"HyperlinkCaptureConfig":{"type":"object","allOf":[{"$ref":"#/components/schemas/CaptureConfig"},{"properties":{"label":{"type":"string","description":"Link label."},"url":{"type":"string","description":"Link url."},"linkedInfoCardId":{"type":"string","description":"Hyperlink info card id."}}}]},"InstructionCaptureConfig":{"type":"object","allOf":[{"$ref":"#/components/schemas/CaptureConfig"},{"properties":{"content":{"type":"string","description":"text with html tags representing the instructions.  Not well formed with a proper root node"},"linkedDocuments":{"type":"array","items":{"type":"string"},"example":["NVMEKFFFM5H4ZOJLIA","QVSEKFFFN5H4ZOJLIB","AVMERFTFM6H4ZOJLIC"],"description":"array of linked document infocard_ids.  Qx ids"}}}]},"MultipleChoiceCaptureConfig":{"type":"object","allOf":[{"$ref":"#/components/schemas/CaptureConfig"},{"properties":{"options":{"type":"array","items":{"$ref":"#/components/schemas/MultipleChoiceOption"}},"multiSelect":{"type":"boolean","description":"Indicates whether the capture is multi-select or single-select. If multi-select, this capture can take multiple values from the options list. If single-select, this capture can take only one value from the options list."},"isNumeric":{"type":"boolean","description":"Indicates whether the options are numeric."},"unit":{"type":"string","description":"The unit of measure for the input. Null if not configured or if isNumeric is false."}}}]},"NodeCompleteCaptureConfig":{"type":"object","allOf":[{"$ref":"#/components/schemas/CaptureConfig"}]},"NumberCaptureConfig":{"type":"object","allOf":[{"$ref":"#/components/schemas/CaptureConfig"},{"properties":{"min":{"type":"string","description":"Minimum value of the input."},"max":{"type":"string","description":"Maximum value of the input."},"precision":{"$ref":"#/components/schemas/PrecisionConfig"},"scientificNotation":{"$ref":"#/components/schemas/ScientificNotationConfig"},"unit":{"type":"string","description":"The unit of measure for the input.","example":"mm"}}}]},"PassFailCaptureConfig":{"type":"object","allOf":[{"$ref":"#/components/schemas/CaptureConfig"},{"properties":{"passOptionName":{"type":"string","description":"display name of the checkbox that determines if the capture passed"},"failOptionName":{"type":"string","description":"display name of the checkbox that determines if the capture failed"},"inspectionsConfigured":{"type":"boolean","description":"true if inspections are configured for this PassFailCaptureConfig"}}}]},"StepCompleteCaptureConfig":{"type":"object","allOf":[{"$ref":"#/components/schemas/CaptureConfig"}]},"TextCaptureConfig":{"type":"object","allOf":[{"$ref":"#/components/schemas/CaptureConfig"},{"properties":{"minLength":{"type":"integer","description":"Minimum length of the input."},"maxLength":{"type":"integer","description":"Maximum length of the input."},"exact":{"type":"string","description":"The input must exactly match this text."},"regex":{"type":"string","description":"Regular expression to validate the input. If a REGEX capture group is defined then that group will be used as the value. If no capture group is defined then the entire match will be used as the value.","example":"d2240(?<REPL>[A-Z0-9]{11})"},"suggested":{"type":"array","items":{"type":"string"},"example":["Text Example 1","Text Example 2","Text Example 3"]},"displayOnInterface":{"type":"boolean","description":"Display on interface."},"codeScanFormats":{"type":"array","items":{"$ref":"#/components/schemas/CodeScanFormat"},"description":"List of optional code scan formats that user can use to enter data","example":["QR_CODE"]},"exampleFormat":{"type":"string","description":"Example Format will be showed if display on interface is selected for Regex."},"characterLimitsEnabled":{"type":"boolean","description":"Config flag that indicates whether Character Limits can be included to a capture."},"requiredInputMatchEnabled":{"type":"boolean","description":"Config flag that indicates whether Required Input Match can be included to a capture."},"linkProductionRecordEnabled":{"type":"boolean","description":"Config flag that indicates whether Production Record Linking will be enabled on this capture."}}}]},"DurationCaptureConfig":{"type":"object","allOf":[{"$ref":"#/components/schemas/CaptureConfig"},{"properties":{"expression":{"type":"string","description":"Expression which is evaluated to the value of duration, duration calculation or duration sums"},"durationType":{"$ref":"#/components/schemas/DurationType"},"formatType":{"$ref":"#/components/schemas/DurationFormatType"}}}]},"CorrectionConfig":{"type":"object","properties":{"requireCorrectionReason":{"type":"boolean","description":"Is a correction reason required to complete a correction on this entity?","example":true},"requireCorrectionSignature":{"type":"boolean","description":"Does this correction require one or more approvals to complete?","example":true},"allowCorrectionNotes":{"type":"boolean","description":"Can notes be added to corrections on this entity?","example":true},"correctionReasons":{"type":"array","items":{"$ref":"#/components/schemas/CorrectionReason"},"description":"The possible reasons that the correction was required on this entity.","example":[{"reasonId":"cc7a4286-44f1-4de5-9344-294b27465ded","reason":"Instruction Error"},{"reasonId":"408ee66c-2801-449d-b6c9-665d5940ee1f","reason":"Input Error"}]},"signatureConfigs":{"type":"array","items":{"$ref":"#/components/schemas/SignatureConfig"},"description":"The signatures that are required to complete a correction on this entity.","example":[{"intent":"VERIFY","restrictedRoleIds":["BBYFBX3LPZDNTCVP2A"]}]}}},"CorrectionReason":{"type":"object","properties":{"reasonId":{"type":"string","format":"uuid","description":"The ID of the globally defined correction reason."},"reason":{"type":"string","example":"Calibration Error","description":"The possible reason for a correction."}}},"EquipmentOptionConfig":{"type":"object","properties":{"cmxId":{"type":"string","format":"uuid","description":"Unique ID for the Equipment Option."},"equipmentId":{"type":"string","description":"Equipment Asset ID must be specified on Equipment Option."},"equipmentDescription":{"type":"string","description":"Equipment Description."},"equipmentType":{"type":"string","description":"Equipment Type."}},"required":["cmxId","dataCaptureStepId","equipmentAssetId"]},"MultipleChoiceOption":{"type":"object","properties":{"value":{"type":"string","description":"The value of the option."},"order":{"type":"integer","description":"The order of this option relative to other options for this capture."}}},"PrecisionConfig":{"type":"object","properties":{"max":{"type":"integer","description":"Maximum number of decimal places required for the captured value"},"min":{"type":"integer","description":"Minimum number of decimal places required for the captured value"},"show":{"type":"boolean","description":"Show precision in the UI"},"roundingMethod":{"type":"string","description":"Specifies the decimal rounding policy used."}}},"ScientificNotationConfig":{"type":"object","properties":{"show":{"type":"boolean","description":"Show the captured value in scientific notation format"},"exponent":{"type":"integer","description":"Exponent to use for scientific notation formatting of the captured value"}}},"CalculationPrecisionConfig":{"type":"object","properties":{"decimalPlaces":{"type":"integer","description":"decimal places required for the captured value"},"roundingMethod":{"type":"string","description":"Specifies the decimal rounding policy used."}}},"SignatureConfig":{"type":"object","properties":{"intent":{"$ref":"#/components/schemas/SignatureIntent"},"restrictedRoleIds":{"type":"array","items":{"type":"string"},"description":"The IDs of roles that are authorized to perform this signature."},"timeLimit":{"type":"integer","description":"Time limit in seconds to complete signature after associated entity capture. Exceeding time limit results in a warning being displayed"},"timeLimitNotification":{"type":"string","description":"Custom warning message to display if timeLimit is exceeded."},"independentVerifier":{"type":"boolean","description":"True if the signer needs to be distinct from anyone who completed a data capture False otherwise"},"commentRequired":{"$ref":"#/components/schemas/CommentRequired"}}},"ActionTrigger":{"type":"object","properties":{"actions":{"type":"array","items":{"$ref":"#/components/schemas/Action"},"description":"Actions to take when condition is triggered."},"condition":{"$ref":"#/components/schemas/TriggerCondition"},"display":{"type":"boolean","description":"Whether or not to display the limit in the UI."},"label":{"type":"string","description":"Label to display for limit in the UI.","example":"Physical Limit:"},"type":{"$ref":"#/components/schemas/ActionTriggerType"},"orderNumber":{"type":"number","description":"The order in which this trigger should be displayed if ordering is applicable."}}},"Action":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/ActionType"},"captureIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"List of UUIDs of captures affected by this action."},"message":{"type":"string","description":"Custom message for display in conjunction with the action type.","example":"Weight not within acceptable tolerance. Adjust and remeasure."},"nodeIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"List of UUIDs of nodes affected by this action."},"adaptRoleIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"List of UUIDs of roles affected by this action."}}},"TriggerCondition":{"type":"object","properties":{"conditionType":{"type":"string","description":"Discriminator property for trigger type, equal to the name of the trigger type schema.","example":"NumericLimit"}},"required":["conditionType"],"discriminator":{"propertyName":"conditionType","mapping":{"NumericLimit":"#/components/schemas/NumericLimit","DurationTriggerCondition":"#/components/schemas/DurationTriggerCondition","MultipleChoiceTriggerCondition":"#/components/schemas/MultipleChoiceTriggerCondition","PassFailTriggerCondition":"#/components/schemas/PassFailTriggerCondition","NodeStatusChange":"#/components/schemas/NodeStatusChange","DateLimitTriggerCondition":"#/components/schemas/DateLimitTriggerCondition"}}},"NodeStatusChange":{"type":"object","allOf":[{"$ref":"#/components/schemas/TriggerCondition"},{"properties":{"status":{"$ref":"#/components/schemas/NodeStatus"}}}]},"MultipleChoiceTriggerCondition":{"type":"object","allOf":[{"$ref":"#/components/schemas/TriggerCondition"},{"properties":{"triggerOption":{"type":"string"}}}]},"PassFailTriggerCondition":{"type":"object","allOf":[{"$ref":"#/components/schemas/TriggerCondition"},{"properties":{"triggerValue":{"type":"boolean"}}}]},"DateLimitTriggerCondition":{"type":"object","allOf":[{"$ref":"#/components/schemas/TriggerCondition"},{"properties":{"checkExpired":{"type":"boolean"}}}]},"NumericLimit":{"type":"object","allOf":[{"$ref":"#/components/schemas/TriggerCondition"},{"properties":{"type":{"$ref":"#/components/schemas/NumericLimitType"},"lowerBound":{"$ref":"#/components/schemas/NumericLimitBoundary"},"target":{"$ref":"#/components/schemas/NumericLimitBoundary"},"upperBound":{"$ref":"#/components/schemas/NumericLimitBoundary"}}}]},"DurationTriggerCondition":{"type":"object","allOf":[{"$ref":"#/components/schemas/NumericLimit"},{"properties":{"format":{"type":"string"}}}]},"NumericLimitBoundary":{"type":"object","properties":{"inputCaptureId":{"type":"string","format":"uuid","description":"UUID of the capture this limit applies to."},"placeholderNodeId":{"type":"string","format":"uuid","description":"UUID of the placeholder nodeId."},"inputLabel":{"type":"string","description":"The label of the input capture.","example":"1.1.1.1"},"percentage":{"type":"boolean","description":"Whether or not to treat this boundary as a percentage or a value."},"value":{"type":"string","description":"The limit value.","example":"10.5"}}},"ExpressionToken":{"type":"object","properties":{"tokenType":{"type":"string","description":"Discriminator property for expression tokens, equal to the name of the token schema.","example":"ExpressionConstant"}},"required":["tokenType"],"discriminator":{"propertyName":"tokenType","mapping":{"ExpressionConstant":"#/components/schemas/ExpressionConstant","ExpressionOperator":"#/components/schemas/ExpressionOperator","ExpressionUnit":"#/components/schemas/ExpressionUnit","ExpressionVariable":"#/components/schemas/ExpressionVariable"}}},"ExpressionConstant":{"type":"object","allOf":[{"$ref":"#/components/schemas/ExpressionToken"},{"properties":{"value":{"type":"string","description":"Value of the constant as either a number, π symbol, or e symbol."}}}]},"ExpressionOperator":{"type":"object","allOf":[{"$ref":"#/components/schemas/ExpressionToken"},{"properties":{"operator":{"$ref":"#/components/schemas/ExpressionOperatorType"},"exponent":{"type":"array","items":{"$ref":"#/components/schemas/ExpressionToken"},"description":"Exponent of the POWER, ROOT, LOG, and LN operators. This value is null for other types of operators."}}}]},"ExpressionUnit":{"type":"object","allOf":[{"$ref":"#/components/schemas/ExpressionToken"},{"properties":{"value":{"type":"string","description":"Unit of measure.","example":"kg"}}}]},"ExpressionVariable":{"type":"object","allOf":[{"$ref":"#/components/schemas/ExpressionToken"},{"properties":{"orderLabel":{"type":"string","description":"Order label of the parent CAPTURE node.","example":"1.1.1.1"},"value":{"type":"string","description":"Value of the variable. If null, then the capture has not been completed yet."}}}]},"DateRange":{"type":"object","properties":{"from":{"type":"string","format":"date-time","description":"Start of the range (inclusive)","example":"2023-11-15T00:00:00Z"},"to":{"type":"string","format":"date-time","description":"End of the range (inclusive)","example":"2023-11-16T00:00:00Z"}}},"Page":{"type":"object","properties":{"number":{"type":"integer","description":"Pagination page number","example":0},"size":{"type":"integer","description":"Pagination page size","example":25}},"required":["number","size"]},"DeviationSearchRequest":{"type":"object","properties":{"templateId":{"type":"string","format":"uuid","description":"Template id"},"deviationIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Filter for deviation id list"},"lotNumber":{"type":"string","description":"Filter for lot number"},"active":{"type":"boolean","description":"Filter for active deviations"}}},"TemplateSearchRequest":{"type":"object","properties":{"page":{"$ref":"#/components/schemas/Page"},"sorts":{"type":"array","items":{"$ref":"#/components/schemas/TemplateSort"}},"filter":{"$ref":"#/components/schemas/TemplateFilter"}}},"TemplateSort":{"type":"object","properties":{"key":{"type":"string","enum":["PRODUCT_KEY","PRODUCT_NAME","REVISION","TYPE","LIFECYCLE","CREATED_ON_DATE","LAST_MODIFIED_DATE","LAST_MODIFIED_BY"],"default":"LAST_MODIFIED_DATE","description":"The property to sort by","example":"PRODUCT_NAME"},"direction":{"type":"string","enum":["ASC","DESC"],"default":"ASC","description":"The sort direction","example":"ASC"}}},"TemplateFilter":{"type":"object","properties":{"stringFilters":{"type":"array","items":{"$ref":"#/components/schemas/TemplateStringFilter"},"description":"Multiple choice filters for string properties - partial match and case insensitive."},"dateFilters":{"type":"array","items":{"$ref":"#/components/schemas/TemplateDateFilter"},"description":"Multiple choice filters for date properties"},"typeFilters":{"type":"array","items":{"$ref":"#/components/schemas/TemplateType"},"description":"Multiple choice filters for TemplateTypes - exact match"},"statuses":{"type":"array","items":{"$ref":"#/components/schemas/TemplateLifecycle"},"description":"Multiple choice filter for template status - exact match"},"ids":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Filter for template id list"}}},"TemplateDateFilter":{"type":"object","properties":{"key":{"type":"string","enum":["CREATED_ON_DATE","LAST_MODIFIED_DATE"],"example":"CREATED_ON_DATE"},"values":{"type":"array","items":{"$ref":"#/components/schemas/DateRange"}}},"required":["key","values"]},"TemplateStringFilter":{"type":"object","properties":{"key":{"type":"string","enum":["PRODUCT_NAME","PRODUCT_KEY","LAST_MODIFIED_BY"],"example":"PRODUCT_NAME"},"values":{"type":"array","items":{"type":"string"},"example":["abc","def","ghi"]}},"required":["key","values"]},"TemplateNodeSearchRequest":{"type":"object","properties":{"page":{"$ref":"#/components/schemas/Page"},"sort":{"$ref":"#/components/schemas/TemplateNodeSort"},"filter":{"$ref":"#/components/schemas/TemplateNodeFilter"}},"required":["page"]},"TemplateCaptureSearchRequest":{"type":"object","properties":{"page":{"$ref":"#/components/schemas/Page"},"sort":{"$ref":"#/components/schemas/TemplateCaptureSort"},"filter":{"$ref":"#/components/schemas/TemplateCaptureFilter"}},"required":["page"]},"TemplateNodeSort":{"type":"object","properties":{"key":{"type":"string","enum":["TITLE","TYPE","REPEATABLE","NOT_APPLICABLE","ORDER_NUMBER","ORDER_LABEL","SUB_TEMPLATE"],"default":"TITLE","description":"The property to sort by","example":"TITLE"},"direction":{"type":"string","enum":["ASC","DESC"],"default":"ASC","description":"The sort direction","example":"ASC"}}},"TemplateCaptureSort":{"type":"object","properties":{"key":{"type":"string","enum":["TYPE","ORDER_LABEL"],"default":"TYPE","description":"The property to sort by","example":"TYPE"},"direction":{"type":"string","enum":["ASC","DESC"],"default":"ASC","description":"The sort direction","example":"ASC"}}},"TemplateNodeFilter":{"type":"object","properties":{"stringFilters":{"type":"array","items":{"$ref":"#/components/schemas/TemplateNodeStringFilter"},"description":"Multiple choice filters for string properties - partial match and case insensitive."},"types":{"type":"array","items":{"$ref":"#/components/schemas/TemplateNodeType"},"description":"Multiple choice filter for template node type - exact match"},"repeatable":{"type":"boolean"},"notApplicable":{"type":"boolean"},"subTemplate":{"type":"boolean"}}},"TemplateCaptureFilter":{"type":"object","properties":{"stringFilters":{"type":"array","items":{"$ref":"#/components/schemas/TemplateCaptureStringFilter"},"description":"Multiple choice filters for string properties - partial match and case insensitive."},"types":{"type":"array","items":{"$ref":"#/components/schemas/CaptureType"},"description":"Multiple choice filter for template node type - exact match"},"orderLabel":{"type":"string"}}},"TemplateNodeStringFilter":{"type":"object","properties":{"key":{"type":"string","enum":["TITLE","ORDER_LABEL"],"example":"ISSUED_BY"},"values":{"type":"array","items":{"type":"string"},"example":["abc","def","ghi"]}},"required":["key","values"]},"TemplateCaptureStringFilter":{"type":"object","properties":{"key":{"type":"string","enum":["ORDER_LABEL"],"example":"ORDER_LABEL"},"values":{"type":"array","items":{"type":"string"},"example":["abc","def","ghi"]}},"required":["key","values"]},"StoreDeviationRequest":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"cmxId":{"type":"integer","description":"The cmx id"},"tenantId":{"type":"string","description":"Tenant id"},"formSource":{"$ref":"#/components/schemas/FormSource"},"formInstanceName":{"type":"string","description":"The name of the instance"},"formTemplateName":{"type":"string","description":"The name of the template"},"formInstanceId":{"type":"string","description":"The id of the instance"},"signOffUserId":{"type":"string","description":"The user id of the sign off user"},"signOffLegacyUserInfo":{"$ref":"#/components/schemas/LegacyUserInfo"},"signOffDate":{"type":"string","format":"date-time","description":"The date of the sign off"},"comments":{"type":"string","description":"Comments for the deviation"},"startDateBoundary":{"type":"string","format":"date","description":"Start date of the deviation"},"endDateBoundary":{"type":"string","format":"date","description":"End date of the deviation"},"lotNumberBoundary":{"type":"array","items":{"type":"string"},"description":"List of lot numbers that can be associated with the deviation"},"nodeConfigs":{"type":"array","items":{"$ref":"#/components/schemas/DeviationNodeConfig"}},"recordIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"List of record ids need to be associated with the deviation"}}},"CompileTemplateEntityRequest":{"type":"object","properties":{"deviationSelections":{"type":"array","items":{"type":"string","format":"uuid","description":"Any deviation selections that should be applied to the compiled template."}},"placeholderIdToContentSupplierId":{"additionalProperties":{"type":"string"},"type":"object","description":"A map of placeholder id to the id of the entity that should supply the content for the placeholder."},"productFamilySelections":{"type":"array","items":{"$ref":"#/components/schemas/ProductFamilyGroupSelection"}},"rootPlaceholderId":{"type":"string","format":"uuid","description":"Required if this node is the child of a Global Template so that the node is compiled with correct template and placeholder context."}}},"ProductFamilyGroupSelection":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"value":{"type":"string"}}},"CreateTemplateRequest":{"type":"object","properties":{"type":{"type":"string","enum":["TEMPLATE","GLOBAL_TEMPLATE","UNDEFINED","TEMPORARY"],"description":"The template type.","example":"TEMPLATE"},"productKey":{"type":"string","description":"The product key.","example":"Space Suits"},"productName":{"type":"string","description":"The product name copied from the product.","example":"Space Suit"},"companyLogoImageId":{"deprecated":true,"type":"string","format":"uuid","description":"The company logo image id."},"companyLogoImageFilename":{"type":"string","description":"The file name of company logo image."},"numberSeriesId":{"type":"string","description":"The number series id."},"appendSkuToProductId":{"type":"boolean","description":"Does Sku append to product id enabled."},"lotNumberMatchRegex":{"type":"string","description":"Lot number match regex."},"lotNumberMatchExample":{"type":"string","description":"Lot number match example."},"lotNumberMatchDisplayOnInterface":{"type":"boolean","description":"Indicates whether the example lot number format will be shown on interface"},"defaultLotAmount":{"deprecated":true,"type":"integer","description":"Default Lot amount."},"defaultQuantity":{"type":"string","description":"Default Quantity."},"customHeaders":{"type":"array","items":{"$ref":"#/components/schemas/CustomHeader"}},"lotNumberConfiguration":{"type":"string"},"accPageCustomText":{"type":"string"},"accPageDocumentationEnabled":{"type":"boolean"},"accPageSignaturesEnabled":{"type":"boolean"},"accPageFormsAndTempChangesEnabled":{"type":"boolean"},"accPageLinkedPrdRecordsEnabled":{"type":"boolean"},"dataPurpose":{"$ref":"#/components/schemas/DataPurpose"}},"required":["productName","type","productKey"]},"CreateTemplateNodeRequest":{"type":"object","properties":{"templateId":{"type":"string","format":"uuid","description":"Id of the source template to create a node from"},"title":{"type":"string","description":"The template node title."},"parentId":{"type":"string","format":"uuid","description":"ParentId of template","example":"12345"},"childIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Child IDs of the node","example":["12345"]},"type":{"$ref":"#/components/schemas/TemplateNodeType"},"level":{"type":"string","format":"uuid","description":"level of template node","example":"1"},"subTemplate":{"type":"boolean","description":"The new template node is subTemplate or not"},"repeatable":{"type":"boolean"},"notApplicable":{"type":"boolean"},"displayOrder":{"description":"The display order is the order in which the node should be displayed in the UI. The numbers are zero-based and increment with no gaps. This number is not the same as the orderNumber.","type":"integer","example":0}},"required":["templateId"]},"CreateTemplateCaptureRequest":{"type":"object","properties":{"orderLabel":{"type":"string"},"displayOrder":{"type":"integer"},"type":{"$ref":"#/components/schemas/CaptureType"},"config":{"type":"string","description":"JSON string of capture config object."}},"required":["type"]},"CreateTemplateAttachmentRequest":{"type":"object","properties":{"cmxId":{"type":"integer"},"templateId":{"type":"string","format":"uuid","description":"Id of the template to create attachment"},"parentId":{"type":"string","format":"uuid"},"parentType":{"$ref":"#/components/schemas/AttachmentParentType"},"type":{"$ref":"#/components/schemas/AttachmentType"},"attributes":{"$ref":"#/components/schemas/AttachmentAttributesType"}},"required":["type"]},"CreateTemplateNodeWithCaptureRequest":{"type":"object","properties":{"templateNode":{"$ref":"#/components/schemas/CreateTemplateNodeRequest"},"templateCapture":{"$ref":"#/components/schemas/CreateTemplateCaptureRequest"}}},"DuplicateTemplateNodeRequest":{"type":"object","properties":{"templateId":{"type":"string","format":"uuid","description":"Id of the source template to create a node from"},"nodeIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"IDs of the node to duplicate"}}},"CreateTemplateDataProjectionRequest":{"type":"object","properties":{"templateId":{"type":"string","format":"uuid","description":"Id of the source template to create a node from"},"sourceNodeId":{"type":"string","format":"uuid","description":"ID of the node that is the source of the projection."},"sourceCaptureId":{"type":"string","format":"uuid","description":"Id of the capture that is the source of the data."},"targetCaptureId":{"type":"string","format":"uuid","description":"Id of the capture that is the target of the data."},"type":{"$ref":"#/components/schemas/TemplateDataProjectionType"}},"required":["templateId","targetCaptureId","type"]},"MoveTemplateNodeRequest":{"type":"object","properties":{"targetDisplayOrder":{"type":"integer"}},"required":["targetDisplayOrder"]},"SerializeNodeRequest":{"type":"object","properties":{"nodeIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"List of node UUIDs to serialize."},"type":{"$ref":"#/components/schemas/TemplateNodeType"},"copyId":{"type":"string","format":"uuid","description":"Representation of the serialized nodes by UUID.  if It is not null it is going to override current cached copy"}},"required":["nodeIds"]},"RegexValidationRequest":{"type":"object","properties":{"expression":{"type":"string"},"value":{"type":"string"}},"required":["expression","value"]},"RegexValidationResponse":{"type":"object","properties":{"result":{"type":"boolean"}}},"TemplateValidationResponse":{"type":"object","properties":{"warnings":{"$ref":"#/components/schemas/TemplateValidationWarnings"}}},"TemplateValidationWarnings":{"type":"object","properties":{"globalElementsWithoutProductionVersion":{"type":"array","items":{"$ref":"#/components/schemas/TemplateMissingGlobalElementWarning"}}}},"TemplateMissingGlobalElementWarning":{"type":"object","properties":{"globalTemplateSeriesId":{"type":"string","format":"uuid"},"globalTemplateTitle":{"type":"string","example":"Line Clearance"},"nodeOrderLabel":{"type":"string","example":"1.2.2.12"}}},"SerializedNodeResponse":{"type":"object","properties":{"expirationTimestamp":{"description":"The expiration time of the serialized nodes in milliseconds.","type":"integer"},"copyId":{"type":"string","format":"uuid","description":"Representation of the serialized nodes by UUID."}}},"ApiConfigurationRequest":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"cmxId":{"type":"integer"},"tenantId":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"httpMethod":{"type":"string"},"lastModifiedDate":{"type":"string","format":"date-time"},"authenticationType":{"$ref":"#/components/schemas/authenticationType"},"authToken":{"type":"string"},"oauth2Endpoint":{"type":"string"},"twoFactorAuthentication":{"type":"boolean"},"certificate":{"type":"string"},"privateKey":{"type":"string"}}},"ApiConfiguration":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"url":{"type":"string"},"httpMethod":{"type":"string"},"authenticationType":{"$ref":"#/components/schemas/authenticationType"},"lastModifiedDate":{"type":"string","format":"date-time"},"authToken":{"type":"string"},"authTokenSecretId":{"type":"string"},"oauth2Endpoint":{"type":"string"},"twoFactorAuthentication":{"type":"boolean"},"certificate":{"type":"string"},"certificateSecretId":{"type":"string"},"privateKey":{"type":"string"},"privateKeySecretId":{"type":"string"},"keyStorePassword":{"type":"string"},"keyStorePasswordId":{"type":"string"}}},"authenticationType":{"type":"string","enum":["BASIC","BEARER","OAUTH2"]},"Pagination":{"type":"object","properties":{"pageNumber":{"type":"integer"},"pageSize":{"type":"integer"},"totalResults":{"type":"integer","format":"int64"}}},"TemplatePage":{"type":"object","properties":{"pagination":{"$ref":"#/components/schemas/Pagination"},"templates":{"type":"array","items":{"$ref":"#/components/schemas/Template"}}}},"TemplateNodePage":{"type":"object","properties":{"pagination":{"$ref":"#/components/schemas/Pagination"},"templateNodes":{"type":"array","items":{"$ref":"#/components/schemas/TemplateNode"}}}},"TemplateCapturePage":{"type":"object","properties":{"pagination":{"$ref":"#/components/schemas/Pagination"},"templateCaptures":{"type":"array","items":{"$ref":"#/components/schemas/TemplateCapture"}}}},"ActionTriggerType":{"type":"string","enum":["STATE_CHANGE","VALUE_CHANGE"]},"ActionType":{"type":"string","enum":["CONDITIONAL_NOT_APPLICABLE","CUSTOM_LIMIT_MESSAGE","NOTIFY","REJECT","REPEAT_NODE","REQUIRE_ANOTHER_ITERATION","REVIEW_BY_EXCEPTION","WARN","WARN_WITH_CONFIRMATION_POPUP"]},"AggregateType":{"type":"string","enum":["AVERAGE","MAXIMUM","MINIMUM","SAMPLE_STANDARD_DEVIATION","STANDARD_DEVIATION","SUM"]},"AttachmentType":{"type":"string","enum":["LOGO","IMAGE"]},"AttachmentParentType":{"type":"string","enum":["TEMPLATE"],"description":"Parent type. Examples are TEMPLATE"},"AttachmentAttributesType":{"type":"object","properties":{"fileName":{"type":"string"},"realFileName":{"type":"string"},"mediaType":{"type":"string"},"folderName":{"type":"string"}}},"CaptureTimestampType":{"type":"string","enum":["MANUAL_ONLY","NOW_AND_MANUAL","NOW_ONLY"]},"CaptureType":{"type":"string","enum":["AGGREGATE","ATTACHMENT","CALCULATION","DATE","DATE_TIME","DURATION","EQUIPMENT","EXTERNAL_API","FORM_LAUNCH","HYPERLINK","INSTRUCTION","ITERATION_COMPLETE","MULTIPLE_CHOICE","NODE_COMPLETE","NUMBER","PASS_FAIL","STEP_COMPLETE","STRUCTURE_COMPLETE","TEXT","UNDEFINED"]},"CodeScanFormat":{"type":"string","enum":["QR_CODE"]},"CommentRequired":{"type":"string","enum":["NOT_ALLOWED","OPTIONAL","REQUIRED"]},"ContentSupplierType":{"type":"string","enum":["GLOBAL_TEMPLATE","PRODUCT_FAMILY","TEMPORARY_TEMPLATE"]},"EnforceSequenceType":{"type":"string","enum":["VALUE_CAPTURE","WITNESS","VERIFY","WITNESS_AND_VERIFY"]},"TableSectionType":{"type":"string","enum":["People","Materials","Equipment"],"description":"Table section type for accountability page."},"EntityType":{"type":"string","enum":["TEMPLATE","TEMPLATE_CAPTURE","TEMPLATE_NODE"]},"FormSource":{"type":"string","enum":["AQEM","QX"]},"TemplateNodeType":{"type":"string","enum":["NODE","DATA_ENTRY_NODE","CAPTURE_NODE","TABLE","COLLECTION"]},"ExpressionOperatorType":{"type":"string","enum":["LPAREN","RPAREN","PLUS","MINUS","MULTIPLY","DIVIDE","POWER","ABS","ROOT","LOG","LN"]},"NumericLimitType":{"type":"string","enum":["EQUAL","GREATER_THAN","GREATER_THAN_OR_EQUAL","LESS_THAN","LESS_THAN_OR_EQUAL","RANGE","TOLERANCE"]},"NodeStatus":{"type":"string","enum":["IN_PROGRESS","COMPLETED"]},"TemplateDataProjectionType":{"type":"string","enum":["FORMULATION_DATA_DISPLAY_VALUE","LINKED_STRUCTURE","PREDECESSOR","QUANTITY","RELATIVE_LIMIT","SIMPLE_STEP_PROJECTION","CAPTURE_REFERENCE","TRAINING","UPSTREAM_STEP","INSTRUCTIONS_TEXT","DESCRIPTION_TEXT","CONDITIONAL_NOT_APPLICABLE"]},"TemplateType":{"type":"string","enum":["GLOBAL_TEMPLATE","TEMPORARY_TEMPLATE","TEMPLATE","TEMPORARY"]},"MergeType":{"type":"string","enum":["DUPLICATE","MERGE","REPLACE"]},"DurationType":{"type":"string","enum":["NORMAL","CALCULATION","DURATION_SUMMATION"]},"DurationFormatType":{"type":"string","enum":["DATE","NUMBER_OF_DAYS","TOTAL_TIME"]},"DataPurpose":{"type":"string","enum":["PROD","VOD","TEST","PQI","UNKNOWN_DEFAULT_OPEN_API"],"description":"Enum representing the purpose of the data:\n* PROD - Production data\n* VOD - Validation on Demand data\n* TEST - Test data (E2E, API, performance, scalability, etc.)\n* PQI - Test data for Insights\n* UNKNOWN_DEFAULT_OPEN_API - Unknown or default purpose\n"},"RepeatableCollectionType":{"type":"string","enum":["COLLECTION","TABLE"],"description":"Enum representing the type of repeatable collection:\n* COLLECTION - repeatable structure that should not display in table format\n* TABLE - repeatable structure with minimum rows requirement and that should be displayed in table format\n"},"ItemReference":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the item."},"objectVersion":{"type":"integer","description":"Current version of the item.","example":1234567}},"required":["id","objectVersion"]},"ItemReferenceMap":{"type":"object","properties":{"templateId":{"type":"string","format":"uuid","description":"Template ID of item."},"parentNodeRef":{"$ref":"#/components/schemas/ItemReference"},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/ItemReference"}},"captures":{"type":"array","items":{"$ref":"#/components/schemas/ItemReference"}},"projections":{"type":"array","items":{"$ref":"#/components/schemas/ItemReference"}}},"required":["templateId","parentNodeRef"]},"ValidationResult":{"type":"object","properties":{"validatedItemRef":{"$ref":"#/components/schemas/ItemReference"},"validationResult":{"$ref":"#/components/schemas/ErrorResponse"}}},"ValidationResults":{"type":"array","items":{"$ref":"#/components/schemas/ValidationResult"}},"S3FileInfo":{"type":"object","properties":{"fileName":{"type":"string"},"folderId":{"type":"string"}}},"Language":{"type":"string","enum":["en_US","zh_CN","zh_TW","fr_FR","de_DE","it_IT","ja_JP","ko_KR","pt_PT","es_ES","vi_VN","ru_RU"],"default":"en_US","description":"Enum representation of supported Languages"},"ChatSession":{"type":"object","properties":{"id":{"type":"string"},"displayName":{"type":"string"},"mcApplication":{"type":"string"},"aiApplication":{"type":"string"},"status":{"$ref":"#/components/schemas/ChatSessionStatus"},"generationStatus":{"$ref":"#/components/schemas/GenerationStatus"},"createdDate":{"type":"string","format":"date-time"},"userId":{"type":"string"},"tenantId":{"type":"string"}}},"ChatSessionStatus":{"type":"string","enum":["ACTIVE","ARCHIVED"]},"GenerationStatus":{"type":"string","enum":["COMPLETE","PROCESSING","FAILED"]},"Role":{"type":"string","enum":["SYSTEM","ASSISTANT","USER"],"title":"Role","description":"An enum of a role in a chat message."},"Message":{"properties":{"id":{"type":"string","title":"Id"},"sessionId":{"type":"string","format":"uuid","title":"Session Id"},"createdDate":{"type":"string","title":"Created Date"},"role":{"$ref":"#/components/schemas/Role"},"content":{"type":"string","title":"Content"}},"type":"object","required":["sessionId","role","content"],"title":"Message","description":"Schema for a chat message."},"AimlChatSessionAndMessagesResponse":{"type":"object","properties":{"chatSession":{"$ref":"#/components/schemas/ChatSession"},"messages":{"type":"array","items":{"$ref":"#/components/schemas/Message"}}},"required":["chatSession","messages"]},"AimlChatRequest":{"properties":{"workflow":{"type":"string","title":"Workflow"},"parameters":{"$ref":"#/components/schemas/AiChatRequestParameter"}},"additionalProperties":false,"type":"object","required":["workflow"],"title":"RunWorkflowRequest","description":"Data model for AI requests.","example":{"parameters":{"messages":[{"content":"You are a helpful assistant.","role":"system"},{"content":"Write a paragraph about document control practices.","role":"user"}]},"workflow":"chat"}},"AiChatRequestParameter":{"type":"object","properties":{"message":{"$ref":"#/components/schemas/MessagePrompt"},"messages":{"type":"array","items":{"$ref":"#/components/schemas/MessagePrompt"}}},"title":"AiChatRequestParameter"},"MessagePrompt":{"type":"object","properties":{"content":{"type":"string","title":"Content"},"role":{"$ref":"#/components/schemas/Role"}},"required":["content","role"],"title":"MessagePrompt","description":"Schema for a chat message prompt."},"AimlChatResponse":{"properties":{"workflow":{"type":"string","title":"Workflow"},"sessionId":{"type":"string","format":"uuid","title":"Session Id"},"result":{"$ref":"#/components/schemas/ChatResponseResult"}},"additionalProperties":false,"type":"object","required":["workflow","sessionId","result"],"title":"RunWorkflowResponse","description":"Data model for AI workflow responses."},"ChatResponseResult":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/GenerationStatus"},"messages":{"type":"array","items":{"$ref":"#/components/schemas/Message"}}}},"AimlParseResponse":{"type":"object","properties":{"markdown":{"type":"string"},"text":{"type":"string"}}}}}}