Skip to content

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.

TermTypeHow manyMeaningUsed by
elody:fragmentNamexsd:stringexactly oneThe GraphQL name of a shared fragment (basicCreateWorkFields, workTitleDataWindowElement, workTitleDataIntialValues).5 of 8
elody:fieldsSpreadxsd:stringany numberThe 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:fieldsSpreadAfterxsd:stringany numberThe 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:fieldsa listat most oneThe 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:fieldsFroma reference to a Entity Ui nodeat most oneThe 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:shapea Form Fields nodeat most oneThe 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.

TermTypeHow manyMeaningUsed by
elody:fragmentNamexsd:stringexactly oneThe GraphQL name of a shared fragment (basicCreateWorkFields, workTitleDataWindowElement, workTitleDataIntialValues).5 of 8
elody:panela reference by nameone or moreA 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.

TermTypeHow manyMeaningUsed by
elody:fragmentNamexsd:stringexactly oneThe GraphQL name of a shared fragment (basicCreateWorkFields, workTitleDataWindowElement, workTitleDataIntialValues).5 of 8
elody:elementa Element nodeone or moreAn 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.

TermTypeHow manyMeaningUsed by
elody:fragmentNamexsd:stringexactly oneThe GraphQL name of a shared fragment (basicCreateWorkFields, workTitleDataWindowElement, workTitleDataIntialValues).5 of 8
elody:fielda reference by nameone or moreA 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.

TermTypeHow manyMeaningUsed by
elody:fragmentNamexsd:stringexactly oneThe GraphQL name of a shared fragment (basicCreateWorkFields, workTitleDataWindowElement, workTitleDataIntialValues).5 of 8
elody:filtera Filter nodeone or moreA 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

TermTypeHow manyMeaningUsed by
elody:fragmentNamexsd:stringexactly oneThe GraphQL name of a shared fragment (basicCreateWorkFields, workTitleDataWindowElement, workTitleDataIntialValues).5 of 8
elody:cardFragmentNamexsd:stringat most oneThe name of the fragment on teaserMetadata showing the same fields on the card (relatedWorksTeaserMetadata), when there is one.3 of 8
elody:contextMenua Context Menu nodeat most oneThe 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:fielda reference by nameany numberA 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:fieldAliasxsd:stringany numberA 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:valuesFieldxsd:stringany numberA plain field of IntialValues the fragment reads next to its keyValues (lockedProperties), one per value.1 of 8
elody:cardShowsxsd:stringany numberA 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.

TermTypeHow manyMeaningUsed by
elody:autoCopyxsd:booleanat most onetrue copies every field the parent shares (autoCopy).1 of 8
elody:copyKeya Copy Key nodeany numberOne 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.

TermTypeHow manyMeaningUsed by
elody:keyxsd:stringexactly oneA 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:fromKeyxsd:stringexactly oneThe parent's key a copied field is filled from (keyMap.fromKey).1 of 8
elody:relationTypexsd:stringat most oneAn 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:orderat most oneThe position among its siblings; order never comes from the position in the file.8 of 8

Powered by Elody - Open Source Semantic Data Platform