Readonlykind: "dictionary"Discriminator identifying this as a dictionary shape.
Inheritance — cannot be overridden.
Readonlycontent: StringShape<string, undefined>The shape every string is held to, whatever tag it is stated under.
Admits the string shapes stating no datatype, such as string(), text() and markdown(). Localised text is typed as an RDF language-tagged string, so a shape fixing a datatype of its own, like date() or email(), has no localised form.
Length, pattern and enumeration constraints hold for each string separately, so an entry is held to them whatever language it is stated in. Required values are matched across the strings of every map, under any tag.
Inheritance — merged under the string!StringShape inheritance rules.
Describes a localised textual value.
Admits the JSON-LD language maps a resource may carry: a map keyed by BCP 47 language tag, holding the content the resource states in each language, so that a property whose value varies by language is described by a single shape rather than by one member per language. Content of undetermined language (a proper name, say) is keyed by the
undtag, and content belonging to no language at all (an identifier, a code, a formula) by thezxxtag. Each entry is stored as a RDF 1.1 language-tagged string.How many strings a tag carries is fixed by uniqueLang: a unique-tagged shape gives every tag a single string, and any other gives every tag an array. The map is a value set in its own right, so a member carries it whole, never in an array, whatever the bounds of the enclosing value!Range admit: those bounds count the values of the other branches of a two-natured range, which a resource carries in place of the map and never beside it. A map carrying no text under any tag counts as no value, so a required member stating one fails its minimum cardinality, as if the value had been left out.
Negotiation
The tag-keyed map is the form a value is stored and submitted in. On retrieval a localised member is additionally coalesced under language negotiation, at the same per-tag arity: the value may be retrieved as the negotiated content alone (a bare string under a unique-tagged shape, otherwise the array of strings the selected tag carries), and filtered by a plain string operand (a comparison, a text search or an option) matched against the negotiated content under ordinary textual semantics. Submission never coalesces: it accepts the tag-keyed form alone.
Inheritance
Where a resource!ResourceShape extends the shapes it lists as
parents, localised members are merged according to the following rules. The child is the extending shape; the parent is the inherited one.kindcontentlanguageInhasLanguageuniqueLangCross-field validation
contentmust be consistent, as a string!StringShape musthasLanguagerange must be matchable by some tag the mergedlanguageInadmits