Skip to content

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

TermTypeHow manyMeaningUsed by
elody:graphqlTypexsd:stringexactly oneThe 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:documentNamexsd:stringat most oneBase 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:emitone 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:documentsone of "entities", "filters", "sortOptions", "bulkOperations", "currentUser"any numberWhich 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:viewModea View Mode Selection nodeany numberAn 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:relationValuesxsd:booleanat most oneWhether 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:thumbnaila Thumbnail nodeat most oneThe card shows a thumbnail (teaserMetadata.thumbnail), before the fields.4 of 8
elody:bulkOperationsxsd:booleanat most oneWhether 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:excludeBaseSortOptionsxsd:booleanat most oneThe listing offers only the declared sort options, not the platform's (excludeBaseSortOptions).2 of 8
elody:filtersFragmentNamexsd:stringat most oneThe name of the type's filters fragment when it is not filtersFor<Type> (a client that names them <type>Filters).6 of 8
elody:readsPermissionsxsd:booleanat most onetrue 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:mapFeatureFielda reference by nameany numberA 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:idFieldxsd:booleanat most onetrue reads the entity's id at the top of the listing fragment (id before intialValues).3 of 8
elody:fragmentsOnlyxsd:booleanat most onetrue 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:filePathxsd:stringat most oneThe file the documents are written to, relative to src/ (default queries/entities/<name>.queries.ts).8 of 8
elody:panelFragmenta Panel Fragment nodeany numberA panel fields fragment the file holds: elody:fragmentName and the property shapes shown, by their sh:path.4 of 8
elody:filtersFragmenta Filters Fragment nodeany numberA filters fragment the file holds: elody:fragmentName and its elody:filter nodes.3 of 8
elody:viewModesOnDetailxsd:booleanat most onetrue reads the allowed view modes in the detail fragment too (allowedViewModes inside fullX).1 of 8
elody:idValuexsd:booleanat most onetrue reads the id among the listing's initial values (intialValues { id ... }).3 of 8
elody:listingCorexsd:booleanat most onetrue 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:deleteOptionsa Delete Options nodeat most oneThe deleteQueryOptions block of the detail fragment.3 of 8
elody:interfacexsd:booleanat most onetrue 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:fieldsFragmenta Fields Fragment nodeany numberA fields fragment the type's file holds.1 of 8
elody:elementsFragmenta Elements Fragment nodeany numberAn elements fragment the type's file holds; its panels reference the type's property shapes.1 of 8
elody:windowFragmenta Window Fragment nodeany numberA 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:valuesFragmenta Values Fragment nodeany numberA values fragment the type's file holds.4 of 8
elody:listQuerya List Query nodeany numberThe 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:detailFormattersxsd:booleanat most oneWhether 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:listingValuesSpreadxsd:stringany numberA hand-written fragment on IntialValues spread into the listing fragment's initial values (...vocabTeaserIntialValues): fields several types share.3 of 8
elody:detailValuesSpreadxsd:stringany numberA hand-written fragment on IntialValues spread into the detail fragment's initial values (...entityAuditIntialValues).4 of 8
elody:cardSpreadxsd:stringany numberA hand-written fragment on teaserMetadata spread into the card (...vocabTeaserMetadata).2 of 8
elody:filtersSpreadxsd:stringany numberA hand-written fragment on AdvancedFilters spread into the type's filters (...entityAuditFilters).3 of 8
sh:propertya Property Shape nodeone or moreThe property shapes of this node. a label role (the card title): direct on one property shape, or qualified with sh:order on several8 of 8
sh:propertyany numberThe property shapes of this node. a label role (the card title): direct on one property shape, or qualified with sh:order on several8 of 8
elody:filtera Filter nodeany numberA filter of a listing (EntityUi) or a picker.8 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:detailCarda Detail Card nodeat most oneThe card the detail fragment carries (teaserMetadata inside full<X>), after its initial values.1 of 8
elody:bulkOperationa Bulk Operation nodeany numberAn operation in the listing's action bar.7 of 8
elody:customBulkOperationsa Custom Bulk Operations nodeany numberA named operation set (on an EntityUi: declares it; on a list element: uses it, as a node reference).8 of 8
elody:forma Form nodeany numberThe 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:guidedFlowa Guided Flow nodeany numberA stepper flow declared for the type. Replaces elody:repetitiveForm.4 of 8
elody:pickera Picker nodeany numberA 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:cardNamexsd:stringat most oneThe 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:withoutBaseEntityxsd:booleanat most onetrue 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:detailSpreadsListingxsd:booleanat most onetrue 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:listingFieldsa listat most oneThe 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 property8 of 8
elody:detailFieldsa listat most oneThe 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:cardFieldsa listat most oneThe 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:detailAlonexsd:booleanat most onetrue 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:partialxsd:booleanat most onetrue 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:detailNamexsd:stringat most oneThe 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:bulkFragmentNamexsd:stringat most oneThe 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:sortFragmentNamexsd:stringat most oneThe 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:previewa Preview nodeat most oneThe preview of the type.5 of 8
elody:bulkDocumenta Bulk Document nodeany numberA 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:sortDocumenta Sort Document nodeany numberA 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:detaila Detail Layout nodeat most oneThe detail page layout.8 of 8
elody:formSourcea Form Source nodeany numberAn id-addressed runtime document declared for the type.3 of 8
elody:typePillsxsd:booleanat most oneShow the platform's type pill on the card.3 of 8
elody:dynamicFormConfigxsd:stringat most oneThe resolver field carrying runtime-computed form panels for this type (read as the generic dynamicFormConfig).2 of 8
elody:portsxsd:stringat most oneThe resolver field carrying the typed ports the pipeline view wires.2 of 8
elody:createFormretired—elody:createForm is retired: declare an elody:Form and reference it with elody:form—
elody:repetitiveFormretired—elody:repetitiveForm is retired: use elody:guidedFlow—
elody:readsFroma Sparql Source nodeuncheckedThe 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.

TermTypeHow manyMeaningUsed by
elody:modean elody:ViewMode valueexactly oneWhich view mode. Range changed in 0.1: an elody:ViewMode instance, no longer the enum string.8 of 8
sh:orderat most oneThe position among its siblings; order never comes from the position in the file.8 of 8
elody:configa Config Entry nodeany numberA configuration entry of a view mode or a map element.5 of 8
elody:edgeRelationsa listuncheckedFor 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.

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:valuerdfs:Literalexactly oneA 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.

TermTypeHow manyMeaningUsed by
elody:actiona Action nodeany numberAn action of the menu.7 of 8
elody:menuSpreadxsd:stringany numberA hand-written fragment of menu actions spread in the menu (...linkAndDeleteEntityContextMenuActions); elody:includeBasicActions is the platform's own.1 of 8
elody:forceShowxsd:booleanat most oneShow the menu even when it would be empty by platform rules.3 of 8
elody:includeBasicActionsxsd:booleanat most oneInclude the platform's basic actions (edit, delete, share).3 of 8
elody:menuInButtonsxsd:booleanat most onetrue emits the card's context menu in the newer form, buttons { contextMenu { ... } }, instead of contextMenuActions { ... }. Default false.4 of 8
elody:menuAfterFieldsxsd:booleanat most onetrue 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

TermTypeHow manyMeaningUsed by
elody:aliasxsd:stringexactly oneThe 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:actionKindan elody:ActionKind valueat most oneWhich platform action. Replaces the string elody:actionType.7 of 8
elody:actionFormone of "doElodyAction", "doLinkAction", "doGeneralAction", "doCustomAction"at most oneThe 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:canxsd:stringany numberA 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:showAsButtonxsd:booleanat most onetrue shows the menu action as a button of its own (showAsButton).1 of 8
elody:endpointUrlxsd:stringat most oneThe API path a custom menu action calls (doCustomAction: endpointUrl), with $id for the entity.1 of 8
elody:endpointMethodxsd:stringat most oneThe HTTP method of the call (endpointMethod: POST).1 of 8
elody:forma reference by nameat most oneThe 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:formSourceRefa reference by nameat most oneThe runtime form source an action opens, as a node (processor config forms).2 of 8
elody:actionTyperetired—elody:actionType is retired: use elody:actionKind—
elody:formQueryretired—elody:formQuery is retired: reference the node with elody:form or elody:formSourceRef—
elody:formFlowxsd:stringuncheckedThe platform's ContextMenuFormFlow value (Update, ...). Open string: the enum is small and client-extended.2 of 8
elody:formTitlexsd:stringuncheckedTranslation 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)

TermTypeHow manyMeaningUsed by
elody:fromMediafilexsd:booleanuncheckedThe 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.

TermTypeHow manyMeaningUsed by
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: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

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.

TermTypeHow manyMeaningUsed by
elody:queryNamexsd:stringexactly oneThe 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:operationa Bulk Operation nodeany numberAn 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.

TermTypeHow manyMeaningUsed by
elody:endpointuncheckedThe SPARQL endpoint queries are sent to.—
elody:identifierEncodingxsd:stringunchecked"iri": a resource's Elody identifier is its IRI, encoded; for sources whose IRIs share no prefix.—
elody:searchQueryxsd:stringuncheckedA SELECT binding ?value for what the user typed: $searchTerm and $uiLanguage are filled in as string literals, as for shui:searchQuery.—
elody:selectQueryxsd:stringuncheckedA SELECT binding ?value: the source's resources, for a listing.—

Powered by Elody - Open Source Semantic Data Platform