Appearance
Filters
Generated
Generated by elody-ui reference from the Elody UI vocabulary 0.6.0 (elody-ui.ttl), its meta-shapes (elody-ui.shapes.ttl) and the generator's bindings. Edit the ontology, not this page.
The advanced filters of a type: their kind, keys, defaults, option search and facets.
Each section is one kind of node: the terms it may carry, the type of each value, how many values it takes and what it means. "unchecked" marks a term the vocabulary defines on this kind of node that the meta-shapes do not constrain yet. "Used by" counts the client declarations that use the term.
Filter
elody:Filter: An advanced filter offered on a listing or a picker: its kind, the key it filters on, defaults and visibility. No standard term: shui:searchQuery is SPARQL, Elody filters the document store.
Declared under elody:filter of Entity Ui, elody:filter of Filters Fragment, elody:filter of List Query, elody:filter of Picker.
Constraint
a hidden filter carries a sh:defaultValue, elody:defaultValueAsList true for an empty list, or an option input resolving its value to option ids
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:alias | xsd:string | at most one | The GraphQL alias under which a filter (a filter without one is emitted unaliased), action, panel, element, form tab (on an elody:Form; default "name"), submit action (on an elody:submit node; default "createAction") or property is emitted. On a property shape: the field name the fragment reads the value under when it is not the metadata key (title: keyValue(key: "email")); several property shapes may share one sh:path under different aliases. Open string by design. no alias: the one unaliased advancedFilter of its document | 8 of 8 |
elody:filterKind | an elody:FilterKind value | exactly one | Which advanced filter. Range changed in 0.1: an elody:FilterKind instance, no longer the string. | 8 of 8 |
dash:hidden | xsd:boolean | at most one | The filter or field is not shown; a hidden filter still applies its default value. | 8 of 8 |
elody:showTooltip | xsd:boolean | at most one | Show the platform tooltip on a filter. Replaces the boolean use of the retired elody:tooltip; the tooltip text of a property is sh:description. | 8 of 8 |
elody:parentFilterKey | xsd:string | at most one | On a filter: the parentKey argument of a selection filter ("relations"). On a comments element: the filter key that ties comments to this entity. | 6 of 8 |
elody:filterAggregation | xsd:string | at most one | The aggregation a number filter applies to a looked-up list (aggregation: "size"). | 2 of 8 |
elody:optionsType | xsd:string | at most one | A selection filter offers the entities of this type as its options (advancedFilterInputForRetrievingOptions: a text search on elody:optionsKey, scoped to the type). Left out when the search is scoped by elody:optionsInput nodes alone. | 6 of 8 |
elody:optionsLabel | xsd:string | at most one | Where a selection filter's option takes its label from (filterOptionsMapping.label, e.g. "intialValues.access"). | 6 of 8 |
elody:optionsValue | xsd:string | at most one | Where a selection filter's option takes its value from (filterOptionsMapping.value). | 6 of 8 |
elody:selectionOption | xsd:string | at most one | How a selection filter offers its options (selectionOption: autocomplete, ...). | 6 of 8 |
elody:optionsLimit | xsd:integer | at most one | How many options a selection filter fetches at most (limitConfig: { optionsLimit: 30 }). | 1 of 8 |
elody:keepDefaultValue | xsd:boolean | at most one | true keeps the filter's default value when the user changes the filters (doNotOverrideDefaultValue). | 1 of 8 |
elody:defaultValueBare | xsd:boolean | at most one | true writes the filter's sh:defaultValue unquoted: an enumeration value of the schema (an entity type) rather than a string. A boolean default is bare by itself. | 4 of 8 |
elody:includeDefaultsFrom | xsd:string | any number | An initial value of the entity shown whose ids are added to the filter's default (includeDefaultValuesFromIntialValues). | 1 of 8 |
elody:matchExact | xsd:boolean | at most one | Whether the filter matches its value exactly (matchExact on the filter itself; elody:optionsMatchExact is the option search's). | 1 of 8 |
elody:filterOperator | xsd:string | at most one | How the filter's values combine (operator: or, and). | 4 of 8 |
elody:showTime | xsd:boolean | at most one | A date filter offers the time of day too (showTimeForDateFilter). | 5 of 8 |
elody:matchersType | xsd:string | at most one | Which matchers the filter offers (matchersType: selectionForMetadata, ...). | 1 of 8 |
elody:matcherLabel | a Matcher Label node | any number | A matcher's label on the filter, in sh:order: elody:matcher (the Matchers value as written, AnyMatcher) and elody:labelKey. | 1 of 8 |
elody:asksBack | xsd:string | any number | A field the filter asks back without passing it (parentKey on a filter without a parent): the client's selection, kept as written. | 2 of 8 |
elody:useOldWayToFetchOptions | xsd:boolean | at most one | Whether the selection filter fetches its options the older way (useOldWayToFetchOptions). | 2 of 8 |
elody:lookup | a Lookup node | at most one | The join the filter needs before it can match. | 3 of 8 |
elody:optionsLookup | a Lookup node | at most one | The join the option search needs before it can match (lookup on the first input of advancedFilterInputForRetrievingOptions); elody:lookup on an elody:OptionsInput is a further input's. | 1 of 8 |
elody:option | a Filter Option node | any number | A fixed option of a selection filter, offered as declared instead of fetched (elody:optionsType). Its label is elody:labelKey, its value elody:value. | 2 of 8 |
elody:selectionSpread | xsd:string | at most one | The name of a shared fragment that is the filter's selection set (...advancedFilter) in place of the fields asked back one by one; fields with arguments (defaultValue, hidden, tooltip) are still emitted. | 3 of 8 |
elody:keys | a reference by name | at most one | An ordered RDF list of the keys a filter searches (key: ["a", "b"]) when there are several; elody:key holds one. | 2 of 8 |
elody:optionsKey | xsd:string | at most one | The key searched for the options of a selection filter ("pim:1|properties.name.value"). | 7 of 8 |
elody:optionsMatchExact | xsd:boolean | at most one | Whether the option search matches exactly (match_exact). Default false. | 7 of 8 |
elody:optionsDistinctBy | xsd:string | at most one | The key the option search is made distinct by (distinct_by). | 5 of 8 |
elody:optionsOperator | xsd:string | at most one | The operator of the option search on elody:optionsKey (advancedFilterInputForRetrievingOptions[].operator: or, and). | 1 of 8 |
elody:optionsTypeOperator | xsd:string | at most one | The operator of the type input scoping the option search ({ type: type, value: ..., operator: and }). | 1 of 8 |
elody:optionsTypeBare | xsd:boolean | at most one | true writes elody:optionsType as an enum value ({ type: type, value: user }) rather than a string. | 3 of 8 |
elody:optionsKeys | a reference by name | at most one | Several keys the option search searches (key: [...] on the text input), an RDF list; one key is elody:optionsKey. | 1 of 8 |
elody:optionsItemTypes | xsd:string | any number | An entity type the option search is limited to (item_types on the text input), one per value. | 3 of 8 |
elody:optionsLabelKey | xsd:string | at most one | The metadata key labelling the options found (metadata_key_as_label on the text input). | 1 of 8 |
elody:itemTypes | xsd:string | any number | An entity type a relation filter picks from (itemTypes: [...]), one per value. | 1 of 8 |
elody:defaultMatcher | xsd:string | at most one | The matcher a text filter starts with (defaultMatcher: ExactInputMatcher), a Matchers value. | 1 of 8 |
elody:allowedMatchers | a reference by name | at most one | The matchers a text filter offers (allowedMatchers: [...]), an RDF list of Matchers values. | 1 of 8 |
elody:valueMapping | a Value Mapping node | any number | A mapping of the default value, in sh:order: elody:value lists the values, elody:mapping what they become. | 1 of 8 |
elody:facet | a Facet node | any number | A facet, in sh:order: elody:inputKind and elody:value, or elody:key with elody:lookup nodes, and nested elody:facet nodes. | 1 of 8 |
elody:optionsInput | a Options Input node | any number | A further input of the option search, in sh:order, rendered between the search on elody:optionsKey and the type input. elody:key and elody:value say what it matches; an input of kind elody:TypeFilter is the type input kept at its place among the others (instead of elody:optionsType). | 3 of 8 |
elody:hidden | retired | — | elody:hidden is retired: use dash:hidden | — |
elody:tooltip | retired | — | elody:tooltip is retired: use elody:showTooltip | — |
elody:defaultValue | retired | — | elody:defaultValue is retired: use sh:defaultValue | — |
elody:defaultValueAsList | xsd:boolean | unchecked | Emit the sh:defaultValue(s) as a list literal. | 7 of 8 |
elody:displayedByDefault | xsd:boolean | unchecked | The filter is open when the listing loads. | 8 of 8 |
elody:keyAsList | xsd:boolean | unchecked | Emit the filter key as a one-element list (default true; the type selection filter needs a bare string). | 7 of 8 |
Filter Option
elody:FilterOption: One fixed option of a selection filter (options: [{ label, value }]): a label key and a value, in sh:order.
Declared under elody:option of Filter.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:labelKey | xsd:string | exactly one | The Elody translation key under which the label is shown. The label text itself is sh:name (property shapes) or rdfs:label (property groups), language-tagged; generate writes those texts into the client's translation bundles under this key. Without elody:labelKey the generator mints ui.<type>.<key>. No standard term: SHACL carries label texts, not an application's translation keys. Left out on a property shape that carries no label text: the label key the key itself carries (em:x elody:labelKey, once per client), else metadata.labels.<key>, the key in kebab-case (elody:defaultRule in the meta-shapes). | 8 of 8 |
elody:value | rdfs:Literal | exactly one | A config entry's value: string, number, boolean, an RDF list of strings, a node holding elody:config entries (an object value), or an elody: enumeration instance (rendered as its enum value, e.g. elody:WktMap). On an elody:FilterOption: the option's value. | 8 of 8 |
sh:order | at most one | The position among its siblings; order never comes from the position in the file. | 8 of 8 |
Lookup
elody:Lookup: A join a filter needs: the collection looked up, the local and the foreign field, and the name the joined documents get (lookup: { from, local_field, foreign_field, as }).
Declared under elody:lookup of Filter, elody:optionsLookup of Filter, elody:lookup of Facet, elody:lookup of Options Input.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:lookupFrom | xsd:string | exactly one | The collection looked up. | 3 of 8 |
elody:lookupLocalField | xsd:string | exactly one | The field on this side of the join. | 3 of 8 |
elody:lookupForeignField | xsd:string | exactly one | The field on the looked-up side of the join. | 3 of 8 |
elody:lookupAs | xsd:string | exactly one | The name the joined documents get. | 3 of 8 |
elody:lookupResolveToSourceIds | xsd:boolean | at most one | true resolves the looked-up documents to the ids of the source entities (resolve_to_source_ids). | 1 of 8 |
Value Mapping
elody:ValueMapping: Values a filter's default is mapped from (defaultValueMapping: a list of values and what they map to).
Declared under elody:valueMapping of Filter, elody:valueMapping of Options Input.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
sh:order | at most one | The position among its siblings; order never comes from the position in the file. | 8 of 8 | |
elody:value | a reference by name | exactly one | A config entry's value: string, number, boolean, an RDF list of strings, a node holding elody:config entries (an object value), or an elody: enumeration instance (rendered as its enum value, e.g. elody:WktMap). On an elody:FilterOption: the option's value. | 8 of 8 |
elody:mapping | xsd:string | exactly one | What the listed values map to (mapping: "jeugd"). | 1 of 8 |
Facet
elody:Facet: A facet of a filter (facets): a kind and value, or a key reached over lookups, with facets of its own.
Declared under elody:facet of Filter, elody:facet of Facet.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
sh:order | at most one | The position among its siblings; order never comes from the position in the file. | 8 of 8 | |
elody:inputKind | an elody:FilterKind value | at most one | The kind of the input (type: text, selection, ...), an elody:FilterKind instance. | 4 of 8 |
elody:value | xsd:string | at most one | A config entry's value: string, number, boolean, an RDF list of strings, a node holding elody:config entries (an object value), or an elody: enumeration instance (rendered as its enum value, e.g. elody:WktMap). On an elody:FilterOption: the option's value. | 8 of 8 |
elody:key | xsd:string | at most one | A platform key: a config entry's name, a filter's document key, a step's key, a card field's value key when it differs from sh:name. | 8 of 8 |
elody:lookup | a Lookup node | any number | The join the filter needs before it can match. | 3 of 8 |
elody:facet | a Facet node | any number | A facet, in sh:order: elody:inputKind and elody:value, or elody:key with elody:lookup nodes, and nested elody:facet nodes. | 1 of 8 |
Visible Filter Label
Constraint
a visible filter carries an rdfs:label
| Term | Type | How many | Meaning | Used by |
|---|
Options Input
elody:OptionsInput: A further input narrowing a selection filter's option search (advancedFilterInputForRetrievingOptions beyond the search on elody:optionsKey and the type): a key, the value it must hold (a string or an RDF list of strings), and how it matches.
Declared under elody:optionsInput of Filter, elody:staticFilter of Picker Search.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:inputKind | an elody:FilterKind value | exactly one | The kind of the input (type: text, selection, ...), an elody:FilterKind instance. | 4 of 8 |
elody:key | xsd:string | at most one | A platform key: a config entry's name, a filter's document key, a step's key, a card field's value key when it differs from sh:name. no key on a type input kept among the inputs (elody:inputKind elody:TypeFilter) | 8 of 8 |
elody:value | a node | exactly one | A config entry's value: string, number, boolean, an RDF list of strings, a node holding elody:config entries (an object value), or an elody: enumeration instance (rendered as its enum value, e.g. elody:WktMap). On an elody:FilterOption: the option's value. | 8 of 8 |
elody:inputMatchExact | xsd:boolean | at most one | Whether the input matches exactly (match_exact). | 3 of 8 |
elody:inputDistinctBy | xsd:string | at most one | The key the input's matches are made distinct by (distinct_by). | 1 of 8 |
elody:inputResolveDefaultValueToOptionIds | xsd:boolean | at most one | true resolves the input's value (session-$id) to the ids of the options it matches, which become the filter's default (resolveDefaultValueToOptionIds). | 1 of 8 |
elody:inputOperator | xsd:string | at most one | The input's operator (operator: or, and). | 1 of 8 |
elody:bareValues | xsd:boolean | at most one | true writes the input's values as enum values (value: [car, part]) rather than strings. | — |
elody:valueMapping | a Value Mapping node | any number | A mapping of the default value, in sh:order: elody:value lists the values, elody:mapping what they become. | 1 of 8 |
elody:lookup | a Lookup node | at most one | The join the filter needs before it can match. | 3 of 8 |
sh:order | at most one | The position among its siblings; order never comes from the position in the file. | 8 of 8 |
Metadata Match
elody:MetadataMatch: A metadata key and the value it must hold for a bulk operation to be offered (matchMetadataValue).
Declared under elody:matchMetadataValue of Bulk Operation Context.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:matchKey | xsd:string | exactly one | The metadata key matched (matchKey). | 1 of 8 |
elody:matchValue | xsd:string | exactly one | The value the key must hold, as a string (matchValue). | 1 of 8 |
sh:order | at most one | The position among its siblings; order never comes from the position in the file. | 8 of 8 |
Matcher Label
elody:MatcherLabel: The label a filter shows for one of its matchers (matcherLabels: [{ matcher: AnyMatcher, label: ... }]).
Declared under elody:matcherLabel of Filter.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
sh:order | at most one | The position among its siblings; order never comes from the position in the file. | 8 of 8 | |
elody:matcher | xsd:string | exactly one | The Matchers value the label is for (AnyMatcher, NoneMatcher, ...). | 1 of 8 |
elody:labelKey | xsd:string | exactly one | The Elody translation key under which the label is shown. The label text itself is sh:name (property shapes) or rdfs:label (property groups), language-tagged; generate writes those texts into the client's translation bundles under this key. Without elody:labelKey the generator mints ui.<type>.<key>. No standard term: SHACL carries label texts, not an application's translation keys. Left out on a property shape that carries no label text: the label key the key itself carries (em:x elody:labelKey, once per client), else metadata.labels.<key>, the key in kebab-case (elody:defaultRule in the meta-shapes). | 8 of 8 |