Malli schemas for URPX entities, describing the coerced shape.
Two-layer model (mirroring the clj-oa3 pattern):
Schemas carry :decode/urpx-jsonld decoders that turn the raw parser output
(strings) into the typed shape described here. The transformer is built and
applied in urpx.coerce. Reference resolution (URPX-ej9) keeps :jsonld/id
references intact; consumers dereference via an entity index.
Schemas are bare def vars referenced by symbol — there is no central registry.
Malli schemas for URPX entities, describing the coerced shape.
Two-layer model (mirroring the clj-oa3 pattern):
- urpx.core — raw parse: JSON-LD with namespaced keys, all string values.
- urpx.schema — coerced shape: typed Clojure values (BigDecimal, LocalDate,
LocalTime, LocalDateTime, Duration, integer month numbers).
Schemas carry `:decode/urpx-jsonld` decoders that turn the raw parser output
(strings) into the typed shape described here. The transformer is built and
applied in `urpx.coerce`. Reference resolution (URPX-ej9) keeps :jsonld/id
references intact; consumers dereference via an entity index.
Schemas are bare def vars referenced by symbol — there is no central registry.An xsd:integer field — JSON parser may produce long already, but tolerate strings.
An xsd:integer field — JSON parser may produce long already, but tolerate strings.
Common JSON-LD identity fields present on most entities.
Common JSON-LD identity fields present on most entities.
A JSON-LD @id reference: {:jsonld/id "urpx:foo"}. Resolved against the entity index built from the parsed document.
A JSON-LD @id reference: {:jsonld/id "urpx:foo"}.
Resolved against the entity index built from the parsed document.A block-usage tier (e.g. CPAU E-1's baseline tier 1 / over-baseline tier 2). The bounds are interpreted with the matching :urpx/...BoundOperator vocab IRIs.
A block-usage tier (e.g. CPAU E-1's baseline tier 1 / over-baseline tier 2). The bounds are interpreted with the matching :urpx/...BoundOperator vocab IRIs.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |