Appearance
Forms
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.
Create and edit forms: tabs, fields over a SHACL shape, uploads, actions and progress, and runtime form sources.
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.
Form
elody:Form: A create/edit form: the node shape whose property shapes are its fields (elody:shape), a label and a submit action. The field widgets come from shui:editor / sh:datatype / sh:class on those property shapes; nothing is repeated here (R1).
Declared under elody:form of Entity Ui, elody:form of App.
Constraint
a form holds at least one field, spreads a fields fragment, uploads, or has tabs
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
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. the fields: a shape, or a list of the type's properties (elody:fields) spelled out as one before parsing | 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 |
elody:submit | a Submit Action node | at most one | The form's submit action. | 8 of 8 |
elody:queryName | xsd:string | at most 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: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:copyFromParent | a Copy From Parent node | at most one | The form's copyFromParent block. | 1 of 8 |
elody:infoLabel | xsd:string | at most one | The translation key of the information shown above the form (infoLabel). | 2 of 8 |
elody:modalStyle | an elody:ModalStyle value | at most one | The style of the modal the form opens in (modalStyle). | 1 of 8 |
elody:upload | a Upload node | at most one | The tab's upload container. | 6 of 8 |
elody:formAction | a Form Action node | any number | An action button of the tab beyond the submit (an upload, a download through an endpoint, a CSV reordering), at its position among the tab's fields (sh:order): elody:alias, rdfs:label, elody:icon, elody:submitAction (the actionType), elody:actionQuery, elody:creationType, elody:showsFormErrors, elody:callsEndpoint, elody:progress. | 6 of 8 |
elody:tab | a Form Tab node | any number | A tab after the form's first, in sh:order; elody:alias names it. | 2 of 8 |
elody:field | retired | — | fields live on the form's shape as sh:property, not on the form | 8 of 8 |
Form Tab
elody:FormTab: A further tab of a form (formTab): its fields (elody:shape), spreads, upload, actions and copyFromParent, like the form's own first tab.
Declared under elody:tab of Form.
| 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:alias | xsd:string | at most 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: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 |
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:copyFromParent | a Copy From Parent node | at most one | The form's copyFromParent block. | 1 of 8 |
elody:upload | a Upload node | at most one | The tab's upload container. | 6 of 8 |
elody:formAction | a Form Action node | any number | An action button of the tab beyond the submit (an upload, a download through an endpoint, a CSV reordering), at its position among the tab's fields (sh:order): elody:alias, rdfs:label, elody:icon, elody:submitAction (the actionType), elody:actionQuery, elody:creationType, elody:showsFormErrors, elody:callsEndpoint, elody:progress. | 6 of 8 |
Form Fields
Declared under elody:shape of Form, elody:shape of Form Tab, elody:shape of Fields Fragment.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
sh:property | a Form Field node | any number | The property shapes of this node. | 8 of 8 |
Form Field
Declared under sh:property of Form Fields.
| Term | Type | How many | Default | Meaning | Used by |
|---|---|---|---|---|---|
sh:name | any number | The human name of the property, documentation for the reader. | — | ||
elody:labelKey | xsd:string | at most one | the label key on the key itself (em:<key> elody:labelKey), else metadata.labels.<key>: the sh:path local name in kebab-case (properties.<key>.value reduced to its key); when the shape carries no label text (sh:name) | 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:tooltipKey | xsd:string | at most one | The translation key of the tooltip shown with a panel or form field (tooltip(input: ...)). | 2 of 8 | |
elody:unit | an elody:Unit value | at most one | Display format of the value (dates, percentages). Not sh:datatype: it is presentation, the stored literal is unchanged. | 8 of 8 | |
elody:hiddenValueFrom | a Hidden Value From node | at most one | The hidden field's source: elody:entityType (the related entity's type), elody:relationType (relationToExtractKey), elody:key (keyToExtractValue) and elody:inherited. | 1 of 8 | |
elody:copyValueFromParent | a Copy Value From Parent node | at most one | The form field's copy button: elody:labelKey, elody:key (the related entity's key) and elody:relationType (fromRelationType). | 1 of 8 | |
elody:infoPanel | a Info Panel node | at most one | The field's info panel: elody:infoTitle and elody:infoContent. | 2 of 8 | |
elody:virtualKeyboardLayouts | a reference by name | at most one | The on-screen keyboard layouts a text field offers (virtualKeyboardConfig: layouts), an RDF list of names; on a form field or on a property shape edited in a panel. | 2 of 8 | |
elody:pickerSearch | a Picker Search node | at most one | The search configuration of an entity picker form field. | 1 of 8 | |
elody:noWidget | xsd:boolean | at most one | true leaves the form field without an input field: a label the form shows (a bulk delete's list of items). | 1 of 8 | |
elody:validationMessage | xsd:string | at most one | The translation key of the message shown while the value fails the rule (fastValidationMessage). | 2 of 8 | |
sh:defaultValue | at most one | The value a filter or field starts with. | 8 of 8 | ||
rdfs:label | retired | — | rdfs:label on a form field: use sh:name for the label text, elody:labelKey for an Elody translation key | 8 of 8 | |
elody:inputType | retired | — | elody:inputType is retired: use sh:datatype / sh:class / sh:node / sh:in or shui:editor | — | |
elody:required | retired | — | elody:required is retired: use sh:minCount 1 | — |
Upload
elody:Upload: The upload container of a form tab (uploadContainer): the flow and the upload fields, at its position among the tab's fields and actions (sh:order).
Declared under elody:upload of Form, elody:upload of Form Tab.
| 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:uploadFlow | an elody:UploadFlow value | exactly one | The flow of the upload (uploadFlow). | 6 of 8 |
elody:uploadField | a Upload Field node | one or more | A file input of the container, in sh:order; elody:alias names it (fileUpload, csvUpload, excelUpload). | 6 of 8 |
Upload Field
elody:UploadField: A file input of an upload container (uploadField): what it takes, how big it shows, whether it dry-runs, the CSV templates it offers.
Declared under elody:uploadField of Upload.
| 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: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:uploadSize | an elody:UploadSize value | at most one | How big the field shows (uploadFieldSize). | 6 of 8 |
elody:uploadKind | an elody:UploadKind value | exactly one | What the field takes (uploadFieldType). | 6 of 8 |
elody:uploadInputField | xsd:string | at most one | The input field the file is taken with (inputField type: baseFileUploadField, baseCsvUploadField, csvUploadField, baseExcelUploadField). Open string: the platform's and the client's. | 6 of 8 |
elody:uploadRequired | xsd:boolean | at most one | true validates the field as required. | 5 of 8 |
elody:dryRun | xsd:boolean | at most one | Whether the file is validated in a dry run before the upload (dryRunUpload). | 5 of 8 |
elody:addTypeToEndpoint | xsd:boolean | at most one | true adds the entity type to the upload endpoint (addTypeToEndpoint). | 1 of 8 |
elody:extractTypeFromKey | xsd:string | at most one | The form field whose value is the entity type uploaded (extractTypeFromKey). | 1 of 8 |
elody:templateCsvs | a list | at most one | The CSV templates offered for download (templateCsvs), an RDF list of file names. | 4 of 8 |
elody:infoLabelUrl | xsd:string | at most one | The URL of the documentation linked next to the field (infoLabelUrl). | 4 of 8 |
elody:extraMediafileType | xsd:string | at most one | A further mediafile type the upload creates (extraMediafileType). | 1 of 8 |
Form Action
Declared under elody:formAction of Form, elody:formAction of Form Tab.
| 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: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:submitAction | xsd:string | at most one | What the form's submit does (actionType: submit, ocr, submitWithUpload). Default submit. | 6 of 8 |
elody:actionQuery | xsd:string | at most one | The platform mutation document the submit calls (CreateEntity, ...). | 8 of 8 |
elody:creationType | xsd:string | at most one | The Elody entity type created (Entitytyping value). Open string: client-defined. | 8 of 8 |
elody:showsFormErrors | xsd:boolean | at most one | Show the form's validation errors when the submit is refused (showsFormErrors). Default false. | 8 of 8 |
elody:callsEndpoint | a Endpoint node | at most one | The endpoint the action calls (endpointInformation). | 1 of 8 |
elody:progress | a Progress node | at most one | The action's progress indicator. | 6 of 8 |
Endpoint
elody:Endpoint: The endpoint an action calls (endpointInformation): elody:endpointName, elody:endpointMethod, elody:variables, elody:responseAction.
Declared under elody:callsEndpoint of Form Action.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:endpointName | xsd:string | at most one | The path of the endpoint (endpointName). | 1 of 8 |
elody:endpointMethod | xsd:string | at most one | The HTTP method of the call (endpointMethod: POST). | 1 of 8 |
elody:variables | a list | at most one | The variables passed to the endpoint (variables), an RDF list of names. | 1 of 8 |
elody:responseAction | xsd:string | at most one | What the PWA does with the response (responseAction: downloadResponse, notification), a platform enum value. | 1 of 8 |
Progress
elody:Progress: How an action shows its progress (actionProgressIndicator): a spinner, or steps.
Declared under elody:progress of Form Action.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:progressKind | xsd:string | exactly one | The indicator (type: spinner, progressSteps), a platform enum value. | 6 of 8 |
elody:progressStep | a Progress Step node | any number | A step shown, in sh:order. | 6 of 8 |
Progress Step
elody:ProgressStep: A step of the progress (step): elody:alias, rdfs:label, elody:stepKind.
Declared under elody:progressStep of Progress.
| 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: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:stepKind | xsd:string | exactly one | The kind of the step (stepType: validate, prepare, upload), a platform enum value. | 6 of 8 |
Form Source
elody:FormSource: An id-addressed GraphQL document a modal loads by name; the resolver answers with a runtime-derived form or report (processor config forms, pipeline validation).
Declared under elody:formSource of Entity Ui.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:resolverField | xsd:string | exactly one | The GraphQL field the document selects (ProcessorConfigForm). Replaces the string use of elody:field on form sources. | 3 of 8 |
elody:queryName | xsd:string | at most 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:withParent | xsd:boolean | at most one | The document also takes the host entity id. | 2 of 8 |
Submit Action
elody:SubmitAction: What a form's submit button does: label, icon, the platform mutation and the entity type it creates.
| Term | Type | How many | Meaning | Used by |
|---|---|---|---|---|
elody:actionQuery | xsd:string | unchecked | The platform mutation document the submit calls (CreateEntity, ...). | 8 of 8 |
elody:callsEndpoint | a Endpoint node | unchecked | The endpoint the action calls (endpointInformation). | 1 of 8 |
elody:creationType | xsd:string | unchecked | The Elody entity type created (Entitytyping value). Open string: client-defined. | 8 of 8 |
elody:progress | a Progress node | unchecked | The action's progress indicator. | 6 of 8 |
elody:showsFormErrors | xsd:boolean | unchecked | Show the form's validation errors when the submit is refused (showsFormErrors). Default false. | 8 of 8 |