Appearance
The type: EntityUi
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.
One node per GraphQL type: what it emits, its view modes, card and context menu, and what hangs off it.
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.
Entity Ui
elody:EntityUi: The UI of one Elody entity type. It is a sh:NodeShape (R1): its sh:property shapes are the one list of fields that drives the listing card, the detail panels, the sort options and the forms. sh:targetClass anchors it to the domain ontology. No standard term: shui describes forms, not listings and detail pages. elody:EntityUi: The UI of one Elody entity type. It is a sh:NodeShape (R1): its sh:property shapes are the one list of fields that drives the listing card, the detail panels, the sort options and the forms. sh:targetClass anchors it to the domain ontology. No standard term: shui describes forms, not listings and detail pages.
Constraint
a property shape carries the LabelRole (the card title), unless elody:fragmentsOnly
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:graphqlType | xsd:string | exactly one | The GraphQL object type this UI (or picker result) is rendered for. Directive: it will be derived from sh:targetClass through the application profile's class-to-type register. | 8 of 8 |
elody:documentName | xsd:string | at most one | Base name of the generated fragments and documents (minimal<Name>, full<Name>, <name>.queries.ts). Defaults to elody:graphqlType; needed when several declarations render the same GraphQL type, such as a showcase on BaseEntity. | 8 of 8 |
elody:emit | one of "file", "regions", "inline" | at most one | "file": the whole query document is generated; "regions": generated blocks are spliced between markers in a hand-written file. Absent declaration = hand-written GraphQL. This is the per-entity ttl / both / graphql switch. | 8 of 8 |
elody:documents | one of "entities", "filters", "sortOptions", "bulkOperations", "currentUser" | any number | Which standard documents to emit for the type: entities, filters, sortOptions, bulkOperations, and currentUser (the getElodyUser document reading the signed-in user as this type). Directive: derivable from what the declaration contains. | 8 of 8 |
elody:viewMode | a View Mode Selection node | any number | An allowed view mode of the listing (EntityUi or ListingUi). no view mode: a type that is never listed on its own (a tenant, a media file in a panel) | 8 of 8 |
elody:relationValues | xsd:boolean | at most one | Whether the type's fragments read its relations (relationValues). Default: yes when a property reads a relation, a panel lists related entities or the card has a context menu; no otherwise. true or false overrides the default. | 8 of 8 |
elody:thumbnail | a Thumbnail node | at most one | The card shows a thumbnail (teaserMetadata.thumbnail), before the fields. | 4 of 8 |
elody:bulkOperations | xsd:boolean | at most one | Whether the type carries a bulk operations fragment. Default: yes when an elody:bulkOperation is declared or elody:documents names bulkOperations; no otherwise. true emits the fragment even without operations (the type offers none), false suppresses it. | 5 of 8 |
elody:excludeBaseSortOptions | xsd:boolean | at most one | The listing offers only the declared sort options, not the platform's (excludeBaseSortOptions). | 2 of 8 |
elody:filtersFragmentName | xsd:string | at most one | The name of the type's filters fragment when it is not filtersFor<Type> (a client that names them <type>Filters). | 6 of 8 |
elody:readsPermissions | xsd:boolean | at most one | true reads canUpdate and canDelete with the detail page's initial values: the PWA shows the edit and delete actions by them. Default false. | 5 of 8 |
elody:mapFeatureField | a reference by name | any number | A property shown in the entity's popup on the map view (mapElement { mapFeatureMetadata { ... } } in the listing), referenced by its sh:path, in declaration order. | 1 of 8 |
elody:idField | xsd:boolean | at most one | true reads the entity's id at the top of the listing fragment (id before intialValues). | 3 of 8 |
elody:fragmentsOnly | xsd:boolean | at most one | true declares a file of shared fragments alone (values, panel, filters, fields and elements fragments other types spread): no listing, detail or documents of its own; elody:graphqlType is the anchor type. | 6 of 8 |
elody:filePath | xsd:string | at most one | The file the documents are written to, relative to src/ (default queries/entities/<name>.queries.ts). | 8 of 8 |
elody:panelFragment | a Panel Fragment node | any number | A panel fields fragment the file holds: elody:fragmentName and the property shapes shown, by their sh:path. | 4 of 8 |
elody:filtersFragment | a Filters Fragment node | any number | A filters fragment the file holds: elody:fragmentName and its elody:filter nodes. | 3 of 8 |
elody:viewModesOnDetail | xsd:boolean | at most one | true reads the allowed view modes in the detail fragment too (allowedViewModes inside fullX). | 1 of 8 |
elody:idValue | xsd:boolean | at most one | true reads the id among the listing's initial values (intialValues { id ... }). | 3 of 8 |
elody:listingCore | xsd:boolean | at most one | true splits the listing fragment in two: minimal<Type>Core holds the values and the card, minimal<Type> spreads it and adds the view modes, so other listings of the type can reuse the core. Default false. | 1 of 8 |
elody:deleteOptions | a Delete Options node | at most one | The deleteQueryOptions block of the detail fragment. | 3 of 8 |
elody:interface | xsd:boolean | at most one | true declares a GraphQL interface its subtypes share (Vehicle, Part): no listing or detail fragment is generated, only the filters, sort options and bulk operations fragments named after it, its documents and the fragments its subtypes spread. Default false. | 2 of 8 |
elody:fieldsFragment | a Fields Fragment node | any number | A fields fragment the type's file holds. | 1 of 8 |
elody:elementsFragment | a Elements Fragment node | any number | An elements fragment the type's file holds; its panels reference the type's property shapes. | 1 of 8 |
elody:windowFragment | a Window Fragment node | any number | A window fragment the type's file holds: elody:fragmentName and the elody:panel nodes it carries, which reference the type's property shapes. | 1 of 8 |
elody:valuesFragment | a Values Fragment node | any number | A values fragment the type's file holds. | 4 of 8 |
elody:listQuery | a List Query node | any number | The declared entities and filters documents the list loads; sets customQuery and customQueryFilters. On an EntityUi: list queries the type's documents name without a list element (the documents of the delete flow), and the type's orphan documents, an entities or filters document nothing references but the client keeps; a filters document alone names only elody:filtersQuery. | 8 of 8 |
elody:detailFormatters | xsd:boolean | at most one | Whether the detail fragment reads values with their viewer's formatter too (formatter: "pill"), as the listing does. Default true; false reads the raw values on the detail page. | — |
elody:listingValuesSpread | xsd:string | any number | A hand-written fragment on IntialValues spread into the listing fragment's initial values (...vocabTeaserIntialValues): fields several types share. | 3 of 8 |
elody:detailValuesSpread | xsd:string | any number | A hand-written fragment on IntialValues spread into the detail fragment's initial values (...entityAuditIntialValues). | 4 of 8 |
elody:cardSpread | xsd:string | any number | A hand-written fragment on teaserMetadata spread into the card (...vocabTeaserMetadata). | 2 of 8 |
elody:filtersSpread | xsd:string | any number | A hand-written fragment on AdvancedFilters spread into the type's filters (...entityAuditFilters). | 3 of 8 |
sh:property | a Property Shape node | one or more | The property shapes of this node. a label role (the card title): direct on one property shape, or qualified with sh:order on several | 8 of 8 |
sh:property | any number | The property shapes of this node. a label role (the card title): direct on one property shape, or qualified with sh:order on several | 8 of 8 | |
elody:filter | a Filter node | any number | A filter of a listing (EntityUi) or a picker. | 8 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:detailCard | a Detail Card node | at most one | The card the detail fragment carries (teaserMetadata inside full<X>), after its initial values. | 1 of 8 |
elody:bulkOperation | a Bulk Operation node | any number | An operation in the listing's action bar. | 7 of 8 |
elody:customBulkOperations | a Custom Bulk Operations node | any number | A named operation set (on an EntityUi: declares it; on a list element: uses it, as a node reference). | 8 of 8 |
elody:form | a Form node | any number | 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:guidedFlow | a Guided Flow node | any number | A stepper flow declared for the type. Replaces elody:repetitiveForm. | 4 of 8 |
elody:picker | a Picker node | any number | 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:cardName | xsd:string | at most one | The listing fragment's own name when the client does not call it minimal<X>: a second card of a type for another place (mediafileAsPreview, the card the platform's GetMediafilesAsPreview shows), declared as another EntityUi of the GraphQL type with its own elody:documentName. | 6 of 8 |
elody:withoutBaseEntity | xsd:boolean | at most one | true leaves ...minimalBaseEntity out of the listing fragment: the client never spreads the shared base card there. An omission of the client, declared rather than corrected. Default false. | 4 of 8 |
elody:detailSpreadsListing | xsd:boolean | at most one | true makes the detail fragment spread the listing fragment (...minimal<X>) instead of reading values of its own; the listing's values and relation values serve the detail page. | 1 of 8 |
elody:listingFields | a list | at most one | The property shapes (by sh:path) whose values the listing reads, as a list. With elody:detailFields, the per-property flags follow: a property outside the list is elody:detailOnly, one in it but outside elody:detailFields is elody:listingOnly, one in neither reads no value (elody:readsValue false). Left out: the flags on the properties say it. An explicit flag wins. An item is the sh:path IRI, matching the shapes of that path, or the node of a property shape declared by name (sh:property ui:X, two shapes of one key), matching that shape alone. the compact form: what is read and shown as lists instead of flags on every property | 8 of 8 |
elody:detailFields | a list | at most one | The property shapes (by sh:path) whose values the detail page reads, as a list; see elody:listingFields. An item is the sh:path IRI, matching the shapes of that path, or the node of a property shape declared by name (sh:property ui:X, two shapes of one key), matching that shape alone. | 8 of 8 |
elody:cardFields | a list | at most one | The property shapes (by sh:path) the card shows (teaserMetadata), as a list: a listed property is on the card, an unlisted one is elody:teaser false. Left out: every property read in the listing is on the card. An explicit elody:teaser wins. An item is the sh:path IRI, matching the shapes of that path, or the node of a property shape declared by name (sh:property ui:X, two shapes of one key), matching that shape alone. | 8 of 8 |
elody:detailAlone | xsd:boolean | at most one | true renders the detail fragment alone (named by elody:detailName, on elody:graphqlType): no listing fragment of its own. A layout of an overview page that reads several entities at once. | 1 of 8 |
elody:partial | xsd:boolean | at most one | true marks a detail that adds fields to windows and panels another fragment of the same page declares (a fuel type on the car's info panel): its columns carry no size, its windows no label, its panels nothing but their fields; GraphQL merges them by alias. | 1 of 8 |
elody:detailName | xsd:string | at most one | The detail fragment's own name when the client does not call it full<X> (fullMediafile next to minimalMediaFile): the twin of elody:cardName. A naming override only; the fragment's content is the detail's. | 4 of 8 |
elody:bulkFragmentName | xsd:string | at most one | The bulk operations fragment's own name when the client does not call it <x>BulkOperations (mediafileBulkOperations next to minimalMediaFile): a naming override like elody:detailName. | 2 of 8 |
elody:sortFragmentName | xsd:string | at most one | The sort options fragment's own name when the client does not call it <x>SortOptions (mediafileEntitySortOptions next to minimalMediafile): a naming override like elody:filtersFragmentName, elody:detailName and elody:bulkFragmentName. | 3 of 8 |
elody:preview | a Preview node | at most one | The preview of the type. | 5 of 8 |
elody:bulkDocument | a Bulk Document node | any number | A bulk operations document with operations of its own: elody:queryName names it, elody:operation lists the operations in sh:order (none for an empty list). | 3 of 8 |
elody:sortDocument | a Sort Document node | any number | A sort options document of the type with options of its own: elody:queryName names it, elody:sortOption lists the options in sh:order. | 3 of 8 |
elody:detail | a Detail Layout node | at most one | The detail page layout. | 8 of 8 |
elody:formSource | a Form Source node | any number | An id-addressed runtime document declared for the type. | 3 of 8 |
elody:typePills | xsd:boolean | at most one | Show the platform's type pill on the card. | 3 of 8 |
elody:dynamicFormConfig | xsd:string | at most one | The resolver field carrying runtime-computed form panels for this type (read as the generic dynamicFormConfig). | 2 of 8 |
elody:ports | xsd:string | at most one | The resolver field carrying the typed ports the pipeline view wires. | 2 of 8 |
elody:createForm | retired | — | elody:createForm is retired: declare an elody:Form and reference it with elody:form | — |
elody:repetitiveForm | retired | — | elody:repetitiveForm is retired: use elody:guidedFlow | — |
elody:readsFrom | a Sparql Source node | unchecked | The source an entity UI's resources come from: its Elody type is a collection on that source, not in the database. | — |
View Mode Selection
elody:ViewModeSelection: One allowed view mode of a listing, with its order and configuration entries.
Declared under elody:viewMode of Entity Ui.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:mode | an elody:ViewMode value | exactly one | Which view mode. Range changed in 0.1: an elody:ViewMode instance, no longer the enum string. | 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 | |
elody:config | a Config Entry node | any number | A configuration entry of a view mode or a map element. | 5 of 8 |
elody:edgeRelations | a list | unchecked | For the pipeline view: the relation types rendered as edges, as an RDF list. Equivalent to the config entry "edgeRelations". | — |
Config Entry
elody:ConfigEntry: A key/value pair passed to a view mode (multiLine, multiLineColumns, edgeRelations, ...).
Declared under elody:config of View Mode Selection, elody:prefillMetadata of Flow Step, elody:config of Map Element.
| 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: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 |
Context Menu
elody:ContextMenu: The per-card context menu: whether it is always shown, whether the platform's basic actions are included, and the client's own actions.
Declared under elody:contextMenu of Entity Ui, elody:contextMenu of Detail Card, elody:contextMenu of Values Fragment, elody:contextMenu of Element.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:action | a Action node | any number | An action of the menu. | 7 of 8 |
elody:menuSpread | xsd:string | any number | A hand-written fragment of menu actions spread in the menu (...linkAndDeleteEntityContextMenuActions); elody:includeBasicActions is the platform's own. | 1 of 8 |
elody:forceShow | xsd:boolean | at most one | Show the menu even when it would be empty by platform rules. | 3 of 8 |
elody:includeBasicActions | xsd:boolean | at most one | Include the platform's basic actions (edit, delete, share). | 3 of 8 |
elody:menuInButtons | xsd:boolean | at most one | true emits the card's context menu in the newer form, buttons { contextMenu { ... } }, instead of contextMenuActions { ... }. Default false. | 4 of 8 |
elody:menuAfterFields | xsd:boolean | at most one | true places the card's context menu in its older form (contextMenuActions { ... }) after the card's fields instead of before them. The buttons form (elody:menuInButtons) always follows the fields. Default false. | 1 of 8 |
Action
elody:Action: A platform action offered in a context menu. The declaration carries parameters (kind, form, label, icon); the behaviour lives in the platform.
Declared under elody:action of Context Menu.
Constraint
an action carries an elody:actionKind unless it is a doLinkAction
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:alias | xsd:string | exactly 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. | 8 of 8 |
elody:actionKind | an elody:ActionKind value | at most one | Which platform action. Replaces the string elody:actionType. | 7 of 8 |
elody:actionForm | one of "doElodyAction", "doLinkAction", "doGeneralAction", "doCustomAction" | at most one | The GraphQL field a context-menu action is emitted as: doElodyAction (default, with an elody:actionKind), doLinkAction (follow the entity's link: label and icon only), doGeneralAction or doCustomAction. | 4 of 8 |
elody:can | xsd:string | any number | A fine-grained permission string ("update:workOrder:assigned-to"). On a bulk operation or a list element: the permissions it needs; on a panel: the permission editing it needs (can(input: "update:part")). Open string: permissions are client-defined. | 5 of 8 |
elody:showAsButton | xsd:boolean | at most one | true shows the menu action as a button of its own (showAsButton). | 1 of 8 |
elody:endpointUrl | xsd:string | at most one | The API path a custom menu action calls (doCustomAction: endpointUrl), with $id for the entity. | 1 of 8 |
elody:endpointMethod | xsd:string | at most one | The HTTP method of the call (endpointMethod: POST). | 1 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:formSourceRef | a reference by name | at most one | The runtime form source an action opens, as a node (processor config forms). | 2 of 8 |
elody:actionType | retired | — | elody:actionType is retired: use elody:actionKind | — |
elody:formQuery | retired | — | elody:formQuery is retired: reference the node with elody:form or elody:formSourceRef | — |
elody:formFlow | xsd:string | unchecked | The platform's ContextMenuFormFlow value (Update, ...). Open string: the enum is small and client-extended. | 2 of 8 |
elody:formTitle | xsd:string | unchecked | Translation key of the modal title. | 3 of 8 |
Thumbnail
elody:Thumbnail: The picture on the card: read from an initial value (elody:key, e.g. the display filename read as "thumbnail") or from the entity's primary media file (elody:fromMediafile true).
Declared under elody:thumbnail of Entity Ui.
Constraint
a thumbnail reads an initial value (elody:key) or the primary media file (elody:fromMediafile true)
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:fromMediafile | xsd:boolean | unchecked | The thumbnail is the entity's primary media file (filename(fromMediafile: true)). | 3 of 8 |
Detail Card
elody:DetailCard: A card (teaserMetadata) read on the detail page as well: the fields it shows (elody:field, property shapes of the type) and its context menu. The PWA reads the entity's card wherever it has one; a client that wants another card on the detail page than in the listing declares it here.
Declared under elody:detailCard of Entity Ui.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
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: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 |
Bulk Document
elody:BulkDocument: A bulk operations document of its own (BulkOperations(entityType) with options inline, without per-type fragments), for a page the standard one does not serve (GetBulkOperationsForHomePage).
Declared under elody:bulkDocument of Entity Ui, elody:bulkDocument of App.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:queryName | xsd:string | exactly one | The GraphQL operation name of a form, flow, picker, custom bulk operation set or form source. Optional: the generator derives it from the node's local name when absent (R3). | 8 of 8 |
elody:operation | a Bulk Operation node | any number | An operation in a custom set, or offered on a list's result (elody:ActionsOnResult). | 8 of 8 |
Sparql Source
elody:SparqlSource: A linked-data source read live through collection-api's SPARQL engine: its endpoint, the query naming its resources and the one finding them for a search term.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:endpoint | unchecked | The SPARQL endpoint queries are sent to. | — | |
elody:identifierEncoding | xsd:string | unchecked | "iri": a resource's Elody identifier is its IRI, encoded; for sources whose IRIs share no prefix. | — |
elody:searchQuery | xsd:string | unchecked | A SELECT binding ?value for what the user typed: $searchTerm and $uiLanguage are filled in as string literals, as for shui:searchQuery. | — |
elody:selectQuery | xsd:string | unchecked | A SELECT binding ?value: the source's resources, for a listing. | — |