Appearance
Shared fragments
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.
Fragments several types spread: fields, windows, elements, panels, filters and values, and keys copied from a parent.
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.
Fields Fragment
elody:FieldsFragment: A named fragment on FormFields holding form fields several forms spread (elody:fieldsSpread): its fields are the property shapes of its elody:shape.
Declared under elody:fieldsFragment of Entity Ui.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:fragmentName | xsd:string | exactly one | The GraphQL name of a shared fragment (basicCreateWorkFields, workTitleDataWindowElement, workTitleDataIntialValues). | 5 of 8 |
elody:fieldsSpread | xsd:string | any number | The name of a hand-written fragment on FormFields spread among the form's fields (...basicCreateExpressionFields): fields several forms of a family share. A form may hold spreads only. | 1 of 8 |
elody:fieldsSpreadAfter | xsd:string | any number | The name of a fields fragment spread after this fields fragment's own fields (elody:fieldsSpread spreads before them): a fields fragment composed of others around a field of its own. | 1 of 8 |
elody:fields | a list | at most one | The fields of a form, a form tab or a fields fragment, as a list, in place of elody:shape: each item is the sh:path of one of the type's property shapes (em:name), which the field takes its input from, or an override ([ sh:path em:name ; sh:minCount 1 ]) that adds to or replaces what it inherits. The field's order is its position. Inherited as a group when the override names none of them: sh:datatype, shui:editor, elody:clientInputField, sh:class; each when the override lacks it: elody:labelKey, elody:unit, elody:valueLabelKey, elody:relationType, sh:maxCount. Nothing else of the property flows into the form (not sh:minCount, not a validation). The panel's elody:field is a set of references, this is a list of fields. | 8 of 8 |
elody:fieldsFrom | a reference to a Entity Ui node | at most one | The type whose property shapes the items of elody:fields take their input from. Left out, an item inherits nothing: it says everything itself. | 6 of 8 |
elody:shape | a Form Fields node | at most one | The node shape whose property shapes are the form's fields, in sh:order. May be the EntityUi itself or a sub-shape. | 6 of 8 |
Window Fragment
elody:WindowFragment: A named fragment on WindowElement holding panels several types spread into a window (elody:panelSpread): e.g. the identifier panels shared by car and carModel.
Declared under elody:windowFragment of Entity Ui.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:fragmentName | xsd:string | exactly one | The GraphQL name of a shared fragment (basicCreateWorkFields, workTitleDataWindowElement, workTitleDataIntialValues). | 5 of 8 |
elody:panel | a reference by name | one or more | A panel in the window. Preferably a sh:PropertyGroup: its fields are then the property shapes whose sh:group is that group, in their own sh:order (SHACL 1.2 UI grouping). An elody:Panel with an explicit elody:field list remains for a panel whose order differs from the properties' sh:order. | 8 of 8 |
Elements Fragment
elody:ElementsFragment: A named fragment on EntityViewElements holding detail elements several types spread in a column (elody:elementSpread).
Declared under elody:elementsFragment of Entity Ui.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:fragmentName | xsd:string | exactly one | The GraphQL name of a shared fragment (basicCreateWorkFields, workTitleDataWindowElement, workTitleDataIntialValues). | 5 of 8 |
elody:element | a Element node | one or more | An element in the column; on an elody:Panel, a list element shown among the panel's fields (a panel holding a filtered list of related entities): its sh:order is its position among the panel's items, fields and elements together, counting from 1. | 8 of 8 |
Panel Fragment
elody:PanelFragment: A shared fragment on WindowElementPanel: panel fields other types spread into a panel (elody:spread).
Declared under elody:panelFragment of Entity Ui.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:fragmentName | xsd:string | exactly one | The GraphQL name of a shared fragment (basicCreateWorkFields, workTitleDataWindowElement, workTitleDataIntialValues). | 5 of 8 |
elody:field | a reference by name | one or more | A field shown in a panel or an overview, referenced by the sh:path IRI of the EntityUi's property shape (R3). On a form source: the resolver field, as a string (see elody:formSourceField). | 8 of 8 |
Filters Fragment
elody:FiltersFragment: A shared fragment on AdvancedFilters: filters other types spread into theirs (elody:filtersSpread).
Declared under elody:filtersFragment of Entity Ui.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:fragmentName | xsd:string | exactly one | The GraphQL name of a shared fragment (basicCreateWorkFields, workTitleDataWindowElement, workTitleDataIntialValues). | 5 of 8 |
elody:filter | a Filter node | one or more | A filter of a listing (EntityUi) or a picker. | 8 of 8 |
Values Fragment
elody:ValuesFragment: A named fragment on IntialValues reading some of the type's property shapes (elody:field), spread by other fragments (elody:detailValuesSpread), with an optional twin on teaserMetadata (elody:cardFragmentName).
Declared under elody:valuesFragment of Entity Ui.
Constraint
a values fragment reads at least one property shape, by its sh:path or by its alias
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:fragmentName | xsd:string | exactly one | The GraphQL name of a shared fragment (basicCreateWorkFields, workTitleDataWindowElement, workTitleDataIntialValues). | 5 of 8 |
elody:cardFragmentName | xsd:string | at most one | The name of the fragment on teaserMetadata showing the same fields on the card (relatedWorksTeaserMetadata), when there is one. | 3 of 8 |
elody:contextMenu | a Context Menu node | at most one | The card's context menu; on an elody:WindowElement, the window's (contextMenuActions); on an elody:ValuesFragment, the menu of its card twin. | 7 of 8 |
elody:field | a reference by name | any number | A field shown in a panel or an overview, referenced by the sh:path IRI of the EntityUi's property shape (R3). On a form source: the resolver field, as a string (see elody:formSourceField). | 8 of 8 |
elody:fieldAlias | xsd:string | any number | A property shape the fragment reads, referenced by its elody:alias (when several shapes share a key, e.g. two type pills over the type). | 4 of 8 |
elody:valuesField | xsd:string | any number | A plain field of IntialValues the fragment reads next to its keyValues (lockedProperties), one per value. | 1 of 8 |
elody:cardShows | xsd:string | any number | A value (by its alias, else its key) the card twin shows, one per value; without it the card shows every value the fragment reads. | 1 of 8 |
Copy From Parent
elody:CopyFromParent: How a create form prefills its fields from the entity it is opened on (copyFromParent): all of them (elody:autoCopy) and/or a key map.
Declared under elody:copyFromParent of Form, elody:copyFromParent of Form Tab.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:autoCopy | xsd:boolean | at most one | true copies every field the parent shares (autoCopy). | 1 of 8 |
elody:copyKey | a Copy Key node | any number | One keyMap entry: the field (elody:key) filled from the parent's key (elody:fromKey), in sh:order. | 1 of 8 |
Copy Key
Declared under elody:copyKey of Copy From Parent.
| 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:fromKey | xsd:string | exactly one | The parent's key a copied field is filled from (keyMap.fromKey). | 1 of 8 |
elody:relationType | xsd:string | at most 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 |
sh:order | at most one | The position among its siblings; order never comes from the position in the file. | 8 of 8 |