{"openapi":"3.0.1","info":{"title":"Ananke Integration API - Ananke TCode","description":"Developer-facing gateway for Trust document issuance/verification and TCode stamp management/verification. Authenticated exclusively via API keys.","version":"v1"},"paths":{"/v1/reference-data/tenants":{"get":{"tags":["ReferenceData"],"summary":"Returns all active tenants with their stable TenantReference and display name.\r\nUsed to map the 6-char issuer code from a TCode payload header to a human-readable name.","responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TenantInfoIReadOnlyListApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TenantInfoIReadOnlyListApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TenantInfoIReadOnlyListApiResponse"}}}}}}},"/v1/reference-data/document-types":{"get":{"tags":["ReferenceData"],"summary":"Returns all active document types with localized names.\r\nUsed to map the DK field from a TCode payload to a display name.","responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/DocumentTypeInfoIReadOnlyListApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/DocumentTypeInfoIReadOnlyListApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/DocumentTypeInfoIReadOnlyListApiResponse"}}}}}}},"/v1/reference-data/public-keys":{"get":{"tags":["ReferenceData"],"summary":"Returns all active signing public keys paired with their TenantReference.\r\nUsed for offline TCode payload signature verification.","responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TenantPublicKeyIReadOnlyListApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TenantPublicKeyIReadOnlyListApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TenantPublicKeyIReadOnlyListApiResponse"}}}}}}},"/v1/reference-data/public-keys/{tenantReference}":{"get":{"tags":["ReferenceData"],"summary":"Returns the signing public key for a specific tenant by reference.\r\nUsed by local signature verification when the issuer reference is known from the TCode header.","parameters":[{"name":"tenantReference","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TenantPublicKeyApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TenantPublicKeyApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TenantPublicKeyApiResponse"}}}}}}},"/v1/tcode/bulk-jobs":{"post":{"tags":["TCodeBulkJobs"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTCodeBulkJobRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/CreateTCodeBulkJobRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CreateTCodeBulkJobRequest"}}}},"responses":{"201":{"description":"Created","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodeBulkJobApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodeBulkJobApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeBulkJobApiResponse"}}}}}},"get":{"tags":["TCodeBulkJobs"],"parameters":[{"name":"Page","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"PageSize","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodeBulkJobPagedDataApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodeBulkJobPagedDataApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeBulkJobPagedDataApiResponse"}}}}}}},"/v1/tcode/bulk-jobs/{jobId}":{"get":{"tags":["TCodeBulkJobs"],"parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodeBulkJobDetailApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodeBulkJobDetailApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeBulkJobDetailApiResponse"}}}}}}},"/v1/tcode/bulk-jobs/{jobId}/progress":{"get":{"tags":["TCodeBulkJobs"],"parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodeBulkJobProgressApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodeBulkJobProgressApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeBulkJobProgressApiResponse"}}}}}}},"/v1/tcode/bulk-jobs/{jobId}/retry":{"post":{"tags":["TCodeBulkJobs"],"parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodeBulkJobApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodeBulkJobApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeBulkJobApiResponse"}}}}}}},"/v1/tcode/bulk-jobs/{jobId}/cancel":{"post":{"tags":["TCodeBulkJobs"],"parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"No Content"}}}},"/v1/tcode/templates/placement":{"get":{"tags":["TCodePlacementTemplates"],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodePlacementTemplateIReadOnlyListApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodePlacementTemplateIReadOnlyListApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodePlacementTemplateIReadOnlyListApiResponse"}}}}}},"post":{"tags":["TCodePlacementTemplates"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTCodePlacementTemplateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/CreateTCodePlacementTemplateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CreateTCodePlacementTemplateRequest"}}}},"responses":{"201":{"description":"Created","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodePlacementTemplateApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodePlacementTemplateApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodePlacementTemplateApiResponse"}}}}}}},"/v1/tcode/templates/placement/{id}":{"get":{"tags":["TCodePlacementTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodePlacementTemplateApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodePlacementTemplateApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodePlacementTemplateApiResponse"}}}}}},"put":{"tags":["TCodePlacementTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTCodePlacementTemplateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/UpdateTCodePlacementTemplateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/UpdateTCodePlacementTemplateRequest"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodePlacementTemplateApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodePlacementTemplateApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodePlacementTemplateApiResponse"}}}}}},"delete":{"tags":["TCodePlacementTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"No Content"}}}},"/v1/tcode/templates/placement/{id}/duplicate":{"post":{"tags":["TCodePlacementTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodePlacementTemplateApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodePlacementTemplateApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodePlacementTemplateApiResponse"}}}}}}},"/v1/tcode/stamps":{"post":{"tags":["TCodeStamps"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StampDocumentRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/StampDocumentRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/StampDocumentRequest"}}}},"responses":{"201":{"description":"Created","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodeStampDetailApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodeStampDetailApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeStampDetailApiResponse"}}}}}},"get":{"tags":["TCodeStamps"],"parameters":[{"name":"Search","in":"query","schema":{"type":"string"}},{"name":"TemplateId","in":"query","schema":{"type":"string","format":"uuid"}},{"name":"Status","in":"query","schema":{"type":"string"}},{"name":"DateRange","in":"query","schema":{"type":"string"}},{"name":"FieldName","in":"query","schema":{"type":"string"}},{"name":"FieldValue","in":"query","schema":{"type":"string"}},{"name":"Page","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"PageSize","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodeStampSummaryPagedDataApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodeStampSummaryPagedDataApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeStampSummaryPagedDataApiResponse"}}}}}}},"/v1/tcode/stamps/{id}":{"get":{"tags":["TCodeStamps"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodeStampDetailApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodeStampDetailApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeStampDetailApiResponse"}}}}}}},"/v1/tcode/stamps/{id}/download":{"get":{"tags":["TCodeStamps"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"type","in":"query","schema":{"type":"string","default":"stamped"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodeDownloadUrlApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodeDownloadUrlApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeDownloadUrlApiResponse"}}}}}}},"/v1/tcode/stamps/{id}/revoke":{"post":{"tags":["TCodeStamps"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TCodeLifecycleActionRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeLifecycleActionRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/TCodeLifecycleActionRequest"}}}},"responses":{"204":{"description":"No Content"}}}},"/v1/tcode/stamps/{id}/suspend":{"post":{"tags":["TCodeStamps"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TCodeLifecycleActionRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeLifecycleActionRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/TCodeLifecycleActionRequest"}}}},"responses":{"204":{"description":"No Content"}}}},"/v1/tcode/stamps/{id}/reactivate":{"post":{"tags":["TCodeStamps"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TCodeLifecycleActionRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeLifecycleActionRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/TCodeLifecycleActionRequest"}}}},"responses":{"204":{"description":"No Content"}}}},"/v1/tcode/stamps/{id}/replace":{"post":{"tags":["TCodeStamps"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TCodeReplaceStampRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeReplaceStampRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/TCodeReplaceStampRequest"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodeStampDetailApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodeStampDetailApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeStampDetailApiResponse"}}}}}}},"/v1/tcode/stamps/duplicate-check":{"post":{"tags":["TCodeStamps"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TCodeStampDuplicateCheckRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeStampDuplicateCheckRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/TCodeStampDuplicateCheckRequest"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodeDuplicateCheckResultApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodeDuplicateCheckResultApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeDuplicateCheckResultApiResponse"}}}}}}},"/v1/tcode/templates/tdoc":{"get":{"tags":["TCodeTdocTemplates"],"parameters":[{"name":"includeArchived","in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodeTdocTemplateIReadOnlyListApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodeTdocTemplateIReadOnlyListApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeTdocTemplateIReadOnlyListApiResponse"}}}}}},"post":{"tags":["TCodeTdocTemplates"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTCodeTdocTemplateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/CreateTCodeTdocTemplateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CreateTCodeTdocTemplateRequest"}}}},"responses":{"201":{"description":"Created","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodeTdocTemplateApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodeTdocTemplateApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeTdocTemplateApiResponse"}}}}}}},"/v1/tcode/templates/tdoc/{id}":{"get":{"tags":["TCodeTdocTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodeTdocTemplateApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodeTdocTemplateApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeTdocTemplateApiResponse"}}}}}},"put":{"tags":["TCodeTdocTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTCodeTdocTemplateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/UpdateTCodeTdocTemplateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/UpdateTCodeTdocTemplateRequest"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodeTdocTemplateApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodeTdocTemplateApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeTdocTemplateApiResponse"}}}}}},"delete":{"tags":["TCodeTdocTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"No Content"}}}},"/v1/tcode/templates/tdoc/{id}/archive":{"post":{"tags":["TCodeTdocTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"No Content"}}}},"/v1/tcode/templates/tdoc/{id}/unarchive":{"post":{"tags":["TCodeTdocTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"No Content"}}}},"/v1/tcode/templates/tdoc/{id}/csv-fields":{"get":{"tags":["TCodeTdocTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodeTdocCsvFieldsResponseApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodeTdocCsvFieldsResponseApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeTdocCsvFieldsResponseApiResponse"}}}}}}},"/v1/tcode/verify/reference/{reference}":{"get":{"tags":["TCodeVerify"],"parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodeLookupResultApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodeLookupResultApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeLookupResultApiResponse"}}}}}}},"/v1/tcode/verify/hash/{hash}":{"get":{"tags":["TCodeVerify"],"parameters":[{"name":"hash","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodeLookupResultApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodeLookupResultApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeLookupResultApiResponse"}}}}}}},"/v1/tcode/verify":{"post":{"tags":["TCodeVerify"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TCodeVerifyRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeVerifyRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/TCodeVerifyRequest"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodeVerificationResultApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodeVerificationResultApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeVerificationResultApiResponse"}}}}}}},"/v1/tcode/verify/history":{"get":{"tags":["TCodeVerify"],"parameters":[{"name":"Page","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"PageSize","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodeVerificationHistoryResponseApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodeVerificationHistoryResponseApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeVerificationHistoryResponseApiResponse"}}}}}}},"/v1/tcode/verify/sync":{"post":{"tags":["TCodeVerify"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TCodeBatchScanSyncRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeBatchScanSyncRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/TCodeBatchScanSyncRequest"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodeBatchScanSyncResponseApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodeBatchScanSyncResponseApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeBatchScanSyncResponseApiResponse"}}}}}}},"/v1/tcode/verify/document/{reference}/scans":{"get":{"tags":["TCodeVerify"],"parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string"}},{"name":"From","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"To","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"Page","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"PageSize","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodeDocumentScanRecordPagedDataApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodeDocumentScanRecordPagedDataApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeDocumentScanRecordPagedDataApiResponse"}}}}}}},"/v1/tcode/verify/digital-twin/{reference}":{"get":{"tags":["TCodeVerify"],"parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodeDigitalTwinUrlApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodeDigitalTwinUrlApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodeDigitalTwinUrlApiResponse"}}}}}}},"/v1/tcode/verify/public-key":{"get":{"tags":["TCodeVerify"],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TCodePublicKeyResponseApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TCodePublicKeyResponseApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TCodePublicKeyResponseApiResponse"}}}}}}}},"components":{"schemas":{"ArchiveTrustTemplateRequest":{"required":["reason"],"type":"object","properties":{"reason":{"maxLength":500,"minLength":1,"type":"string"}},"additionalProperties":false},"CreateTCodeBulkJobRequest":{"required":["csvFileBase64","zipFileBase64"],"type":"object","properties":{"tdocTemplateId":{"type":"string","format":"uuid","nullable":true},"placementTemplateId":{"type":"string","format":"uuid","nullable":true},"csvFileBase64":{"minLength":1,"type":"string","description":"Base64-encoded CSV file with stamp rows."},"zipFileBase64":{"minLength":1,"type":"string","description":"Base64-encoded ZIP file with PDF documents (file names must match CSV rows)."}},"additionalProperties":false},"CreateTCodePlacementTemplateRequest":{"required":["name"],"type":"object","properties":{"name":{"maxLength":200,"minLength":1,"type":"string"},"description":{"maxLength":500,"type":"string","nullable":true},"xNorm":{"type":"number","format":"double"},"yNorm":{"type":"number","format":"double"},"wNorm":{"type":"number","format":"double"},"hNorm":{"type":"number","format":"double"},"anchor":{"type":"string","nullable":true},"pageScope":{"type":"string","nullable":true},"customPages":{"type":"string","nullable":true},"rotation":{"type":"number","format":"double"},"pageSizeMmWidth":{"type":"number","format":"double"},"pageSizeMmHeight":{"type":"number","format":"double"},"safeMargins":{"$ref":"#/components/schemas/TCodeSafeMarginsRequest"},"whiteBox":{"$ref":"#/components/schemas/TCodeWhiteBoxRequest"},"caption":{"$ref":"#/components/schemas/TCodeCaptionRequest"},"scanSafety":{"$ref":"#/components/schemas/TCodeScanSafetyRequest"}},"additionalProperties":false},"CreateTCodeTdocTemplateRequest":{"required":["name"],"type":"object","properties":{"name":{"maxLength":200,"minLength":1,"type":"string"},"description":{"maxLength":1000,"type":"string","nullable":true},"issuanceTemplateId":{"type":"string","format":"uuid","nullable":true},"issuanceTemplateName":{"type":"string","nullable":true},"baseFields":{"type":"array","items":{"type":"string"},"nullable":true},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/TCodeTdocCustomFieldRequest"},"nullable":true},"suggestedDocType":{"type":"string","nullable":true},"enableEmailSending":{"type":"boolean"},"productMode":{"type":"string","nullable":true}},"additionalProperties":false},"CreateTrustBulkJobRequest":{"required":["csvFileBase64","issuancePath","templateId","zipFileBase64"],"type":"object","properties":{"templateId":{"type":"string","format":"uuid"},"issuancePath":{"minLength":1,"type":"string"},"validityType":{"type":"string","nullable":true},"validityValue":{"type":"integer","format":"int32","nullable":true},"validityUnit":{"type":"string","nullable":true},"scheduledFor":{"type":"string","format":"date-time","nullable":true},"csvFileBase64":{"minLength":1,"type":"string","description":"Base64-encoded CSV file with issuance rows."},"zipFileBase64":{"minLength":1,"type":"string","description":"Base64-encoded ZIP file with PDF documents (file names must match CSV rows)."}},"additionalProperties":false},"CreateTrustIssuanceRequest":{"type":"object","properties":{"modeType":{"type":"string","nullable":true},"templateId":{"type":"string","format":"uuid","nullable":true},"recipientName":{"maxLength":300,"type":"string","nullable":true},"recipientEmail":{"maxLength":320,"type":"string","nullable":true},"fields":{"type":"array","items":{"$ref":"#/components/schemas/TrustIssuanceField"},"nullable":true},"adhocFields":{"type":"array","items":{"$ref":"#/components/schemas/TrustIssuanceField"},"nullable":true},"validityType":{"type":"string","nullable":true},"validityValue":{"type":"integer","format":"int32","nullable":true},"validityUnit":{"type":"string","nullable":true},"scheduledFor":{"type":"string","format":"date-time","nullable":true},"pdfFileBase64":{"type":"string","nullable":true},"pdfFileName":{"type":"string","nullable":true}},"additionalProperties":false},"CreateTrustTemplateFieldRequest":{"required":["id","name","type"],"type":"object","properties":{"id":{"minLength":1,"type":"string"},"name":{"minLength":1,"type":"string"},"type":{"minLength":1,"type":"string"},"required":{"type":"boolean"},"isVerifiable":{"type":"boolean"},"isSensitive":{"type":"boolean"},"visibility":{"type":"string","nullable":true}},"additionalProperties":false},"CreateTrustTemplateRequest":{"required":["docType","name"],"type":"object","properties":{"name":{"maxLength":200,"minLength":1,"type":"string"},"docType":{"maxLength":100,"minLength":1,"type":"string"},"languages":{"type":"array","items":{"type":"string"},"nullable":true},"tcodeEnabled":{"type":"boolean"},"tdocTemplateId":{"type":"string","format":"uuid","nullable":true},"defaultPlacementTemplateId":{"type":"string","format":"uuid","nullable":true},"schema":{"type":"array","items":{"$ref":"#/components/schemas/CreateTrustTemplateFieldRequest"},"nullable":true}},"additionalProperties":false},"DocumentTypeInfo":{"type":"object","properties":{"documentTypeReference":{"type":"string","nullable":true},"code":{"type":"string","nullable":true},"nameEn":{"type":"string","nullable":true},"nameFr":{"type":"string","nullable":true},"nameAr":{"type":"string","nullable":true},"category":{"type":"string","nullable":true}},"additionalProperties":false},"DocumentTypeInfoIReadOnlyListApiResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/DocumentTypeInfo"},"nullable":true}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"SetTrustTemplatePlacementRequest":{"required":["placementTemplateId"],"type":"object","properties":{"placementTemplateId":{"type":"string","description":"TCode placement template ID to bind to this Trust template.","format":"uuid"}},"additionalProperties":false},"StampDocumentRequest":{"required":["name","tdocTemplateId"],"type":"object","properties":{"name":{"maxLength":200,"minLength":1,"type":"string"},"tdocTemplateId":{"type":"string","format":"uuid"},"placementTemplateId":{"type":"string","format":"uuid","nullable":true},"dataMatrixFields":{"type":"object","additionalProperties":{"type":"string","nullable":true},"nullable":true},"pdfFileBase64":{"type":"string","nullable":true},"pdfFileName":{"type":"string","nullable":true},"recipientEmail":{"type":"string","nullable":true},"confirmationText":{"type":"string","nullable":true}},"additionalProperties":false},"TCodeBatchLocalChecks":{"type":"object","properties":{"parseStatus":{"type":"string","nullable":true},"signatureStatus":{"type":"string","nullable":true}},"additionalProperties":false,"description":"Client-side parse/signature verification results."},"TCodeBatchScanItem":{"required":["appVersion","createdAtLocal","deviceId","eventId","localChecks","scan"],"type":"object","properties":{"eventId":{"minLength":1,"type":"string","description":"UUID — client-generated idempotency key."},"deviceId":{"minLength":1,"type":"string"},"appVersion":{"minLength":1,"type":"string"},"createdAtLocal":{"minLength":1,"type":"string","description":"ISO 8601 device-clock timestamp."},"sequence":{"type":"integer","format":"int64"},"scan":{"$ref":"#/components/schemas/TCodeBatchScanPayload"},"localChecks":{"$ref":"#/components/schemas/TCodeBatchLocalChecks"}},"additionalProperties":false},"TCodeBatchScanPayload":{"type":"object","properties":{"ref":{"type":"string","nullable":true},"payloadHash":{"type":"string","nullable":true}},"additionalProperties":false},"TCodeBatchScanSyncRequest":{"required":["items"],"type":"object","properties":{"items":{"minItems":1,"type":"array","items":{"$ref":"#/components/schemas/TCodeBatchScanItem"}}},"additionalProperties":false},"TCodeBatchScanSyncResponse":{"type":"object","properties":{"accepted":{"type":"integer","format":"int32"},"rejected":{"type":"integer","format":"int32"},"rejectedEventIds":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"TCodeBatchScanSyncResponseApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TCodeBatchScanSyncResponse"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TCodeBulkJob":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"tdocTemplateId":{"type":"string","format":"uuid","nullable":true},"placementTemplateId":{"type":"string","format":"uuid","nullable":true},"status":{"type":"string","nullable":true},"counts":{"$ref":"#/components/schemas/TCodeBulkJobCounts"},"startedAt":{"type":"string","format":"date-time","nullable":true},"completedAt":{"type":"string","format":"date-time","nullable":true},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"TCodeBulkJobApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TCodeBulkJob"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TCodeBulkJobCounts":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"processed":{"type":"integer","format":"int32"},"succeeded":{"type":"integer","format":"int32"},"failed":{"type":"integer","format":"int32"}},"additionalProperties":false},"TCodeBulkJobDetail":{"type":"object","properties":{"job":{"$ref":"#/components/schemas/TCodeBulkJob"},"rows":{"type":"array","items":{"$ref":"#/components/schemas/TCodeBulkJobRow"},"nullable":true}},"additionalProperties":false},"TCodeBulkJobDetailApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TCodeBulkJobDetail"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TCodeBulkJobPagedData":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/TCodeBulkJob"},"nullable":true},"total":{"type":"integer","format":"int32"},"page":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"totalPages":{"type":"integer","format":"int32"}},"additionalProperties":false,"description":"Paginated data envelope used inside Ananke.IntegrationApi.Models.Common.ApiResponse`1."},"TCodeBulkJobPagedDataApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TCodeBulkJobPagedData"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TCodeBulkJobProgress":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string","nullable":true},"counts":{"$ref":"#/components/schemas/TCodeBulkJobCounts"},"percentComplete":{"type":"integer","format":"int32"},"estimatedCompletionAt":{"type":"string","format":"date-time","nullable":true},"startedAt":{"type":"string","format":"date-time","nullable":true},"completedAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"TCodeBulkJobProgressApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TCodeBulkJobProgress"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TCodeBulkJobRow":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"rowIndex":{"type":"integer","format":"int32"},"fileName":{"type":"string","nullable":true},"recipientName":{"type":"string","nullable":true},"isProcessed":{"type":"boolean"},"isSucceeded":{"type":"boolean"},"errorMessage":{"type":"string","nullable":true},"tcodeIssuanceRecordId":{"type":"string","format":"uuid","nullable":true},"processedAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"TCodeCaption":{"type":"object","properties":{"enabled":{"type":"boolean"},"text":{"type":"string","nullable":true},"fontSize":{"type":"string","nullable":true},"position":{"type":"string","nullable":true}},"additionalProperties":false},"TCodeCaptionRequest":{"type":"object","properties":{"enabled":{"type":"boolean"},"text":{"type":"string","nullable":true},"sizePt":{"type":"number","format":"double"},"position":{"type":"string","nullable":true}},"additionalProperties":false,"description":"Position values: \"Above\" or \"Below\" (relative to the DataMatrix)."},"TCodeDigitalTwinUrl":{"type":"object","properties":{"url":{"type":"string","nullable":true},"expiresIn":{"type":"string","nullable":true}},"additionalProperties":false},"TCodeDigitalTwinUrlApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TCodeDigitalTwinUrl"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TCodeDocumentScanRecord":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid","nullable":true},"reference":{"type":"string","nullable":true},"issuer":{"type":"string","nullable":true},"docType":{"type":"string","nullable":true},"origin":{"type":"string","nullable":true},"verdict":{"type":"string","nullable":true},"lifecycleStatus":{"type":"string","nullable":true},"isSuccess":{"type":"boolean"},"localSignatureStatus":{"type":"string","nullable":true},"wasOnline":{"type":"boolean"},"eventId":{"type":"string","nullable":true},"verifiedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"TCodeDocumentScanRecordPagedData":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/TCodeDocumentScanRecord"},"nullable":true},"total":{"type":"integer","format":"int32"},"page":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"totalPages":{"type":"integer","format":"int32"}},"additionalProperties":false,"description":"Paginated data envelope used inside Ananke.IntegrationApi.Models.Common.ApiResponse`1."},"TCodeDocumentScanRecordPagedDataApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TCodeDocumentScanRecordPagedData"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TCodeDownloadUrl":{"type":"object","properties":{"url":{"type":"string","nullable":true},"fileName":{"type":"string","nullable":true}},"additionalProperties":false},"TCodeDownloadUrlApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TCodeDownloadUrl"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TCodeDuplicateCheckResult":{"type":"object","properties":{"isDuplicate":{"type":"boolean"},"existingReference":{"type":"string","nullable":true}},"additionalProperties":false},"TCodeDuplicateCheckResultApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TCodeDuplicateCheckResult"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TCodeLifecycleActionRequest":{"type":"object","properties":{"reason":{"maxLength":500,"type":"string","nullable":true}},"additionalProperties":false},"TCodeLookupResult":{"type":"object","properties":{"id":{"type":"string","format":"uuid","nullable":true},"reference":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"lifecycleStatus":{"type":"string","nullable":true},"originalHash":{"type":"string","nullable":true},"stampedHash":{"type":"string","nullable":true},"dataMatrixFields":{"type":"object","additionalProperties":{"type":"string","nullable":true},"nullable":true},"fieldLabels":{"type":"object","additionalProperties":{"type":"string","nullable":true},"nullable":true},"issuerName":{"type":"string","nullable":true},"docType":{"type":"string","nullable":true},"expiresAt":{"type":"string","format":"date-time","nullable":true},"proofStatus":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"TCodeLookupResultApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TCodeLookupResult"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TCodePlacementTemplate":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"xNorm":{"type":"number","format":"double"},"yNorm":{"type":"number","format":"double"},"wNorm":{"type":"number","format":"double"},"hNorm":{"type":"number","format":"double"},"anchor":{"type":"string","nullable":true},"pageScope":{"type":"string","nullable":true},"customPages":{"type":"string","nullable":true},"rotation":{"type":"number","format":"double"},"pageSizeMmWidth":{"type":"number","format":"double"},"pageSizeMmHeight":{"type":"number","format":"double"},"safeMargins":{"$ref":"#/components/schemas/TCodeSafeMargins"},"whiteBox":{"$ref":"#/components/schemas/TCodeWhiteBox"},"caption":{"$ref":"#/components/schemas/TCodeCaption"},"scanSafety":{"$ref":"#/components/schemas/TCodeScanSafety"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"TCodePlacementTemplateApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TCodePlacementTemplate"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TCodePlacementTemplateIReadOnlyListApiResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TCodePlacementTemplate"},"nullable":true}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TCodePublicKeyResponse":{"type":"object","properties":{"algorithm":{"type":"string","nullable":true},"keyType":{"type":"string","nullable":true},"curve":{"type":"string","nullable":true},"publicKeyPem":{"type":"string","nullable":true},"usage":{"type":"string","nullable":true},"format":{"type":"string","nullable":true}},"additionalProperties":false},"TCodePublicKeyResponseApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TCodePublicKeyResponse"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TCodeReplaceStampRequest":{"required":["pdfFileBase64"],"type":"object","properties":{"pdfFileBase64":{"minLength":1,"type":"string"},"pdfFileName":{"type":"string","nullable":true},"recipientEmail":{"type":"string","nullable":true}},"additionalProperties":false},"TCodeSafeMargins":{"type":"object","properties":{"topMm":{"type":"number","format":"double"},"rightMm":{"type":"number","format":"double"},"bottomMm":{"type":"number","format":"double"},"leftMm":{"type":"number","format":"double"}},"additionalProperties":false},"TCodeSafeMarginsRequest":{"type":"object","properties":{"topMm":{"type":"number","format":"double"},"rightMm":{"type":"number","format":"double"},"bottomMm":{"type":"number","format":"double"},"leftMm":{"type":"number","format":"double"}},"additionalProperties":false},"TCodeScanHistoryItem":{"type":"object","properties":{"verificationId":{"type":"string","format":"uuid","nullable":true},"reference":{"type":"string","nullable":true},"verdict":{"type":"string","nullable":true},"scannedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"TCodeScanSafety":{"type":"object","properties":{"minMm":{"type":"number","format":"double"},"maxMm":{"type":"number","format":"double"},"defaultMm":{"type":"number","format":"double"}},"additionalProperties":false},"TCodeScanSafetyRequest":{"type":"object","properties":{"minMm":{"type":"number","format":"double"},"maxMm":{"type":"number","format":"double"},"defaultMm":{"type":"number","format":"double"}},"additionalProperties":false},"TCodeStampDetail":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"reference":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"tdocTemplateId":{"type":"string","format":"uuid"},"tdocTemplateName":{"type":"string","nullable":true},"originalHash":{"type":"string","nullable":true},"stampedHash":{"type":"string","nullable":true},"lifecycleStatus":{"type":"string","nullable":true},"dataMatrixFields":{"type":"object","additionalProperties":{"type":"string","nullable":true},"nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"TCodeStampDetailApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TCodeStampDetail"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TCodeStampDuplicateCheckRequest":{"required":["pdfHash"],"type":"object","properties":{"pdfHash":{"minLength":1,"type":"string"}},"additionalProperties":false},"TCodeStampSummary":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"reference":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"tdocTemplateId":{"type":"string","format":"uuid"},"tdocTemplateName":{"type":"string","nullable":true},"lifecycleStatus":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"TCodeStampSummaryPagedData":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/TCodeStampSummary"},"nullable":true},"total":{"type":"integer","format":"int32"},"page":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"totalPages":{"type":"integer","format":"int32"}},"additionalProperties":false,"description":"Paginated data envelope used inside Ananke.IntegrationApi.Models.Common.ApiResponse`1."},"TCodeStampSummaryPagedDataApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TCodeStampSummaryPagedData"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TCodeTdocCsvField":{"type":"object","properties":{"key":{"type":"string","nullable":true},"label":{"type":"string","nullable":true}},"additionalProperties":false},"TCodeTdocCsvFieldsResponse":{"type":"object","properties":{"templateName":{"type":"string","nullable":true},"suggestedDocType":{"type":"string","nullable":true},"fields":{"type":"array","items":{"$ref":"#/components/schemas/TCodeTdocCsvField"},"nullable":true}},"additionalProperties":false},"TCodeTdocCsvFieldsResponseApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TCodeTdocCsvFieldsResponse"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TCodeTdocCustomField":{"type":"object","properties":{"key":{"type":"string","nullable":true},"label":{"type":"string","nullable":true},"source":{"type":"string","nullable":true}},"additionalProperties":false},"TCodeTdocCustomFieldRequest":{"required":["key","label"],"type":"object","properties":{"key":{"minLength":1,"type":"string"},"label":{"minLength":1,"type":"string"},"source":{"type":"string","nullable":true}},"additionalProperties":false},"TCodeTdocTemplate":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"issuanceTemplateId":{"type":"string","format":"uuid","nullable":true},"issuanceTemplateName":{"type":"string","nullable":true},"baseFields":{"type":"array","items":{"type":"string"},"nullable":true},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/TCodeTdocCustomField"},"nullable":true},"suggestedDocType":{"type":"string","nullable":true},"enableEmailSending":{"type":"boolean"},"productMode":{"type":"string","nullable":true},"issuanceCount":{"type":"integer","format":"int32"},"isArchived":{"type":"boolean"},"archivedAt":{"type":"string","format":"date-time","nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"TCodeTdocTemplateApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TCodeTdocTemplate"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TCodeTdocTemplateIReadOnlyListApiResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TCodeTdocTemplate"},"nullable":true}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TCodeVerificationHistoryResponse":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/TCodeScanHistoryItem"},"nullable":true},"total":{"type":"integer","format":"int32"},"page":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"}},"additionalProperties":false},"TCodeVerificationHistoryResponseApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TCodeVerificationHistoryResponse"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TCodeVerificationResult":{"type":"object","properties":{"verdict":{"type":"string","nullable":true},"reference":{"type":"string","nullable":true},"hashMatch":{"type":"boolean"},"signatureValid":{"type":"boolean"},"lifecycleStatus":{"type":"string","nullable":true},"originalHash":{"type":"string","nullable":true},"stampedHash":{"type":"string","nullable":true},"computedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"TCodeVerificationResultApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TCodeVerificationResult"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TCodeVerifyRequest":{"required":["reference"],"type":"object","properties":{"reference":{"minLength":1,"type":"string"}},"additionalProperties":false},"TCodeWhiteBox":{"type":"object","properties":{"enabled":{"type":"boolean"},"paddingMm":{"type":"number","format":"double"}},"additionalProperties":false},"TCodeWhiteBoxRequest":{"type":"object","properties":{"enabled":{"type":"boolean"},"paddingMm":{"type":"number","format":"double"}},"additionalProperties":false},"TenantInfo":{"type":"object","properties":{"tenantReference":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true}},"additionalProperties":false},"TenantInfoIReadOnlyListApiResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TenantInfo"},"nullable":true}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TenantPublicKey":{"type":"object","properties":{"tenantReference":{"type":"string","nullable":true},"keyType":{"type":"string","nullable":true},"publicKeyPem":{"type":"string","nullable":true}},"additionalProperties":false},"TenantPublicKeyApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TenantPublicKey"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TenantPublicKeyIReadOnlyListApiResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TenantPublicKey"},"nullable":true}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TrustBlockchainAnchor":{"type":"object","properties":{"txId":{"type":"string","nullable":true},"network":{"type":"string","nullable":true},"timestamp":{"type":"string","nullable":true}},"additionalProperties":false},"TrustBulkArtifactUrl":{"type":"object","properties":{"url":{"type":"string","nullable":true},"artifactType":{"type":"string","nullable":true},"expiresIn":{"type":"string","nullable":true}},"additionalProperties":false},"TrustBulkArtifactUrlApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TrustBulkArtifactUrl"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TrustBulkJob":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"templateId":{"type":"string","format":"uuid"},"templateName":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"counts":{"$ref":"#/components/schemas/TrustBulkJobCounts"},"issuancePath":{"type":"string","nullable":true},"scheduledFor":{"type":"string","format":"date-time","nullable":true},"startedAt":{"type":"string","format":"date-time","nullable":true},"completedAt":{"type":"string","format":"date-time","nullable":true},"createdAt":{"type":"string","format":"date-time"},"parentJobId":{"type":"string","format":"uuid","nullable":true}},"additionalProperties":false},"TrustBulkJobApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TrustBulkJob"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TrustBulkJobCounts":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"processed":{"type":"integer","format":"int32"},"succeeded":{"type":"integer","format":"int32"},"failed":{"type":"integer","format":"int32"}},"additionalProperties":false},"TrustBulkJobPagedData":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/TrustBulkJob"},"nullable":true},"total":{"type":"integer","format":"int32"},"page":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"totalPages":{"type":"integer","format":"int32"}},"additionalProperties":false,"description":"Paginated data envelope used inside Ananke.IntegrationApi.Models.Common.ApiResponse`1."},"TrustBulkJobPagedDataApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TrustBulkJobPagedData"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TrustBulkJobProgress":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string","nullable":true},"counts":{"$ref":"#/components/schemas/TrustBulkJobCounts"},"percentComplete":{"type":"integer","format":"int32"},"estimatedCompletionAt":{"type":"string","format":"date-time","nullable":true},"startedAt":{"type":"string","format":"date-time","nullable":true},"completedAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"TrustBulkJobProgressApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TrustBulkJobProgress"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TrustBulkJobRow":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"rowIndex":{"type":"integer","format":"int32"},"fileName":{"type":"string","nullable":true},"recipientName":{"type":"string","nullable":true},"recipientEmail":{"type":"string","nullable":true},"isProcessed":{"type":"boolean"},"isSucceeded":{"type":"boolean"},"errorMessage":{"type":"string","nullable":true},"issuanceRecordId":{"type":"string","format":"uuid","nullable":true},"processedAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"TrustBulkJobRowIReadOnlyListApiResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TrustBulkJobRow"},"nullable":true}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TrustCsvField":{"type":"object","properties":{"key":{"type":"string","nullable":true},"label":{"type":"string","nullable":true},"required":{"type":"boolean"}},"additionalProperties":false},"TrustCsvFieldsResponse":{"type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/TrustCsvField"},"nullable":true}},"additionalProperties":false},"TrustCsvFieldsResponseApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TrustCsvFieldsResponse"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TrustDownloadUrl":{"type":"object","properties":{"url":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"expiresIn":{"type":"string","nullable":true}},"additionalProperties":false},"TrustDownloadUrlApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TrustDownloadUrl"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TrustDuplicateCheckRequest":{"required":["pdfHash"],"type":"object","properties":{"pdfHash":{"minLength":1,"type":"string","description":"SHA-256 hex digest of the PDF to check for duplicates."}},"additionalProperties":false},"TrustDuplicateCheckResult":{"type":"object","properties":{"isDuplicate":{"type":"boolean"},"existingRecordId":{"type":"string","format":"uuid","nullable":true}},"additionalProperties":false},"TrustDuplicateCheckResultApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TrustDuplicateCheckResult"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TrustFieldValidations":{"type":"object","properties":{"minLength":{"type":"integer","format":"int32","nullable":true},"maxLength":{"type":"integer","format":"int32","nullable":true},"pattern":{"type":"string","nullable":true},"allowedValues":{"type":"string","nullable":true}},"additionalProperties":false},"TrustIssuanceDetail":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"reference":{"type":"string","nullable":true},"holderName":{"type":"string","nullable":true},"holderEmail":{"type":"string","nullable":true},"templateId":{"type":"string","format":"uuid","nullable":true},"templateName":{"type":"string","nullable":true},"docType":{"type":"string","nullable":true},"modeType":{"type":"string","nullable":true},"fields":{"type":"array","items":{"$ref":"#/components/schemas/TrustIssuanceField"},"nullable":true},"lifecycleStatus":{"type":"string","nullable":true},"statusChangedReason":{"type":"string","nullable":true},"proofStatus":{"type":"string","nullable":true},"anchorTxId":{"type":"string","nullable":true},"verificationLink":{"type":"string","nullable":true},"issuedAt":{"type":"string","format":"date-time"},"scheduledFor":{"type":"string","format":"date-time","nullable":true},"expiresAt":{"type":"string","format":"date-time","nullable":true},"replacesRecordId":{"type":"string","format":"uuid","nullable":true},"replacedByRecordId":{"type":"string","format":"uuid","nullable":true},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"TrustIssuanceDetailApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TrustIssuanceDetail"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TrustIssuanceField":{"type":"object","properties":{"key":{"type":"string","nullable":true},"value":{"type":"string","nullable":true}},"additionalProperties":false},"TrustIssuanceSummary":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"reference":{"type":"string","nullable":true},"holderName":{"type":"string","nullable":true},"holderEmail":{"type":"string","nullable":true},"templateId":{"type":"string","format":"uuid","nullable":true},"templateName":{"type":"string","nullable":true},"docType":{"type":"string","nullable":true},"lifecycleStatus":{"type":"string","nullable":true},"proofStatus":{"type":"string","nullable":true},"issuedAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time","nullable":true},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"TrustIssuanceSummaryPagedData":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/TrustIssuanceSummary"},"nullable":true},"total":{"type":"integer","format":"int32"},"page":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"totalPages":{"type":"integer","format":"int32"}},"additionalProperties":false,"description":"Paginated data envelope used inside Ananke.IntegrationApi.Models.Common.ApiResponse`1."},"TrustIssuanceSummaryPagedDataApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TrustIssuanceSummaryPagedData"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TrustLifecycleRequest":{"required":["status"],"type":"object","properties":{"status":{"minLength":1,"type":"string"},"reason":{"type":"string","nullable":true}},"additionalProperties":false},"TrustReplacePdfRequest":{"required":["document","reason"],"type":"object","properties":{"document":{"$ref":"#/components/schemas/CreateTrustIssuanceRequest"},"reason":{"maxLength":500,"minLength":1,"type":"string","description":"Reason for the replacement."}},"additionalProperties":false},"TrustReplaceRequest":{"required":["fields"],"type":"object","properties":{"fields":{"minItems":1,"type":"array","items":{"$ref":"#/components/schemas/TrustIssuanceField"}},"reason":{"type":"string","nullable":true}},"additionalProperties":false},"TrustResendRequest":{"required":["email"],"type":"object","properties":{"email":{"maxLength":320,"minLength":1,"type":"string","format":"email"}},"additionalProperties":false},"TrustTemplate":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","nullable":true},"docType":{"type":"string","nullable":true},"languages":{"type":"array","items":{"type":"string"},"nullable":true},"tcodeEnabled":{"type":"boolean"},"tdocTemplateId":{"type":"string","format":"uuid","nullable":true},"defaultPlacementTemplateId":{"type":"string","format":"uuid","nullable":true},"schema":{"type":"array","items":{"$ref":"#/components/schemas/TrustTemplateField"},"nullable":true},"isActive":{"type":"boolean"},"isArchived":{"type":"boolean"},"archiveReason":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"TrustTemplateApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TrustTemplate"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TrustTemplateField":{"type":"object","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"required":{"type":"boolean"},"isSystem":{"type":"boolean"},"isVerifiable":{"type":"boolean"},"isSensitive":{"type":"boolean"},"visibility":{"type":"string","nullable":true},"validations":{"$ref":"#/components/schemas/TrustFieldValidations"}},"additionalProperties":false},"TrustTemplatePagedData":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/TrustTemplate"},"nullable":true},"total":{"type":"integer","format":"int32"},"page":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"totalPages":{"type":"integer","format":"int32"}},"additionalProperties":false,"description":"Paginated data envelope used inside Ananke.IntegrationApi.Models.Common.ApiResponse`1."},"TrustTemplatePagedDataApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TrustTemplatePagedData"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TrustVerificationHistoryItem":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"reference":{"type":"string","nullable":true},"docType":{"type":"string","nullable":true},"verdict":{"type":"string","nullable":true},"lifecycleStatus":{"type":"string","nullable":true},"isSuccess":{"type":"boolean"},"verifiedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"TrustVerificationHistoryItemPagedData":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/TrustVerificationHistoryItem"},"nullable":true},"total":{"type":"integer","format":"int32"},"page":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"totalPages":{"type":"integer","format":"int32"}},"additionalProperties":false,"description":"Paginated data envelope used inside Ananke.IntegrationApi.Models.Common.ApiResponse`1."},"TrustVerificationHistoryItemPagedDataApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TrustVerificationHistoryItemPagedData"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TrustVerificationIssuer":{"type":"object","properties":{"name":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"reference":{"type":"string","nullable":true}},"additionalProperties":false},"TrustVerificationPrimitive":{"type":"object","properties":{"name":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"detail":{"type":"string","nullable":true}},"additionalProperties":false},"TrustVerificationResult":{"type":"object","properties":{"verdict":{"type":"string","nullable":true},"reference":{"type":"string","nullable":true},"docType":{"type":"string","nullable":true},"lifecycleStatus":{"type":"string","nullable":true},"issuer":{"$ref":"#/components/schemas/TrustVerificationIssuer"},"fields":{"type":"object","additionalProperties":{"type":"string"},"nullable":true},"fieldsDisplayed":{"type":"array","items":{"type":"string"},"nullable":true},"primitives":{"type":"array","items":{"$ref":"#/components/schemas/TrustVerificationPrimitive"},"nullable":true},"blockchainAnchor":{"$ref":"#/components/schemas/TrustBlockchainAnchor"},"issuedAt":{"type":"string","format":"date-time","nullable":true},"expiresAt":{"type":"string","format":"date-time","nullable":true},"computedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"TrustVerificationResultApiResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TrustVerificationResult"}},"additionalProperties":false,"description":"Envelope for all Integration API single-resource responses."},"TrustVerifyByHashRequest":{"required":["hash"],"type":"object","properties":{"hash":{"minLength":1,"type":"string"}},"additionalProperties":false},"TrustVerifyByReferenceRequest":{"required":["reference"],"type":"object","properties":{"reference":{"minLength":1,"type":"string"}},"additionalProperties":false},"UpdateTCodePlacementTemplateRequest":{"required":["name"],"type":"object","properties":{"name":{"maxLength":200,"minLength":1,"type":"string"},"description":{"maxLength":500,"type":"string","nullable":true},"xNorm":{"type":"number","format":"double"},"yNorm":{"type":"number","format":"double"},"wNorm":{"type":"number","format":"double"},"hNorm":{"type":"number","format":"double"},"anchor":{"type":"string","nullable":true},"pageScope":{"type":"string","nullable":true},"customPages":{"type":"string","nullable":true},"rotation":{"type":"number","format":"double"},"pageSizeMmWidth":{"type":"number","format":"double"},"pageSizeMmHeight":{"type":"number","format":"double"},"safeMargins":{"$ref":"#/components/schemas/TCodeSafeMarginsRequest"},"whiteBox":{"$ref":"#/components/schemas/TCodeWhiteBoxRequest"},"caption":{"$ref":"#/components/schemas/TCodeCaptionRequest"},"scanSafety":{"$ref":"#/components/schemas/TCodeScanSafetyRequest"}},"additionalProperties":false},"UpdateTCodeTdocTemplateRequest":{"required":["name"],"type":"object","properties":{"name":{"maxLength":200,"minLength":1,"type":"string"},"description":{"maxLength":1000,"type":"string","nullable":true},"issuanceTemplateId":{"type":"string","format":"uuid","nullable":true},"issuanceTemplateName":{"type":"string","nullable":true},"baseFields":{"type":"array","items":{"type":"string"},"nullable":true},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/TCodeTdocCustomFieldRequest"},"nullable":true},"suggestedDocType":{"type":"string","nullable":true},"enableEmailSending":{"type":"boolean"},"productMode":{"type":"string","nullable":true}},"additionalProperties":false},"UpdateTrustTemplateRequest":{"required":["docType","name"],"type":"object","properties":{"name":{"maxLength":200,"minLength":1,"type":"string"},"docType":{"maxLength":100,"minLength":1,"type":"string"},"languages":{"type":"array","items":{"type":"string"},"nullable":true},"tcodeEnabled":{"type":"boolean"},"tdocTemplateId":{"type":"string","format":"uuid","nullable":true},"defaultPlacementTemplateId":{"type":"string","format":"uuid","nullable":true},"schema":{"type":"array","items":{"$ref":"#/components/schemas/CreateTrustTemplateFieldRequest"},"nullable":true}},"additionalProperties":false}},"securitySchemes":{"ApiKey":{"type":"apiKey","description":"API Key header. Example: 'x-api-key: key'","name":"x-api-key","in":"header"}}},"security":[{"ApiKey":[]}],"tags":[{"name":"ReferenceData","description":"Public reference data endpoints for document verification workflows.\r\nReturns tenant registries, document types, and signing public keys needed\r\nby SDK consumers to parse and verify TCode payloads."}]}