Expand description
uor_addr::schema::document — Document content-addressing
(ARCHITECTURE.md “Schema-pinned descendants” § uor-addr-document).
Schema-pinned descendant of crate::json. Imports
schema.org’s Article type (extending CreativeWork) — the
host-boundary parser admits only JSON-LD values conforming to
schema.org’s published Article taxon.
§no_std + no_alloc
Schema admission walks the parsed crate::json::JsonValue’s
tagged bytes via crate::json::JsonValueRef. No serde_json,
no allocator.
§Authoritative sources
- schema.org Article type — https://schema.org/Article.
- JSON-LD 1.1 — W3C REC — https://www.w3.org/TR/json-ld11/.
§Admission predicate
@contextis"https://schema.org"or"http://schema.org".@typeis"Article"or one of its admissible subtypes.headline— string.author— string, Person/Organization object, or non-empty array of either.datePublished— non-empty string (ISO 8601 / RFC 3339).
Structs§
Enums§
Constants§
- ARTICLE_
TYPES - Admissible
@typevalues —Articleplus its standard subtypes per https://schema.org/Article. - REQUIRED_
PROPERTIES - SCHEMA_
ORG_ CONTEXTS
Functions§
- address
- address_
blake3 - As
address, but binds theblake3σ-axis (crate::hash). Schema admission is identical; only the κ-derivation hash differs. - address_
keccak256 - As
address, but binds thekeccak256σ-axis (crate::hash). Schema admission is identical; only the κ-derivation hash differs. - address_
sha3_ 256 - As
address, but binds thesha3_256σ-axis (crate::hash). Schema admission is identical; only the κ-derivation hash differs. - address_
sha512 - As
address, but binds thesha512σ-axis (crate::hash). - canonicalize
- Available only under the
allocfeature.