{"openapi":"3.0.1","info":{"title":"Ananke Integration API - Ananke Trust","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/trust/bulk-jobs":{"post":{"tags":["TrustBulkJobs"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTrustBulkJobRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/CreateTrustBulkJobRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CreateTrustBulkJobRequest"}}}},"responses":{"201":{"description":"Created","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TrustBulkJobApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustBulkJobApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustBulkJobApiResponse"}}}}}},"get":{"tags":["TrustBulkJobs"],"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/TrustBulkJobPagedDataApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustBulkJobPagedDataApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustBulkJobPagedDataApiResponse"}}}}}}},"/v1/trust/bulk-jobs/{jobId}":{"get":{"tags":["TrustBulkJobs"],"parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TrustBulkJobApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustBulkJobApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustBulkJobApiResponse"}}}}}}},"/v1/trust/bulk-jobs/{jobId}/progress":{"get":{"tags":["TrustBulkJobs"],"parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TrustBulkJobProgressApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustBulkJobProgressApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustBulkJobProgressApiResponse"}}}}}}},"/v1/trust/bulk-jobs/{jobId}/rows":{"get":{"tags":["TrustBulkJobs"],"parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TrustBulkJobRowIReadOnlyListApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustBulkJobRowIReadOnlyListApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustBulkJobRowIReadOnlyListApiResponse"}}}}}}},"/v1/trust/bulk-jobs/{jobId}/artifacts/{artifactType}":{"get":{"tags":["TrustBulkJobs"],"parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"artifactType","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TrustBulkArtifactUrlApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustBulkArtifactUrlApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustBulkArtifactUrlApiResponse"}}}}}}},"/v1/trust/bulk-jobs/{jobId}/retry":{"post":{"tags":["TrustBulkJobs"],"parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TrustBulkJobApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustBulkJobApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustBulkJobApiResponse"}}}}}}},"/v1/trust/bulk-jobs/{jobId}/cancel":{"post":{"tags":["TrustBulkJobs"],"parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"No Content"}}}},"/v1/trust/documents/search-by-field":{"get":{"tags":["TrustDocuments"],"parameters":[{"name":"FieldName","in":"query","required":true,"schema":{"minLength":1,"type":"string"}},{"name":"FieldValue","in":"query","required":true,"schema":{"minLength":1,"type":"string"}},{"name":"TemplateId","in":"query","schema":{"type":"string","format":"uuid"}},{"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/TrustIssuanceSummaryPagedDataApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustIssuanceSummaryPagedDataApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustIssuanceSummaryPagedDataApiResponse"}}}}}}},"/v1/trust/issuances":{"post":{"tags":["TrustIssuance"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTrustIssuanceRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/CreateTrustIssuanceRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CreateTrustIssuanceRequest"}}}},"responses":{"201":{"description":"Created","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TrustIssuanceDetailApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustIssuanceDetailApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustIssuanceDetailApiResponse"}}}}}},"get":{"tags":["TrustIssuance"],"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/TrustIssuanceSummaryPagedDataApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustIssuanceSummaryPagedDataApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustIssuanceSummaryPagedDataApiResponse"}}}}}}},"/v1/trust/issuances/{id}":{"get":{"tags":["TrustIssuance"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TrustIssuanceDetailApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustIssuanceDetailApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustIssuanceDetailApiResponse"}}}}}}},"/v1/trust/issuances/{id}/download":{"get":{"tags":["TrustIssuance"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"type","in":"query","schema":{"type":"string","default":"signed"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TrustDownloadUrlApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustDownloadUrlApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustDownloadUrlApiResponse"}}}}}}},"/v1/trust/issuances/{id}/lifecycle":{"post":{"tags":["TrustIssuance"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrustLifecycleRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustLifecycleRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/TrustLifecycleRequest"}}}},"responses":{"204":{"description":"No Content"}}}},"/v1/trust/issuances/{id}/replace":{"post":{"tags":["TrustIssuance"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrustReplaceRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustReplaceRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/TrustReplaceRequest"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TrustIssuanceDetailApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustIssuanceDetailApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustIssuanceDetailApiResponse"}}}}}}},"/v1/trust/issuances/{id}/resend":{"post":{"tags":["TrustIssuance"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrustResendRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustResendRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/TrustResendRequest"}}}},"responses":{"204":{"description":"No Content"}}}},"/v1/trust/issuances/duplicate-check":{"post":{"tags":["TrustIssuance"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrustDuplicateCheckRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustDuplicateCheckRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/TrustDuplicateCheckRequest"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TrustDuplicateCheckResultApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustDuplicateCheckResultApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustDuplicateCheckResultApiResponse"}}}}}}},"/v1/trust/issuances/{id}/replace-pdf":{"post":{"tags":["TrustIssuance"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrustReplacePdfRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustReplacePdfRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/TrustReplacePdfRequest"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TrustIssuanceDetailApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustIssuanceDetailApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustIssuanceDetailApiResponse"}}}}}}},"/v1/trust/templates":{"get":{"tags":["TrustTemplates"],"parameters":[{"name":"Page","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"PageSize","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"includeArchived","in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TrustTemplatePagedDataApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustTemplatePagedDataApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustTemplatePagedDataApiResponse"}}}}}},"post":{"tags":["TrustTemplates"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTrustTemplateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/CreateTrustTemplateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CreateTrustTemplateRequest"}}}},"responses":{"201":{"description":"Created","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TrustTemplateApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustTemplateApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustTemplateApiResponse"}}}}}}},"/v1/trust/templates/{id}":{"get":{"tags":["TrustTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TrustTemplateApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustTemplateApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustTemplateApiResponse"}}}}}},"put":{"tags":["TrustTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTrustTemplateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/UpdateTrustTemplateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/UpdateTrustTemplateRequest"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TrustTemplateApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustTemplateApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustTemplateApiResponse"}}}}}},"delete":{"tags":["TrustTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"No Content"}}}},"/v1/trust/templates/{id}/archive":{"post":{"tags":["TrustTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchiveTrustTemplateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/ArchiveTrustTemplateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ArchiveTrustTemplateRequest"}}}},"responses":{"204":{"description":"No Content"}}}},"/v1/trust/templates/{id}/unarchive":{"post":{"tags":["TrustTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"No Content"}}}},"/v1/trust/templates/{id}/duplicate":{"post":{"tags":["TrustTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TrustTemplateApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustTemplateApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustTemplateApiResponse"}}}}}}},"/v1/trust/templates/{id}/csv-fields":{"get":{"tags":["TrustTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TrustCsvFieldsResponseApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustCsvFieldsResponseApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustCsvFieldsResponseApiResponse"}}}}}}},"/v1/trust/templates/{id}/placement":{"put":{"tags":["TrustTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetTrustTemplatePlacementRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/SetTrustTemplatePlacementRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/SetTrustTemplatePlacementRequest"}}}},"responses":{"204":{"description":"No Content"}}}},"/v1/trust/verify/by-hash":{"post":{"tags":["TrustVerify"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrustVerifyByHashRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustVerifyByHashRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/TrustVerifyByHashRequest"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TrustVerificationResultApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustVerificationResultApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustVerificationResultApiResponse"}}}}}}},"/v1/trust/verify/by-reference":{"post":{"tags":["TrustVerify"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrustVerifyByReferenceRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustVerifyByReferenceRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/TrustVerifyByReferenceRequest"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TrustVerificationResultApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustVerificationResultApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustVerificationResultApiResponse"}}}}}}},"/v1/trust/verify/history":{"get":{"tags":["TrustVerify"],"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/TrustVerificationHistoryItemPagedDataApiResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TrustVerificationHistoryItemPagedDataApiResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TrustVerificationHistoryItemPagedDataApiResponse"}}}}}}}},"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."}]}