Wraps elide's Report [blocked] with the things elide does not model:
the recognition [DocumentContext] the entities were scored
against, how the document decoded, and what the pass cost.
Reviewer edits are not here. They are the caller's own input,
applied to the report before anonymize
(EditSet::apply [blocked]), so an audit
carries what analysis found as amended rather than the
amendments themselves.
Serialization
[Serialize] but deliberately notDeserialize: a
serialized report tags entity groups by modality name, so
rebuilding one needs the registry Engine [blocked] holds. Read an
audit back with Engine::deserialize_audit [blocked].
Schema
Generate under the serialize contract
(SchemaSettings::for_serialize [blocked]). usage is
skip_serializing_if, and only that contract marks it optional
— schema_for! defaults to deserialize and declares it
required, so a generated client would reject responses this
crate really emits.
What detection found in one document.
Wraps elide's Report [blocked] with the things elide does not model:
the recognition [DocumentContext] the entities were scored
against, how the document decoded, and what the pass cost.
Reviewer edits are not here. They are the caller's own input,
applied to the report before anonymize
(EditSet::apply [blocked]), so an audit
carries what analysis found as amended rather than the
amendments themselves.
Serialization
[Serialize] but deliberately notDeserialize: a
serialized report tags entity groups by modality name, so
rebuilding one needs the registry Engine [blocked] holds. Read an
audit back with Engine::deserialize_audit [blocked].
Schema
Generate under the serialize contract
(SchemaSettings::for_serialize [blocked]). usage is
skip_serializing_if, and only that contract marks it optional
— schema_for! defaults to deserialize and declares it
required, so a generated client would reject responses this
crate really emits.
codec
object
required
How this document was decoded when it was analyzed.
Carried back so anonymize decodes identically: the entity
offsets below are stored against the first decode, and a
differently-rendered second one would not line up.
Show child attributes
context
object
required
What the caller asserted when this document was analyzed:
languages, jurisdictions, document tags.
Carried back so Engine::anonymize [blocked] compiles against the
same vocabulary analyze used, and re-decodes under the same
codec configuration, without the caller re-passing it.
Show child attributes
report
object
required
The detections: elide's own report, every document and the
parts nested in one, each entity carrying its provenance
chain.
Edit it through Report [blocked]'s own API — include_part [blocked],
suppress_part [blocked], part_entities [blocked] — for the decisions
elide models.
Show child attributes
usage
object
required
What the analyze pass cost: one entry per recognizer and
enricher that ran, each self-identifying by the name the
deployment configured it under.
Carried here rather than read off the report: elide derives
usage during analysis and drops it when a report is rebuilt
from the wire, so a host that bills on model spend would
lose it on the round trip.
Show child attributes
recognition
object[]
The vocabularies this request introduced: labels elide does
not ship, and how they were found.
Carried back for the same reason context [blocked] is. Anonymize
compiles its catalog afresh, and a custom label missing
from it resolves to nothing — the entity would be detected
and then silently not redacted.
{"docsConfig":{"theme":"sequoia","$schema":"https://mintlify.com/docs.json","name":"Nvisy","colors":{"primary":"#2563EB","light":"#3B82F6","dark":"#1E40AF"},"logo":{"light":"https://mintcdn.com/nvisy/trMnUxfQM4A_0hGY/logo/light.svg?fit=max\u0026auto=format\u0026n=trMnUxfQM4A_0hGY\u0026q=85\u0026s=008fe1231bfed0deb54a41c379732720","dark":"https://mintcdn.com/nvisy/trMnUxfQM4A_0hGY/logo/dark.svg?fit=max\u0026auto=format\u0026n=trMnUxfQM4A_0hGY\u0026q=85\u0026s=14a42141c441fd0af55ced0763f19745"},"favicon":"https://mintcdn.com/nvisy/trMnUxfQM4A_0hGY/favicon.svg?fit=max\u0026auto=format\u0026n=trMnUxfQM4A_0hGY\u0026q=85\u0026s=0b2299a7636224931a8f9a2b6c780a0e","navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Get Started","href":"https://nvisy.com"}},"footer":{"socials":{"github":"https://github.com/nvisycom","linkedin":"https://linkedin.com/company/nvisy","website":"https://nvisy.com"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/nvisycom"},{"anchor":"Website","icon":"globe","href":"https://nvisy.com"},{"anchor":"Community","icon":"slack","href":"https://github.com/nvisycom"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nvisy","hasAudioNarration":false,"actualSubdomain":"nvisy","customDomains":["docs.nvisy.com"],"gitSource":{"type":"github","owner":"nvisycom","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"edits":true},"entitlements":{},"buildId":"6aac56585f8b0a1051e75266","clientVersion":"0.0.4227","searchFilterCounts":[{"language":"default","tag":"API Reference","count":136},{"language":"default","tag":"Endpoints","count":134},{"language":"default","tag":"Reviews","count":17},{"language":"default","tag":"Docs","count":13},{"language":"default","tag":"Detections","count":10},{"language":"default","tag":"SDKs \u0026 Libraries","count":9},{"language":"default","tag":"Workspaces","count":9},{"language":"default","tag":"Connections","count":8},{"language":"default","tag":"Connection Syncs","count":7},{"language":"default","tag":"Documents","count":7}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/detections/get-detection-findings","slug":"/api-reference/detections/get-detection-findings","pageMetadata":{"title":"Get detection findings","description":"Returns the detection's detected findings (the analyzed document) for review.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/detections/{detectionId}/analysis","href":"/api-reference/detections/get-detection-findings","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Returns the detection’s detected findings (the analyzed document) for review.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get detection findings","description":"Returns the detection's detected findings (the analyzed document) for review.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/detections/{detectionId}/analysis","href":"/api-reference/detections/get-detection-findings","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Detections"],"summary":"Get detection findings","description":"Returns the detection's detected findings (the analyzed document) for review.","parameters":["a858b152-5f04-42f7-bcc9-619378aff96a","7ba32698-6bf4-4e59-adf1-01f0f3a76d45"],"responses":{"200":"15936873-7668-48e0-ad4c-d0bc98199e82","401":"d4b67423-714b-4f98-ac18-64b91a0a8e82","403":"4f1486f0-0a26-446f-81b9-d93ca2445ebc","404":"0f82737e-71e0-4dbc-90a2-6a5e198c2b0b","409":"b9b32719-054b-412e-8cb0-886d7a19b7c5"},"security":["49d953a6-8ddf-4e84-9a78-61c8d26f244a"],"method":"get","type":"path","servers":[],"path":"/workspaces/{workspaceId}/detections/{detectionId}/analysis","baseUrlOptions":[],"title":"Get detection findings","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"a858b152-5f04-42f7-bcc9-619378aff96a":{"in":"path","name":"workspaceId","description":"Workspace identifier.","required":true,"schema":{"description":"Workspace identifier.","type":"string","format":"uuid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"},"style":"simple"},"7ba32698-6bf4-4e59-adf1-01f0f3a76d45":{"in":"path","name":"detectionId","description":"Opaque identifier of the detection.","required":true,"schema":{"description":"Opaque identifier of the detection.","type":"string","pattern":"^detection_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","isRequired":true,"uniqueKey":"","typeLabel":"string"},"style":"simple"}},"responses":{"15936873-7668-48e0-ad4c-d0bc98199e82":{"description":"What detection found in one document.\n\nWraps elide's [`Report`] with the things elide does not model:\nthe recognition [`DocumentContext`] the entities were scored\nagainst, how the document decoded, and what the pass cost.\n\nReviewer edits are not here. They are the caller's own input,\napplied to the report before anonymize\n([`EditSet::apply`](crate::entity::EditSet::apply)), so an audit\ncarries what analysis found *as amended* rather than the\namendments themselves.\n\n# Serialization\n\n[`Serialize`] but deliberately **not** `Deserialize`: a\nserialized report tags entity groups by modality *name*, so\nrebuilding one needs the registry [`Engine`] holds. Read an\naudit back with [`Engine::deserialize_audit`].\n\n# Schema\n\nGenerate under the **serialize** contract\n([`SchemaSettings::for_serialize`]). `usage` is\n`skip_serializing_if`, and only that contract marks it optional\n— `schema_for!` defaults to deserialize and declares it\nrequired, so a generated client would reject responses this\ncrate really emits.\n\n[`Engine`]: super::Engine\n[`Engine::deserialize_audit`]: super::Engine::deserialize_audit\n[`Report`]: elide::Report\n[`SchemaSettings::for_serialize`]: schemars::generate::SchemaSettings::for_serialize","content":{"application/json":{"schema":{"description":"What detection found in one document.\n\nWraps elide's [`Report`] with the things elide does not model:\nthe recognition [`DocumentContext`] the entities were scored\nagainst, how the document decoded, and what the pass cost.\n\nReviewer edits are not here. They are the caller's own input,\napplied to the report before anonymize\n([`EditSet::apply`](crate::entity::EditSet::apply)), so an audit\ncarries what analysis found *as amended* rather than the\namendments themselves.\n\n# Serialization\n\n[`Serialize`] but deliberately **not** `Deserialize`: a\nserialized report tags entity groups by modality *name*, so\nrebuilding one needs the registry [`Engine`] holds. Read an\naudit back with [`Engine::deserialize_audit`].\n\n# Schema\n\nGenerate under the **serialize** contract\n([`SchemaSettings::for_serialize`]). `usage` is\n`skip_serializing_if`, and only that contract marks it optional\n— `schema_for!` defaults to deserialize and declares it\nrequired, so a generated client would reject responses this\ncrate really emits.\n\n[`Engine`]: super::Engine\n[`Engine::deserialize_audit`]: super::Engine::deserialize_audit\n[`Report`]: elide::Report\n[`SchemaSettings::for_serialize`]: schemars::generate::SchemaSettings::for_serialize","type":"object","properties":{"codec":{"type":"object","description":"How this document was decoded when it was analyzed.\n\nCarried back so anonymize decodes identically: the entity\noffsets below are stored against the first decode, and a\ndifferently-rendered second one would not line up.","properties":{"rasterMode":{"oneOf":[{"type":"object","description":"How container formats carrying both a text layer and page\nimages treat OCR.\n\nDefaults to [`RasterMode::Auto`], the codec's own behaviour.","default":{"kind":"auto"},"required":["kind"],"properties":{"kind":{"type":"string","const":"auto","isRequired":true,"uniqueKey":"codec.rasterMode.oneOf.0.kind","typeLabel":"string"}},"uniqueKey":"codec.rasterMode.oneOf.0","typeLabel":"object"},{"type":"object","description":"How container formats carrying both a text layer and page\nimages treat OCR.\n\nDefaults to [`RasterMode::Auto`], the codec's own behaviour.","default":{"kind":"auto"},"required":["kind","dpi"],"properties":{"dpi":{"type":"integer","description":"Resolution to render pages at; [`Dpi::OCR`] (300) is typical.","format":"uint16","maximum":65535,"minimum":0,"isRequired":true,"uniqueKey":"codec.rasterMode.oneOf.1.dpi","typeLabel":"integer\u003cuint16>"},"kind":{"type":"string","const":"always","isRequired":true,"uniqueKey":"codec.rasterMode.oneOf.1.kind","typeLabel":"string"}},"uniqueKey":"codec.rasterMode.oneOf.1","typeLabel":"object"},{"type":"object","description":"How container formats carrying both a text layer and page\nimages treat OCR.\n\nDefaults to [`RasterMode::Auto`], the codec's own behaviour.","default":{"kind":"auto"},"required":["kind"],"properties":{"kind":{"type":"string","const":"never","isRequired":true,"uniqueKey":"codec.rasterMode.oneOf.2.kind","typeLabel":"string"}},"uniqueKey":"codec.rasterMode.oneOf.2","typeLabel":"object"}],"uniqueKey":"codec.rasterMode","typeLabel":"object"}},"isRequired":true,"uniqueKey":"codec","typeLabel":"object"},"context":{"type":"object","description":"What the caller asserted when this document was analyzed:\nlanguages, jurisdictions, document tags.\n\nCarried back so [`Engine::anonymize`] compiles against the\nsame vocabulary analyze used, and re-decodes under the same\ncodec configuration, without the caller re-passing it.\n\n[`Engine::anonymize`]: super::Engine::anonymize","properties":{"countries":{"description":"Jurisdictions the caller asserts apply.\n\nRead by policy predicates that vary by jurisdiction, so a\nrule can act on a document from one country and not another.","type":"array","items":{"description":"[ISO 3166-1] country, identified by its code.\n\nWraps [`celes::Country`], a static table entry carrying the numeric,\nalpha-2, and alpha-3 codes together with the country's name. Because\nevery value comes from that fixed table, a `CountryCode` is always a\nreal, recognised country; there is no way to hold an invalid one.\n\nUsed to scope region-sensitive recognizers (a phone-number or\nnational-id pattern, say) to the country whose format they target.\n\nSerializes as its alpha-2 code (e.g. `\"US\"`).\n\n[ISO 3166-1]: https://www.iso.org/iso-3166-country-codes.html","type":"string","uniqueKey":"context.countries.items.[INDEX]","typeLabel":"string"},"uniqueKey":"context.countries","typeLabel":"string[]"},"languages":{"type":"array","items":{"description":"Single language detection result.\n\nCarries the language plus an optional confidence and an optional\nbyte-offset [`LanguageSpan`]. Backends that don't expose confidence\nleave it `None`; single-language detectors that don't track per-region\ninformation leave `span` as `None`. The `provenance` field records\nwhether the answer came from a detector or was asserted by the caller.","type":"object","properties":{"language":{"type":"string","description":"Language.","isRequired":true,"uniqueKey":"context.languages.items.[INDEX].language","typeLabel":"string"},"provenance":{"oneOf":[{"type":"string","description":"How this language was obtained: detected or caller-asserted.","const":"detected","isRequired":true,"uniqueKey":"context.languages.items.[INDEX].provenance.oneOf.0","typeLabel":"string"},{"type":"string","description":"How this language was obtained: detected or caller-asserted.","const":"asserted","isRequired":true,"uniqueKey":"context.languages.items.[INDEX].provenance.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"context.languages.items.[INDEX].provenance","typeLabel":"string"},"confidence":{"description":"Optional confidence score. `None` when not exposed.","type":"number","format":"float","uniqueKey":"context.languages.items.[INDEX].confidence","typeLabel":"number\u003cfloat>"},"span":{"description":"Byte-offset range this detection applies to, when known. `None`\nmeans the whole text.","type":"object","properties":{"end":{"description":"Byte offset of the span end in the original text.","type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"context.languages.items.[INDEX].span.end","typeLabel":"integer\u003cuint>"},"start":{"description":"Byte offset of the span start in the original text.","type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"context.languages.items.[INDEX].span.start","typeLabel":"integer\u003cuint>"}},"required":["start","end"],"uniqueKey":"context.languages.items.[INDEX].span","typeLabel":"object"}},"required":["language","provenance"],"uniqueKey":"context.languages.items.[INDEX]","typeLabel":"object"},"description":"Languages the caller asserts the document is in.\n\nRecognizers that take a language hint use it; the\nlanguage-detection enricher fills the gap when this is\nempty.","default":[],"uniqueKey":"context.languages","typeLabel":"object[]"},"metadata":{"type":"object","description":"Free-form request context: document tags, request purpose,\noutput audience. See elide's [`ScopeMetadata`].","properties":{"audience":{"description":"Who the redacted output is for (e.g. `\"support_agent\"`, `\"auditor\"`).\nThe axis a per-audience redaction branches on: one detected document,\nselected differently per audience. May hold several.","type":"array","default":[],"items":{"type":"string","uniqueKey":"context.metadata.audience.items.[INDEX]","typeLabel":"string"},"uniqueKey":"context.metadata.audience","typeLabel":"string[]"},"purpose":{"description":"The caller-asserted business purpose driving this request (e.g.\n`\"fraud_detection\"`, `\"gdpr_erasure_request\"`). A scope-aware operator\npredicate may skip or swap a rule based on it; a recognizer may bias\ndetection on it. `None` when the caller asserts no purpose.","type":"string","uniqueKey":"context.metadata.purpose","typeLabel":"string"},"tags":{"description":"Document-level classification tags (e.g. `\"medical\"`,\n`\"gdpr-request\"`). Recognizers may use these to bias their behavior\nfor domain-specific terms; those that don't ignore the field.\n\nNamed `tags`, not `labels`, to keep \"label\" reserved for the entity\ntaxonomy ([`LabelRef`]/[`LabelCatalog`]): these classify the\n*document*, whereas the scope's catalog names the entity *types* to\nemit.\n\n[`LabelRef`]: crate::entity::LabelRef\n[`LabelCatalog`]: crate::entity::LabelCatalog","type":"array","default":[],"items":{"type":"string","uniqueKey":"context.metadata.tags.items.[INDEX]","typeLabel":"string"},"uniqueKey":"context.metadata.tags","typeLabel":"string[]"}},"uniqueKey":"context.metadata","typeLabel":"object"}},"isRequired":true,"uniqueKey":"context","typeLabel":"object"},"report":{"type":"object","description":"The detections: elide's own report, every document and the\nparts nested in one, each entity carrying its provenance\nchain.\n\nEdit it through [`Report`]'s own API — [`include_part`],\n[`suppress_part`], [`part_entities`] — for the decisions\nelide models.\n\n[`Report`]: elide::Report\n[`include_part`]: elide::Report::include_part\n[`suppress_part`]: elide::Report::suppress_part\n[`part_entities`]: elide::Report::part_entities","required":["parts"],"properties":{"parts":{"type":"array","items":{"oneOf":[{"type":"object","required":["id","modality","entities"],"properties":{"entities":{"type":"array","items":{"description":"Detected piece of sensitive information within some medium.\n\nGeneric over the [`Modality`] `M`, which is what makes the model\nmultimodal: a text pipeline yields `Entity\u003cText>`, an audio pipeline\n`Entity\u003cAudio>`, and so on. The entity's location is the modality's\n[`Location`] type, `M::Location`.\n\n# Birth and fusion\n\nA recognizer emits an entity directly, carrying a single recognition\n[`AuditEvent`] (its own finding) in the entity's [`audit`] trail. When\nseveral recognizers find the same thing, a fusion step (in\n`elide`) combines their entities into one: the survivor's\n[`location`] and [`confidence`] are the *fused* values, and every\ncontributing recognition event, plus a deduplication event, is\nretained in its audit trail. The entity therefore carries its full\naudit trail with it.\n\n[`Location`]: Modality::Location\n[`AuditEvent`]: crate::entity::audit::AuditEvent\n[`audit`]: Entity::audit\n[`location`]: Entity::location\n[`confidence`]: Entity::confidence","type":"object","properties":{"audit":{"type":"array","items":{"description":"One node in an entity's audit DAG: a thing that happened, with its\neffect on confidence and its tamper-evident links.\n\nEvents are recorded on an entity's [`AuditLog`], forming the full audit\ntrail of its life: each recognizer that found it, the deduplication that\nfused them, any score calibration, and the redaction that hid it. The\nuniform spine (who, resulting score, when) is the same for every event; the\n[`kind`] carries the event-specific detail *and* the explanation of why the\nevent happened.\n\nEach event links to its [`parents`] by their [`hash`]: a birth event (a\nrecognizer's first detection) has no parents, a normal step has one, and a\n[fusion](crate::entity::audit::AuditLog::record_fusion) has several. Its own\n[`hash`] folds the\npayload together with the parents' hashes, so altering any event breaks\nevery event downstream of it: [`AuditLog::verify`] walks the DAG and\nreports the first break.\n\n`entity.confidence` always equals the [`confidence`] of the most recent\nevent. The confidence *flowing in* is not stored: it is the parents'\n[`confidence`], recovered from the DAG.\n\n[`AuditLog`]: crate::entity::audit::AuditLog\n[`AuditLog::record_fusion`]: crate::entity::audit::AuditLog::record_fusion\n[`AuditLog::verify`]: crate::entity::audit::AuditLog::verify\n[`kind`]: AuditEvent::kind\n[`parents`]: AuditEvent::parents\n[`hash`]: AuditEvent::hash\n[`confidence`]: AuditEvent::confidence","type":"object","properties":{"confidence":{"type":"number","description":"Confidence after this event: the entity's effective confidence once it\nhas happened.","format":"float","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].confidence","typeLabel":"number\u003cfloat>"},"hash":{"type":"string","description":"This event's hash, over its payload and its parents' hashes. Assigned by\n[`AuditLog`] when the event is recorded; read it through\n[`hash`](Self::hash). Recomputing it is how the DAG is verified.\n\nNot publicly settable: only [`AuditLog`] assigns it, so a caller cannot\nforge a self-consistent event outside the recording path.\n\n[`AuditLog`]: crate::entity::audit::AuditLog","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].hash","typeLabel":"string"},"kind":{"oneOf":[{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"Detail of a pattern/dictionary recognition: a recognizer matched at\n`location`, with the pattern metadata in `pattern`.","type":"object","properties":{"location":{"type":"object","description":"Where the recognizer matched.","required":["coord"],"properties":{"coord":{"oneOf":[{"type":"object","description":"The coordinate: a decoded range, or a source-only reference.","required":["kind","range"],"properties":{"range":{"type":"object","description":"Byte range within the (decoded) text content.","required":["start","end"],"properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.coord.oneOf.0.range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.coord.oneOf.0.range.start","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.coord.oneOf.0.range","typeLabel":"object"},"kind":{"type":"string","const":"decoded","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.coord.oneOf.0.kind","typeLabel":"string"},"source":{"description":"The exact raw source ranges this decoded span came from. Empty when the\nsource equals the decoded text.\n\nUsually one range; a reconciled span that fused several source runs (or a\nspan crossing an escape) carries several, kept distinct rather than merged\nacross gaps. Sorted, deduplicated.","type":"array","items":{"description":"A reference back to the original source: a byte range, and, for a container\nwhose body spans several files, which part that range indexes.\n\n[`TextLocation`]'s `range` indexes the *decoded* text stream a codec hands\nthe pipeline (entities resolved, container parts concatenated). A `SourceRef`\nis the *exact raw* byte range the decoded range came from, accounting for XML\nescapes where `\u0026amp;` (5 raw bytes) decodes to `\u0026` (1). `part` names the\ncontainer file the range is in (`word/header1.xml`) for a multi-file body\nlike DOCX, and is `None` for a single-file source (XML, HTML). It lets a\nconsumer point back at the untouched source bytes.\n\n[`TextLocation`]: super::TextLocation","type":"object","properties":{"range":{"type":"object","description":"The raw source byte range.","required":["start","end"],"properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.coord.oneOf.0.source.items.[INDEX].range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.coord.oneOf.0.source.items.[INDEX].range.start","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.coord.oneOf.0.source.items.[INDEX].range","typeLabel":"object"},"part":{"description":"The container part the range indexes, for a multi-file body; `None` for a\nsingle-file source.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.coord.oneOf.0.source.items.[INDEX].part","typeLabel":"string"}},"required":["range"],"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.coord.oneOf.0.source.items.[INDEX]","typeLabel":"object"},"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.coord.oneOf.0.source","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.coord.oneOf.0","typeLabel":"object"},{"type":"object","description":"The coordinate: a decoded range, or a source-only reference.","required":["kind","source"],"properties":{"source":{"description":"The raw byte range(s) the selection sits in. Sorted, deduplicated,\nnon-empty by construction.","type":"array","items":{"description":"A reference back to the original source: a byte range, and, for a container\nwhose body spans several files, which part that range indexes.\n\n[`TextLocation`]'s `range` indexes the *decoded* text stream a codec hands\nthe pipeline (entities resolved, container parts concatenated). A `SourceRef`\nis the *exact raw* byte range the decoded range came from, accounting for XML\nescapes where `\u0026amp;` (5 raw bytes) decodes to `\u0026` (1). `part` names the\ncontainer file the range is in (`word/header1.xml`) for a multi-file body\nlike DOCX, and is `None` for a single-file source (XML, HTML). It lets a\nconsumer point back at the untouched source bytes.\n\n[`TextLocation`]: super::TextLocation","type":"object","properties":{"range":{"type":"object","description":"The raw source byte range.","required":["start","end"],"properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.coord.oneOf.1.source.items.[INDEX].range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.coord.oneOf.1.source.items.[INDEX].range.start","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.coord.oneOf.1.source.items.[INDEX].range","typeLabel":"object"},"part":{"description":"The container part the range indexes, for a multi-file body; `None` for a\nsingle-file source.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.coord.oneOf.1.source.items.[INDEX].part","typeLabel":"string"}},"required":["range"],"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.coord.oneOf.1.source.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.coord.oneOf.1.source","typeLabel":"object[]"},"kind":{"type":"string","const":"source","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.coord.oneOf.1.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.coord.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.coord","typeLabel":"object"},"page":{"description":"1-based page number, when known. Orthogonal to the coordinate kind.","type":"integer","format":"uint32","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.page","typeLabel":"integer\u003cuint32>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location","typeLabel":"object"},"pattern":{"type":"object","description":"Pattern metadata (name, regex, validator, contextual flag).","required":["name","contextual"],"properties":{"contextual":{"description":"Whether contextual analysis (keyword co-occurrence) adjusted the score\nfor this match.","type":"boolean","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.pattern.contextual","typeLabel":"boolean"},"name":{"description":"Name of the pattern that matched (e.g. `\"ssn\"`, `\"email\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.pattern.name","typeLabel":"string"},"regex":{"description":"Literal regex source that matched, when exposed.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.pattern.regex","typeLabel":"string"},"validator":{"description":"Name of the validator that confirmed the match (e.g. `\"luhn\"`).","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.pattern.validator","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.pattern","typeLabel":"object"}},"required":["location","pattern"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail","typeLabel":"object"},"kind":{"type":"string","const":"pattern","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"Detail of a model/NER recognition: a model matched at `location`, with its\nmetadata in `model`.","type":"object","properties":{"location":{"type":"object","description":"Where the recognizer matched.","required":["coord"],"properties":{"coord":{"oneOf":[{"type":"object","description":"The coordinate: a decoded range, or a source-only reference.","required":["kind","range"],"properties":{"range":{"type":"object","description":"Byte range within the (decoded) text content.","required":["start","end"],"properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.coord.oneOf.0.range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.coord.oneOf.0.range.start","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.coord.oneOf.0.range","typeLabel":"object"},"kind":{"type":"string","const":"decoded","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.coord.oneOf.0.kind","typeLabel":"string"},"source":{"description":"The exact raw source ranges this decoded span came from. Empty when the\nsource equals the decoded text.\n\nUsually one range; a reconciled span that fused several source runs (or a\nspan crossing an escape) carries several, kept distinct rather than merged\nacross gaps. Sorted, deduplicated.","type":"array","items":{"description":"A reference back to the original source: a byte range, and, for a container\nwhose body spans several files, which part that range indexes.\n\n[`TextLocation`]'s `range` indexes the *decoded* text stream a codec hands\nthe pipeline (entities resolved, container parts concatenated). A `SourceRef`\nis the *exact raw* byte range the decoded range came from, accounting for XML\nescapes where `\u0026amp;` (5 raw bytes) decodes to `\u0026` (1). `part` names the\ncontainer file the range is in (`word/header1.xml`) for a multi-file body\nlike DOCX, and is `None` for a single-file source (XML, HTML). It lets a\nconsumer point back at the untouched source bytes.\n\n[`TextLocation`]: super::TextLocation","type":"object","properties":{"range":{"type":"object","description":"The raw source byte range.","required":["start","end"],"properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.coord.oneOf.0.source.items.[INDEX].range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.coord.oneOf.0.source.items.[INDEX].range.start","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.coord.oneOf.0.source.items.[INDEX].range","typeLabel":"object"},"part":{"description":"The container part the range indexes, for a multi-file body; `None` for a\nsingle-file source.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.coord.oneOf.0.source.items.[INDEX].part","typeLabel":"string"}},"required":["range"],"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.coord.oneOf.0.source.items.[INDEX]","typeLabel":"object"},"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.coord.oneOf.0.source","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.coord.oneOf.0","typeLabel":"object"},{"type":"object","description":"The coordinate: a decoded range, or a source-only reference.","required":["kind","source"],"properties":{"source":{"description":"The raw byte range(s) the selection sits in. Sorted, deduplicated,\nnon-empty by construction.","type":"array","items":{"description":"A reference back to the original source: a byte range, and, for a container\nwhose body spans several files, which part that range indexes.\n\n[`TextLocation`]'s `range` indexes the *decoded* text stream a codec hands\nthe pipeline (entities resolved, container parts concatenated). A `SourceRef`\nis the *exact raw* byte range the decoded range came from, accounting for XML\nescapes where `\u0026amp;` (5 raw bytes) decodes to `\u0026` (1). `part` names the\ncontainer file the range is in (`word/header1.xml`) for a multi-file body\nlike DOCX, and is `None` for a single-file source (XML, HTML). It lets a\nconsumer point back at the untouched source bytes.\n\n[`TextLocation`]: super::TextLocation","type":"object","properties":{"range":{"type":"object","description":"The raw source byte range.","required":["start","end"],"properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.coord.oneOf.1.source.items.[INDEX].range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.coord.oneOf.1.source.items.[INDEX].range.start","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.coord.oneOf.1.source.items.[INDEX].range","typeLabel":"object"},"part":{"description":"The container part the range indexes, for a multi-file body; `None` for a\nsingle-file source.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.coord.oneOf.1.source.items.[INDEX].part","typeLabel":"string"}},"required":["range"],"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.coord.oneOf.1.source.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.coord.oneOf.1.source","typeLabel":"object[]"},"kind":{"type":"string","const":"source","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.coord.oneOf.1.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.coord.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.coord","typeLabel":"object"},"page":{"description":"1-based page number, when known. Orthogonal to the coordinate kind.","type":"integer","format":"uint32","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.page","typeLabel":"integer\u003cuint32>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location","typeLabel":"object"},"model":{"type":"object","description":"Model metadata (name, version, contextual flag).","required":["name","contextual"],"properties":{"contextual":{"description":"Whether contextual analysis adjusted the score for this match.","type":"boolean","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.model.contextual","typeLabel":"boolean"},"name":{"description":"Model name (e.g. `\"spacy-en-core-web-lg\"`, `\"gpt-4\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.model.name","typeLabel":"string"},"version":{"description":"Model version string, when known.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.model.version","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.model","typeLabel":"object"}},"required":["location","model"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail","typeLabel":"object"},"kind":{"type":"string","const":"model","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"Detail of a metadata-field detection: a document's out-of-band field\n(an EXIF tag, a file timestamp, a document property) was surfaced as a\nredaction subject at `location`, with its source in `metadata`.\n\nDistinct from [`Pattern`]/[`Model`] because a metadata field is not *matched*\nout of free content — it is a named field that is simply present. There is\nnothing probabilistic to weigh, so the entity carries it as its own event\nkind rather than pretending a pattern fired.","type":"object","properties":{"location":{"type":"object","description":"The field's location (its key).","required":["coord"],"properties":{"coord":{"oneOf":[{"type":"object","description":"The coordinate: a decoded range, or a source-only reference.","required":["kind","range"],"properties":{"range":{"type":"object","description":"Byte range within the (decoded) text content.","required":["start","end"],"properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.coord.oneOf.0.range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.coord.oneOf.0.range.start","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.coord.oneOf.0.range","typeLabel":"object"},"kind":{"type":"string","const":"decoded","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.coord.oneOf.0.kind","typeLabel":"string"},"source":{"description":"The exact raw source ranges this decoded span came from. Empty when the\nsource equals the decoded text.\n\nUsually one range; a reconciled span that fused several source runs (or a\nspan crossing an escape) carries several, kept distinct rather than merged\nacross gaps. Sorted, deduplicated.","type":"array","items":{"description":"A reference back to the original source: a byte range, and, for a container\nwhose body spans several files, which part that range indexes.\n\n[`TextLocation`]'s `range` indexes the *decoded* text stream a codec hands\nthe pipeline (entities resolved, container parts concatenated). A `SourceRef`\nis the *exact raw* byte range the decoded range came from, accounting for XML\nescapes where `\u0026amp;` (5 raw bytes) decodes to `\u0026` (1). `part` names the\ncontainer file the range is in (`word/header1.xml`) for a multi-file body\nlike DOCX, and is `None` for a single-file source (XML, HTML). It lets a\nconsumer point back at the untouched source bytes.\n\n[`TextLocation`]: super::TextLocation","type":"object","properties":{"range":{"type":"object","description":"The raw source byte range.","required":["start","end"],"properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.coord.oneOf.0.source.items.[INDEX].range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.coord.oneOf.0.source.items.[INDEX].range.start","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.coord.oneOf.0.source.items.[INDEX].range","typeLabel":"object"},"part":{"description":"The container part the range indexes, for a multi-file body; `None` for a\nsingle-file source.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.coord.oneOf.0.source.items.[INDEX].part","typeLabel":"string"}},"required":["range"],"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.coord.oneOf.0.source.items.[INDEX]","typeLabel":"object"},"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.coord.oneOf.0.source","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.coord.oneOf.0","typeLabel":"object"},{"type":"object","description":"The coordinate: a decoded range, or a source-only reference.","required":["kind","source"],"properties":{"source":{"description":"The raw byte range(s) the selection sits in. Sorted, deduplicated,\nnon-empty by construction.","type":"array","items":{"description":"A reference back to the original source: a byte range, and, for a container\nwhose body spans several files, which part that range indexes.\n\n[`TextLocation`]'s `range` indexes the *decoded* text stream a codec hands\nthe pipeline (entities resolved, container parts concatenated). A `SourceRef`\nis the *exact raw* byte range the decoded range came from, accounting for XML\nescapes where `\u0026amp;` (5 raw bytes) decodes to `\u0026` (1). `part` names the\ncontainer file the range is in (`word/header1.xml`) for a multi-file body\nlike DOCX, and is `None` for a single-file source (XML, HTML). It lets a\nconsumer point back at the untouched source bytes.\n\n[`TextLocation`]: super::TextLocation","type":"object","properties":{"range":{"type":"object","description":"The raw source byte range.","required":["start","end"],"properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.coord.oneOf.1.source.items.[INDEX].range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.coord.oneOf.1.source.items.[INDEX].range.start","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.coord.oneOf.1.source.items.[INDEX].range","typeLabel":"object"},"part":{"description":"The container part the range indexes, for a multi-file body; `None` for a\nsingle-file source.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.coord.oneOf.1.source.items.[INDEX].part","typeLabel":"string"}},"required":["range"],"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.coord.oneOf.1.source.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.coord.oneOf.1.source","typeLabel":"object[]"},"kind":{"type":"string","const":"source","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.coord.oneOf.1.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.coord.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.coord","typeLabel":"object"},"page":{"description":"1-based page number, when known. Orthogonal to the coordinate kind.","type":"integer","format":"uint32","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.page","typeLabel":"integer\u003cuint32>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location","typeLabel":"object"},"metadata":{"type":"object","description":"Source metadata (which reader surfaced the field).","required":["source"],"properties":{"source":{"description":"The reader that surfaced the field (e.g. `\"exif\"`, `\"docprops\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.metadata.source","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.metadata","typeLabel":"object"}},"required":["location","metadata"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail","typeLabel":"object"},"kind":{"type":"string","const":"metadata","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"Several detections were fused into one entity.","type":"object","properties":{"strategy":{"description":"Name of the fusion strategy that combined them.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.3.detail.strategy","typeLabel":"string"}},"required":["strategy"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.3.detail","typeLabel":"object"},"kind":{"type":"string","const":"deduplication","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.3.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.3","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"A competing detection of a *different* label over the same span was resolved\nagainst this (winning) entity, the loser is recorded, not dropped.","type":"object","properties":{"competing_confidence":{"type":"number","description":"The loser's confidence at resolution time.","format":"float","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4.detail.competing_confidence","typeLabel":"number\u003cfloat>"},"competing_label":{"type":"string","description":"The label of the detection that lost arbitration.","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4.detail.competing_label","typeLabel":"string"},"resolved_by":{"description":"Name of the conflict policy that chose the winner.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4.detail.resolved_by","typeLabel":"string"}},"required":["competing_label","competing_confidence","resolved_by"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4.detail","typeLabel":"object"},"kind":{"type":"string","const":"conflict","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"A competing detection of a different label over the same span was left\n*unresolved*: both entities survive, flagged for a human. Recorded on each\nentity of the contested pair, naming the other.","type":"object","properties":{"competing_confidence":{"type":"number","description":"The competing detection's confidence.","format":"float","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5.detail.competing_confidence","typeLabel":"number\u003cfloat>"},"competing_label":{"type":"string","description":"The label of the competing detection.","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5.detail.competing_label","typeLabel":"string"},"flagged_by":{"description":"Name of the policy that flagged the contest.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5.detail.flagged_by","typeLabel":"string"}},"required":["competing_label","competing_confidence","flagged_by"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5.detail","typeLabel":"object"},"kind":{"type":"string","const":"contested","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"The entity's confidence was rescaled by a per-recognizer factor.","type":"object","properties":{"factor":{"description":"Multiplier applied.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.6.detail.factor","typeLabel":"number\u003cdouble>"}},"required":["factor"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.6.detail","typeLabel":"object"},"kind":{"type":"string","const":"calibration","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.6.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.6","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"A context keyword near the entity lifted its confidence.","type":"object","properties":{"keyword":{"description":"Keyword that fired the boost.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.keyword","typeLabel":"string"},"hint":{"description":"The located [`Hint`] the keyword fired from, when the match came from an\nout-of-band hint (a column header, a key) rather than the in-text word\nwindow. `None` for an in-text-window match.\n\n[`Hint`]: crate::modality::Hint","type":"object","properties":{"data":{"type":"string","description":"The hint text itself (a column header, a field name).","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.data","typeLabel":"string"},"location":{"type":"object","description":"Where the hint text sits in the source (the header cell, the key).","required":["coord"],"properties":{"coord":{"oneOf":[{"type":"object","description":"The coordinate: a decoded range, or a source-only reference.","required":["kind","range"],"properties":{"range":{"type":"object","description":"Byte range within the (decoded) text content.","required":["start","end"],"properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.coord.oneOf.0.range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.coord.oneOf.0.range.start","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.coord.oneOf.0.range","typeLabel":"object"},"kind":{"type":"string","const":"decoded","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.coord.oneOf.0.kind","typeLabel":"string"},"source":{"description":"The exact raw source ranges this decoded span came from. Empty when the\nsource equals the decoded text.\n\nUsually one range; a reconciled span that fused several source runs (or a\nspan crossing an escape) carries several, kept distinct rather than merged\nacross gaps. Sorted, deduplicated.","type":"array","items":{"description":"A reference back to the original source: a byte range, and, for a container\nwhose body spans several files, which part that range indexes.\n\n[`TextLocation`]'s `range` indexes the *decoded* text stream a codec hands\nthe pipeline (entities resolved, container parts concatenated). A `SourceRef`\nis the *exact raw* byte range the decoded range came from, accounting for XML\nescapes where `\u0026amp;` (5 raw bytes) decodes to `\u0026` (1). `part` names the\ncontainer file the range is in (`word/header1.xml`) for a multi-file body\nlike DOCX, and is `None` for a single-file source (XML, HTML). It lets a\nconsumer point back at the untouched source bytes.\n\n[`TextLocation`]: super::TextLocation","type":"object","properties":{"range":{"type":"object","description":"The raw source byte range.","required":["start","end"],"properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.coord.oneOf.0.source.items.[INDEX].range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.coord.oneOf.0.source.items.[INDEX].range.start","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.coord.oneOf.0.source.items.[INDEX].range","typeLabel":"object"},"part":{"description":"The container part the range indexes, for a multi-file body; `None` for a\nsingle-file source.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.coord.oneOf.0.source.items.[INDEX].part","typeLabel":"string"}},"required":["range"],"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.coord.oneOf.0.source.items.[INDEX]","typeLabel":"object"},"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.coord.oneOf.0.source","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.coord.oneOf.0","typeLabel":"object"},{"type":"object","description":"The coordinate: a decoded range, or a source-only reference.","required":["kind","source"],"properties":{"source":{"description":"The raw byte range(s) the selection sits in. Sorted, deduplicated,\nnon-empty by construction.","type":"array","items":{"description":"A reference back to the original source: a byte range, and, for a container\nwhose body spans several files, which part that range indexes.\n\n[`TextLocation`]'s `range` indexes the *decoded* text stream a codec hands\nthe pipeline (entities resolved, container parts concatenated). A `SourceRef`\nis the *exact raw* byte range the decoded range came from, accounting for XML\nescapes where `\u0026amp;` (5 raw bytes) decodes to `\u0026` (1). `part` names the\ncontainer file the range is in (`word/header1.xml`) for a multi-file body\nlike DOCX, and is `None` for a single-file source (XML, HTML). It lets a\nconsumer point back at the untouched source bytes.\n\n[`TextLocation`]: super::TextLocation","type":"object","properties":{"range":{"type":"object","description":"The raw source byte range.","required":["start","end"],"properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.coord.oneOf.1.source.items.[INDEX].range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.coord.oneOf.1.source.items.[INDEX].range.start","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.coord.oneOf.1.source.items.[INDEX].range","typeLabel":"object"},"part":{"description":"The container part the range indexes, for a multi-file body; `None` for a\nsingle-file source.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.coord.oneOf.1.source.items.[INDEX].part","typeLabel":"string"}},"required":["range"],"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.coord.oneOf.1.source.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.coord.oneOf.1.source","typeLabel":"object[]"},"kind":{"type":"string","const":"source","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.coord.oneOf.1.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.coord.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.coord","typeLabel":"object"},"page":{"description":"1-based page number, when known. Orthogonal to the coordinate kind.","type":"integer","format":"uint32","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.page","typeLabel":"integer\u003cuint32>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location","typeLabel":"object"}},"required":["location","data"],"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint","typeLabel":"object"},"location":{"description":"Where the boosting keyword sits in the medium. For a hint match this\nmirrors the hint's own location; for an in-text-window match it is the\nkeyword resolved through the modality's [`locate`]. `None` when the\nkeyword's stream range could not be placed.\n\n[`locate`]: crate::modality::TextRecognizable::locate","type":"object","properties":{"coord":{"oneOf":[{"type":"object","description":"The coordinate: a decoded range, or a source-only reference.","required":["kind","range"],"properties":{"range":{"type":"object","description":"Byte range within the (decoded) text content.","required":["start","end"],"properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.coord.oneOf.0.range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.coord.oneOf.0.range.start","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.coord.oneOf.0.range","typeLabel":"object"},"kind":{"type":"string","const":"decoded","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.coord.oneOf.0.kind","typeLabel":"string"},"source":{"description":"The exact raw source ranges this decoded span came from. Empty when the\nsource equals the decoded text.\n\nUsually one range; a reconciled span that fused several source runs (or a\nspan crossing an escape) carries several, kept distinct rather than merged\nacross gaps. Sorted, deduplicated.","type":"array","items":{"description":"A reference back to the original source: a byte range, and, for a container\nwhose body spans several files, which part that range indexes.\n\n[`TextLocation`]'s `range` indexes the *decoded* text stream a codec hands\nthe pipeline (entities resolved, container parts concatenated). A `SourceRef`\nis the *exact raw* byte range the decoded range came from, accounting for XML\nescapes where `\u0026amp;` (5 raw bytes) decodes to `\u0026` (1). `part` names the\ncontainer file the range is in (`word/header1.xml`) for a multi-file body\nlike DOCX, and is `None` for a single-file source (XML, HTML). It lets a\nconsumer point back at the untouched source bytes.\n\n[`TextLocation`]: super::TextLocation","type":"object","properties":{"range":{"type":"object","description":"The raw source byte range.","required":["start","end"],"properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.coord.oneOf.0.source.items.[INDEX].range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.coord.oneOf.0.source.items.[INDEX].range.start","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.coord.oneOf.0.source.items.[INDEX].range","typeLabel":"object"},"part":{"description":"The container part the range indexes, for a multi-file body; `None` for a\nsingle-file source.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.coord.oneOf.0.source.items.[INDEX].part","typeLabel":"string"}},"required":["range"],"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.coord.oneOf.0.source.items.[INDEX]","typeLabel":"object"},"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.coord.oneOf.0.source","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.coord.oneOf.0","typeLabel":"object"},{"type":"object","description":"The coordinate: a decoded range, or a source-only reference.","required":["kind","source"],"properties":{"source":{"description":"The raw byte range(s) the selection sits in. Sorted, deduplicated,\nnon-empty by construction.","type":"array","items":{"description":"A reference back to the original source: a byte range, and, for a container\nwhose body spans several files, which part that range indexes.\n\n[`TextLocation`]'s `range` indexes the *decoded* text stream a codec hands\nthe pipeline (entities resolved, container parts concatenated). A `SourceRef`\nis the *exact raw* byte range the decoded range came from, accounting for XML\nescapes where `\u0026amp;` (5 raw bytes) decodes to `\u0026` (1). `part` names the\ncontainer file the range is in (`word/header1.xml`) for a multi-file body\nlike DOCX, and is `None` for a single-file source (XML, HTML). It lets a\nconsumer point back at the untouched source bytes.\n\n[`TextLocation`]: super::TextLocation","type":"object","properties":{"range":{"type":"object","description":"The raw source byte range.","required":["start","end"],"properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.coord.oneOf.1.source.items.[INDEX].range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.coord.oneOf.1.source.items.[INDEX].range.start","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.coord.oneOf.1.source.items.[INDEX].range","typeLabel":"object"},"part":{"description":"The container part the range indexes, for a multi-file body; `None` for a\nsingle-file source.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.coord.oneOf.1.source.items.[INDEX].part","typeLabel":"string"}},"required":["range"],"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.coord.oneOf.1.source.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.coord.oneOf.1.source","typeLabel":"object[]"},"kind":{"type":"string","const":"source","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.coord.oneOf.1.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.coord.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.coord","typeLabel":"object"},"page":{"description":"1-based page number, when known. Orthogonal to the coordinate kind.","type":"integer","format":"uint32","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.page","typeLabel":"integer\u003cuint32>"}},"required":["coord"],"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location","typeLabel":"object"}},"required":["keyword"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail","typeLabel":"object"},"kind":{"type":"string","const":"refinement","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"An operator hid the entity.","type":"object","properties":{"matched_by":{"oneOf":[{"type":"object","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","required":["label"],"properties":{"label":{"description":"Lightweight reference to a [`Label`], carrying only its id.\n\nThis is what detections and entities hold: cloning is cheap (short\nids inline into the [`HipStr`]), and the full [`Label`], with its\nlocalized names and descriptions, is resolved on demand from a\n[`LabelCatalog`].\n\n[`Label`]: crate::entity::Label\n[`LabelCatalog`]: crate::entity::LabelCatalog","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.0.label","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.0","typeLabel":"object"},{"type":"object","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","required":["tag"],"properties":{"tag":{"type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.1.tag","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.1","typeLabel":"object"},{"type":"string","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","const":"predicate","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.2","typeLabel":"string"},{"type":"string","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","const":"fallback","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.3","typeLabel":"string"}],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by","typeLabel":"object · object · string · string"},"operator":{"type":"object","description":"Which operator (name + version) ran.","required":["name","version"],"properties":{"name":{"description":"Stable operator name (e.g. `\"mask\"`, `\"aes-gcm-encrypt\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.operator.name","typeLabel":"string"},"version":{"description":"Operator's version at the time it was applied.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.operator.version","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.operator","typeLabel":"object"},"attribution":{"oneOf":[{"type":"object","description":"The author-supplied policy rationale, when the operator carried an\n[`Attribution`]; `None` otherwise.","required":["kind","name"],"properties":{"name":{"description":"The policy's name (e.g. `\"gdpr-art-17\"`, `\"hipaa-safe-harbor\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.0.name","typeLabel":"string"},"kind":{"type":"string","const":"freeform","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.0.kind","typeLabel":"string"},"description":{"description":"Human-readable description (e.g. `\"right to erasure\"`), when given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.0.description","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.0","typeLabel":"object"},{"type":"object","description":"The author-supplied policy rationale, when the operator carried an\n[`Attribution`]; `None` otherwise.","required":["kind","authority","citation"],"properties":{"authority":{"description":"The authority cited (e.g. `\"GDPR\"`, `\"HIPAA\"`, `\"internal-policy\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.1.authority","typeLabel":"string"},"citation":{"description":"The citation within that authority (e.g. `\"Art. 17(1)\"`, `\"§164.514\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.1.citation","typeLabel":"string"},"kind":{"type":"string","const":"cited","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.1.kind","typeLabel":"string"},"rationale":{"description":"Why the citation applies here (e.g. `\"data subject requested erasure\"`),\nwhen given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.1.rationale","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.1","typeLabel":"object"}],"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution","typeLabel":"object"},"key_id":{"description":"Identifier of the key needed to reverse it, if reversible.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.key_id","typeLabel":"string"},"leak_profile":{"oneOf":[{"type":"string","description":"How much the output leaks about the original, when the operator claimed a\nprofile; `None` when it made no claim.","const":"recoverable","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.leak_profile.oneOf.0","typeLabel":"string"},{"type":"string","description":"How much the output leaks about the original, when the operator claimed a\nprofile; `None` when it made no claim.","const":"partial","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.leak_profile.oneOf.1","typeLabel":"string"},{"type":"string","description":"How much the output leaks about the original, when the operator claimed a\nprofile; `None` when it made no claim.","const":"irrecoverable","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.leak_profile.oneOf.2","typeLabel":"string"}],"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.leak_profile","typeLabel":"string"},"span_hash":{"description":"BLAKE3 digest of the original text the operator hid, when the redaction\nlayer recorded it. Proves *what* was redacted without storing the\nplaintext; `None` when the operator did not capture it.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.span_hash","typeLabel":"string"},"span_length":{"description":"Byte length of the original text the operator hid, paired with\n[`span_hash`](Self::span_hash). `None` when not captured.","type":"integer","format":"uint32","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.span_length","typeLabel":"integer\u003cuint32>"}},"required":["operator","matched_by"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail","typeLabel":"object"},"kind":{"type":"string","const":"redaction","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"An operator was *picked* to hide the entity, the redaction decision,\nrecorded before it is applied so it can be reviewed (and the entity edited)\nfirst. The [`Redaction`] event that follows records the operator actually\nrun.","type":"object","properties":{"matched_by":{"oneOf":[{"type":"object","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","required":["label"],"properties":{"label":{"description":"Lightweight reference to a [`Label`], carrying only its id.\n\nThis is what detections and entities hold: cloning is cheap (short\nids inline into the [`HipStr`]), and the full [`Label`], with its\nlocalized names and descriptions, is resolved on demand from a\n[`LabelCatalog`].\n\n[`Label`]: crate::entity::Label\n[`LabelCatalog`]: crate::entity::LabelCatalog","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.0.label","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.0","typeLabel":"object"},{"type":"object","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","required":["tag"],"properties":{"tag":{"type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.1.tag","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.1","typeLabel":"object"},{"type":"string","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","const":"predicate","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.2","typeLabel":"string"},{"type":"string","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","const":"fallback","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.3","typeLabel":"string"}],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by","typeLabel":"object · object · string · string"},"operator":{"type":"object","description":"Identity (name + version) of the operator picked. Its *config* is not\nrecorded; it lives in the policy that will run it, so apply re-resolves\nthe configured operator rather than reading it here.","required":["name","version"],"properties":{"name":{"description":"Stable operator name (e.g. `\"mask\"`, `\"aes-gcm-encrypt\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.operator.name","typeLabel":"string"},"version":{"description":"Operator's version at the time it was applied.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.operator.version","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.operator","typeLabel":"object"},"attribution":{"oneOf":[{"type":"object","description":"The author-supplied policy rationale, when the matched rule carried an\n[`Attribution`]; `None` otherwise.","required":["kind","name"],"properties":{"name":{"description":"The policy's name (e.g. `\"gdpr-art-17\"`, `\"hipaa-safe-harbor\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.0.name","typeLabel":"string"},"kind":{"type":"string","const":"freeform","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.0.kind","typeLabel":"string"},"description":{"description":"Human-readable description (e.g. `\"right to erasure\"`), when given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.0.description","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.0","typeLabel":"object"},{"type":"object","description":"The author-supplied policy rationale, when the matched rule carried an\n[`Attribution`]; `None` otherwise.","required":["kind","authority","citation"],"properties":{"authority":{"description":"The authority cited (e.g. `\"GDPR\"`, `\"HIPAA\"`, `\"internal-policy\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.1.authority","typeLabel":"string"},"citation":{"description":"The citation within that authority (e.g. `\"Art. 17(1)\"`, `\"§164.514\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.1.citation","typeLabel":"string"},"kind":{"type":"string","const":"cited","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.1.kind","typeLabel":"string"},"rationale":{"description":"Why the citation applies here (e.g. `\"data subject requested erasure\"`),\nwhen given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.1.rationale","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.1","typeLabel":"object"}],"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution","typeLabel":"object"}},"required":["operator","matched_by"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail","typeLabel":"object"},"kind":{"type":"string","const":"selection","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"A human override, outside automatic detection: an entity a reviewer added by\nhand, or a detected one they marked to ignore. Its provenance is a person's\ndecision, not a recognizer's, so the trail records *why* (an\n[`Attribution`], when supplied). *Who* made the override is the event's\n[`source`], not a payload field.\n\n[`source`]: super::AuditEvent::source","type":"object","properties":{"intent":{"oneOf":[{"type":"string","description":"Which human decision this records: including a missed entity, or\nsuppressing a detected one. This is the authority on whether the entity\nis redacted, [`AuditLog::is_suppressed`] reads it, so there is no\nseparate flag to keep in sync.\n\n[`AuditLog::is_suppressed`]: crate::entity::audit::AuditLog::is_suppressed","const":"flag","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.intent.oneOf.0","typeLabel":"string"},{"type":"string","description":"Which human decision this records: including a missed entity, or\nsuppressing a detected one. This is the authority on whether the entity\nis redacted, [`AuditLog::is_suppressed`] reads it, so there is no\nseparate flag to keep in sync.\n\n[`AuditLog::is_suppressed`]: crate::entity::audit::AuditLog::is_suppressed","const":"suppress","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.intent.oneOf.1","typeLabel":"string"},{"type":"string","description":"Which human decision this records: including a missed entity, or\nsuppressing a detected one. This is the authority on whether the entity\nis redacted, [`AuditLog::is_suppressed`] reads it, so there is no\nseparate flag to keep in sync.\n\n[`AuditLog::is_suppressed`]: crate::entity::audit::AuditLog::is_suppressed","const":"amend","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.intent.oneOf.2","typeLabel":"string"}],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.intent","typeLabel":"string"},"location":{"type":"object","description":"Where the override applies, in modality-native coordinates.","required":["coord"],"properties":{"coord":{"oneOf":[{"type":"object","description":"The coordinate: a decoded range, or a source-only reference.","required":["kind","range"],"properties":{"range":{"type":"object","description":"Byte range within the (decoded) text content.","required":["start","end"],"properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.coord.oneOf.0.range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.coord.oneOf.0.range.start","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.coord.oneOf.0.range","typeLabel":"object"},"kind":{"type":"string","const":"decoded","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.coord.oneOf.0.kind","typeLabel":"string"},"source":{"description":"The exact raw source ranges this decoded span came from. Empty when the\nsource equals the decoded text.\n\nUsually one range; a reconciled span that fused several source runs (or a\nspan crossing an escape) carries several, kept distinct rather than merged\nacross gaps. Sorted, deduplicated.","type":"array","items":{"description":"A reference back to the original source: a byte range, and, for a container\nwhose body spans several files, which part that range indexes.\n\n[`TextLocation`]'s `range` indexes the *decoded* text stream a codec hands\nthe pipeline (entities resolved, container parts concatenated). A `SourceRef`\nis the *exact raw* byte range the decoded range came from, accounting for XML\nescapes where `\u0026amp;` (5 raw bytes) decodes to `\u0026` (1). `part` names the\ncontainer file the range is in (`word/header1.xml`) for a multi-file body\nlike DOCX, and is `None` for a single-file source (XML, HTML). It lets a\nconsumer point back at the untouched source bytes.\n\n[`TextLocation`]: super::TextLocation","type":"object","properties":{"range":{"type":"object","description":"The raw source byte range.","required":["start","end"],"properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.coord.oneOf.0.source.items.[INDEX].range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.coord.oneOf.0.source.items.[INDEX].range.start","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.coord.oneOf.0.source.items.[INDEX].range","typeLabel":"object"},"part":{"description":"The container part the range indexes, for a multi-file body; `None` for a\nsingle-file source.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.coord.oneOf.0.source.items.[INDEX].part","typeLabel":"string"}},"required":["range"],"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.coord.oneOf.0.source.items.[INDEX]","typeLabel":"object"},"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.coord.oneOf.0.source","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.coord.oneOf.0","typeLabel":"object"},{"type":"object","description":"The coordinate: a decoded range, or a source-only reference.","required":["kind","source"],"properties":{"source":{"description":"The raw byte range(s) the selection sits in. Sorted, deduplicated,\nnon-empty by construction.","type":"array","items":{"description":"A reference back to the original source: a byte range, and, for a container\nwhose body spans several files, which part that range indexes.\n\n[`TextLocation`]'s `range` indexes the *decoded* text stream a codec hands\nthe pipeline (entities resolved, container parts concatenated). A `SourceRef`\nis the *exact raw* byte range the decoded range came from, accounting for XML\nescapes where `\u0026amp;` (5 raw bytes) decodes to `\u0026` (1). `part` names the\ncontainer file the range is in (`word/header1.xml`) for a multi-file body\nlike DOCX, and is `None` for a single-file source (XML, HTML). It lets a\nconsumer point back at the untouched source bytes.\n\n[`TextLocation`]: super::TextLocation","type":"object","properties":{"range":{"type":"object","description":"The raw source byte range.","required":["start","end"],"properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.coord.oneOf.1.source.items.[INDEX].range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.coord.oneOf.1.source.items.[INDEX].range.start","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.coord.oneOf.1.source.items.[INDEX].range","typeLabel":"object"},"part":{"description":"The container part the range indexes, for a multi-file body; `None` for a\nsingle-file source.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.coord.oneOf.1.source.items.[INDEX].part","typeLabel":"string"}},"required":["range"],"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.coord.oneOf.1.source.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.coord.oneOf.1.source","typeLabel":"object[]"},"kind":{"type":"string","const":"source","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.coord.oneOf.1.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.coord.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.coord","typeLabel":"object"},"page":{"description":"1-based page number, when known. Orthogonal to the coordinate kind.","type":"integer","format":"uint32","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.page","typeLabel":"integer\u003cuint32>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location","typeLabel":"object"},"attribution":{"oneOf":[{"type":"object","description":"The reviewer's rationale, when supplied (e.g. a freeform\n`\"false positive\"`, or a cited authority). `None` for an unexplained\noverride.","required":["kind","name"],"properties":{"name":{"description":"The policy's name (e.g. `\"gdpr-art-17\"`, `\"hipaa-safe-harbor\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.0.name","typeLabel":"string"},"kind":{"type":"string","const":"freeform","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.0.kind","typeLabel":"string"},"description":{"description":"Human-readable description (e.g. `\"right to erasure\"`), when given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.0.description","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.0","typeLabel":"object"},{"type":"object","description":"The reviewer's rationale, when supplied (e.g. a freeform\n`\"false positive\"`, or a cited authority). `None` for an unexplained\noverride.","required":["kind","authority","citation"],"properties":{"authority":{"description":"The authority cited (e.g. `\"GDPR\"`, `\"HIPAA\"`, `\"internal-policy\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.1.authority","typeLabel":"string"},"citation":{"description":"The citation within that authority (e.g. `\"Art. 17(1)\"`, `\"§164.514\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.1.citation","typeLabel":"string"},"kind":{"type":"string","const":"cited","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.1.kind","typeLabel":"string"},"rationale":{"description":"Why the citation applies here (e.g. `\"data subject requested erasure\"`),\nwhen given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.1.rationale","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.1","typeLabel":"object"}],"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution","typeLabel":"object"}},"required":["intent","location"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail","typeLabel":"object"},"kind":{"type":"string","const":"manual","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10","typeLabel":"object"}],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].kind","typeLabel":"object"},"parents":{"description":"The events this one follows, by their hash. Empty for a birth event, one\nentry for a normal step, several for a fusion. Assigned by [`AuditLog`]\nwhen the event is recorded; read it through [`parents`](Self::parents).\n\nNot publicly settable: the links are the tamper-evident structure, so\nonly [`AuditLog::record`] / [`AuditLog::record_fusion`] assign them.\n\n[`AuditLog`]: crate::entity::audit::AuditLog\n[`AuditLog::record`]: crate::entity::audit::AuditLog::record\n[`AuditLog::record_fusion`]: crate::entity::audit::AuditLog::record_fusion","type":"array","items":{"description":"A 32-byte BLAKE3 digest.\n\nThe tamper-evident link in an [`AuditLog`] DAG: each [`AuditEvent`] hashes\nits payload together with its parents' hashes, so altering any event breaks\nevery event downstream of it. Displays and (with the `serde` feature)\n(de)serializes as lowercase hex.\n\nThe all-zero hash is [`GENESIS`](AuditHash::GENESIS), the link a birth event\n(one with no parents) chains from.\n\n[`AuditLog`]: crate::entity::audit::AuditLog\n[`AuditEvent`]: crate::entity::audit::AuditEvent","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].parents.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].parents","typeLabel":"string[]"},"source":{"description":"Who produced this event: a recognizer name, a deduplication strategy,\nan operator, or whatever acted.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].source","typeLabel":"string"},"timestamp":{"description":"When the event happened (UTC).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX].timestamp","typeLabel":"string"}},"required":["source","confidence","timestamp","kind","parents","hash"],"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit.items.[INDEX]","typeLabel":"object"},"description":"Tamper-evident audit trail: every contributing detection, the fusion\nevent if any, and the redaction that hid it, as a hash-linked DAG. It is\nalso the single source of truth for whether a reviewer\n[suppressed](Self::is_suppressed) the entity, a suppression is a\n[`Manual`] event on this trail, not a separate flag.\n\n[`Manual`]: crate::entity::audit::AuditKind::Manual","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].audit","typeLabel":"object[]"},"confidence":{"type":"number","description":"Effective confidence in `0.0..=1.0` (fused, if applicable).","format":"float","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].confidence","typeLabel":"number\u003cfloat>"},"id":{"description":"Stable unique identity for this entity (time-ordered UUIDv7), minted\nwhen the entity is assembled.","type":"string","format":"uuid","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"label":{"type":"string","description":"What kind of sensitive information this is (resolved via a\n[`LabelCatalog`]).","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].label","typeLabel":"string"},"location":{"type":"object","description":"Location of the entity within the medium (fused, if it came from more\nthan one detection).","required":["coord"],"properties":{"coord":{"oneOf":[{"type":"object","description":"The coordinate: a decoded range, or a source-only reference.","required":["kind","range"],"properties":{"range":{"type":"object","description":"Byte range within the (decoded) text content.","required":["start","end"],"properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].location.coord.oneOf.0.range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].location.coord.oneOf.0.range.start","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].location.coord.oneOf.0.range","typeLabel":"object"},"kind":{"type":"string","const":"decoded","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].location.coord.oneOf.0.kind","typeLabel":"string"},"source":{"description":"The exact raw source ranges this decoded span came from. Empty when the\nsource equals the decoded text.\n\nUsually one range; a reconciled span that fused several source runs (or a\nspan crossing an escape) carries several, kept distinct rather than merged\nacross gaps. Sorted, deduplicated.","type":"array","items":{"description":"A reference back to the original source: a byte range, and, for a container\nwhose body spans several files, which part that range indexes.\n\n[`TextLocation`]'s `range` indexes the *decoded* text stream a codec hands\nthe pipeline (entities resolved, container parts concatenated). A `SourceRef`\nis the *exact raw* byte range the decoded range came from, accounting for XML\nescapes where `\u0026amp;` (5 raw bytes) decodes to `\u0026` (1). `part` names the\ncontainer file the range is in (`word/header1.xml`) for a multi-file body\nlike DOCX, and is `None` for a single-file source (XML, HTML). It lets a\nconsumer point back at the untouched source bytes.\n\n[`TextLocation`]: super::TextLocation","type":"object","properties":{"range":{"type":"object","description":"The raw source byte range.","required":["start","end"],"properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].location.coord.oneOf.0.source.items.[INDEX].range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].location.coord.oneOf.0.source.items.[INDEX].range.start","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].location.coord.oneOf.0.source.items.[INDEX].range","typeLabel":"object"},"part":{"description":"The container part the range indexes, for a multi-file body; `None` for a\nsingle-file source.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].location.coord.oneOf.0.source.items.[INDEX].part","typeLabel":"string"}},"required":["range"],"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].location.coord.oneOf.0.source.items.[INDEX]","typeLabel":"object"},"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].location.coord.oneOf.0.source","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].location.coord.oneOf.0","typeLabel":"object"},{"type":"object","description":"The coordinate: a decoded range, or a source-only reference.","required":["kind","source"],"properties":{"source":{"description":"The raw byte range(s) the selection sits in. Sorted, deduplicated,\nnon-empty by construction.","type":"array","items":{"description":"A reference back to the original source: a byte range, and, for a container\nwhose body spans several files, which part that range indexes.\n\n[`TextLocation`]'s `range` indexes the *decoded* text stream a codec hands\nthe pipeline (entities resolved, container parts concatenated). A `SourceRef`\nis the *exact raw* byte range the decoded range came from, accounting for XML\nescapes where `\u0026amp;` (5 raw bytes) decodes to `\u0026` (1). `part` names the\ncontainer file the range is in (`word/header1.xml`) for a multi-file body\nlike DOCX, and is `None` for a single-file source (XML, HTML). It lets a\nconsumer point back at the untouched source bytes.\n\n[`TextLocation`]: super::TextLocation","type":"object","properties":{"range":{"type":"object","description":"The raw source byte range.","required":["start","end"],"properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].location.coord.oneOf.1.source.items.[INDEX].range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].location.coord.oneOf.1.source.items.[INDEX].range.start","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].location.coord.oneOf.1.source.items.[INDEX].range","typeLabel":"object"},"part":{"description":"The container part the range indexes, for a multi-file body; `None` for a\nsingle-file source.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].location.coord.oneOf.1.source.items.[INDEX].part","typeLabel":"string"}},"required":["range"],"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].location.coord.oneOf.1.source.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].location.coord.oneOf.1.source","typeLabel":"object[]"},"kind":{"type":"string","const":"source","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].location.coord.oneOf.1.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].location.coord.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].location.coord","typeLabel":"object"},"page":{"description":"1-based page number, when known. Orthogonal to the coordinate kind.","type":"integer","format":"uint32","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].location.page","typeLabel":"integer\u003cuint32>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].location","typeLabel":"object"},"coref":{"description":"Coreference identifier, if a recognizer resolved this entity as one\nmention of a cluster. Entities sharing an [`EntityCoRef`] denote the\nsame real-world thing.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].coref","typeLabel":"string"},"language":{"description":"The language of this entity's surrounding text, when a recognizer\nresolved one. `None` when unknown or language-agnostic.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].language","typeLabel":"string"},"recognized_range":{"type":"object","properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].recognized_range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].recognized_range.start","typeLabel":"integer\u003cuint>"}},"required":["start","end"],"description":"Byte range of the match in the *recognized text* it was found in (the\nOCR layout text, the audio transcript, or the text payload itself),\nthe stable key back into that enrichment artifact, where the rich\ncontext lives (which OCR block, which speaker) that the geometric\n[`location`] cannot hold. `None` for entities not found via text\nrecognition (e.g. a VLM box). An audit key, not a coordinate: redaction\nuses [`location`]; an audit uses this with the artifact.\n\n[`location`]: Entity::location","uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX].recognized_range","typeLabel":"object"}},"required":["id","label","location","confidence","audit"],"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.entities","typeLabel":"object[]"},"id":{"type":"array","items":{"type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.0.id.items.[INDEX]","typeLabel":"string"},"minItems":1,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.id","typeLabel":"string[]"},"modality":{"type":"string","const":"text","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.0.modality","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["id","modality","entities"],"properties":{"entities":{"type":"array","items":{"description":"Detected piece of sensitive information within some medium.\n\nGeneric over the [`Modality`] `M`, which is what makes the model\nmultimodal: a text pipeline yields `Entity\u003cText>`, an audio pipeline\n`Entity\u003cAudio>`, and so on. The entity's location is the modality's\n[`Location`] type, `M::Location`.\n\n# Birth and fusion\n\nA recognizer emits an entity directly, carrying a single recognition\n[`AuditEvent`] (its own finding) in the entity's [`audit`] trail. When\nseveral recognizers find the same thing, a fusion step (in\n`elide`) combines their entities into one: the survivor's\n[`location`] and [`confidence`] are the *fused* values, and every\ncontributing recognition event, plus a deduplication event, is\nretained in its audit trail. The entity therefore carries its full\naudit trail with it.\n\n[`Location`]: Modality::Location\n[`AuditEvent`]: crate::entity::audit::AuditEvent\n[`audit`]: Entity::audit\n[`location`]: Entity::location\n[`confidence`]: Entity::confidence","type":"object","properties":{"audit":{"type":"array","items":{"description":"One node in an entity's audit DAG: a thing that happened, with its\neffect on confidence and its tamper-evident links.\n\nEvents are recorded on an entity's [`AuditLog`], forming the full audit\ntrail of its life: each recognizer that found it, the deduplication that\nfused them, any score calibration, and the redaction that hid it. The\nuniform spine (who, resulting score, when) is the same for every event; the\n[`kind`] carries the event-specific detail *and* the explanation of why the\nevent happened.\n\nEach event links to its [`parents`] by their [`hash`]: a birth event (a\nrecognizer's first detection) has no parents, a normal step has one, and a\n[fusion](crate::entity::audit::AuditLog::record_fusion) has several. Its own\n[`hash`] folds the\npayload together with the parents' hashes, so altering any event breaks\nevery event downstream of it: [`AuditLog::verify`] walks the DAG and\nreports the first break.\n\n`entity.confidence` always equals the [`confidence`] of the most recent\nevent. The confidence *flowing in* is not stored: it is the parents'\n[`confidence`], recovered from the DAG.\n\n[`AuditLog`]: crate::entity::audit::AuditLog\n[`AuditLog::record_fusion`]: crate::entity::audit::AuditLog::record_fusion\n[`AuditLog::verify`]: crate::entity::audit::AuditLog::verify\n[`kind`]: AuditEvent::kind\n[`parents`]: AuditEvent::parents\n[`hash`]: AuditEvent::hash\n[`confidence`]: AuditEvent::confidence","type":"object","properties":{"confidence":{"type":"number","description":"Confidence after this event: the entity's effective confidence once it\nhas happened.","format":"float","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].confidence","typeLabel":"number\u003cfloat>"},"hash":{"type":"string","description":"This event's hash, over its payload and its parents' hashes. Assigned by\n[`AuditLog`] when the event is recorded; read it through\n[`hash`](Self::hash). Recomputing it is how the DAG is verified.\n\nNot publicly settable: only [`AuditLog`] assigns it, so a caller cannot\nforge a self-consistent event outside the recording path.\n\n[`AuditLog`]: crate::entity::audit::AuditLog","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].hash","typeLabel":"string"},"kind":{"oneOf":[{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"Detail of a pattern/dictionary recognition: a recognizer matched at\n`location`, with the pattern metadata in `pattern`.","type":"object","properties":{"location":{"type":"object","description":"Where the recognizer matched.","required":["bounding_box"],"properties":{"bounding_box":{"type":"object","description":"Axis-aligned bounding box of the region, in pixel coordinates.","required":["min","max"],"properties":{"max":{"type":"object","description":"Maximum corner (bottom-right, conventionally).","required":["x","y"],"properties":{"x":{"description":"Horizontal coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.bounding_box.max.x","typeLabel":"number\u003cdouble>"},"y":{"description":"Vertical coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.bounding_box.max.y","typeLabel":"number\u003cdouble>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.bounding_box.max","typeLabel":"object"},"min":{"type":"object","description":"Minimum corner (top-left, conventionally).","required":["x","y"],"properties":{"x":{"description":"Horizontal coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.bounding_box.min.x","typeLabel":"number\u003cdouble>"},"y":{"description":"Vertical coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.bounding_box.min.y","typeLabel":"number\u003cdouble>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.bounding_box.min","typeLabel":"object"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.bounding_box","typeLabel":"object"},"page":{"description":"1-based page number, for multi-page documents like PDFs.","type":"integer","format":"uint32","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.page","typeLabel":"integer\u003cuint32>"},"polygon":{"description":"Polygon vertices when the region is rotated or quadrilateral.\nAxis-aligned-only sources leave this unset.","type":"array","items":{"description":"Point in a 2-D coordinate space.\n\nThe coordinate basis is left to the consumer: pixel coordinates for a\nraster image, normalized `0.0..=1.0` coordinates for a\nresolution-independent region, or page units for a document. The\nmodel only requires the two scalars.","type":"object","properties":{"x":{"description":"Horizontal coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.polygon.items.[INDEX].x","typeLabel":"number\u003cdouble>"},"y":{"description":"Vertical coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.polygon.items.[INDEX].y","typeLabel":"number\u003cdouble>"}},"required":["x","y"],"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.polygon.items.[INDEX]","typeLabel":"object"},"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.polygon","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location","typeLabel":"object"},"pattern":{"type":"object","description":"Pattern metadata (name, regex, validator, contextual flag).","required":["name","contextual"],"properties":{"contextual":{"description":"Whether contextual analysis (keyword co-occurrence) adjusted the score\nfor this match.","type":"boolean","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.pattern.contextual","typeLabel":"boolean"},"name":{"description":"Name of the pattern that matched (e.g. `\"ssn\"`, `\"email\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.pattern.name","typeLabel":"string"},"regex":{"description":"Literal regex source that matched, when exposed.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.pattern.regex","typeLabel":"string"},"validator":{"description":"Name of the validator that confirmed the match (e.g. `\"luhn\"`).","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.pattern.validator","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.pattern","typeLabel":"object"}},"required":["location","pattern"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail","typeLabel":"object"},"kind":{"type":"string","const":"pattern","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"Detail of a model/NER recognition: a model matched at `location`, with its\nmetadata in `model`.","type":"object","properties":{"location":{"type":"object","description":"Where the recognizer matched.","required":["bounding_box"],"properties":{"bounding_box":{"type":"object","description":"Axis-aligned bounding box of the region, in pixel coordinates.","required":["min","max"],"properties":{"max":{"type":"object","description":"Maximum corner (bottom-right, conventionally).","required":["x","y"],"properties":{"x":{"description":"Horizontal coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.bounding_box.max.x","typeLabel":"number\u003cdouble>"},"y":{"description":"Vertical coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.bounding_box.max.y","typeLabel":"number\u003cdouble>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.bounding_box.max","typeLabel":"object"},"min":{"type":"object","description":"Minimum corner (top-left, conventionally).","required":["x","y"],"properties":{"x":{"description":"Horizontal coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.bounding_box.min.x","typeLabel":"number\u003cdouble>"},"y":{"description":"Vertical coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.bounding_box.min.y","typeLabel":"number\u003cdouble>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.bounding_box.min","typeLabel":"object"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.bounding_box","typeLabel":"object"},"page":{"description":"1-based page number, for multi-page documents like PDFs.","type":"integer","format":"uint32","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.page","typeLabel":"integer\u003cuint32>"},"polygon":{"description":"Polygon vertices when the region is rotated or quadrilateral.\nAxis-aligned-only sources leave this unset.","type":"array","items":{"description":"Point in a 2-D coordinate space.\n\nThe coordinate basis is left to the consumer: pixel coordinates for a\nraster image, normalized `0.0..=1.0` coordinates for a\nresolution-independent region, or page units for a document. The\nmodel only requires the two scalars.","type":"object","properties":{"x":{"description":"Horizontal coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.polygon.items.[INDEX].x","typeLabel":"number\u003cdouble>"},"y":{"description":"Vertical coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.polygon.items.[INDEX].y","typeLabel":"number\u003cdouble>"}},"required":["x","y"],"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.polygon.items.[INDEX]","typeLabel":"object"},"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.polygon","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location","typeLabel":"object"},"model":{"type":"object","description":"Model metadata (name, version, contextual flag).","required":["name","contextual"],"properties":{"contextual":{"description":"Whether contextual analysis adjusted the score for this match.","type":"boolean","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.model.contextual","typeLabel":"boolean"},"name":{"description":"Model name (e.g. `\"spacy-en-core-web-lg\"`, `\"gpt-4\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.model.name","typeLabel":"string"},"version":{"description":"Model version string, when known.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.model.version","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.model","typeLabel":"object"}},"required":["location","model"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail","typeLabel":"object"},"kind":{"type":"string","const":"model","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"Detail of a metadata-field detection: a document's out-of-band field\n(an EXIF tag, a file timestamp, a document property) was surfaced as a\nredaction subject at `location`, with its source in `metadata`.\n\nDistinct from [`Pattern`]/[`Model`] because a metadata field is not *matched*\nout of free content — it is a named field that is simply present. There is\nnothing probabilistic to weigh, so the entity carries it as its own event\nkind rather than pretending a pattern fired.","type":"object","properties":{"location":{"type":"object","description":"The field's location (its key).","required":["bounding_box"],"properties":{"bounding_box":{"type":"object","description":"Axis-aligned bounding box of the region, in pixel coordinates.","required":["min","max"],"properties":{"max":{"type":"object","description":"Maximum corner (bottom-right, conventionally).","required":["x","y"],"properties":{"x":{"description":"Horizontal coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.bounding_box.max.x","typeLabel":"number\u003cdouble>"},"y":{"description":"Vertical coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.bounding_box.max.y","typeLabel":"number\u003cdouble>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.bounding_box.max","typeLabel":"object"},"min":{"type":"object","description":"Minimum corner (top-left, conventionally).","required":["x","y"],"properties":{"x":{"description":"Horizontal coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.bounding_box.min.x","typeLabel":"number\u003cdouble>"},"y":{"description":"Vertical coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.bounding_box.min.y","typeLabel":"number\u003cdouble>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.bounding_box.min","typeLabel":"object"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.bounding_box","typeLabel":"object"},"page":{"description":"1-based page number, for multi-page documents like PDFs.","type":"integer","format":"uint32","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.page","typeLabel":"integer\u003cuint32>"},"polygon":{"description":"Polygon vertices when the region is rotated or quadrilateral.\nAxis-aligned-only sources leave this unset.","type":"array","items":{"description":"Point in a 2-D coordinate space.\n\nThe coordinate basis is left to the consumer: pixel coordinates for a\nraster image, normalized `0.0..=1.0` coordinates for a\nresolution-independent region, or page units for a document. The\nmodel only requires the two scalars.","type":"object","properties":{"x":{"description":"Horizontal coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.polygon.items.[INDEX].x","typeLabel":"number\u003cdouble>"},"y":{"description":"Vertical coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.polygon.items.[INDEX].y","typeLabel":"number\u003cdouble>"}},"required":["x","y"],"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.polygon.items.[INDEX]","typeLabel":"object"},"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.polygon","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location","typeLabel":"object"},"metadata":{"type":"object","description":"Source metadata (which reader surfaced the field).","required":["source"],"properties":{"source":{"description":"The reader that surfaced the field (e.g. `\"exif\"`, `\"docprops\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.metadata.source","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.metadata","typeLabel":"object"}},"required":["location","metadata"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail","typeLabel":"object"},"kind":{"type":"string","const":"metadata","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"Several detections were fused into one entity.","type":"object","properties":{"strategy":{"description":"Name of the fusion strategy that combined them.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.3.detail.strategy","typeLabel":"string"}},"required":["strategy"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.3.detail","typeLabel":"object"},"kind":{"type":"string","const":"deduplication","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.3.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.3","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"A competing detection of a *different* label over the same span was resolved\nagainst this (winning) entity, the loser is recorded, not dropped.","type":"object","properties":{"competing_confidence":{"type":"number","description":"The loser's confidence at resolution time.","format":"float","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4.detail.competing_confidence","typeLabel":"number\u003cfloat>"},"competing_label":{"type":"string","description":"The label of the detection that lost arbitration.","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4.detail.competing_label","typeLabel":"string"},"resolved_by":{"description":"Name of the conflict policy that chose the winner.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4.detail.resolved_by","typeLabel":"string"}},"required":["competing_label","competing_confidence","resolved_by"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4.detail","typeLabel":"object"},"kind":{"type":"string","const":"conflict","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"A competing detection of a different label over the same span was left\n*unresolved*: both entities survive, flagged for a human. Recorded on each\nentity of the contested pair, naming the other.","type":"object","properties":{"competing_confidence":{"type":"number","description":"The competing detection's confidence.","format":"float","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5.detail.competing_confidence","typeLabel":"number\u003cfloat>"},"competing_label":{"type":"string","description":"The label of the competing detection.","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5.detail.competing_label","typeLabel":"string"},"flagged_by":{"description":"Name of the policy that flagged the contest.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5.detail.flagged_by","typeLabel":"string"}},"required":["competing_label","competing_confidence","flagged_by"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5.detail","typeLabel":"object"},"kind":{"type":"string","const":"contested","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"The entity's confidence was rescaled by a per-recognizer factor.","type":"object","properties":{"factor":{"description":"Multiplier applied.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.6.detail.factor","typeLabel":"number\u003cdouble>"}},"required":["factor"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.6.detail","typeLabel":"object"},"kind":{"type":"string","const":"calibration","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.6.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.6","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"A context keyword near the entity lifted its confidence.","type":"object","properties":{"keyword":{"description":"Keyword that fired the boost.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.keyword","typeLabel":"string"},"hint":{"description":"The located [`Hint`] the keyword fired from, when the match came from an\nout-of-band hint (a column header, a key) rather than the in-text word\nwindow. `None` for an in-text-window match.\n\n[`Hint`]: crate::modality::Hint","type":"object","properties":{"data":{"type":"object","description":"The hint text itself (a column header, a field name).","required":["dimensions"],"properties":{"dimensions":{"type":"object","description":"Pixel dimensions of the encoded image.","required":["width","height"],"properties":{"height":{"description":"Height in pixels.","type":"integer","format":"uint32","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.data.dimensions.height","typeLabel":"integer\u003cuint32>"},"width":{"description":"Width in pixels.","type":"integer","format":"uint32","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.data.dimensions.width","typeLabel":"integer\u003cuint32>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.data.dimensions","typeLabel":"object"},"filename":{"description":"Original filename, when known.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.data.filename","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.data","typeLabel":"object"},"location":{"type":"object","description":"Where the hint text sits in the source (the header cell, the key).","required":["bounding_box"],"properties":{"bounding_box":{"type":"object","description":"Axis-aligned bounding box of the region, in pixel coordinates.","required":["min","max"],"properties":{"max":{"type":"object","description":"Maximum corner (bottom-right, conventionally).","required":["x","y"],"properties":{"x":{"description":"Horizontal coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.bounding_box.max.x","typeLabel":"number\u003cdouble>"},"y":{"description":"Vertical coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.bounding_box.max.y","typeLabel":"number\u003cdouble>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.bounding_box.max","typeLabel":"object"},"min":{"type":"object","description":"Minimum corner (top-left, conventionally).","required":["x","y"],"properties":{"x":{"description":"Horizontal coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.bounding_box.min.x","typeLabel":"number\u003cdouble>"},"y":{"description":"Vertical coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.bounding_box.min.y","typeLabel":"number\u003cdouble>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.bounding_box.min","typeLabel":"object"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.bounding_box","typeLabel":"object"},"page":{"description":"1-based page number, for multi-page documents like PDFs.","type":"integer","format":"uint32","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.page","typeLabel":"integer\u003cuint32>"},"polygon":{"description":"Polygon vertices when the region is rotated or quadrilateral.\nAxis-aligned-only sources leave this unset.","type":"array","items":{"description":"Point in a 2-D coordinate space.\n\nThe coordinate basis is left to the consumer: pixel coordinates for a\nraster image, normalized `0.0..=1.0` coordinates for a\nresolution-independent region, or page units for a document. The\nmodel only requires the two scalars.","type":"object","properties":{"x":{"description":"Horizontal coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.polygon.items.[INDEX].x","typeLabel":"number\u003cdouble>"},"y":{"description":"Vertical coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.polygon.items.[INDEX].y","typeLabel":"number\u003cdouble>"}},"required":["x","y"],"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.polygon.items.[INDEX]","typeLabel":"object"},"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.polygon","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location","typeLabel":"object"}},"required":["location","data"],"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint","typeLabel":"object"},"location":{"description":"Where the boosting keyword sits in the medium. For a hint match this\nmirrors the hint's own location; for an in-text-window match it is the\nkeyword resolved through the modality's [`locate`]. `None` when the\nkeyword's stream range could not be placed.\n\n[`locate`]: crate::modality::TextRecognizable::locate","type":"object","properties":{"bounding_box":{"type":"object","description":"Axis-aligned bounding box of the region, in pixel coordinates.","required":["min","max"],"properties":{"max":{"type":"object","description":"Maximum corner (bottom-right, conventionally).","required":["x","y"],"properties":{"x":{"description":"Horizontal coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.bounding_box.max.x","typeLabel":"number\u003cdouble>"},"y":{"description":"Vertical coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.bounding_box.max.y","typeLabel":"number\u003cdouble>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.bounding_box.max","typeLabel":"object"},"min":{"type":"object","description":"Minimum corner (top-left, conventionally).","required":["x","y"],"properties":{"x":{"description":"Horizontal coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.bounding_box.min.x","typeLabel":"number\u003cdouble>"},"y":{"description":"Vertical coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.bounding_box.min.y","typeLabel":"number\u003cdouble>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.bounding_box.min","typeLabel":"object"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.bounding_box","typeLabel":"object"},"page":{"description":"1-based page number, for multi-page documents like PDFs.","type":"integer","format":"uint32","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.page","typeLabel":"integer\u003cuint32>"},"polygon":{"description":"Polygon vertices when the region is rotated or quadrilateral.\nAxis-aligned-only sources leave this unset.","type":"array","items":{"description":"Point in a 2-D coordinate space.\n\nThe coordinate basis is left to the consumer: pixel coordinates for a\nraster image, normalized `0.0..=1.0` coordinates for a\nresolution-independent region, or page units for a document. The\nmodel only requires the two scalars.","type":"object","properties":{"x":{"description":"Horizontal coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.polygon.items.[INDEX].x","typeLabel":"number\u003cdouble>"},"y":{"description":"Vertical coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.polygon.items.[INDEX].y","typeLabel":"number\u003cdouble>"}},"required":["x","y"],"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.polygon.items.[INDEX]","typeLabel":"object"},"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.polygon","typeLabel":"object[]"}},"required":["bounding_box"],"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location","typeLabel":"object"}},"required":["keyword"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail","typeLabel":"object"},"kind":{"type":"string","const":"refinement","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"An operator hid the entity.","type":"object","properties":{"matched_by":{"oneOf":[{"type":"object","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","required":["label"],"properties":{"label":{"description":"Lightweight reference to a [`Label`], carrying only its id.\n\nThis is what detections and entities hold: cloning is cheap (short\nids inline into the [`HipStr`]), and the full [`Label`], with its\nlocalized names and descriptions, is resolved on demand from a\n[`LabelCatalog`].\n\n[`Label`]: crate::entity::Label\n[`LabelCatalog`]: crate::entity::LabelCatalog","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.0.label","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.0","typeLabel":"object"},{"type":"object","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","required":["tag"],"properties":{"tag":{"type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.1.tag","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.1","typeLabel":"object"},{"type":"string","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","const":"predicate","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.2","typeLabel":"string"},{"type":"string","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","const":"fallback","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.3","typeLabel":"string"}],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by","typeLabel":"object · object · string · string"},"operator":{"type":"object","description":"Which operator (name + version) ran.","required":["name","version"],"properties":{"name":{"description":"Stable operator name (e.g. `\"mask\"`, `\"aes-gcm-encrypt\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.operator.name","typeLabel":"string"},"version":{"description":"Operator's version at the time it was applied.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.operator.version","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.operator","typeLabel":"object"},"attribution":{"oneOf":[{"type":"object","description":"The author-supplied policy rationale, when the operator carried an\n[`Attribution`]; `None` otherwise.","required":["kind","name"],"properties":{"name":{"description":"The policy's name (e.g. `\"gdpr-art-17\"`, `\"hipaa-safe-harbor\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.0.name","typeLabel":"string"},"kind":{"type":"string","const":"freeform","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.0.kind","typeLabel":"string"},"description":{"description":"Human-readable description (e.g. `\"right to erasure\"`), when given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.0.description","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.0","typeLabel":"object"},{"type":"object","description":"The author-supplied policy rationale, when the operator carried an\n[`Attribution`]; `None` otherwise.","required":["kind","authority","citation"],"properties":{"authority":{"description":"The authority cited (e.g. `\"GDPR\"`, `\"HIPAA\"`, `\"internal-policy\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.1.authority","typeLabel":"string"},"citation":{"description":"The citation within that authority (e.g. `\"Art. 17(1)\"`, `\"§164.514\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.1.citation","typeLabel":"string"},"kind":{"type":"string","const":"cited","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.1.kind","typeLabel":"string"},"rationale":{"description":"Why the citation applies here (e.g. `\"data subject requested erasure\"`),\nwhen given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.1.rationale","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.1","typeLabel":"object"}],"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution","typeLabel":"object"},"key_id":{"description":"Identifier of the key needed to reverse it, if reversible.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.key_id","typeLabel":"string"},"leak_profile":{"oneOf":[{"type":"string","description":"How much the output leaks about the original, when the operator claimed a\nprofile; `None` when it made no claim.","const":"recoverable","uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.leak_profile.oneOf.0","typeLabel":"string"},{"type":"string","description":"How much the output leaks about the original, when the operator claimed a\nprofile; `None` when it made no claim.","const":"partial","uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.leak_profile.oneOf.1","typeLabel":"string"},{"type":"string","description":"How much the output leaks about the original, when the operator claimed a\nprofile; `None` when it made no claim.","const":"irrecoverable","uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.leak_profile.oneOf.2","typeLabel":"string"}],"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.leak_profile","typeLabel":"string"},"span_hash":{"description":"BLAKE3 digest of the original text the operator hid, when the redaction\nlayer recorded it. Proves *what* was redacted without storing the\nplaintext; `None` when the operator did not capture it.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.span_hash","typeLabel":"string"},"span_length":{"description":"Byte length of the original text the operator hid, paired with\n[`span_hash`](Self::span_hash). `None` when not captured.","type":"integer","format":"uint32","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.span_length","typeLabel":"integer\u003cuint32>"}},"required":["operator","matched_by"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail","typeLabel":"object"},"kind":{"type":"string","const":"redaction","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"An operator was *picked* to hide the entity, the redaction decision,\nrecorded before it is applied so it can be reviewed (and the entity edited)\nfirst. The [`Redaction`] event that follows records the operator actually\nrun.","type":"object","properties":{"matched_by":{"oneOf":[{"type":"object","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","required":["label"],"properties":{"label":{"description":"Lightweight reference to a [`Label`], carrying only its id.\n\nThis is what detections and entities hold: cloning is cheap (short\nids inline into the [`HipStr`]), and the full [`Label`], with its\nlocalized names and descriptions, is resolved on demand from a\n[`LabelCatalog`].\n\n[`Label`]: crate::entity::Label\n[`LabelCatalog`]: crate::entity::LabelCatalog","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.0.label","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.0","typeLabel":"object"},{"type":"object","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","required":["tag"],"properties":{"tag":{"type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.1.tag","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.1","typeLabel":"object"},{"type":"string","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","const":"predicate","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.2","typeLabel":"string"},{"type":"string","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","const":"fallback","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.3","typeLabel":"string"}],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by","typeLabel":"object · object · string · string"},"operator":{"type":"object","description":"Identity (name + version) of the operator picked. Its *config* is not\nrecorded; it lives in the policy that will run it, so apply re-resolves\nthe configured operator rather than reading it here.","required":["name","version"],"properties":{"name":{"description":"Stable operator name (e.g. `\"mask\"`, `\"aes-gcm-encrypt\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.operator.name","typeLabel":"string"},"version":{"description":"Operator's version at the time it was applied.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.operator.version","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.operator","typeLabel":"object"},"attribution":{"oneOf":[{"type":"object","description":"The author-supplied policy rationale, when the matched rule carried an\n[`Attribution`]; `None` otherwise.","required":["kind","name"],"properties":{"name":{"description":"The policy's name (e.g. `\"gdpr-art-17\"`, `\"hipaa-safe-harbor\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.0.name","typeLabel":"string"},"kind":{"type":"string","const":"freeform","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.0.kind","typeLabel":"string"},"description":{"description":"Human-readable description (e.g. `\"right to erasure\"`), when given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.0.description","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.0","typeLabel":"object"},{"type":"object","description":"The author-supplied policy rationale, when the matched rule carried an\n[`Attribution`]; `None` otherwise.","required":["kind","authority","citation"],"properties":{"authority":{"description":"The authority cited (e.g. `\"GDPR\"`, `\"HIPAA\"`, `\"internal-policy\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.1.authority","typeLabel":"string"},"citation":{"description":"The citation within that authority (e.g. `\"Art. 17(1)\"`, `\"§164.514\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.1.citation","typeLabel":"string"},"kind":{"type":"string","const":"cited","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.1.kind","typeLabel":"string"},"rationale":{"description":"Why the citation applies here (e.g. `\"data subject requested erasure\"`),\nwhen given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.1.rationale","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.1","typeLabel":"object"}],"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution","typeLabel":"object"}},"required":["operator","matched_by"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail","typeLabel":"object"},"kind":{"type":"string","const":"selection","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"A human override, outside automatic detection: an entity a reviewer added by\nhand, or a detected one they marked to ignore. Its provenance is a person's\ndecision, not a recognizer's, so the trail records *why* (an\n[`Attribution`], when supplied). *Who* made the override is the event's\n[`source`], not a payload field.\n\n[`source`]: super::AuditEvent::source","type":"object","properties":{"intent":{"oneOf":[{"type":"string","description":"Which human decision this records: including a missed entity, or\nsuppressing a detected one. This is the authority on whether the entity\nis redacted, [`AuditLog::is_suppressed`] reads it, so there is no\nseparate flag to keep in sync.\n\n[`AuditLog::is_suppressed`]: crate::entity::audit::AuditLog::is_suppressed","const":"flag","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.intent.oneOf.0","typeLabel":"string"},{"type":"string","description":"Which human decision this records: including a missed entity, or\nsuppressing a detected one. This is the authority on whether the entity\nis redacted, [`AuditLog::is_suppressed`] reads it, so there is no\nseparate flag to keep in sync.\n\n[`AuditLog::is_suppressed`]: crate::entity::audit::AuditLog::is_suppressed","const":"suppress","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.intent.oneOf.1","typeLabel":"string"},{"type":"string","description":"Which human decision this records: including a missed entity, or\nsuppressing a detected one. This is the authority on whether the entity\nis redacted, [`AuditLog::is_suppressed`] reads it, so there is no\nseparate flag to keep in sync.\n\n[`AuditLog::is_suppressed`]: crate::entity::audit::AuditLog::is_suppressed","const":"amend","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.intent.oneOf.2","typeLabel":"string"}],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.intent","typeLabel":"string"},"location":{"type":"object","description":"Where the override applies, in modality-native coordinates.","required":["bounding_box"],"properties":{"bounding_box":{"type":"object","description":"Axis-aligned bounding box of the region, in pixel coordinates.","required":["min","max"],"properties":{"max":{"type":"object","description":"Maximum corner (bottom-right, conventionally).","required":["x","y"],"properties":{"x":{"description":"Horizontal coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.bounding_box.max.x","typeLabel":"number\u003cdouble>"},"y":{"description":"Vertical coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.bounding_box.max.y","typeLabel":"number\u003cdouble>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.bounding_box.max","typeLabel":"object"},"min":{"type":"object","description":"Minimum corner (top-left, conventionally).","required":["x","y"],"properties":{"x":{"description":"Horizontal coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.bounding_box.min.x","typeLabel":"number\u003cdouble>"},"y":{"description":"Vertical coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.bounding_box.min.y","typeLabel":"number\u003cdouble>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.bounding_box.min","typeLabel":"object"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.bounding_box","typeLabel":"object"},"page":{"description":"1-based page number, for multi-page documents like PDFs.","type":"integer","format":"uint32","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.page","typeLabel":"integer\u003cuint32>"},"polygon":{"description":"Polygon vertices when the region is rotated or quadrilateral.\nAxis-aligned-only sources leave this unset.","type":"array","items":{"description":"Point in a 2-D coordinate space.\n\nThe coordinate basis is left to the consumer: pixel coordinates for a\nraster image, normalized `0.0..=1.0` coordinates for a\nresolution-independent region, or page units for a document. The\nmodel only requires the two scalars.","type":"object","properties":{"x":{"description":"Horizontal coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.polygon.items.[INDEX].x","typeLabel":"number\u003cdouble>"},"y":{"description":"Vertical coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.polygon.items.[INDEX].y","typeLabel":"number\u003cdouble>"}},"required":["x","y"],"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.polygon.items.[INDEX]","typeLabel":"object"},"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.polygon","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location","typeLabel":"object"},"attribution":{"oneOf":[{"type":"object","description":"The reviewer's rationale, when supplied (e.g. a freeform\n`\"false positive\"`, or a cited authority). `None` for an unexplained\noverride.","required":["kind","name"],"properties":{"name":{"description":"The policy's name (e.g. `\"gdpr-art-17\"`, `\"hipaa-safe-harbor\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.0.name","typeLabel":"string"},"kind":{"type":"string","const":"freeform","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.0.kind","typeLabel":"string"},"description":{"description":"Human-readable description (e.g. `\"right to erasure\"`), when given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.0.description","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.0","typeLabel":"object"},{"type":"object","description":"The reviewer's rationale, when supplied (e.g. a freeform\n`\"false positive\"`, or a cited authority). `None` for an unexplained\noverride.","required":["kind","authority","citation"],"properties":{"authority":{"description":"The authority cited (e.g. `\"GDPR\"`, `\"HIPAA\"`, `\"internal-policy\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.1.authority","typeLabel":"string"},"citation":{"description":"The citation within that authority (e.g. `\"Art. 17(1)\"`, `\"§164.514\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.1.citation","typeLabel":"string"},"kind":{"type":"string","const":"cited","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.1.kind","typeLabel":"string"},"rationale":{"description":"Why the citation applies here (e.g. `\"data subject requested erasure\"`),\nwhen given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.1.rationale","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.1","typeLabel":"object"}],"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution","typeLabel":"object"}},"required":["intent","location"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail","typeLabel":"object"},"kind":{"type":"string","const":"manual","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10","typeLabel":"object"}],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].kind","typeLabel":"object"},"parents":{"description":"The events this one follows, by their hash. Empty for a birth event, one\nentry for a normal step, several for a fusion. Assigned by [`AuditLog`]\nwhen the event is recorded; read it through [`parents`](Self::parents).\n\nNot publicly settable: the links are the tamper-evident structure, so\nonly [`AuditLog::record`] / [`AuditLog::record_fusion`] assign them.\n\n[`AuditLog`]: crate::entity::audit::AuditLog\n[`AuditLog::record`]: crate::entity::audit::AuditLog::record\n[`AuditLog::record_fusion`]: crate::entity::audit::AuditLog::record_fusion","type":"array","items":{"description":"A 32-byte BLAKE3 digest.\n\nThe tamper-evident link in an [`AuditLog`] DAG: each [`AuditEvent`] hashes\nits payload together with its parents' hashes, so altering any event breaks\nevery event downstream of it. Displays and (with the `serde` feature)\n(de)serializes as lowercase hex.\n\nThe all-zero hash is [`GENESIS`](AuditHash::GENESIS), the link a birth event\n(one with no parents) chains from.\n\n[`AuditLog`]: crate::entity::audit::AuditLog\n[`AuditEvent`]: crate::entity::audit::AuditEvent","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].parents.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].parents","typeLabel":"string[]"},"source":{"description":"Who produced this event: a recognizer name, a deduplication strategy,\nan operator, or whatever acted.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].source","typeLabel":"string"},"timestamp":{"description":"When the event happened (UTC).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX].timestamp","typeLabel":"string"}},"required":["source","confidence","timestamp","kind","parents","hash"],"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit.items.[INDEX]","typeLabel":"object"},"description":"Tamper-evident audit trail: every contributing detection, the fusion\nevent if any, and the redaction that hid it, as a hash-linked DAG. It is\nalso the single source of truth for whether a reviewer\n[suppressed](Self::is_suppressed) the entity, a suppression is a\n[`Manual`] event on this trail, not a separate flag.\n\n[`Manual`]: crate::entity::audit::AuditKind::Manual","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].audit","typeLabel":"object[]"},"confidence":{"type":"number","description":"Effective confidence in `0.0..=1.0` (fused, if applicable).","format":"float","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].confidence","typeLabel":"number\u003cfloat>"},"id":{"description":"Stable unique identity for this entity (time-ordered UUIDv7), minted\nwhen the entity is assembled.","type":"string","format":"uuid","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"label":{"type":"string","description":"What kind of sensitive information this is (resolved via a\n[`LabelCatalog`]).","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].label","typeLabel":"string"},"location":{"type":"object","description":"Location of the entity within the medium (fused, if it came from more\nthan one detection).","required":["bounding_box"],"properties":{"bounding_box":{"type":"object","description":"Axis-aligned bounding box of the region, in pixel coordinates.","required":["min","max"],"properties":{"max":{"type":"object","description":"Maximum corner (bottom-right, conventionally).","required":["x","y"],"properties":{"x":{"description":"Horizontal coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].location.bounding_box.max.x","typeLabel":"number\u003cdouble>"},"y":{"description":"Vertical coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].location.bounding_box.max.y","typeLabel":"number\u003cdouble>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].location.bounding_box.max","typeLabel":"object"},"min":{"type":"object","description":"Minimum corner (top-left, conventionally).","required":["x","y"],"properties":{"x":{"description":"Horizontal coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].location.bounding_box.min.x","typeLabel":"number\u003cdouble>"},"y":{"description":"Vertical coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].location.bounding_box.min.y","typeLabel":"number\u003cdouble>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].location.bounding_box.min","typeLabel":"object"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].location.bounding_box","typeLabel":"object"},"page":{"description":"1-based page number, for multi-page documents like PDFs.","type":"integer","format":"uint32","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].location.page","typeLabel":"integer\u003cuint32>"},"polygon":{"description":"Polygon vertices when the region is rotated or quadrilateral.\nAxis-aligned-only sources leave this unset.","type":"array","items":{"description":"Point in a 2-D coordinate space.\n\nThe coordinate basis is left to the consumer: pixel coordinates for a\nraster image, normalized `0.0..=1.0` coordinates for a\nresolution-independent region, or page units for a document. The\nmodel only requires the two scalars.","type":"object","properties":{"x":{"description":"Horizontal coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].location.polygon.items.[INDEX].x","typeLabel":"number\u003cdouble>"},"y":{"description":"Vertical coordinate.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].location.polygon.items.[INDEX].y","typeLabel":"number\u003cdouble>"}},"required":["x","y"],"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].location.polygon.items.[INDEX]","typeLabel":"object"},"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].location.polygon","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].location","typeLabel":"object"},"coref":{"description":"Coreference identifier, if a recognizer resolved this entity as one\nmention of a cluster. Entities sharing an [`EntityCoRef`] denote the\nsame real-world thing.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].coref","typeLabel":"string"},"language":{"description":"The language of this entity's surrounding text, when a recognizer\nresolved one. `None` when unknown or language-agnostic.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].language","typeLabel":"string"},"recognized_range":{"type":"object","properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].recognized_range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].recognized_range.start","typeLabel":"integer\u003cuint>"}},"required":["start","end"],"description":"Byte range of the match in the *recognized text* it was found in (the\nOCR layout text, the audio transcript, or the text payload itself),\nthe stable key back into that enrichment artifact, where the rich\ncontext lives (which OCR block, which speaker) that the geometric\n[`location`] cannot hold. `None` for entities not found via text\nrecognition (e.g. a VLM box). An audit key, not a coordinate: redaction\nuses [`location`]; an audit uses this with the artifact.\n\n[`location`]: Entity::location","uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX].recognized_range","typeLabel":"object"}},"required":["id","label","location","confidence","audit"],"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.entities","typeLabel":"object[]"},"id":{"type":"array","items":{"type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.1.id.items.[INDEX]","typeLabel":"string"},"minItems":1,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.id","typeLabel":"string[]"},"modality":{"type":"string","const":"image","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.1.modality","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","required":["id","modality","entities"],"properties":{"entities":{"type":"array","items":{"description":"Detected piece of sensitive information within some medium.\n\nGeneric over the [`Modality`] `M`, which is what makes the model\nmultimodal: a text pipeline yields `Entity\u003cText>`, an audio pipeline\n`Entity\u003cAudio>`, and so on. The entity's location is the modality's\n[`Location`] type, `M::Location`.\n\n# Birth and fusion\n\nA recognizer emits an entity directly, carrying a single recognition\n[`AuditEvent`] (its own finding) in the entity's [`audit`] trail. When\nseveral recognizers find the same thing, a fusion step (in\n`elide`) combines their entities into one: the survivor's\n[`location`] and [`confidence`] are the *fused* values, and every\ncontributing recognition event, plus a deduplication event, is\nretained in its audit trail. The entity therefore carries its full\naudit trail with it.\n\n[`Location`]: Modality::Location\n[`AuditEvent`]: crate::entity::audit::AuditEvent\n[`audit`]: Entity::audit\n[`location`]: Entity::location\n[`confidence`]: Entity::confidence","type":"object","properties":{"audit":{"type":"array","items":{"description":"One node in an entity's audit DAG: a thing that happened, with its\neffect on confidence and its tamper-evident links.\n\nEvents are recorded on an entity's [`AuditLog`], forming the full audit\ntrail of its life: each recognizer that found it, the deduplication that\nfused them, any score calibration, and the redaction that hid it. The\nuniform spine (who, resulting score, when) is the same for every event; the\n[`kind`] carries the event-specific detail *and* the explanation of why the\nevent happened.\n\nEach event links to its [`parents`] by their [`hash`]: a birth event (a\nrecognizer's first detection) has no parents, a normal step has one, and a\n[fusion](crate::entity::audit::AuditLog::record_fusion) has several. Its own\n[`hash`] folds the\npayload together with the parents' hashes, so altering any event breaks\nevery event downstream of it: [`AuditLog::verify`] walks the DAG and\nreports the first break.\n\n`entity.confidence` always equals the [`confidence`] of the most recent\nevent. The confidence *flowing in* is not stored: it is the parents'\n[`confidence`], recovered from the DAG.\n\n[`AuditLog`]: crate::entity::audit::AuditLog\n[`AuditLog::record_fusion`]: crate::entity::audit::AuditLog::record_fusion\n[`AuditLog::verify`]: crate::entity::audit::AuditLog::verify\n[`kind`]: AuditEvent::kind\n[`parents`]: AuditEvent::parents\n[`hash`]: AuditEvent::hash\n[`confidence`]: AuditEvent::confidence","type":"object","properties":{"confidence":{"type":"number","description":"Confidence after this event: the entity's effective confidence once it\nhas happened.","format":"float","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].confidence","typeLabel":"number\u003cfloat>"},"hash":{"type":"string","description":"This event's hash, over its payload and its parents' hashes. Assigned by\n[`AuditLog`] when the event is recorded; read it through\n[`hash`](Self::hash). Recomputing it is how the DAG is verified.\n\nNot publicly settable: only [`AuditLog`] assigns it, so a caller cannot\nforge a self-consistent event outside the recording path.\n\n[`AuditLog`]: crate::entity::audit::AuditLog","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].hash","typeLabel":"string"},"kind":{"oneOf":[{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"Detail of a pattern/dictionary recognition: a recognizer matched at\n`location`, with the pattern metadata in `pattern`.","type":"object","properties":{"location":{"type":"object","description":"Where the recognizer matched.","required":["span"],"properties":{"span":{"type":"object","description":"Time span the location covers, in the stream's timeline.","required":["start_us","end_us"],"properties":{"end_us":{"description":"Microseconds from the start of the stream where the interval ends\n(exclusive).","type":"integer","format":"uint64","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.span.end_us","typeLabel":"integer\u003cuint64>"},"start_us":{"description":"Microseconds from the start of the stream where the interval begins.","type":"integer","format":"uint64","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.span.start_us","typeLabel":"integer\u003cuint64>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.span","typeLabel":"object"},"speaker_id":{"description":"Diarization label of the speaker, when a diarizer assigned one.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.speaker_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location","typeLabel":"object"},"pattern":{"type":"object","description":"Pattern metadata (name, regex, validator, contextual flag).","required":["name","contextual"],"properties":{"contextual":{"description":"Whether contextual analysis (keyword co-occurrence) adjusted the score\nfor this match.","type":"boolean","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.pattern.contextual","typeLabel":"boolean"},"name":{"description":"Name of the pattern that matched (e.g. `\"ssn\"`, `\"email\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.pattern.name","typeLabel":"string"},"regex":{"description":"Literal regex source that matched, when exposed.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.pattern.regex","typeLabel":"string"},"validator":{"description":"Name of the validator that confirmed the match (e.g. `\"luhn\"`).","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.pattern.validator","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.pattern","typeLabel":"object"}},"required":["location","pattern"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail","typeLabel":"object"},"kind":{"type":"string","const":"pattern","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"Detail of a model/NER recognition: a model matched at `location`, with its\nmetadata in `model`.","type":"object","properties":{"location":{"type":"object","description":"Where the recognizer matched.","required":["span"],"properties":{"span":{"type":"object","description":"Time span the location covers, in the stream's timeline.","required":["start_us","end_us"],"properties":{"end_us":{"description":"Microseconds from the start of the stream where the interval ends\n(exclusive).","type":"integer","format":"uint64","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.span.end_us","typeLabel":"integer\u003cuint64>"},"start_us":{"description":"Microseconds from the start of the stream where the interval begins.","type":"integer","format":"uint64","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.span.start_us","typeLabel":"integer\u003cuint64>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.span","typeLabel":"object"},"speaker_id":{"description":"Diarization label of the speaker, when a diarizer assigned one.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.speaker_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location","typeLabel":"object"},"model":{"type":"object","description":"Model metadata (name, version, contextual flag).","required":["name","contextual"],"properties":{"contextual":{"description":"Whether contextual analysis adjusted the score for this match.","type":"boolean","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.model.contextual","typeLabel":"boolean"},"name":{"description":"Model name (e.g. `\"spacy-en-core-web-lg\"`, `\"gpt-4\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.model.name","typeLabel":"string"},"version":{"description":"Model version string, when known.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.model.version","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.model","typeLabel":"object"}},"required":["location","model"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail","typeLabel":"object"},"kind":{"type":"string","const":"model","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"Detail of a metadata-field detection: a document's out-of-band field\n(an EXIF tag, a file timestamp, a document property) was surfaced as a\nredaction subject at `location`, with its source in `metadata`.\n\nDistinct from [`Pattern`]/[`Model`] because a metadata field is not *matched*\nout of free content — it is a named field that is simply present. There is\nnothing probabilistic to weigh, so the entity carries it as its own event\nkind rather than pretending a pattern fired.","type":"object","properties":{"location":{"type":"object","description":"The field's location (its key).","required":["span"],"properties":{"span":{"type":"object","description":"Time span the location covers, in the stream's timeline.","required":["start_us","end_us"],"properties":{"end_us":{"description":"Microseconds from the start of the stream where the interval ends\n(exclusive).","type":"integer","format":"uint64","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.span.end_us","typeLabel":"integer\u003cuint64>"},"start_us":{"description":"Microseconds from the start of the stream where the interval begins.","type":"integer","format":"uint64","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.span.start_us","typeLabel":"integer\u003cuint64>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.span","typeLabel":"object"},"speaker_id":{"description":"Diarization label of the speaker, when a diarizer assigned one.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.speaker_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location","typeLabel":"object"},"metadata":{"type":"object","description":"Source metadata (which reader surfaced the field).","required":["source"],"properties":{"source":{"description":"The reader that surfaced the field (e.g. `\"exif\"`, `\"docprops\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.metadata.source","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.metadata","typeLabel":"object"}},"required":["location","metadata"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail","typeLabel":"object"},"kind":{"type":"string","const":"metadata","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"Several detections were fused into one entity.","type":"object","properties":{"strategy":{"description":"Name of the fusion strategy that combined them.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.3.detail.strategy","typeLabel":"string"}},"required":["strategy"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.3.detail","typeLabel":"object"},"kind":{"type":"string","const":"deduplication","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.3.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.3","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"A competing detection of a *different* label over the same span was resolved\nagainst this (winning) entity, the loser is recorded, not dropped.","type":"object","properties":{"competing_confidence":{"type":"number","description":"The loser's confidence at resolution time.","format":"float","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4.detail.competing_confidence","typeLabel":"number\u003cfloat>"},"competing_label":{"type":"string","description":"The label of the detection that lost arbitration.","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4.detail.competing_label","typeLabel":"string"},"resolved_by":{"description":"Name of the conflict policy that chose the winner.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4.detail.resolved_by","typeLabel":"string"}},"required":["competing_label","competing_confidence","resolved_by"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4.detail","typeLabel":"object"},"kind":{"type":"string","const":"conflict","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"A competing detection of a different label over the same span was left\n*unresolved*: both entities survive, flagged for a human. Recorded on each\nentity of the contested pair, naming the other.","type":"object","properties":{"competing_confidence":{"type":"number","description":"The competing detection's confidence.","format":"float","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5.detail.competing_confidence","typeLabel":"number\u003cfloat>"},"competing_label":{"type":"string","description":"The label of the competing detection.","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5.detail.competing_label","typeLabel":"string"},"flagged_by":{"description":"Name of the policy that flagged the contest.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5.detail.flagged_by","typeLabel":"string"}},"required":["competing_label","competing_confidence","flagged_by"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5.detail","typeLabel":"object"},"kind":{"type":"string","const":"contested","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"The entity's confidence was rescaled by a per-recognizer factor.","type":"object","properties":{"factor":{"description":"Multiplier applied.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.6.detail.factor","typeLabel":"number\u003cdouble>"}},"required":["factor"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.6.detail","typeLabel":"object"},"kind":{"type":"string","const":"calibration","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.6.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.6","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"A context keyword near the entity lifted its confidence.","type":"object","properties":{"keyword":{"description":"Keyword that fired the boost.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.keyword","typeLabel":"string"},"hint":{"description":"The located [`Hint`] the keyword fired from, when the match came from an\nout-of-band hint (a column header, a key) rather than the in-text word\nwindow. `None` for an in-text-window match.\n\n[`Hint`]: crate::modality::Hint","type":"object","properties":{"data":{"type":"object","description":"The hint text itself (a column header, a field name).","properties":{"filename":{"description":"Original filename, when known.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.data.filename","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.data","typeLabel":"object"},"location":{"type":"object","description":"Where the hint text sits in the source (the header cell, the key).","required":["span"],"properties":{"span":{"type":"object","description":"Time span the location covers, in the stream's timeline.","required":["start_us","end_us"],"properties":{"end_us":{"description":"Microseconds from the start of the stream where the interval ends\n(exclusive).","type":"integer","format":"uint64","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.span.end_us","typeLabel":"integer\u003cuint64>"},"start_us":{"description":"Microseconds from the start of the stream where the interval begins.","type":"integer","format":"uint64","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.span.start_us","typeLabel":"integer\u003cuint64>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.span","typeLabel":"object"},"speaker_id":{"description":"Diarization label of the speaker, when a diarizer assigned one.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.speaker_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location","typeLabel":"object"}},"required":["location","data"],"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint","typeLabel":"object"},"location":{"description":"Where the boosting keyword sits in the medium. For a hint match this\nmirrors the hint's own location; for an in-text-window match it is the\nkeyword resolved through the modality's [`locate`]. `None` when the\nkeyword's stream range could not be placed.\n\n[`locate`]: crate::modality::TextRecognizable::locate","type":"object","properties":{"span":{"type":"object","description":"Time span the location covers, in the stream's timeline.","required":["start_us","end_us"],"properties":{"end_us":{"description":"Microseconds from the start of the stream where the interval ends\n(exclusive).","type":"integer","format":"uint64","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.span.end_us","typeLabel":"integer\u003cuint64>"},"start_us":{"description":"Microseconds from the start of the stream where the interval begins.","type":"integer","format":"uint64","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.span.start_us","typeLabel":"integer\u003cuint64>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.span","typeLabel":"object"},"speaker_id":{"description":"Diarization label of the speaker, when a diarizer assigned one.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.speaker_id","typeLabel":"string"}},"required":["span"],"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location","typeLabel":"object"}},"required":["keyword"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail","typeLabel":"object"},"kind":{"type":"string","const":"refinement","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"An operator hid the entity.","type":"object","properties":{"matched_by":{"oneOf":[{"type":"object","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","required":["label"],"properties":{"label":{"description":"Lightweight reference to a [`Label`], carrying only its id.\n\nThis is what detections and entities hold: cloning is cheap (short\nids inline into the [`HipStr`]), and the full [`Label`], with its\nlocalized names and descriptions, is resolved on demand from a\n[`LabelCatalog`].\n\n[`Label`]: crate::entity::Label\n[`LabelCatalog`]: crate::entity::LabelCatalog","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.0.label","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.0","typeLabel":"object"},{"type":"object","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","required":["tag"],"properties":{"tag":{"type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.1.tag","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.1","typeLabel":"object"},{"type":"string","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","const":"predicate","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.2","typeLabel":"string"},{"type":"string","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","const":"fallback","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.3","typeLabel":"string"}],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by","typeLabel":"object · object · string · string"},"operator":{"type":"object","description":"Which operator (name + version) ran.","required":["name","version"],"properties":{"name":{"description":"Stable operator name (e.g. `\"mask\"`, `\"aes-gcm-encrypt\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.operator.name","typeLabel":"string"},"version":{"description":"Operator's version at the time it was applied.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.operator.version","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.operator","typeLabel":"object"},"attribution":{"oneOf":[{"type":"object","description":"The author-supplied policy rationale, when the operator carried an\n[`Attribution`]; `None` otherwise.","required":["kind","name"],"properties":{"name":{"description":"The policy's name (e.g. `\"gdpr-art-17\"`, `\"hipaa-safe-harbor\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.0.name","typeLabel":"string"},"kind":{"type":"string","const":"freeform","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.0.kind","typeLabel":"string"},"description":{"description":"Human-readable description (e.g. `\"right to erasure\"`), when given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.0.description","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.0","typeLabel":"object"},{"type":"object","description":"The author-supplied policy rationale, when the operator carried an\n[`Attribution`]; `None` otherwise.","required":["kind","authority","citation"],"properties":{"authority":{"description":"The authority cited (e.g. `\"GDPR\"`, `\"HIPAA\"`, `\"internal-policy\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.1.authority","typeLabel":"string"},"citation":{"description":"The citation within that authority (e.g. `\"Art. 17(1)\"`, `\"§164.514\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.1.citation","typeLabel":"string"},"kind":{"type":"string","const":"cited","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.1.kind","typeLabel":"string"},"rationale":{"description":"Why the citation applies here (e.g. `\"data subject requested erasure\"`),\nwhen given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.1.rationale","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.1","typeLabel":"object"}],"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution","typeLabel":"object"},"key_id":{"description":"Identifier of the key needed to reverse it, if reversible.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.key_id","typeLabel":"string"},"leak_profile":{"oneOf":[{"type":"string","description":"How much the output leaks about the original, when the operator claimed a\nprofile; `None` when it made no claim.","const":"recoverable","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.leak_profile.oneOf.0","typeLabel":"string"},{"type":"string","description":"How much the output leaks about the original, when the operator claimed a\nprofile; `None` when it made no claim.","const":"partial","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.leak_profile.oneOf.1","typeLabel":"string"},{"type":"string","description":"How much the output leaks about the original, when the operator claimed a\nprofile; `None` when it made no claim.","const":"irrecoverable","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.leak_profile.oneOf.2","typeLabel":"string"}],"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.leak_profile","typeLabel":"string"},"span_hash":{"description":"BLAKE3 digest of the original text the operator hid, when the redaction\nlayer recorded it. Proves *what* was redacted without storing the\nplaintext; `None` when the operator did not capture it.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.span_hash","typeLabel":"string"},"span_length":{"description":"Byte length of the original text the operator hid, paired with\n[`span_hash`](Self::span_hash). `None` when not captured.","type":"integer","format":"uint32","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.span_length","typeLabel":"integer\u003cuint32>"}},"required":["operator","matched_by"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail","typeLabel":"object"},"kind":{"type":"string","const":"redaction","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"An operator was *picked* to hide the entity, the redaction decision,\nrecorded before it is applied so it can be reviewed (and the entity edited)\nfirst. The [`Redaction`] event that follows records the operator actually\nrun.","type":"object","properties":{"matched_by":{"oneOf":[{"type":"object","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","required":["label"],"properties":{"label":{"description":"Lightweight reference to a [`Label`], carrying only its id.\n\nThis is what detections and entities hold: cloning is cheap (short\nids inline into the [`HipStr`]), and the full [`Label`], with its\nlocalized names and descriptions, is resolved on demand from a\n[`LabelCatalog`].\n\n[`Label`]: crate::entity::Label\n[`LabelCatalog`]: crate::entity::LabelCatalog","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.0.label","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.0","typeLabel":"object"},{"type":"object","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","required":["tag"],"properties":{"tag":{"type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.1.tag","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.1","typeLabel":"object"},{"type":"string","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","const":"predicate","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.2","typeLabel":"string"},{"type":"string","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","const":"fallback","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.3","typeLabel":"string"}],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by","typeLabel":"object · object · string · string"},"operator":{"type":"object","description":"Identity (name + version) of the operator picked. Its *config* is not\nrecorded; it lives in the policy that will run it, so apply re-resolves\nthe configured operator rather than reading it here.","required":["name","version"],"properties":{"name":{"description":"Stable operator name (e.g. `\"mask\"`, `\"aes-gcm-encrypt\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.operator.name","typeLabel":"string"},"version":{"description":"Operator's version at the time it was applied.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.operator.version","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.operator","typeLabel":"object"},"attribution":{"oneOf":[{"type":"object","description":"The author-supplied policy rationale, when the matched rule carried an\n[`Attribution`]; `None` otherwise.","required":["kind","name"],"properties":{"name":{"description":"The policy's name (e.g. `\"gdpr-art-17\"`, `\"hipaa-safe-harbor\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.0.name","typeLabel":"string"},"kind":{"type":"string","const":"freeform","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.0.kind","typeLabel":"string"},"description":{"description":"Human-readable description (e.g. `\"right to erasure\"`), when given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.0.description","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.0","typeLabel":"object"},{"type":"object","description":"The author-supplied policy rationale, when the matched rule carried an\n[`Attribution`]; `None` otherwise.","required":["kind","authority","citation"],"properties":{"authority":{"description":"The authority cited (e.g. `\"GDPR\"`, `\"HIPAA\"`, `\"internal-policy\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.1.authority","typeLabel":"string"},"citation":{"description":"The citation within that authority (e.g. `\"Art. 17(1)\"`, `\"§164.514\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.1.citation","typeLabel":"string"},"kind":{"type":"string","const":"cited","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.1.kind","typeLabel":"string"},"rationale":{"description":"Why the citation applies here (e.g. `\"data subject requested erasure\"`),\nwhen given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.1.rationale","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.1","typeLabel":"object"}],"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution","typeLabel":"object"}},"required":["operator","matched_by"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail","typeLabel":"object"},"kind":{"type":"string","const":"selection","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"A human override, outside automatic detection: an entity a reviewer added by\nhand, or a detected one they marked to ignore. Its provenance is a person's\ndecision, not a recognizer's, so the trail records *why* (an\n[`Attribution`], when supplied). *Who* made the override is the event's\n[`source`], not a payload field.\n\n[`source`]: super::AuditEvent::source","type":"object","properties":{"intent":{"oneOf":[{"type":"string","description":"Which human decision this records: including a missed entity, or\nsuppressing a detected one. This is the authority on whether the entity\nis redacted, [`AuditLog::is_suppressed`] reads it, so there is no\nseparate flag to keep in sync.\n\n[`AuditLog::is_suppressed`]: crate::entity::audit::AuditLog::is_suppressed","const":"flag","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.intent.oneOf.0","typeLabel":"string"},{"type":"string","description":"Which human decision this records: including a missed entity, or\nsuppressing a detected one. This is the authority on whether the entity\nis redacted, [`AuditLog::is_suppressed`] reads it, so there is no\nseparate flag to keep in sync.\n\n[`AuditLog::is_suppressed`]: crate::entity::audit::AuditLog::is_suppressed","const":"suppress","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.intent.oneOf.1","typeLabel":"string"},{"type":"string","description":"Which human decision this records: including a missed entity, or\nsuppressing a detected one. This is the authority on whether the entity\nis redacted, [`AuditLog::is_suppressed`] reads it, so there is no\nseparate flag to keep in sync.\n\n[`AuditLog::is_suppressed`]: crate::entity::audit::AuditLog::is_suppressed","const":"amend","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.intent.oneOf.2","typeLabel":"string"}],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.intent","typeLabel":"string"},"location":{"type":"object","description":"Where the override applies, in modality-native coordinates.","required":["span"],"properties":{"span":{"type":"object","description":"Time span the location covers, in the stream's timeline.","required":["start_us","end_us"],"properties":{"end_us":{"description":"Microseconds from the start of the stream where the interval ends\n(exclusive).","type":"integer","format":"uint64","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.span.end_us","typeLabel":"integer\u003cuint64>"},"start_us":{"description":"Microseconds from the start of the stream where the interval begins.","type":"integer","format":"uint64","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.span.start_us","typeLabel":"integer\u003cuint64>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.span","typeLabel":"object"},"speaker_id":{"description":"Diarization label of the speaker, when a diarizer assigned one.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.speaker_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location","typeLabel":"object"},"attribution":{"oneOf":[{"type":"object","description":"The reviewer's rationale, when supplied (e.g. a freeform\n`\"false positive\"`, or a cited authority). `None` for an unexplained\noverride.","required":["kind","name"],"properties":{"name":{"description":"The policy's name (e.g. `\"gdpr-art-17\"`, `\"hipaa-safe-harbor\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.0.name","typeLabel":"string"},"kind":{"type":"string","const":"freeform","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.0.kind","typeLabel":"string"},"description":{"description":"Human-readable description (e.g. `\"right to erasure\"`), when given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.0.description","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.0","typeLabel":"object"},{"type":"object","description":"The reviewer's rationale, when supplied (e.g. a freeform\n`\"false positive\"`, or a cited authority). `None` for an unexplained\noverride.","required":["kind","authority","citation"],"properties":{"authority":{"description":"The authority cited (e.g. `\"GDPR\"`, `\"HIPAA\"`, `\"internal-policy\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.1.authority","typeLabel":"string"},"citation":{"description":"The citation within that authority (e.g. `\"Art. 17(1)\"`, `\"§164.514\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.1.citation","typeLabel":"string"},"kind":{"type":"string","const":"cited","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.1.kind","typeLabel":"string"},"rationale":{"description":"Why the citation applies here (e.g. `\"data subject requested erasure\"`),\nwhen given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.1.rationale","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.1","typeLabel":"object"}],"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution","typeLabel":"object"}},"required":["intent","location"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail","typeLabel":"object"},"kind":{"type":"string","const":"manual","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10","typeLabel":"object"}],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].kind","typeLabel":"object"},"parents":{"description":"The events this one follows, by their hash. Empty for a birth event, one\nentry for a normal step, several for a fusion. Assigned by [`AuditLog`]\nwhen the event is recorded; read it through [`parents`](Self::parents).\n\nNot publicly settable: the links are the tamper-evident structure, so\nonly [`AuditLog::record`] / [`AuditLog::record_fusion`] assign them.\n\n[`AuditLog`]: crate::entity::audit::AuditLog\n[`AuditLog::record`]: crate::entity::audit::AuditLog::record\n[`AuditLog::record_fusion`]: crate::entity::audit::AuditLog::record_fusion","type":"array","items":{"description":"A 32-byte BLAKE3 digest.\n\nThe tamper-evident link in an [`AuditLog`] DAG: each [`AuditEvent`] hashes\nits payload together with its parents' hashes, so altering any event breaks\nevery event downstream of it. Displays and (with the `serde` feature)\n(de)serializes as lowercase hex.\n\nThe all-zero hash is [`GENESIS`](AuditHash::GENESIS), the link a birth event\n(one with no parents) chains from.\n\n[`AuditLog`]: crate::entity::audit::AuditLog\n[`AuditEvent`]: crate::entity::audit::AuditEvent","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].parents.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].parents","typeLabel":"string[]"},"source":{"description":"Who produced this event: a recognizer name, a deduplication strategy,\nan operator, or whatever acted.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].source","typeLabel":"string"},"timestamp":{"description":"When the event happened (UTC).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX].timestamp","typeLabel":"string"}},"required":["source","confidence","timestamp","kind","parents","hash"],"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit.items.[INDEX]","typeLabel":"object"},"description":"Tamper-evident audit trail: every contributing detection, the fusion\nevent if any, and the redaction that hid it, as a hash-linked DAG. It is\nalso the single source of truth for whether a reviewer\n[suppressed](Self::is_suppressed) the entity, a suppression is a\n[`Manual`] event on this trail, not a separate flag.\n\n[`Manual`]: crate::entity::audit::AuditKind::Manual","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].audit","typeLabel":"object[]"},"confidence":{"type":"number","description":"Effective confidence in `0.0..=1.0` (fused, if applicable).","format":"float","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].confidence","typeLabel":"number\u003cfloat>"},"id":{"description":"Stable unique identity for this entity (time-ordered UUIDv7), minted\nwhen the entity is assembled.","type":"string","format":"uuid","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"label":{"type":"string","description":"What kind of sensitive information this is (resolved via a\n[`LabelCatalog`]).","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].label","typeLabel":"string"},"location":{"type":"object","description":"Location of the entity within the medium (fused, if it came from more\nthan one detection).","required":["span"],"properties":{"span":{"type":"object","description":"Time span the location covers, in the stream's timeline.","required":["start_us","end_us"],"properties":{"end_us":{"description":"Microseconds from the start of the stream where the interval ends\n(exclusive).","type":"integer","format":"uint64","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].location.span.end_us","typeLabel":"integer\u003cuint64>"},"start_us":{"description":"Microseconds from the start of the stream where the interval begins.","type":"integer","format":"uint64","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].location.span.start_us","typeLabel":"integer\u003cuint64>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].location.span","typeLabel":"object"},"speaker_id":{"description":"Diarization label of the speaker, when a diarizer assigned one.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].location.speaker_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].location","typeLabel":"object"},"coref":{"description":"Coreference identifier, if a recognizer resolved this entity as one\nmention of a cluster. Entities sharing an [`EntityCoRef`] denote the\nsame real-world thing.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].coref","typeLabel":"string"},"language":{"description":"The language of this entity's surrounding text, when a recognizer\nresolved one. `None` when unknown or language-agnostic.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].language","typeLabel":"string"},"recognized_range":{"type":"object","properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].recognized_range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].recognized_range.start","typeLabel":"integer\u003cuint>"}},"required":["start","end"],"description":"Byte range of the match in the *recognized text* it was found in (the\nOCR layout text, the audio transcript, or the text payload itself),\nthe stable key back into that enrichment artifact, where the rich\ncontext lives (which OCR block, which speaker) that the geometric\n[`location`] cannot hold. `None` for entities not found via text\nrecognition (e.g. a VLM box). An audit key, not a coordinate: redaction\nuses [`location`]; an audit uses this with the artifact.\n\n[`location`]: Entity::location","uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX].recognized_range","typeLabel":"object"}},"required":["id","label","location","confidence","audit"],"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.entities","typeLabel":"object[]"},"id":{"type":"array","items":{"type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.2.id.items.[INDEX]","typeLabel":"string"},"minItems":1,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.id","typeLabel":"string[]"},"modality":{"type":"string","const":"audio","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.2.modality","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","required":["id","modality","entities"],"properties":{"entities":{"type":"array","items":{"description":"Detected piece of sensitive information within some medium.\n\nGeneric over the [`Modality`] `M`, which is what makes the model\nmultimodal: a text pipeline yields `Entity\u003cText>`, an audio pipeline\n`Entity\u003cAudio>`, and so on. The entity's location is the modality's\n[`Location`] type, `M::Location`.\n\n# Birth and fusion\n\nA recognizer emits an entity directly, carrying a single recognition\n[`AuditEvent`] (its own finding) in the entity's [`audit`] trail. When\nseveral recognizers find the same thing, a fusion step (in\n`elide`) combines their entities into one: the survivor's\n[`location`] and [`confidence`] are the *fused* values, and every\ncontributing recognition event, plus a deduplication event, is\nretained in its audit trail. The entity therefore carries its full\naudit trail with it.\n\n[`Location`]: Modality::Location\n[`AuditEvent`]: crate::entity::audit::AuditEvent\n[`audit`]: Entity::audit\n[`location`]: Entity::location\n[`confidence`]: Entity::confidence","type":"object","properties":{"audit":{"type":"array","items":{"description":"One node in an entity's audit DAG: a thing that happened, with its\neffect on confidence and its tamper-evident links.\n\nEvents are recorded on an entity's [`AuditLog`], forming the full audit\ntrail of its life: each recognizer that found it, the deduplication that\nfused them, any score calibration, and the redaction that hid it. The\nuniform spine (who, resulting score, when) is the same for every event; the\n[`kind`] carries the event-specific detail *and* the explanation of why the\nevent happened.\n\nEach event links to its [`parents`] by their [`hash`]: a birth event (a\nrecognizer's first detection) has no parents, a normal step has one, and a\n[fusion](crate::entity::audit::AuditLog::record_fusion) has several. Its own\n[`hash`] folds the\npayload together with the parents' hashes, so altering any event breaks\nevery event downstream of it: [`AuditLog::verify`] walks the DAG and\nreports the first break.\n\n`entity.confidence` always equals the [`confidence`] of the most recent\nevent. The confidence *flowing in* is not stored: it is the parents'\n[`confidence`], recovered from the DAG.\n\n[`AuditLog`]: crate::entity::audit::AuditLog\n[`AuditLog::record_fusion`]: crate::entity::audit::AuditLog::record_fusion\n[`AuditLog::verify`]: crate::entity::audit::AuditLog::verify\n[`kind`]: AuditEvent::kind\n[`parents`]: AuditEvent::parents\n[`hash`]: AuditEvent::hash\n[`confidence`]: AuditEvent::confidence","type":"object","properties":{"confidence":{"type":"number","description":"Confidence after this event: the entity's effective confidence once it\nhas happened.","format":"float","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].confidence","typeLabel":"number\u003cfloat>"},"hash":{"type":"string","description":"This event's hash, over its payload and its parents' hashes. Assigned by\n[`AuditLog`] when the event is recorded; read it through\n[`hash`](Self::hash). Recomputing it is how the DAG is verified.\n\nNot publicly settable: only [`AuditLog`] assigns it, so a caller cannot\nforge a self-consistent event outside the recording path.\n\n[`AuditLog`]: crate::entity::audit::AuditLog","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].hash","typeLabel":"string"},"kind":{"oneOf":[{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"Detail of a pattern/dictionary recognition: a recognizer matched at\n`location`, with the pattern metadata in `pattern`.","type":"object","properties":{"location":{"type":"object","description":"Where the recognizer matched.","required":["row_index","column_index"],"properties":{"column_index":{"description":"Zero-based column index of the cell.","type":"integer","format":"uint32","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.column_index","typeLabel":"integer\u003cuint32>"},"row_index":{"description":"Zero-based row index of the cell.","type":"integer","format":"uint32","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.row_index","typeLabel":"integer\u003cuint32>"},"column_name":{"description":"Header label of the column, when known.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.column_name","typeLabel":"string"},"end_offset":{"description":"Byte offset within the cell text where the entity ends (exclusive).\nUnset means the whole cell.","type":"integer","format":"uint","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.end_offset","typeLabel":"integer\u003cuint>"},"sheet_name":{"description":"Sheet name within a multi-sheet workbook, when known.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.sheet_name","typeLabel":"string"},"start_offset":{"description":"Byte offset within the cell text where the entity starts. Unset\nmeans the whole cell.","type":"integer","format":"uint","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location.start_offset","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.location","typeLabel":"object"},"pattern":{"type":"object","description":"Pattern metadata (name, regex, validator, contextual flag).","required":["name","contextual"],"properties":{"contextual":{"description":"Whether contextual analysis (keyword co-occurrence) adjusted the score\nfor this match.","type":"boolean","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.pattern.contextual","typeLabel":"boolean"},"name":{"description":"Name of the pattern that matched (e.g. `\"ssn\"`, `\"email\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.pattern.name","typeLabel":"string"},"regex":{"description":"Literal regex source that matched, when exposed.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.pattern.regex","typeLabel":"string"},"validator":{"description":"Name of the validator that confirmed the match (e.g. `\"luhn\"`).","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.pattern.validator","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail.pattern","typeLabel":"object"}},"required":["location","pattern"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.detail","typeLabel":"object"},"kind":{"type":"string","const":"pattern","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.0","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"Detail of a model/NER recognition: a model matched at `location`, with its\nmetadata in `model`.","type":"object","properties":{"location":{"type":"object","description":"Where the recognizer matched.","required":["row_index","column_index"],"properties":{"column_index":{"description":"Zero-based column index of the cell.","type":"integer","format":"uint32","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.column_index","typeLabel":"integer\u003cuint32>"},"row_index":{"description":"Zero-based row index of the cell.","type":"integer","format":"uint32","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.row_index","typeLabel":"integer\u003cuint32>"},"column_name":{"description":"Header label of the column, when known.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.column_name","typeLabel":"string"},"end_offset":{"description":"Byte offset within the cell text where the entity ends (exclusive).\nUnset means the whole cell.","type":"integer","format":"uint","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.end_offset","typeLabel":"integer\u003cuint>"},"sheet_name":{"description":"Sheet name within a multi-sheet workbook, when known.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.sheet_name","typeLabel":"string"},"start_offset":{"description":"Byte offset within the cell text where the entity starts. Unset\nmeans the whole cell.","type":"integer","format":"uint","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location.start_offset","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.location","typeLabel":"object"},"model":{"type":"object","description":"Model metadata (name, version, contextual flag).","required":["name","contextual"],"properties":{"contextual":{"description":"Whether contextual analysis adjusted the score for this match.","type":"boolean","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.model.contextual","typeLabel":"boolean"},"name":{"description":"Model name (e.g. `\"spacy-en-core-web-lg\"`, `\"gpt-4\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.model.name","typeLabel":"string"},"version":{"description":"Model version string, when known.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.model.version","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail.model","typeLabel":"object"}},"required":["location","model"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.detail","typeLabel":"object"},"kind":{"type":"string","const":"model","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.1","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"Detail of a metadata-field detection: a document's out-of-band field\n(an EXIF tag, a file timestamp, a document property) was surfaced as a\nredaction subject at `location`, with its source in `metadata`.\n\nDistinct from [`Pattern`]/[`Model`] because a metadata field is not *matched*\nout of free content — it is a named field that is simply present. There is\nnothing probabilistic to weigh, so the entity carries it as its own event\nkind rather than pretending a pattern fired.","type":"object","properties":{"location":{"type":"object","description":"The field's location (its key).","required":["row_index","column_index"],"properties":{"column_index":{"description":"Zero-based column index of the cell.","type":"integer","format":"uint32","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.column_index","typeLabel":"integer\u003cuint32>"},"row_index":{"description":"Zero-based row index of the cell.","type":"integer","format":"uint32","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.row_index","typeLabel":"integer\u003cuint32>"},"column_name":{"description":"Header label of the column, when known.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.column_name","typeLabel":"string"},"end_offset":{"description":"Byte offset within the cell text where the entity ends (exclusive).\nUnset means the whole cell.","type":"integer","format":"uint","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.end_offset","typeLabel":"integer\u003cuint>"},"sheet_name":{"description":"Sheet name within a multi-sheet workbook, when known.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.sheet_name","typeLabel":"string"},"start_offset":{"description":"Byte offset within the cell text where the entity starts. Unset\nmeans the whole cell.","type":"integer","format":"uint","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location.start_offset","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.location","typeLabel":"object"},"metadata":{"type":"object","description":"Source metadata (which reader surfaced the field).","required":["source"],"properties":{"source":{"description":"The reader that surfaced the field (e.g. `\"exif\"`, `\"docprops\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.metadata.source","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail.metadata","typeLabel":"object"}},"required":["location","metadata"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.detail","typeLabel":"object"},"kind":{"type":"string","const":"metadata","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.2","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"Several detections were fused into one entity.","type":"object","properties":{"strategy":{"description":"Name of the fusion strategy that combined them.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.3.detail.strategy","typeLabel":"string"}},"required":["strategy"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.3.detail","typeLabel":"object"},"kind":{"type":"string","const":"deduplication","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.3.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.3","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"A competing detection of a *different* label over the same span was resolved\nagainst this (winning) entity, the loser is recorded, not dropped.","type":"object","properties":{"competing_confidence":{"type":"number","description":"The loser's confidence at resolution time.","format":"float","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4.detail.competing_confidence","typeLabel":"number\u003cfloat>"},"competing_label":{"type":"string","description":"The label of the detection that lost arbitration.","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4.detail.competing_label","typeLabel":"string"},"resolved_by":{"description":"Name of the conflict policy that chose the winner.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4.detail.resolved_by","typeLabel":"string"}},"required":["competing_label","competing_confidence","resolved_by"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4.detail","typeLabel":"object"},"kind":{"type":"string","const":"conflict","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.4","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"A competing detection of a different label over the same span was left\n*unresolved*: both entities survive, flagged for a human. Recorded on each\nentity of the contested pair, naming the other.","type":"object","properties":{"competing_confidence":{"type":"number","description":"The competing detection's confidence.","format":"float","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5.detail.competing_confidence","typeLabel":"number\u003cfloat>"},"competing_label":{"type":"string","description":"The label of the competing detection.","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5.detail.competing_label","typeLabel":"string"},"flagged_by":{"description":"Name of the policy that flagged the contest.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5.detail.flagged_by","typeLabel":"string"}},"required":["competing_label","competing_confidence","flagged_by"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5.detail","typeLabel":"object"},"kind":{"type":"string","const":"contested","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.5","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"The entity's confidence was rescaled by a per-recognizer factor.","type":"object","properties":{"factor":{"description":"Multiplier applied.","type":"number","format":"double","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.6.detail.factor","typeLabel":"number\u003cdouble>"}},"required":["factor"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.6.detail","typeLabel":"object"},"kind":{"type":"string","const":"calibration","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.6.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.6","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"A context keyword near the entity lifted its confidence.","type":"object","properties":{"keyword":{"description":"Keyword that fired the boost.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.keyword","typeLabel":"string"},"hint":{"description":"The located [`Hint`] the keyword fired from, when the match came from an\nout-of-band hint (a column header, a key) rather than the in-text word\nwindow. `None` for an in-text-window match.\n\n[`Hint`]: crate::modality::Hint","type":"object","properties":{"data":{"type":"string","description":"The hint text itself (a column header, a field name).","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.data","typeLabel":"string"},"location":{"type":"object","description":"Where the hint text sits in the source (the header cell, the key).","required":["row_index","column_index"],"properties":{"column_index":{"description":"Zero-based column index of the cell.","type":"integer","format":"uint32","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.column_index","typeLabel":"integer\u003cuint32>"},"row_index":{"description":"Zero-based row index of the cell.","type":"integer","format":"uint32","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.row_index","typeLabel":"integer\u003cuint32>"},"column_name":{"description":"Header label of the column, when known.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.column_name","typeLabel":"string"},"end_offset":{"description":"Byte offset within the cell text where the entity ends (exclusive).\nUnset means the whole cell.","type":"integer","format":"uint","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.end_offset","typeLabel":"integer\u003cuint>"},"sheet_name":{"description":"Sheet name within a multi-sheet workbook, when known.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.sheet_name","typeLabel":"string"},"start_offset":{"description":"Byte offset within the cell text where the entity starts. Unset\nmeans the whole cell.","type":"integer","format":"uint","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location.start_offset","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint.location","typeLabel":"object"}},"required":["location","data"],"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.hint","typeLabel":"object"},"location":{"description":"Where the boosting keyword sits in the medium. For a hint match this\nmirrors the hint's own location; for an in-text-window match it is the\nkeyword resolved through the modality's [`locate`]. `None` when the\nkeyword's stream range could not be placed.\n\n[`locate`]: crate::modality::TextRecognizable::locate","type":"object","properties":{"column_index":{"description":"Zero-based column index of the cell.","type":"integer","format":"uint32","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.column_index","typeLabel":"integer\u003cuint32>"},"row_index":{"description":"Zero-based row index of the cell.","type":"integer","format":"uint32","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.row_index","typeLabel":"integer\u003cuint32>"},"column_name":{"description":"Header label of the column, when known.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.column_name","typeLabel":"string"},"end_offset":{"description":"Byte offset within the cell text where the entity ends (exclusive).\nUnset means the whole cell.","type":"integer","format":"uint","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.end_offset","typeLabel":"integer\u003cuint>"},"sheet_name":{"description":"Sheet name within a multi-sheet workbook, when known.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.sheet_name","typeLabel":"string"},"start_offset":{"description":"Byte offset within the cell text where the entity starts. Unset\nmeans the whole cell.","type":"integer","format":"uint","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location.start_offset","typeLabel":"integer\u003cuint>"}},"required":["row_index","column_index"],"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail.location","typeLabel":"object"}},"required":["keyword"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.detail","typeLabel":"object"},"kind":{"type":"string","const":"refinement","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.7","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"An operator hid the entity.","type":"object","properties":{"matched_by":{"oneOf":[{"type":"object","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","required":["label"],"properties":{"label":{"description":"Lightweight reference to a [`Label`], carrying only its id.\n\nThis is what detections and entities hold: cloning is cheap (short\nids inline into the [`HipStr`]), and the full [`Label`], with its\nlocalized names and descriptions, is resolved on demand from a\n[`LabelCatalog`].\n\n[`Label`]: crate::entity::Label\n[`LabelCatalog`]: crate::entity::LabelCatalog","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.0.label","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.0","typeLabel":"object"},{"type":"object","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","required":["tag"],"properties":{"tag":{"type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.1.tag","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.1","typeLabel":"object"},{"type":"string","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","const":"predicate","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.2","typeLabel":"string"},{"type":"string","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","const":"fallback","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by.oneOf.3","typeLabel":"string"}],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.matched_by","typeLabel":"object · object · string · string"},"operator":{"type":"object","description":"Which operator (name + version) ran.","required":["name","version"],"properties":{"name":{"description":"Stable operator name (e.g. `\"mask\"`, `\"aes-gcm-encrypt\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.operator.name","typeLabel":"string"},"version":{"description":"Operator's version at the time it was applied.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.operator.version","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.operator","typeLabel":"object"},"attribution":{"oneOf":[{"type":"object","description":"The author-supplied policy rationale, when the operator carried an\n[`Attribution`]; `None` otherwise.","required":["kind","name"],"properties":{"name":{"description":"The policy's name (e.g. `\"gdpr-art-17\"`, `\"hipaa-safe-harbor\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.0.name","typeLabel":"string"},"kind":{"type":"string","const":"freeform","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.0.kind","typeLabel":"string"},"description":{"description":"Human-readable description (e.g. `\"right to erasure\"`), when given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.0.description","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.0","typeLabel":"object"},{"type":"object","description":"The author-supplied policy rationale, when the operator carried an\n[`Attribution`]; `None` otherwise.","required":["kind","authority","citation"],"properties":{"authority":{"description":"The authority cited (e.g. `\"GDPR\"`, `\"HIPAA\"`, `\"internal-policy\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.1.authority","typeLabel":"string"},"citation":{"description":"The citation within that authority (e.g. `\"Art. 17(1)\"`, `\"§164.514\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.1.citation","typeLabel":"string"},"kind":{"type":"string","const":"cited","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.1.kind","typeLabel":"string"},"rationale":{"description":"Why the citation applies here (e.g. `\"data subject requested erasure\"`),\nwhen given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.1.rationale","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution.oneOf.1","typeLabel":"object"}],"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.attribution","typeLabel":"object"},"key_id":{"description":"Identifier of the key needed to reverse it, if reversible.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.key_id","typeLabel":"string"},"leak_profile":{"oneOf":[{"type":"string","description":"How much the output leaks about the original, when the operator claimed a\nprofile; `None` when it made no claim.","const":"recoverable","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.leak_profile.oneOf.0","typeLabel":"string"},{"type":"string","description":"How much the output leaks about the original, when the operator claimed a\nprofile; `None` when it made no claim.","const":"partial","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.leak_profile.oneOf.1","typeLabel":"string"},{"type":"string","description":"How much the output leaks about the original, when the operator claimed a\nprofile; `None` when it made no claim.","const":"irrecoverable","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.leak_profile.oneOf.2","typeLabel":"string"}],"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.leak_profile","typeLabel":"string"},"span_hash":{"description":"BLAKE3 digest of the original text the operator hid, when the redaction\nlayer recorded it. Proves *what* was redacted without storing the\nplaintext; `None` when the operator did not capture it.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.span_hash","typeLabel":"string"},"span_length":{"description":"Byte length of the original text the operator hid, paired with\n[`span_hash`](Self::span_hash). `None` when not captured.","type":"integer","format":"uint32","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail.span_length","typeLabel":"integer\u003cuint32>"}},"required":["operator","matched_by"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.detail","typeLabel":"object"},"kind":{"type":"string","const":"redaction","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.8","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"An operator was *picked* to hide the entity, the redaction decision,\nrecorded before it is applied so it can be reviewed (and the entity edited)\nfirst. The [`Redaction`] event that follows records the operator actually\nrun.","type":"object","properties":{"matched_by":{"oneOf":[{"type":"object","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","required":["label"],"properties":{"label":{"description":"Lightweight reference to a [`Label`], carrying only its id.\n\nThis is what detections and entities hold: cloning is cheap (short\nids inline into the [`HipStr`]), and the full [`Label`], with its\nlocalized names and descriptions, is resolved on demand from a\n[`LabelCatalog`].\n\n[`Label`]: crate::entity::Label\n[`LabelCatalog`]: crate::entity::LabelCatalog","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.0.label","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.0","typeLabel":"object"},{"type":"object","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","required":["tag"],"properties":{"tag":{"type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.1.tag","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.1","typeLabel":"object"},{"type":"string","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","const":"predicate","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.2","typeLabel":"string"},{"type":"string","description":"Which selection rule chose this operator: the automatic \"why\" (matched a\nlabel, a tag, a predicate, or the fallback).","const":"fallback","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by.oneOf.3","typeLabel":"string"}],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.matched_by","typeLabel":"object · object · string · string"},"operator":{"type":"object","description":"Identity (name + version) of the operator picked. Its *config* is not\nrecorded; it lives in the policy that will run it, so apply re-resolves\nthe configured operator rather than reading it here.","required":["name","version"],"properties":{"name":{"description":"Stable operator name (e.g. `\"mask\"`, `\"aes-gcm-encrypt\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.operator.name","typeLabel":"string"},"version":{"description":"Operator's version at the time it was applied.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.operator.version","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.operator","typeLabel":"object"},"attribution":{"oneOf":[{"type":"object","description":"The author-supplied policy rationale, when the matched rule carried an\n[`Attribution`]; `None` otherwise.","required":["kind","name"],"properties":{"name":{"description":"The policy's name (e.g. `\"gdpr-art-17\"`, `\"hipaa-safe-harbor\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.0.name","typeLabel":"string"},"kind":{"type":"string","const":"freeform","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.0.kind","typeLabel":"string"},"description":{"description":"Human-readable description (e.g. `\"right to erasure\"`), when given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.0.description","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.0","typeLabel":"object"},{"type":"object","description":"The author-supplied policy rationale, when the matched rule carried an\n[`Attribution`]; `None` otherwise.","required":["kind","authority","citation"],"properties":{"authority":{"description":"The authority cited (e.g. `\"GDPR\"`, `\"HIPAA\"`, `\"internal-policy\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.1.authority","typeLabel":"string"},"citation":{"description":"The citation within that authority (e.g. `\"Art. 17(1)\"`, `\"§164.514\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.1.citation","typeLabel":"string"},"kind":{"type":"string","const":"cited","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.1.kind","typeLabel":"string"},"rationale":{"description":"Why the citation applies here (e.g. `\"data subject requested erasure\"`),\nwhen given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.1.rationale","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution.oneOf.1","typeLabel":"object"}],"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail.attribution","typeLabel":"object"}},"required":["operator","matched_by"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.detail","typeLabel":"object"},"kind":{"type":"string","const":"selection","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.9","typeLabel":"object"},{"type":"object","description":"Kind of event, with its event-specific detail and its rationale.","required":["kind","detail"],"properties":{"detail":{"description":"A human override, outside automatic detection: an entity a reviewer added by\nhand, or a detected one they marked to ignore. Its provenance is a person's\ndecision, not a recognizer's, so the trail records *why* (an\n[`Attribution`], when supplied). *Who* made the override is the event's\n[`source`], not a payload field.\n\n[`source`]: super::AuditEvent::source","type":"object","properties":{"intent":{"oneOf":[{"type":"string","description":"Which human decision this records: including a missed entity, or\nsuppressing a detected one. This is the authority on whether the entity\nis redacted, [`AuditLog::is_suppressed`] reads it, so there is no\nseparate flag to keep in sync.\n\n[`AuditLog::is_suppressed`]: crate::entity::audit::AuditLog::is_suppressed","const":"flag","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.intent.oneOf.0","typeLabel":"string"},{"type":"string","description":"Which human decision this records: including a missed entity, or\nsuppressing a detected one. This is the authority on whether the entity\nis redacted, [`AuditLog::is_suppressed`] reads it, so there is no\nseparate flag to keep in sync.\n\n[`AuditLog::is_suppressed`]: crate::entity::audit::AuditLog::is_suppressed","const":"suppress","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.intent.oneOf.1","typeLabel":"string"},{"type":"string","description":"Which human decision this records: including a missed entity, or\nsuppressing a detected one. This is the authority on whether the entity\nis redacted, [`AuditLog::is_suppressed`] reads it, so there is no\nseparate flag to keep in sync.\n\n[`AuditLog::is_suppressed`]: crate::entity::audit::AuditLog::is_suppressed","const":"amend","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.intent.oneOf.2","typeLabel":"string"}],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.intent","typeLabel":"string"},"location":{"type":"object","description":"Where the override applies, in modality-native coordinates.","required":["row_index","column_index"],"properties":{"column_index":{"description":"Zero-based column index of the cell.","type":"integer","format":"uint32","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.column_index","typeLabel":"integer\u003cuint32>"},"row_index":{"description":"Zero-based row index of the cell.","type":"integer","format":"uint32","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.row_index","typeLabel":"integer\u003cuint32>"},"column_name":{"description":"Header label of the column, when known.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.column_name","typeLabel":"string"},"end_offset":{"description":"Byte offset within the cell text where the entity ends (exclusive).\nUnset means the whole cell.","type":"integer","format":"uint","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.end_offset","typeLabel":"integer\u003cuint>"},"sheet_name":{"description":"Sheet name within a multi-sheet workbook, when known.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.sheet_name","typeLabel":"string"},"start_offset":{"description":"Byte offset within the cell text where the entity starts. Unset\nmeans the whole cell.","type":"integer","format":"uint","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location.start_offset","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.location","typeLabel":"object"},"attribution":{"oneOf":[{"type":"object","description":"The reviewer's rationale, when supplied (e.g. a freeform\n`\"false positive\"`, or a cited authority). `None` for an unexplained\noverride.","required":["kind","name"],"properties":{"name":{"description":"The policy's name (e.g. `\"gdpr-art-17\"`, `\"hipaa-safe-harbor\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.0.name","typeLabel":"string"},"kind":{"type":"string","const":"freeform","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.0.kind","typeLabel":"string"},"description":{"description":"Human-readable description (e.g. `\"right to erasure\"`), when given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.0.description","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.0","typeLabel":"object"},{"type":"object","description":"The reviewer's rationale, when supplied (e.g. a freeform\n`\"false positive\"`, or a cited authority). `None` for an unexplained\noverride.","required":["kind","authority","citation"],"properties":{"authority":{"description":"The authority cited (e.g. `\"GDPR\"`, `\"HIPAA\"`, `\"internal-policy\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.1.authority","typeLabel":"string"},"citation":{"description":"The citation within that authority (e.g. `\"Art. 17(1)\"`, `\"§164.514\"`).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.1.citation","typeLabel":"string"},"kind":{"type":"string","const":"cited","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.1.kind","typeLabel":"string"},"rationale":{"description":"Why the citation applies here (e.g. `\"data subject requested erasure\"`),\nwhen given.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.1.rationale","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution.oneOf.1","typeLabel":"object"}],"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail.attribution","typeLabel":"object"}},"required":["intent","location"],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.detail","typeLabel":"object"},"kind":{"type":"string","const":"manual","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10.kind","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind.oneOf.10","typeLabel":"object"}],"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].kind","typeLabel":"object"},"parents":{"description":"The events this one follows, by their hash. Empty for a birth event, one\nentry for a normal step, several for a fusion. Assigned by [`AuditLog`]\nwhen the event is recorded; read it through [`parents`](Self::parents).\n\nNot publicly settable: the links are the tamper-evident structure, so\nonly [`AuditLog::record`] / [`AuditLog::record_fusion`] assign them.\n\n[`AuditLog`]: crate::entity::audit::AuditLog\n[`AuditLog::record`]: crate::entity::audit::AuditLog::record\n[`AuditLog::record_fusion`]: crate::entity::audit::AuditLog::record_fusion","type":"array","items":{"description":"A 32-byte BLAKE3 digest.\n\nThe tamper-evident link in an [`AuditLog`] DAG: each [`AuditEvent`] hashes\nits payload together with its parents' hashes, so altering any event breaks\nevery event downstream of it. Displays and (with the `serde` feature)\n(de)serializes as lowercase hex.\n\nThe all-zero hash is [`GENESIS`](AuditHash::GENESIS), the link a birth event\n(one with no parents) chains from.\n\n[`AuditLog`]: crate::entity::audit::AuditLog\n[`AuditEvent`]: crate::entity::audit::AuditEvent","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].parents.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].parents","typeLabel":"string[]"},"source":{"description":"Who produced this event: a recognizer name, a deduplication strategy,\nan operator, or whatever acted.","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].source","typeLabel":"string"},"timestamp":{"description":"When the event happened (UTC).","type":"string","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX].timestamp","typeLabel":"string"}},"required":["source","confidence","timestamp","kind","parents","hash"],"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit.items.[INDEX]","typeLabel":"object"},"description":"Tamper-evident audit trail: every contributing detection, the fusion\nevent if any, and the redaction that hid it, as a hash-linked DAG. It is\nalso the single source of truth for whether a reviewer\n[suppressed](Self::is_suppressed) the entity, a suppression is a\n[`Manual`] event on this trail, not a separate flag.\n\n[`Manual`]: crate::entity::audit::AuditKind::Manual","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].audit","typeLabel":"object[]"},"confidence":{"type":"number","description":"Effective confidence in `0.0..=1.0` (fused, if applicable).","format":"float","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].confidence","typeLabel":"number\u003cfloat>"},"id":{"description":"Stable unique identity for this entity (time-ordered UUIDv7), minted\nwhen the entity is assembled.","type":"string","format":"uuid","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"label":{"type":"string","description":"What kind of sensitive information this is (resolved via a\n[`LabelCatalog`]).","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].label","typeLabel":"string"},"location":{"type":"object","description":"Location of the entity within the medium (fused, if it came from more\nthan one detection).","required":["row_index","column_index"],"properties":{"column_index":{"description":"Zero-based column index of the cell.","type":"integer","format":"uint32","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].location.column_index","typeLabel":"integer\u003cuint32>"},"row_index":{"description":"Zero-based row index of the cell.","type":"integer","format":"uint32","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].location.row_index","typeLabel":"integer\u003cuint32>"},"column_name":{"description":"Header label of the column, when known.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].location.column_name","typeLabel":"string"},"end_offset":{"description":"Byte offset within the cell text where the entity ends (exclusive).\nUnset means the whole cell.","type":"integer","format":"uint","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].location.end_offset","typeLabel":"integer\u003cuint>"},"sheet_name":{"description":"Sheet name within a multi-sheet workbook, when known.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].location.sheet_name","typeLabel":"string"},"start_offset":{"description":"Byte offset within the cell text where the entity starts. Unset\nmeans the whole cell.","type":"integer","format":"uint","minimum":0,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].location.start_offset","typeLabel":"integer\u003cuint>"}},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].location","typeLabel":"object"},"coref":{"description":"Coreference identifier, if a recognizer resolved this entity as one\nmention of a cluster. Entities sharing an [`EntityCoRef`] denote the\nsame real-world thing.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].coref","typeLabel":"string"},"language":{"description":"The language of this entity's surrounding text, when a recognizer\nresolved one. `None` when unknown or language-agnostic.","type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].language","typeLabel":"string"},"recognized_range":{"type":"object","properties":{"end":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].recognized_range.end","typeLabel":"integer\u003cuint>"},"start":{"type":"integer","format":"uint","minimum":0,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].recognized_range.start","typeLabel":"integer\u003cuint>"}},"required":["start","end"],"description":"Byte range of the match in the *recognized text* it was found in (the\nOCR layout text, the audio transcript, or the text payload itself),\nthe stable key back into that enrichment artifact, where the rich\ncontext lives (which OCR block, which speaker) that the geometric\n[`location`] cannot hold. `None` for entities not found via text\nrecognition (e.g. a VLM box). An audit key, not a coordinate: redaction\nuses [`location`]; an audit uses this with the artifact.\n\n[`location`]: Entity::location","uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX].recognized_range","typeLabel":"object"}},"required":["id","label","location","confidence","audit"],"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.entities","typeLabel":"object[]"},"id":{"type":"array","items":{"type":"string","uniqueKey":"report.parts.items.[INDEX].oneOf.3.id.items.[INDEX]","typeLabel":"string"},"minItems":1,"isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.id","typeLabel":"string[]"},"modality":{"type":"string","const":"tabular","isRequired":true,"uniqueKey":"report.parts.items.[INDEX].oneOf.3.modality","typeLabel":"string"}},"uniqueKey":"report.parts.items.[INDEX].oneOf.3","typeLabel":"object"}],"uniqueKey":"report.parts.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"report.parts","typeLabel":"object[]"},"usage":{"description":"Every recognizer/enricher's [`Usage`] across a whole document analysis, in\nthe order the components ran (the body first, then each part).","type":"object","properties":{"entries":{"description":"The per-component usage entries, each self-identifying via its `id`.","type":"array","items":{"description":"One recognizer's or enricher's resource usage for one payload.\n\n`id` and `duration` are always present; `count` (entities or spans found,\nartifacts produced) and `model` are present only where they mean\nsomething. `duration` serializes as a whole number of milliseconds.","type":"object","properties":{"duration":{"description":"Wall-clock execution time. Serialized as integer milliseconds.","type":"integer","format":"uint64","minimum":0,"isRequired":true,"uniqueKey":"report.usage.entries.items.[INDEX].duration","typeLabel":"integer\u003cuint64>"},"id":{"type":"object","description":"Which recognizer / enricher this describes.","required":["name","version"],"properties":{"name":{"description":"Stable, human-readable recognizer name (e.g. `\"us-ssn-pattern\"`).","type":"string","isRequired":true,"uniqueKey":"report.usage.entries.items.[INDEX].id.name","typeLabel":"string"},"version":{"description":"Recognizer's version at the time it ran.","type":"string","isRequired":true,"uniqueKey":"report.usage.entries.items.[INDEX].id.version","typeLabel":"string"}},"isRequired":true,"uniqueKey":"report.usage.entries.items.[INDEX].id","typeLabel":"object"},"count":{"description":"Entities or spans found (recognizer) or artifacts produced (enricher);\n`None` when a count is not meaningful for the component.","type":"integer","format":"uint64","minimum":0,"uniqueKey":"report.usage.entries.items.[INDEX].count","typeLabel":"integer\u003cuint64>"},"model":{"description":"Model / token detail; `None` for a pure-CPU component.","type":"object","properties":{"model":{"description":"Model name the backend called (e.g. `\"gpt-4o\"`, `\"gliner-multi\"`).","type":"string","isRequired":true,"uniqueKey":"report.usage.entries.items.[INDEX].model.model","typeLabel":"string"},"tokens":{"type":"object","description":"Tokens the call spent, as far as the provider reports them.","properties":{"input":{"description":"Prompt / input tokens.","type":"integer","format":"uint64","minimum":0,"uniqueKey":"report.usage.entries.items.[INDEX].model.tokens.input","typeLabel":"integer\u003cuint64>"},"output":{"description":"Completion / output tokens.","type":"integer","format":"uint64","minimum":0,"uniqueKey":"report.usage.entries.items.[INDEX].model.tokens.output","typeLabel":"integer\u003cuint64>"},"total":{"description":"Total tokens, may be reported even when the input/output split is not.","type":"integer","format":"uint64","minimum":0,"uniqueKey":"report.usage.entries.items.[INDEX].model.tokens.total","typeLabel":"integer\u003cuint64>"}},"uniqueKey":"report.usage.entries.items.[INDEX].model.tokens","typeLabel":"object"},"version":{"description":"Model version, when the backend reports one.","type":"string","uniqueKey":"report.usage.entries.items.[INDEX].model.version","typeLabel":"string"}},"required":["model"],"uniqueKey":"report.usage.entries.items.[INDEX].model","typeLabel":"object"}},"required":["id","duration"],"uniqueKey":"report.usage.entries.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"report.usage.entries","typeLabel":"object[]"}},"required":["entries"],"uniqueKey":"report.usage","typeLabel":"object"}},"isRequired":true,"uniqueKey":"report","typeLabel":"object"},"usage":{"type":"object","description":"What the analyze pass cost: one entry per recognizer and\nenricher that ran, each self-identifying by the name the\ndeployment configured it under.\n\nCarried here rather than read off the report: elide derives\nusage during analysis and drops it when a report is rebuilt\nfrom the wire, so a host that bills on model spend would\nlose it on the round trip.","required":["entries"],"properties":{"entries":{"description":"The per-component usage entries, each self-identifying via its `id`.","type":"array","items":{"description":"One recognizer's or enricher's resource usage for one payload.\n\n`id` and `duration` are always present; `count` (entities or spans found,\nartifacts produced) and `model` are present only where they mean\nsomething. `duration` serializes as a whole number of milliseconds.","type":"object","properties":{"duration":{"description":"Wall-clock execution time. Serialized as integer milliseconds.","type":"integer","format":"uint64","minimum":0,"isRequired":true,"uniqueKey":"usage.entries.items.[INDEX].duration","typeLabel":"integer\u003cuint64>"},"id":{"type":"object","description":"Which recognizer / enricher this describes.","required":["name","version"],"properties":{"name":{"description":"Stable, human-readable recognizer name (e.g. `\"us-ssn-pattern\"`).","type":"string","isRequired":true,"uniqueKey":"usage.entries.items.[INDEX].id.name","typeLabel":"string"},"version":{"description":"Recognizer's version at the time it ran.","type":"string","isRequired":true,"uniqueKey":"usage.entries.items.[INDEX].id.version","typeLabel":"string"}},"isRequired":true,"uniqueKey":"usage.entries.items.[INDEX].id","typeLabel":"object"},"count":{"description":"Entities or spans found (recognizer) or artifacts produced (enricher);\n`None` when a count is not meaningful for the component.","type":"integer","format":"uint64","minimum":0,"uniqueKey":"usage.entries.items.[INDEX].count","typeLabel":"integer\u003cuint64>"},"model":{"description":"Model / token detail; `None` for a pure-CPU component.","type":"object","properties":{"model":{"description":"Model name the backend called (e.g. `\"gpt-4o\"`, `\"gliner-multi\"`).","type":"string","isRequired":true,"uniqueKey":"usage.entries.items.[INDEX].model.model","typeLabel":"string"},"tokens":{"type":"object","description":"Tokens the call spent, as far as the provider reports them.","properties":{"input":{"description":"Prompt / input tokens.","type":"integer","format":"uint64","minimum":0,"uniqueKey":"usage.entries.items.[INDEX].model.tokens.input","typeLabel":"integer\u003cuint64>"},"output":{"description":"Completion / output tokens.","type":"integer","format":"uint64","minimum":0,"uniqueKey":"usage.entries.items.[INDEX].model.tokens.output","typeLabel":"integer\u003cuint64>"},"total":{"description":"Total tokens, may be reported even when the input/output split is not.","type":"integer","format":"uint64","minimum":0,"uniqueKey":"usage.entries.items.[INDEX].model.tokens.total","typeLabel":"integer\u003cuint64>"}},"uniqueKey":"usage.entries.items.[INDEX].model.tokens","typeLabel":"object"},"version":{"description":"Model version, when the backend reports one.","type":"string","uniqueKey":"usage.entries.items.[INDEX].model.version","typeLabel":"string"}},"required":["model"],"uniqueKey":"usage.entries.items.[INDEX].model","typeLabel":"object"}},"required":["id","duration"],"uniqueKey":"usage.entries.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"usage.entries","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"usage","typeLabel":"object"},"recognition":{"description":"The vocabularies this request introduced: labels elide does\nnot ship, and how they were found.\n\nCarried back for the same reason [`context`] is. Anonymize\ncompiles its catalog afresh, and a custom label missing\nfrom it resolves to nothing — the entity would be detected\nand then silently not redacted.\n\n[`context`]: Audit::context","type":"array","items":{"description":"Labels a request introduces, and how to detect them.\n\nThe two halves are independent, and only one pairing is an\nerror.\n\nA label with no matcher is legitimate: it joins the catalog, a\npolicy may scope it, and a reviewer may add entities under it\nthrough [`Edit::Add`]. Nothing detects it automatically — there\nis no matcher to look for it — which is the point when the\nlabel marks something only a human can recognise.\n\nA matcher with no label is refused, since it would detect into\na vocabulary the catalog never held.\n\n[`Edit::Add`]: https://docs.rs/elide-review","type":"object","properties":{"custom":{"description":"Label schemas elide does not ship.\n\nOnly for labels outside the shipped set: one whose id\ncollides with a builtin is refused, since it would shadow\nelide's own definition.","type":"array","items":{"description":"Kind of sensitive information: a stable [`id`], per-language\n[`LabelLocale`]s, an optional [`category`], and zero or more tags.\n\n# Identity\n\nLabels are identified by [`id`], a stable lowercase `snake_case`\nstring (`\"phone_number\"`), never localized, and the catalog key that a\n[`LabelRef`] resolves through. Selectors match by id. Derived equality\nis *structural*: two labels with the same id but different\nlocalizations or tags are not `==`; compare [`id`] for identity.\n\n# Localization\n\nThe display name and description are localized per [`LanguageTag`].\nEnglish (`\"en\"`) is required at construction and is the fallback when a\nrequested locale is absent, so [`localization`] always returns some\ntext, NER and LLM read the analysis language's name and description to\nprompt the model, keyed by the stable id.\n\n# Category and tags\n\n[`category`] is the single coarse group a label belongs to (`financial`,\n`health`, `identity`, …), for organizing detected entities by kind. Built-in\nlabels ship with one; a custom label has none unless set.\n\n[`tags`] is a free-form list of *cross-cutting* markers a policy selector\nmatches against, sensitivity flags a label may carry several of (`pii`,\n`phi`, `pci`, `sad`, `secret`). Distinct from the category: a label has at\nmost one category but any number of tags. Custom labels can ship with zero\nof either.\n\n[`id`]: Label::id\n[`localization`]: Label::localization\n[`category`]: Label::category\n[`tags`]: Label::tags","type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"recognition.items.[INDEX].custom.items.[INDEX].id","typeLabel":"string"},"localizations":{"description":"A value localized per [`LanguageTag`], with an English-first fallback.\n\nThe reusable mechanism behind any text that varies by language: a\n[`Label`]'s display name and description, a redaction operator's bucket\nlabel, and so on. English (`\"en\"`) is the conventional anchor,\nconstructors seed it, and [`resolve`] falls back to it (then to any\nentry) when a requested locale is absent, so a caller that supplied\nEnglish always gets *some* value.\n\nGeneric over the stored value `T`, so it carries a bare `HipStr`\n(a bucket label) or a richer struct (a label's name-plus-description)\nequally. It is a thin wrapper over a `HashMap\u003cLanguageTag, T>`; the\nadded value is the fallback policy in [`resolve`], kept in one place\nrather than reimplemented at each use site.\n\n[`Label`]: crate::entity::Label\n[`resolve`]: LocalizedText::resolve","type":"object","additionalProperties":{"description":"A label's human-facing text in one language: a display name and an\noptional fuller description.\n\nThe `name` is a short, natural-language phrase (`\"phone number\"`), the\nlabel a zero-shot NER model like GLiNER matches on, and the primary\ntext an LLM prompt shows. The `description` is optional extra guidance\nfor backends that consume it (GLiNER-2.0's bi-encoder, an LLM); leave\nit `None` when the name alone is clear.","type":"object","properties":{"name":{"description":"Short natural-language display name (e.g. `\"phone number\"`). What a\nzero-shot NER model matches on and an LLM prompt surfaces.","type":"string","isRequired":true,"uniqueKey":"recognition.items.[INDEX].custom.items.[INDEX].localizations.additionalProperties.name","typeLabel":"string"},"description":{"description":"Optional fuller description, for description-capable backends\n(GLiNER-2.0, LLM). `None` when the name suffices.","type":"string","uniqueKey":"recognition.items.[INDEX].custom.items.[INDEX].localizations.additionalProperties.description","typeLabel":"string"}},"required":["name"],"uniqueKey":"recognition.items.[INDEX].custom.items.[INDEX].localizations.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"recognition.items.[INDEX].custom.items.[INDEX].localizations","typeLabel":"object"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"recognition.items.[INDEX].custom.items.[INDEX].tags.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"recognition.items.[INDEX].custom.items.[INDEX].tags","typeLabel":"string[]"},"category":{"description":"The coarse group a [`Label`] belongs to, for organizing detected entities\nby kind (`financial`, `health`, `identity`, …).\n\nA category answers \"what *sort* of information is this\" at a display level:\na consumer groups a redaction audit into sections by category. It is\ndistinct from a label's [`tags`], which are cross-cutting sensitivity\nmarkers (`pii`, `phi`, `pci`) a label may carry several of; a label has at\nmost **one** category. Built-in labels ship with a category; a custom\n[`Label`] has none unless one is set.\n\nThe value is an open, lowercase `snake_case` identifier, so a custom label\ncan define its own category rather than being confined to the shipped set.\n\n[`Label`]: super::Label\n[`tags`]: super::Label::tags","type":"string","uniqueKey":"recognition.items.[INDEX].custom.items.[INDEX].category","typeLabel":"string"}},"required":["id","localizations","tags"],"uniqueKey":"recognition.items.[INDEX].custom.items.[INDEX]","typeLabel":"object"},"uniqueKey":"recognition.items.[INDEX].custom","typeLabel":"object[]"},"matchers":{"description":"How to detect the labels [`custom`] introduces.\n\nEach names a label this request declares. Compiled fresh\nper request, so a request introducing none costs nothing.\n\n[`custom`]: Self::custom","type":"array","items":{"oneOf":[{"type":"object","description":"How to detect one caller-authored label.\n\nNames a label the same request declares in [`custom`]. A\nmatcher for a shipped built-in is rejected: elide already\ndetects those, and two definitions for one label would race in\nreconciliation.\n\n[`custom`]: super::Recognition::custom","required":["label","name","kind","pattern"],"properties":{"kind":{"type":"string","const":"pattern","isRequired":true,"uniqueKey":"recognition.items.[INDEX].matchers.items.[INDEX].oneOf.0.kind","typeLabel":"string"},"pattern":{"description":"The expression, in `regex` crate syntax.","type":"string","isRequired":true,"uniqueKey":"recognition.items.[INDEX].matchers.items.[INDEX].oneOf.0.pattern","typeLabel":"string"},"label":{"type":"string","description":"The label this detects, which the request must declare in\n[`custom`](super::Recognition::custom).","isRequired":true,"uniqueKey":"recognition.items.[INDEX].matchers.items.[INDEX].oneOf.0.label","typeLabel":"string"},"name":{"description":"Human-readable name, recorded in the audit as the\nrecognizer that found the entity, so a trail distinguishes\na caller's matcher from a shipped pattern.","type":"string","isRequired":true,"uniqueKey":"recognition.items.[INDEX].matchers.items.[INDEX].oneOf.0.name","typeLabel":"string"},"confidence":{"description":"Score stamped on every match. Defaults to `0.6`.\n\nReconciliation keeps the higher-confidence entity when two\ndetections overlap, so this is what decides whether a\ncustom match beats a built-in one covering the same span.","type":"number","format":"float","default":0.6000000238418579,"uniqueKey":"recognition.items.[INDEX].matchers.items.[INDEX].oneOf.0.confidence","typeLabel":"number\u003cfloat>"}},"uniqueKey":"recognition.items.[INDEX].matchers.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"How to detect one caller-authored label.\n\nNames a label the same request declares in [`custom`]. A\nmatcher for a shipped built-in is rejected: elide already\ndetects those, and two definitions for one label would race in\nreconciliation.\n\n[`custom`]: super::Recognition::custom","required":["label","name","kind","terms"],"properties":{"kind":{"type":"string","const":"terms","isRequired":true,"uniqueKey":"recognition.items.[INDEX].matchers.items.[INDEX].oneOf.1.kind","typeLabel":"string"},"terms":{"description":"The literals to scan for.","type":"array","items":{"type":"string","uniqueKey":"recognition.items.[INDEX].matchers.items.[INDEX].oneOf.1.terms.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"recognition.items.[INDEX].matchers.items.[INDEX].oneOf.1.terms","typeLabel":"string[]"},"label":{"type":"string","description":"The label this detects, which the request must declare in\n[`custom`](super::Recognition::custom).","isRequired":true,"uniqueKey":"recognition.items.[INDEX].matchers.items.[INDEX].oneOf.1.label","typeLabel":"string"},"name":{"description":"Human-readable name, recorded in the audit as the\nrecognizer that found the entity, so a trail distinguishes\na caller's matcher from a shipped pattern.","type":"string","isRequired":true,"uniqueKey":"recognition.items.[INDEX].matchers.items.[INDEX].oneOf.1.name","typeLabel":"string"},"confidence":{"description":"Score stamped on every match. Defaults to `0.6`.\n\nReconciliation keeps the higher-confidence entity when two\ndetections overlap, so this is what decides whether a\ncustom match beats a built-in one covering the same span.","type":"number","format":"float","default":0.6000000238418579,"uniqueKey":"recognition.items.[INDEX].matchers.items.[INDEX].oneOf.1.confidence","typeLabel":"number\u003cfloat>"}},"uniqueKey":"recognition.items.[INDEX].matchers.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"recognition.items.[INDEX].matchers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"recognition.items.[INDEX].matchers","typeLabel":"object[]"}},"uniqueKey":"recognition.items.[INDEX]","typeLabel":"object"},"uniqueKey":"recognition","typeLabel":"object[]"}},"required":["report","context","codec","usage"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"codec":{"rasterMode":{"kind":"auto"}},"context":{"countries":["\u003cstring>"],"languages":[],"metadata":{"audience":[],"purpose":"\u003cstring>","tags":[]}},"report":{"parts":[{"entities":[{"audit":[{"confidence":123,"hash":"\u003cstring>","kind":{"detail":{"location":{"coord":{"range":{"end":1,"start":1},"kind":"decoded","source":[{"range":{"end":1,"start":1},"part":"\u003cstring>"}]},"page":1},"pattern":{"contextual":true,"name":"\u003cstring>","regex":"\u003cstring>","validator":"\u003cstring>"}},"kind":"pattern"},"parents":["\u003cstring>"],"source":"\u003cstring>","timestamp":"\u003cstring>"}],"confidence":123,"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","label":"\u003cstring>","location":{"coord":{"range":{"end":1,"start":1},"kind":"decoded","source":[{"range":{"end":1,"start":1},"part":"\u003cstring>"}]},"page":1},"coref":"\u003cstring>","language":"\u003cstring>","recognized_range":{"end":1,"start":1}}],"id":["\u003cstring>"],"modality":"text"}],"usage":{"entries":[{"duration":1,"id":{"name":"\u003cstring>","version":"\u003cstring>"},"count":1,"model":{"model":"\u003cstring>","tokens":{"input":1,"output":1,"total":1},"version":"\u003cstring>"}}]}},"usage":{"entries":[{"duration":1,"id":{"name":"\u003cstring>","version":"\u003cstring>"},"count":1,"model":{"model":"\u003cstring>","tokens":{"input":1,"output":1,"total":1},"version":"\u003cstring>"}}]},"recognition":[{"custom":[{"id":"\u003cstring>","localizations":{},"tags":["\u003cstring>"],"category":"\u003cstring>"}],"matchers":[{"kind":"pattern","pattern":"\u003cstring>","label":"\u003cstring>","name":"\u003cstring>","confidence":0.6000000238418579}]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"d4b67423-714b-4f98-ac18-64b91a0a8e82":{"description":"The serialized shape of an HTTP error: the inert wire/OpenAPI-schema view\nthat [`Error`] renders to at the response boundary.\n\nIt carries no builder logic — [`Error`] is the type handlers construct and\nthread through `Result`, and it builds an `ErrorResponse` directly in its\n`IntoResponse` impl. `context` and `status` are not part of the JSON body\n(`context` is logged, `status` sets the HTTP status line).\n\n[`Error`]: crate::response::Error","content":{"application/json":{"schema":{"description":"The serialized shape of an HTTP error: the inert wire/OpenAPI-schema view\nthat [`Error`] renders to at the response boundary.\n\nIt carries no builder logic — [`Error`] is the type handlers construct and\nthread through `Result`, and it builds an `ErrorResponse` directly in its\n`IntoResponse` impl. `context` and `status` are not part of the JSON body\n(`context` is logged, `status` sets the HTTP status line).\n\n[`Error`]: crate::response::Error","type":"object","properties":{"message":{"description":"User-friendly error message safe for client display.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"name":{"description":"The error name/type identifier.","type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"}},"required":["name","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","name":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"4f1486f0-0a26-446f-81b9-d93ca2445ebc":{"description":"The serialized shape of an HTTP error: the inert wire/OpenAPI-schema view\nthat [`Error`] renders to at the response boundary.\n\nIt carries no builder logic — [`Error`] is the type handlers construct and\nthread through `Result`, and it builds an `ErrorResponse` directly in its\n`IntoResponse` impl. `context` and `status` are not part of the JSON body\n(`context` is logged, `status` sets the HTTP status line).\n\n[`Error`]: crate::response::Error","content":{"application/json":{"schema":{"description":"The serialized shape of an HTTP error: the inert wire/OpenAPI-schema view\nthat [`Error`] renders to at the response boundary.\n\nIt carries no builder logic — [`Error`] is the type handlers construct and\nthread through `Result`, and it builds an `ErrorResponse` directly in its\n`IntoResponse` impl. `context` and `status` are not part of the JSON body\n(`context` is logged, `status` sets the HTTP status line).\n\n[`Error`]: crate::response::Error","type":"object","properties":{"message":{"description":"User-friendly error message safe for client display.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"name":{"description":"The error name/type identifier.","type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"}},"required":["name","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","name":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"0f82737e-71e0-4dbc-90a2-6a5e198c2b0b":{"description":"The serialized shape of an HTTP error: the inert wire/OpenAPI-schema view\nthat [`Error`] renders to at the response boundary.\n\nIt carries no builder logic — [`Error`] is the type handlers construct and\nthread through `Result`, and it builds an `ErrorResponse` directly in its\n`IntoResponse` impl. `context` and `status` are not part of the JSON body\n(`context` is logged, `status` sets the HTTP status line).\n\n[`Error`]: crate::response::Error","content":{"application/json":{"schema":{"description":"The serialized shape of an HTTP error: the inert wire/OpenAPI-schema view\nthat [`Error`] renders to at the response boundary.\n\nIt carries no builder logic — [`Error`] is the type handlers construct and\nthread through `Result`, and it builds an `ErrorResponse` directly in its\n`IntoResponse` impl. `context` and `status` are not part of the JSON body\n(`context` is logged, `status` sets the HTTP status line).\n\n[`Error`]: crate::response::Error","type":"object","properties":{"message":{"description":"User-friendly error message safe for client display.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"name":{"description":"The error name/type identifier.","type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"}},"required":["name","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","name":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"b9b32719-054b-412e-8cb0-886d7a19b7c5":{"description":"The serialized shape of an HTTP error: the inert wire/OpenAPI-schema view\nthat [`Error`] renders to at the response boundary.\n\nIt carries no builder logic — [`Error`] is the type handlers construct and\nthread through `Result`, and it builds an `ErrorResponse` directly in its\n`IntoResponse` impl. `context` and `status` are not part of the JSON body\n(`context` is logged, `status` sets the HTTP status line).\n\n[`Error`]: crate::response::Error","content":{"application/json":{"schema":{"description":"The serialized shape of an HTTP error: the inert wire/OpenAPI-schema view\nthat [`Error`] renders to at the response boundary.\n\nIt carries no builder logic — [`Error`] is the type handlers construct and\nthread through `Result`, and it builds an `ErrorResponse` directly in its\n`IntoResponse` impl. `context` and `status` are not part of the JSON body\n(`context` is logged, `status` sets the HTTP status line).\n\n[`Error`]: crate::response::Error","type":"object","properties":{"message":{"description":"User-friendly error message safe for client display.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"name":{"description":"The error name/type identifier.","type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"}},"required":["name","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","name":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"49d953a6-8ddf-4e84-9a78-61c8d26f244a":{"BearerAuth":{"$ref":"79759e24-a6e3-4206-bbce-e1fe8563f618","scopes":[]}}},"servers":{}},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"nvisy","siteName":"Nvisy","title":"Get detection findings - Nvisy","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-17T21:06:48.417Z","originalFileLocation":"api-reference/detections/get-detection-findings.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Returns the detection\u0026#x27;s detected findings (the analyzed document) for review.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Nvisy\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nvisy/xt9JM-eYX0n9ipDq/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/nvisy/xt9JM-eYX0n9ipDq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nvisy/xt9JM-eYX0n9ipDq/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/nvisy/xt9JM-eYX0n9ipDq/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/nvisy/xt9JM-eYX0n9ipDq/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nvisy/xt9JM-eYX0n9ipDq/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nvisy/xt9JM-eYX0n9ipDq/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/nvisy/xt9JM-eYX0n9ipDq/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/nvisy/xt9JM-eYX0n9ipDq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get detection findings - Nvisy\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns the detection\u0026#x27;s detected findings (the analyzed document) for review.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Nvisy\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.nvisy.com/api-reference/detections/get-detection-findings\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nvisy.mintlify.site/_mintlify/api/og/v2?division=Detections\u0026amp;title=Get+detection+findings\u0026amp;description=Returns+the+detection%27s+detected+findings+%28the+analyzed+document%29+for+review.\u0026amp;theme=a3566fd05e41d409f26d09bd\u0026amp;signature=77d14450cdd8b668790479959ca99ae4eb4e39bfafb7cebd86fc27cd6185ec8e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get detection findings - Nvisy\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns the detection\u0026#x27;s detected findings (the analyzed document) for review.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nvisy.mintlify.site/_mintlify/api/og/v2?division=Detections\u0026amp;title=Get+detection+findings\u0026amp;description=Returns+the+detection%27s+detected+findings+%28the+analyzed+document%29+for+review.\u0026amp;theme=a3566fd05e41d409f26d09bd\u0026amp;signature=77d14450cdd8b668790479959ca99ae4eb4e39bfafb7cebd86fc27cd6185ec8e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/nvisy/xt9JM-eYX0n9ipDq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Nvisy\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563EB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.nvisy.com/api-reference/detections/get-detection-findings\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/detections/get-detection-findings.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.nvisy.com/#organization\",\"name\":\"Nvisy\",\"url\":\"https://docs.nvisy.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nvisy/trMnUxfQM4A_0hGY/logo/light.svg?fit=max\u0026auto=format\u0026n=trMnUxfQM4A_0hGY\u0026q=85\u0026s=008fe1231bfed0deb54a41c379732720\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.nvisy.com#website\",\"name\":\"Nvisy\",\"url\":\"https://docs.nvisy.com\",\"publisher\":{\"@id\":\"https://docs.nvisy.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.nvisy.com/api-reference/detections/get-detection-findings#webpage\",\"url\":\"https://docs.nvisy.com/api-reference/detections/get-detection-findings\",\"name\":\"Get detection findings\",\"description\":\"Returns the detection's detected findings (the analyzed document) for review.\",\"dateModified\":\"2026-09-17T21:06:48.417Z\",\"isPartOf\":{\"@id\":\"https://docs.nvisy.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.nvisy.com/api-reference/detections/get-detection-findings#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.nvisy.com/api-reference/detections/get-detection-findings#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.nvisy.com/api-reference/accounts/get-own-account\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Detections\",\"item\":\"https://docs.nvisy.com/api-reference/detections/list-workspace-detections\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get detection findings\",\"item\":\"https://docs.nvisy.com/api-reference/detections/get-detection-findings\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.nvisy.com/api-reference/detections/get-detection-findings#apireference\",\"headline\":\"Get detection findings\",\"name\":\"Get detection findings\",\"description\":\"Returns the detection's detected findings (the analyzed document) for review.\",\"url\":\"https://docs.nvisy.com/api-reference/detections/get-detection-findings\",\"mainEntityOfPage\":{\"@id\":\"https://docs.nvisy.com/api-reference/detections/get-detection-findings#webpage\"},\"dateModified\":\"2026-09-17T21:06:48.417Z\",\"publisher\":{\"@id\":\"https://docs.nvisy.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.nvisy.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Nvisy\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Nvisy\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/detections/get-detection-findings.md","siteName":"Nvisy","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/nvisycom"},{"anchor":"Website","icon":"globe","href":"https://nvisy.com"},{"anchor":"Community","icon":"slack","href":"https://github.com/nvisycom"}]},"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":""}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Endpoints","pages":[{"group":"Accounts","pages":[{"title":"Get own account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /account","href":"/api-reference/accounts/get-own-account"},{"title":"Delete account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /account","href":"/api-reference/accounts/delete-account"},{"title":"Update account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /account","href":"/api-reference/accounts/update-account"},{"title":"Get account by id","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /accounts/{accountId}","href":"/api-reference/accounts/get-account-by-id"},{"title":"Upload account avatar","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /accounts/{accountId}/avatar","href":"/api-reference/accounts/upload-account-avatar"},{"title":"Delete account avatar","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /accounts/{accountId}/avatar","href":"/api-reference/accounts/delete-account-avatar"}]},{"group":"Workspaces","pages":[{"title":"List workspaces","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces","href":"/api-reference/workspaces/list-workspaces"},{"title":"Create workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces","href":"/api-reference/workspaces/create-workspace"},{"title":"Get workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}","href":"/api-reference/workspaces/get-workspace"},{"title":"Delete workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /workspaces/{workspaceId}","href":"/api-reference/workspaces/delete-workspace"},{"title":"Update workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /workspaces/{workspaceId}","href":"/api-reference/workspaces/update-workspace"},{"title":"Upload workspace avatar","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /workspaces/{workspaceId}/avatar","href":"/api-reference/workspaces/upload-workspace-avatar"},{"title":"Delete workspace avatar","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /workspaces/{workspaceId}/avatar","href":"/api-reference/workspaces/delete-workspace-avatar"},{"title":"Get notification settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/notifications","href":"/api-reference/workspaces/get-notification-settings"},{"title":"Update notification settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /workspaces/{workspaceId}/notifications","href":"/api-reference/workspaces/update-notification-settings"}]},{"group":"Activities","pages":[{"title":"List workspace activities","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/activities","href":"/api-reference/activities/list-workspace-activities"},{"title":"Export workspace activities","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/activities/export","href":"/api-reference/activities/export-workspace-activities"}]},{"group":"Analytics","pages":[{"title":"Workspace analytics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/analytics","href":"/api-reference/analytics/workspace-analytics"},{"title":"Workspace detection time series","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/analytics/detections/timeseries","href":"/api-reference/analytics/workspace-detection-time-series"}]},{"group":"Members","pages":[{"title":"List members","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/members","href":"/api-reference/members/list-members"},{"title":"Leave workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/members/leave","href":"/api-reference/members/leave-workspace"},{"title":"Get member","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/members/{accountId}","href":"/api-reference/members/get-member"},{"title":"Remove member","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /workspaces/{workspaceId}/members/{accountId}","href":"/api-reference/members/remove-member"},{"title":"Update member role","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /workspaces/{workspaceId}/members/{accountId}","href":"/api-reference/members/update-member-role"}]},{"group":"Reviews","pages":[{"title":"List reviews","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/reviews","href":"/api-reference/reviews/list-reviews"},{"title":"List a document's reviews","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/documents/{documentId}/reviews","href":"/api-reference/reviews/list-a-documents-reviews"},{"title":"Open a review","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/documents/{documentId}/reviews","href":"/api-reference/reviews/open-a-review"},{"title":"Get a review","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/reviews/{reviewId}","href":"/api-reference/reviews/get-a-review"},{"title":"Delete a review","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /workspaces/{workspaceId}/reviews/{reviewId}","href":"/api-reference/reviews/delete-a-review"},{"title":"Rename a review","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /workspaces/{workspaceId}/reviews/{reviewId}","href":"/api-reference/reviews/rename-a-review"},{"title":"Post a comment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/reviews/{reviewId}/comments","href":"/api-reference/reviews/post-a-comment"},{"title":"Delete a comment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /workspaces/{workspaceId}/comments/{commentId}","href":"/api-reference/reviews/delete-a-comment"},{"title":"Edit a comment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /workspaces/{workspaceId}/comments/{commentId}","href":"/api-reference/reviews/edit-a-comment"},{"title":"List a review's timeline","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/reviews/{reviewId}/timeline","href":"/api-reference/reviews/list-a-reviews-timeline"},{"title":"List a review's events","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/reviews/{reviewId}/events","href":"/api-reference/reviews/list-a-reviews-events"},{"title":"Verify a review","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/reviews/{reviewId}/verify","href":"/api-reference/reviews/verify-a-review"},{"title":"Reopen a review","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/reviews/{reviewId}/reopen","href":"/api-reference/reviews/reopen-a-review"},{"title":"Assign a reviewer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/reviews/{reviewId}/assignees/{accountId}","href":"/api-reference/reviews/assign-a-reviewer"},{"title":"Unassign a reviewer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /workspaces/{workspaceId}/reviews/{reviewId}/assignees/{accountId}","href":"/api-reference/reviews/unassign-a-reviewer"},{"title":"Reference a detection from a review","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/reviews/{reviewId}/detections/{detectionId}","href":"/api-reference/reviews/reference-a-detection-from-a-review"},{"title":"Reference a redaction from a review","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/reviews/{reviewId}/redactions/{redactionId}","href":"/api-reference/reviews/reference-a-redaction-from-a-review"}]},{"group":"Connections","pages":[{"title":"List connections","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/connections","href":"/api-reference/connections/list-connections"},{"title":"Create connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/connections","href":"/api-reference/connections/create-connection"},{"title":"Get connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/connections/{connectionId}","href":"/api-reference/connections/get-connection"},{"title":"Delete connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /workspaces/{workspaceId}/connections/{connectionId}","href":"/api-reference/connections/delete-connection"},{"title":"Update connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /workspaces/{workspaceId}/connections/{connectionId}","href":"/api-reference/connections/update-connection"},{"title":"Verify connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/connections/{connectionId}/verify","href":"/api-reference/connections/verify-connection"},{"title":"Mint picker token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/connections/{connectionId}/picker-token","href":"/api-reference/connections/mint-picker-token"},{"title":"Start cloud file OAuth","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/connections/oauth/{provider}/start","href":"/api-reference/connections/start-cloud-file-oauth"}]},{"group":"Providers","pages":[{"title":"List providers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/providers","href":"/api-reference/providers/list-providers"},{"title":"Create provider","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/providers","href":"/api-reference/providers/create-provider"},{"title":"Get provider","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/providers/{providerId}","href":"/api-reference/providers/get-provider"},{"title":"Delete provider","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /workspaces/{workspaceId}/providers/{providerId}","href":"/api-reference/providers/delete-provider"},{"title":"Update provider","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /workspaces/{workspaceId}/providers/{providerId}","href":"/api-reference/providers/update-provider"},{"title":"Verify provider","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/providers/{providerId}/verify","href":"/api-reference/providers/verify-provider"}]},{"group":"Connection Syncs","pages":[{"title":"List workspace syncs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/syncs","href":"/api-reference/connection-syncs/list-workspace-syncs"},{"title":"Sync connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/connections/{connectionId}/sync","href":"/api-reference/connection-syncs/sync-connection"},{"title":"Import selected files","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/connections/{connectionId}/import","href":"/api-reference/connection-syncs/import-selected-files"},{"title":"Export files to connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/connections/{connectionId}/export","href":"/api-reference/connection-syncs/export-files-to-connection"},{"title":"List connection syncs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/connections/{connectionId}/syncs","href":"/api-reference/connection-syncs/list-connection-syncs"},{"title":"Get connection sync","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/connections/{connectionId}/syncs/{syncId}","href":"/api-reference/connection-syncs/get-connection-sync"},{"title":"Cancel connection sync","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/connections/{connectionId}/syncs/{syncId}/cancel","href":"/api-reference/connection-syncs/cancel-connection-sync"}]},{"group":"Documents","pages":[{"title":"List documents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/documents","href":"/api-reference/documents/list-documents"},{"title":"Upload documents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/documents","href":"/api-reference/documents/upload-documents"},{"title":"Delete documents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/documents/delete","href":"/api-reference/documents/delete-documents"},{"title":"Get document metadata","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/documents/{documentId}","href":"/api-reference/documents/get-document-metadata"},{"title":"Delete document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /workspaces/{workspaceId}/documents/{documentId}","href":"/api-reference/documents/delete-document"},{"title":"Update document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /workspaces/{workspaceId}/documents/{documentId}","href":"/api-reference/documents/update-document"},{"title":"Download document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/documents/{documentId}/content","href":"/api-reference/documents/download-document"}]},{"group":"Pipelines","pages":[{"title":"List pipelines","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/pipelines","href":"/api-reference/pipelines/list-pipelines"},{"title":"Create pipeline","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/pipelines","href":"/api-reference/pipelines/create-pipeline"},{"title":"Get pipeline","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/pipelines/{pipelineId}","href":"/api-reference/pipelines/get-pipeline"},{"title":"Delete pipeline","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /workspaces/{workspaceId}/pipelines/{pipelineId}","href":"/api-reference/pipelines/delete-pipeline"},{"title":"Update pipeline","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /workspaces/{workspaceId}/pipelines/{pipelineId}","href":"/api-reference/pipelines/update-pipeline"}]},{"group":"Detections","pages":[{"title":"List workspace detections","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/pipelines/detections","href":"/api-reference/detections/list-workspace-detections"},{"title":"List pipeline detections","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/pipelines/{pipelineId}/detections","href":"/api-reference/detections/list-pipeline-detections"},{"title":"Start a detection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/pipelines/{pipelineId}/detections","href":"/api-reference/detections/start-a-detection"},{"title":"Start an ad-hoc detection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/detections","href":"/api-reference/detections/start-an-ad-hoc-detection"},{"title":"Get detection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/detections/{detectionId}","href":"/api-reference/detections/get-detection"},{"title":"Stream detection status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/detections/{detectionId}/events","href":"/api-reference/detections/stream-detection-status"},{"title":"Redact a detection","description":"Applies the pipeline's policies to the detection's stored analysis — with any reviewer `edits` layered on first (suppress a false positive, retag a detection, or add one the analysis missed) — and produces a new redaction: a redacted document plus a review audit recording what was redacted. A detection can be redacted more than once. An edit targeting a detection not in the analysis, or a set that contradicts itself, is rejected (400).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/detections/{detectionId}/redactions","href":"/api-reference/detections/redact-a-detection"},{"title":"Get detection findings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/detections/{detectionId}/analysis","href":"/api-reference/detections/get-detection-findings"},{"title":"Download detection audit","description":"Downloads the detection's audit as a file. `format` is `csv` (default) — a zip of entities.csv, provenance.csv, and reviews.csv — or `json`, a pretty-printed JSON file.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/detections/{detectionId}/audit","href":"/api-reference/detections/download-detection-audit"},{"title":"Get detection intermediates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/detections/{detectionId}/intermediates","href":"/api-reference/detections/get-detection-intermediates"}]},{"group":"Redactions","pages":[{"title":"List detection redactions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/detections/{detectionId}/redactions","href":"/api-reference/redactions/list-detection-redactions"},{"title":"Get redaction review","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/redactions/{redactionId}/review","href":"/api-reference/redactions/get-redaction-review"}]},{"group":"Policies","pages":[{"title":"List policies","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/policies","href":"/api-reference/policies/list-policies"},{"title":"Create policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/policies","href":"/api-reference/policies/create-policy"},{"title":"Get policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/policies/{policyId}","href":"/api-reference/policies/get-policy"},{"title":"Delete policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /workspaces/{workspaceId}/policies/{policyId}","href":"/api-reference/policies/delete-policy"},{"title":"Update policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /workspaces/{workspaceId}/policies/{policyId}","href":"/api-reference/policies/update-policy"}]},{"group":"Capabilities","pages":[{"title":"List labels","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /capabilities/labels","href":"/api-reference/capabilities/list-labels"},{"title":"List recognizers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /capabilities/recognizers","href":"/api-reference/capabilities/list-recognizers"},{"title":"List connectors","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /capabilities/connectors","href":"/api-reference/capabilities/list-connectors"},{"title":"List sign-in methods","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /capabilities/auth","href":"/api-reference/capabilities/list-sign-in-methods"}]},{"group":"API Tokens","pages":[{"title":"List API tokens","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api-tokens","href":"/api-reference/api-tokens/list-api-tokens"},{"title":"Create API token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api-tokens","href":"/api-reference/api-tokens/create-api-token"},{"title":"Get API token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api-tokens/{tokenId}","href":"/api-reference/api-tokens/get-api-token"},{"title":"Revoke API token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api-tokens/{tokenId}","href":"/api-reference/api-tokens/revoke-api-token"},{"title":"Update API token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api-tokens/{tokenId}","href":"/api-reference/api-tokens/update-api-token"}]},{"group":"Notifications","pages":[{"title":"List notifications","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /notifications","href":"/api-reference/notifications/list-notifications"},{"title":"Get unread notifications count","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /notifications/unread","href":"/api-reference/notifications/get-unread-notifications-count"},{"title":"Stream unread notifications count","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /notifications/unread/events","href":"/api-reference/notifications/stream-unread-notifications-count"},{"title":"Mark all notifications as read","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /notifications/read","href":"/api-reference/notifications/mark-all-notifications-as-read"},{"title":"Mark notification as read","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /notifications/{notificationId}/read","href":"/api-reference/notifications/mark-notification-as-read"}]},{"group":"Invites","pages":[{"title":"List invitations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/invites","href":"/api-reference/invites/list-invitations"},{"title":"Send invitation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/invites","href":"/api-reference/invites/send-invitation"},{"title":"Generate invite code","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/invites/code","href":"/api-reference/invites/generate-invite-code"},{"title":"Reply to invitation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/invites/{inviteId}","href":"/api-reference/invites/reply-to-invitation"},{"title":"Cancel invitation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /workspaces/{workspaceId}/invites/{inviteId}","href":"/api-reference/invites/cancel-invitation"},{"title":"Preview invite","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /invites/code/{inviteCode}","href":"/api-reference/invites/preview-invite"},{"title":"Reply to invite code","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /invites/code/{inviteCode}","href":"/api-reference/invites/reply-to-invite-code"}]},{"group":"Webhooks","pages":[{"title":"List webhooks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Create webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/webhooks","href":"/api-reference/webhooks/create-webhook"},{"title":"Get webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspaceId}/webhooks/{webhookId}","href":"/api-reference/webhooks/get-webhook"},{"title":"Delete webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /workspaces/{workspaceId}/webhooks/{webhookId}","href":"/api-reference/webhooks/delete-webhook"},{"title":"Update webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /workspaces/{workspaceId}/webhooks/{webhookId}","href":"/api-reference/webhooks/update-webhook"},{"title":"Test webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /workspaces/{workspaceId}/webhooks/{webhookId}/test","href":"/api-reference/webhooks/test-webhook"}]},{"group":"Identities","pages":[{"title":"List sign-in methods","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /account/identities","href":"/api-reference/identities/list-sign-in-methods"},{"title":"Set or change password","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /account/identities/password","href":"/api-reference/identities/set-or-change-password"},{"title":"Remove password","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /account/identities/password","href":"/api-reference/identities/remove-password"},{"title":"Link a provider","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /account/identities/{provider}","href":"/api-reference/identities/link-a-provider"},{"title":"Unlink a provider","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /account/identities/{provider}","href":"/api-reference/identities/unlink-a-provider"}]},{"group":"Authentication","pages":[{"title":"Start OIDC step-up re-authentication","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /auth/{provider}/reauth","href":"/api-reference/authentication/start-oidc-step-up-re-authentication"},{"title":"Mint a desktop app token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /auth/desktop/token","href":"/api-reference/authentication/mint-a-desktop-app-token"},{"title":"Logout","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /auth/logout","href":"/api-reference/authentication/logout"},{"title":"Login","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /auth/login","href":"/api-reference/authentication/login"},{"title":"Signup","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /auth/signup","href":"/api-reference/authentication/signup"},{"title":"Start OIDC sign-in","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /auth/{provider}/start","href":"/api-reference/authentication/start-oidc-sign-in"}]},{"group":"Health","pages":[{"title":"Liveness probe","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /health/live","href":"/api-reference/health/liveness-probe"},{"title":"Readiness probe","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /health/ready","href":"/api-reference/health/readiness-probe"},{"title":"Readiness probe","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /health","href":"/api-reference/health/readiness-probe-1"}]},{"group":"Avatars","pages":[{"title":"Get avatar","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /avatars/accounts/{id}/{version}","href":"/api-reference/avatars/get-avatar"},{"title":"Get avatar","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /avatars/workspaces/{id}/{version}","href":"/api-reference/avatars/get-avatar-1"}]}]}]},{"tab":"SDKs \u0026 Libraries","pages":[{"title":"SDKs \u0026 Libraries","href":"/sdks/typescript/quickstart"}]}]},"basePath":"","title":"Get detection findings - Nvisy","deploymentId":"dpl_vSEmv961Ncyvz1psVwgUnTXQMSYk","buildId":"dpl_vSEmv961Ncyvz1psVwgUnTXQMSYk","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CrDfRf61.js","snippetPresets-Dv-cOUrx.js","utils-BUTreAgv.js","style-to-object-BY3JEAdk.js","utils-wsznt9RM.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-DEsMlaPy.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DontW4xJ.js","_Uint8Array-pP7X6_RM.js","isObject-FP1Yky1u.js","Page-Cr9IwkK7.js","CodeSnippet-eoRjC4Le.js","DynamicMarkdown-NFqqduU7.js","SectionHeading-DQ-mJoAt.js","icon-DXTBUt6s.js","ApiExamples-CU_aGGP0.js","usePlaygroundInputsStore-7dNmUIbS.js","shallow-fTtruD8x.js","isEqual-BRfNFpSD.js","CodeSnippets-52884wUJ.js","getApiPlaygroundDisplay-CZyAPlR2.js","MethodPill-2v-b3js5.js","getPastedJson-v_8Y1_4v.js","DuplicateIcon-DXIkhZIo.js","createIcon-DRpYuPZs.js","axios-CsQoIw0U.js","Markdown-CwtoSfEf.js","AssistantPageLink-CTqa3eoi.js","dist-DIfYWxfm.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}