tech.transparencia.document.item
Core document metadata for official and institutional documents. Stores identity, provenance, and public context, but not full text, sections, chunks, AI analysis, or ingestion pipeline state.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | document.transparencia.tech |
| Indexed |
Record
record · key tidProperties
country
stringPrimary country connected to the document, as an ISO 3166-1 alpha-2 code (e.g., 'MX', 'BR', 'US'). Omit for international documents.
maxLength: 2
When this AT Protocol record was created.
description
stringShort source-provided description or human-readable abstract. AI summaries should be stored in enrichment records.
maxLength: 10000maxGraphemes: 2000
Machine-readable document category. Open set; known values cover common official and institutional documents.
maxLength: 128knownValues: official-publication | official-gazette-issue | official-gazette-entry | law | decree | agreement | notice | regulation | standard | report | audit-report | budget-document | contract | procurement-document | court-ruling | legislative-bill | legislative-opinion | treaty | submission | technical-paper | environmental-impact-document | education-policy-document | dataset-documentation | meeting-minutes | resolution | other
domains
arrayBroad public-interest domains covered by the document. Open set; consumers should tolerate unknown values.
maxLength: 20
maxLength: 128maxGraphemes: 64knownValues: government | politics | law | justice | environment | climate | education | health | budget | procurement | economy | finance | labor | energy | infrastructure | security | science-technology | society | human-rights | other
effectiveAt
string · datetimeWhen the document's legal or administrative effects begin, if applicable and explicitly known.
identifiers
arrayExternal identifiers such as DOF IDs, UNFCCC symbols, file numbers, docket numbers, ISBNs, or local archival IDs. For content hashes use retrieval.sha256; for URLs use retrieval.url.
maxLength: 50
issuedAt
string · datetimeWhen the issuing authority signed, issued, adopted, or approved the document, if different from publication time.
issuingBodies
arrayOrganizations, public bodies, institutions, or authorities responsible for issuing, publishing, filing, or adopting the document. Uses the shared tech.transparencia.defs#organization type. Conventional role values include 'publisher', 'issuer', 'author', 'adopter', 'filer', 'regulator', 'court', 'legislature', 'repository'.
maxLength: 20
jurisdiction
stringLegal or administrative jurisdiction covered by the document (e.g., 'federal', 'state', 'municipal', 'international').
maxLength: 256maxGraphemes: 64knownValues: local | municipal | state | federal | national | regional | international | supranational | unknown
language
string · languagePrimary language of the document content (BCP-47, e.g., 'es-MX', 'en', 'pt-BR').
When the document was published by the source. Use midnight UTC when only a calendar date is available.
Per-document retrieval metadata: canonical URLs, MIME type, checksums, file size, and access status of the specific retrieved representation.
Strong reference to the tech.transparencia.document.source record for the publisher or repository (e.g., DOF, UNFCCC). Identifies which source this document came from.
subtitle
stringOptional subtitle, section heading, or secondary title.
maxLength: 4096maxGraphemes: 1024
Official or source-provided title of the document.
maxLength: 4096maxGraphemes: 1024
topics
arrayFree-form topics, tags, or source categories attached to the document.
maxLength: 30
maxLength: 512maxGraphemes: 128
updatedAt
string · datetimeWhen this record was last materially updated.
#identifier
objectExternal identifier assigned to a document by a source system, authority, archive, or standard. For content hashes use retrieval.sha256; for URLs use retrieval.url.
Properties
Identifier type or namespace.
maxLength: 128knownValues: dof_id | dof_publication_id | unfccc_symbol | official_file_number | docket_number | case_number | law_number | isbn | issn | doi | other
url
string · uriOptional URL where this identifier can be resolved or verified.
Identifier value.
maxLength: 1024maxGraphemes: 256
#retrieval
objectPer-document retrieval metadata for a single retrieved representation. Publisher-level metadata (name, base URL, license) lives on the tech.transparencia.document.source record referenced by 'source'.
Properties
accessType
stringAccess status of the source at retrieval time. Use 'previously-public' for documents that were once publicly accessible but have since been withdrawn or removed by the source.
maxLength: 64knownValues: public | restricted | paywalled | previously-public | unknown
blob
blobOptional binary attachment preserving the actual document bytes on this PDS. Typical contents: the source PDF, an HTML snapshot, the extracted plain text used by the enrichment pipeline, or the original upstream JSON payload (e.g., a SIDOF response). The other retrieval fields (url, pdfUrl, sha256) still reference the original public source — this blob is the archived copy. Max 50 MB.
maxSize: 50000000accept: application/pdf, text/html, text/plain, application/json
canonicalUrl
string · uriCanonical, normalized, or preferred public URL for the document.
fileName
stringOriginal or normalized file name, if applicable.
maxLength: 1024maxGraphemes: 256
htmlUrl
string · uriHTML landing page or web version of the document, if available.
license
stringPer-document license override, if the document is licensed differently from the source-level default.
maxLength: 512maxGraphemes: 128
mimeType
stringMIME type of the retrieved representation (e.g., 'text/html', 'application/pdf').
maxLength: 128
pdfUrl
string · uriPDF or downloadable document URL, if available.
When the source was retrieved by the pipeline.
sha256
stringSHA-256 checksum of the retrieved file or canonical source payload, if available.
maxLength: 64
sizeBytes
integerSize of the retrieved file or canonical representation in bytes.
minimum: 0
sourceId
stringSource-system identifier for deduplication, if provided by the upstream source.
maxLength: 512
URL where this document was found or retrieved.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
A document source: an official gazette, government repository, institutional archive, court system, registry, or other publisher of public-interest documents tracked by TransparencIA.
-
DOF-specific sidecar for a Diario Oficial de la Federación (México) nota. Captures gazette-specific identifiers, edition, section, and authority hierarchy that don't fit the universal tech.transparencia.document.item record. Each nota in the DOF SIDOF feed maps to one record of this lexicon plus one underlying document.item record.
-
AI- or analyst-generated enrichment attached to a Diario Oficial de la Federación (México) nota. Captures legal and administrative semantics — type of act, document class, legal effects, obligations, compliance items, related references — while also exposing cross-domain fields (contentDomain, eventType, region) so DOF and news enrichments can be analyzed together.
-
A point-in-time capture of an upstream source publication: ICE's participating-agencies workbook, a FOIA production, or a roster PDF. Agreement events reference the snapshot that justified them, so every published change traces back to an archived, content-addressed copy of the document it came from. Record key is a TID. Snapshots are never updated or deleted; a revised upstream file is a new snapshot.