(column-reference context x)
(column-reference context x error-fn)
(column-reference-array context arr)
(common-property-type-with-value context x)
(common-property-type-without-value context x)
Validator for the @type key for objects which do not contain a @value key
Validator for the @type key for objects which do not contain a @value key
(common-property-value-id context x)
(context-pair context arr)
(context-uri context x)
(contextual-object context-required? object-validator)
(document-key key-name)
(expand-common-property-key context s)
Expands a common property key into the corresponding absolute URI. Logs a warning and returns invalid if the value is not a valid prefixed name or absolute URI.
Expands a common property key into the corresponding absolute URI. Logs a warning and returns invalid if the value is not a valid prefixed name or absolute URI.
(expand-description-object-type-uri type)
If type is the name of a description object defined in the metadata specification (e.g. Table, Schema), returns the corresponding id URI for the type. Otherwise returns nil.
If type is the name of a description object defined in the metadata specification (e.g. Table, Schema), returns the corresponding id URI for the type. Otherwise returns nil.
(get-declared-key-mapping declared-keys)
(id context x)
An id is a link property whose value cannot begin with _:
An id is a link property whose value cannot begin with _:
(language-code context x)
Validates a value in a natual language property defined as an object. Values can be either strings or string arrays, and returns an array if valid.
Validates a value in a natual language property defined as an object. Values can be either strings or string arrays, and returns an array if valid.
(link-property context x)
(link-property context x error-fn)
(linked-object-property object-validator)
(natural-language context x)
Parses a natural language property according to the specification. Normalises the result into a map of language codes to an array of associated values. Uses the default language if none specified in the context.
Parses a natural language property according to the specification. Normalises the result into a map of language codes to an array of associated values. Uses the default language if none specified in the context.
(normalise-array-natural-language-property context codes)
(normalise-common-property-value {:keys [language] :as context} v)
(normalise-link-property context uri)
Normalises a link property URI by resolving it against the current base URI.
Normalises a link property URI by resolving it against the current base URI.
(normalise-string-natural-language-property context code)
(object-context context x)
(object-of opts)
(object-property object-validator)
Object which may be specified in line in the metadata document or referenced through a URI
Object which may be specified in line in the metadata document or referenced through a URI
(ordinary-common-property-value-key special-keys)
(resolve-linked-object-property-object context object-uri)
(type-one-of allowed-types)
(valid-language-code? s)
(validate-common-property-type-without-value context s)
(validate-common-property-value context v)
(validate-contextual-object context-required? object-validator)
Returns a validator for an object which may contain a @context key mapped to a context definition. If the key exists, and contain a local context definition for the object, this is used to update the validation context used to parse the object and its children.
Returns a validator for an object which may contain a @context key mapped to a context definition. If the key exists, and contain a local context definition for the object, this is used to update the validation context used to parse the object and its children.
(validate-object-of {:keys [required optional defaults
allow-common-properties?]})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close