Appearance
Guided flows
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.
Step-by-step flows (GetRepetitiveForm): steps with a picker or a form, what each step scopes to, and what finalizes the flow.
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.
Guided Flow
elody:GuidedFlow: A multi-step form (stepper) that creates or picks entities and attaches them to the host entity (Elody RepetitiveForm).
Declared under elody:guidedFlow of Entity Ui, elody:guidedFlow of App.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:step | a Flow Step node | one or more | A step of the flow. | 4 of 8 |
elody:finalize | a Finalize node | at most one | How the flow attaches its result to the host. | 3 of 8 |
elody:finalizeStep | a Flow Step node | at most one | The step that ends the flow by creating or picking an entity from what the steps gathered (finalize): a flow step without a key of its own. | 1 of 8 |
elody:linear | xsd:boolean | at most one | true runs the steps one after another (linear). | 1 of 8 |
elody:startOnFirstStep | xsd:boolean | at most one | true opens the flow on its first step (startOnFirstStep). | 1 of 8 |
elody:returnsSelection | xsd:boolean | at most one | true hands the selection back to where the flow was opened instead of creating relations (returnsSelection). | 1 of 8 |
elody:routeToStep | xsd:string | at most one | The step whose entity the PWA navigates to when the flow finishes (routeToStep). | 1 of 8 |
elody:routeToRoute | xsd:string | at most one | The PWA route the flow navigates to when it finishes (routeToRoute: WemOverview), an open string of the PWA's. | 1 of 8 |
elody:refetchOnFinish | xsd:boolean | unchecked | Reload the host entity when the flow closes. | 3 of 8 |
elody:repeatable | xsd:boolean | unchecked | Offer "add another" after the last step. | 4 of 8 |
Flow Step
elody:FlowStep: One step of a guided flow: which entity type, which form or picker, how many may be selected, and the overview fields.
Declared under elody:step of Guided Flow, elody:finalizeStep of Guided Flow.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:key | xsd:string | exactly 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:form | a reference by name | at most one | The form an action, a modal or a flow step opens, as a node (R3): the generator derives the document name. Replaces the string references elody:formQuery and elody:createForm. An EntityUi lists its forms with the same property. | 8 of 8 |
elody:picker | a reference by name | at most one | A picker, as a node (R3): on an EntityUi it is declared; on a flow step or list element it is used. Replaces the string pairs pickerQuery/pickerFiltersQuery and pickerList/pickerFilters. | 4 of 8 |
elody:showBackButton | xsd:boolean | at most one | Whether the step shows a back button (showBackButton). | 1 of 8 |
elody:skipSearchIfPriorIsNew | xsd:boolean | at most one | true skips the step's search when the prior step created a new entity (skipSearchIfPriorIsNew). | 1 of 8 |
elody:pickerFiltersCollapsed | xsd:boolean | at most one | Whether the step's picker starts with its filters collapsed (pickerFiltersCollapsed). | 1 of 8 |
elody:metadataOnly | xsd:boolean | at most one | true makes the step edit only the metadata of the relation to the prior step, without picking or creating an entity (metadataOnly). | 1 of 8 |
elody:terminalActionLabel | xsd:string | at most one | The translation key of the action that ends the flow at this step (terminalActionLabel). | 1 of 8 |
elody:scopeToRelationOf | a Step Scope node | at most one | The prior step (elody:fromStep), the relation type and the filter key the search is scoped by. | 2 of 8 |
elody:stepRelation | a Step Relation node | any number | A relation to create, in sh:order: elody:to names the prior step, elody:relationType the relation, elody:createWhen when (always). | 1 of 8 |
elody:creatableType | a Creatable Type node | any number | A type the step may create, in sh:order: elody:labelKey, elody:entityType and the elody:form that creates it. | 1 of 8 |
elody:prefillMetadata | a Config Entry node | any number | A metadata value the step's form is prefilled with (prefillMetadata): elody:key and elody:value, in sh:order. | 1 of 8 |
elody:createForm | retired | — | elody:createForm is retired: reference the form node with elody:form | — |
elody:pickerQuery | retired | — | elody:pickerQuery is retired: reference the picker node with elody:picker | — |
elody:pickerFiltersQuery | retired | — | elody:pickerFiltersQuery is retired: reference the picker node with elody:picker | — |
elody:acceptedTypes | xsd:string | unchecked | Entity types the step accepts from the picker. | 3 of 8 |
elody:maxSelection | xsd:integer | unchecked | How many entities the step may pick. | 3 of 8 |
elody:overviewField | a Overview Field node | unchecked | A field in the step's overview. | 4 of 8 |
Step Scope
elody:StepScope: The scope of a step's search: the entities related to what a prior step chose (scopeToRelationOf).
Declared under elody:scopeToRelationOf of Flow Step.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:fromStep | xsd:string | exactly one | The key of the step whose result is attached (on elody:Finalize) or whose relation scopes the search (on elody:StepScope, GraphQL step). | 4 of 8 |
elody:relationType | xsd:string | exactly one | An Elody relation type name (hasPart, isPartFor). Open string: client-defined, convention has<X> / is<X>For. On a property shape it names the relation the property reads and writes; without it, sh:path ex:x with sh:class is has<X> and sh:path [ sh:inversePath ex:x ] is is<X>For, the mirror collection-api stores on the other entity. | 8 of 8 |
elody:filterKey | xsd:string | at most one | The key the scoped search filters on (filterKey). | 1 of 8 |
Step Relation
elody:StepRelation: A relation the flow creates from this step's entity to a prior step's (relations).
Declared under elody:stepRelation of Flow Step.
| 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:to | xsd:string | at most one | The key of the step the relation goes to (to). | 1 of 8 |
elody:toAllOf | a list | at most one | The keys of the steps the relation goes to, all of them (toAllOf: an RDF list of strings), instead of one elody:to. | 1 of 8 |
elody:relationType | xsd:string | exactly one | An Elody relation type name (hasPart, isPartFor). Open string: client-defined, convention has<X> / is<X>For. On a property shape it names the relation the property reads and writes; without it, sh:path ex:x with sh:class is has<X> and sh:path [ sh:inversePath ex:x ] is is<X>For, the mirror collection-api stores on the other entity. | 8 of 8 |
elody:createWhen | xsd:string | at most one | When the relation is created (createWhen: always), a platform enum value. | 1 of 8 |
elody:metadataField | a Relation Metadata Field node | any number | A field of the step's form copied onto the relation, in sh:order: elody:formMetadataKey names the form field, elody:relationMetadataKey the relation metadata key, elody:asArray stores it as a list. | 1 of 8 |
Relation Metadata Field
elody:RelationMetadataField: A form field whose value is stored as metadata on the relation a step creates (metadataFields).
Declared under elody:metadataField of Step Relation.
| 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:formMetadataKey | xsd:string | exactly one | The key of the form field whose value is copied (formMetadataKey). | 1 of 8 |
elody:relationMetadataKey | xsd:string | exactly one | The relation metadata key the value is stored under (relationMetadataKey). | 1 of 8 |
elody:asArray | xsd:boolean | at most one | true stores the value as a list (asArray). | — |
Creatable Type
elody:CreatableType: A type a step may create, with the form that creates it (creatableTypes).
Declared under elody:creatableType of Flow Step.
| 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:labelKey | xsd:string | at most 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:entityType | xsd:string | exactly one | The Elody entity type the step creates or picks; on a taggable, the type tagged. | 8 of 8 |
elody:form | a reference by name | exactly one | The form an action, a modal or a flow step opens, as a node (R3): the generator derives the document name. Replaces the string references elody:formQuery and elody:createForm. An EntityUi lists its forms with the same property. | 8 of 8 |
Picker Search
elody:PickerSearch: How an entity picker field searches (entityPickerSearchConfig): a mode, the keys searched and the types accepted.
Declared under elody:pickerSearch of Form Field.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:pickerSearchMode | xsd:string | exactly one | The search mode (mode: Search), an open string of the platform's. | 1 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:acceptedTypes | xsd:string | any number | Entity types the step accepts from the picker. | 3 of 8 |
elody:staticFilter | a Options Input node | any number | A filter the picker's search always applies (entityPickerSearchConfig staticFilters), in sh:order: an elody:OptionsInput. | 1 of 8 |
Sort Page
elody:SortPage: A page a sort option is offered on (availableInPages): a route and the entity type shown there.
Declared under elody:sortPage of Property Shape.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:routeName | xsd:string | exactly one | The PWA route (routeName: SingleEntity), an open string of the PWA's. | 1 of 8 |
elody:routeEntityType | xsd:string | at most one | The entity type shown on the route (entityType: asset). | 1 of 8 |
Finalize
elody:Finalize: How a guided flow attaches its result to the host entity: from which step, with which relation type.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:replaceExisting | xsd:boolean | unchecked | true replaces the host's existing relations of the type when the flow finishes (finalizeOnHost replaceExisting). | 1 of 8 |