Liking cljdoc? Tell your friends :D

urpx.schema

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.

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.
raw docstring

BillingModelclj

source

CalculationMethodclj

source

Conditionclj

source

CustomerProfileclj

source

DataSourceReferenceclj

source

Dateclj

source

DateTimeclj

source

Decimalclj

source

EligibilityRuleclj

source

Intclj

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.
sourceraw docstring

IsoDurationclj

source

Ledgerclj

source

MetricInputclj

source

MetricSpecificationclj

source

MonthNumberclj

source

NodeIdentityclj

Common JSON-LD identity fields present on most entities.

Common JSON-LD identity fields present on most entities.
sourceraw docstring

Organizationclj

source

PlanElementsclj

source

Priceclj

source

PriceDefinitionclj

source

Pricesclj

source

PriceSetclj

source

RatePlanclj

source

RatePlanModifierclj

source

RatePlanModifierVersionclj

source

RatePlanVersionclj

source

Refclj

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.
sourceraw docstring

Seasonclj

source

ServiceTierclj

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.
sourceraw docstring

Timeclj

source

TimeBracketclj

source

TOUPeriodclj

source

TOUScheduleclj

source

TOUTierclj

source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close