Skip to content

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

TermTypeHow manyMeaningUsed by
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. the fields: a shape, or a list of the type's properties (elody:fields) spelled out as one before parsing8 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
elody:submita Submit Action nodeat most oneThe form's submit action.8 of 8
elody:queryNamexsd:stringat most 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: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:copyFromParenta Copy From Parent nodeat most oneThe form's copyFromParent block.1 of 8
elody:infoLabelxsd:stringat most oneThe translation key of the information shown above the form (infoLabel).2 of 8
elody:modalStylean elody:ModalStyle valueat most oneThe style of the modal the form opens in (modalStyle).1 of 8
elody:uploada Upload nodeat most oneThe tab's upload container.6 of 8
elody:formActiona Form Action nodeany numberAn 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:taba Form Tab nodeany numberA tab after the form's first, in sh:order; elody:alias names it.2 of 8
elody:fieldretired—fields live on the form's shape as sh:property, not on the form8 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.

TermTypeHow manyMeaningUsed by
sh:orderat most oneThe position among its siblings; order never comes from the position in the file.8 of 8
elody:aliasxsd:stringat most 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: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
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:copyFromParenta Copy From Parent nodeat most oneThe form's copyFromParent block.1 of 8
elody:uploada Upload nodeat most oneThe tab's upload container.6 of 8
elody:formActiona Form Action nodeany numberAn 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.

TermTypeHow manyMeaningUsed by
sh:propertya Form Field nodeany numberThe property shapes of this node.8 of 8

Form Field ​

Declared under sh:property of Form Fields.

TermTypeHow manyDefaultMeaningUsed by
sh:nameany numberThe human name of the property, documentation for the reader.—
elody:labelKeyxsd:stringat most onethe 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:tooltipKeyxsd:stringat most oneThe translation key of the tooltip shown with a panel or form field (tooltip(input: ...)).2 of 8
elody:unitan elody:Unit valueat most oneDisplay format of the value (dates, percentages). Not sh:datatype: it is presentation, the stored literal is unchanged.8 of 8
elody:hiddenValueFroma Hidden Value From nodeat most oneThe hidden field's source: elody:entityType (the related entity's type), elody:relationType (relationToExtractKey), elody:key (keyToExtractValue) and elody:inherited.1 of 8
elody:copyValueFromParenta Copy Value From Parent nodeat most oneThe form field's copy button: elody:labelKey, elody:key (the related entity's key) and elody:relationType (fromRelationType).1 of 8
elody:infoPanela Info Panel nodeat most oneThe field's info panel: elody:infoTitle and elody:infoContent.2 of 8
elody:virtualKeyboardLayoutsa reference by nameat most oneThe 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:pickerSearcha Picker Search nodeat most oneThe search configuration of an entity picker form field.1 of 8
elody:noWidgetxsd:booleanat most onetrue leaves the form field without an input field: a label the form shows (a bulk delete's list of items).1 of 8
elody:validationMessagexsd:stringat most oneThe translation key of the message shown while the value fails the rule (fastValidationMessage).2 of 8
sh:defaultValueat most oneThe value a filter or field starts with.8 of 8
rdfs:labelretired—rdfs:label on a form field: use sh:name for the label text, elody:labelKey for an Elody translation key8 of 8
elody:inputTyperetired—elody:inputType is retired: use sh:datatype / sh:class / sh:node / sh:in or shui:editor—
elody:requiredretired—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.

TermTypeHow manyMeaningUsed by
sh:orderat most oneThe position among its siblings; order never comes from the position in the file.8 of 8
elody:uploadFlowan elody:UploadFlow valueexactly oneThe flow of the upload (uploadFlow).6 of 8
elody:uploadFielda Upload Field nodeone or moreA 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.

TermTypeHow manyMeaningUsed by
sh:orderat most oneThe position among its siblings; order never comes from the position in the file.8 of 8
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:uploadSizean elody:UploadSize valueat most oneHow big the field shows (uploadFieldSize).6 of 8
elody:uploadKindan elody:UploadKind valueexactly oneWhat the field takes (uploadFieldType).6 of 8
elody:uploadInputFieldxsd:stringat most oneThe 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:uploadRequiredxsd:booleanat most onetrue validates the field as required.5 of 8
elody:dryRunxsd:booleanat most oneWhether the file is validated in a dry run before the upload (dryRunUpload).5 of 8
elody:addTypeToEndpointxsd:booleanat most onetrue adds the entity type to the upload endpoint (addTypeToEndpoint).1 of 8
elody:extractTypeFromKeyxsd:stringat most oneThe form field whose value is the entity type uploaded (extractTypeFromKey).1 of 8
elody:templateCsvsa listat most oneThe CSV templates offered for download (templateCsvs), an RDF list of file names.4 of 8
elody:infoLabelUrlxsd:stringat most oneThe URL of the documentation linked next to the field (infoLabelUrl).4 of 8
elody:extraMediafileTypexsd:stringat most oneA further mediafile type the upload creates (extraMediafileType).1 of 8

Form Action ​

Declared under elody:formAction of Form, elody:formAction of Form Tab.

TermTypeHow manyMeaningUsed by
sh:orderat most oneThe position among its siblings; order never comes from the position in the file.8 of 8
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:submitActionxsd:stringat most oneWhat the form's submit does (actionType: submit, ocr, submitWithUpload). Default submit.6 of 8
elody:actionQueryxsd:stringat most oneThe platform mutation document the submit calls (CreateEntity, ...).8 of 8
elody:creationTypexsd:stringat most oneThe Elody entity type created (Entitytyping value). Open string: client-defined.8 of 8
elody:showsFormErrorsxsd:booleanat most oneShow the form's validation errors when the submit is refused (showsFormErrors). Default false.8 of 8
elody:callsEndpointa Endpoint nodeat most oneThe endpoint the action calls (endpointInformation).1 of 8
elody:progressa Progress nodeat most oneThe 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.

TermTypeHow manyMeaningUsed by
elody:endpointNamexsd:stringat most oneThe path of the endpoint (endpointName).1 of 8
elody:endpointMethodxsd:stringat most oneThe HTTP method of the call (endpointMethod: POST).1 of 8
elody:variablesa listat most oneThe variables passed to the endpoint (variables), an RDF list of names.1 of 8
elody:responseActionxsd:stringat most oneWhat 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.

TermTypeHow manyMeaningUsed by
elody:progressKindxsd:stringexactly oneThe indicator (type: spinner, progressSteps), a platform enum value.6 of 8
elody:progressStepa Progress Step nodeany numberA 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.

TermTypeHow manyMeaningUsed by
sh:orderat most oneThe position among its siblings; order never comes from the position in the file.8 of 8
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:stepKindxsd:stringexactly oneThe 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.

TermTypeHow manyMeaningUsed by
elody:resolverFieldxsd:stringexactly oneThe GraphQL field the document selects (ProcessorConfigForm). Replaces the string use of elody:field on form sources.3 of 8
elody:queryNamexsd:stringat most 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:withParentxsd:booleanat most oneThe 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.

TermTypeHow manyMeaningUsed by
elody:actionQueryxsd:stringuncheckedThe platform mutation document the submit calls (CreateEntity, ...).8 of 8
elody:callsEndpointa Endpoint nodeuncheckedThe endpoint the action calls (endpointInformation).1 of 8
elody:creationTypexsd:stringuncheckedThe Elody entity type created (Entitytyping value). Open string: client-defined.8 of 8
elody:progressa Progress nodeuncheckedThe action's progress indicator.6 of 8
elody:showsFormErrorsxsd:booleanuncheckedShow the form's validation errors when the submit is refused (showsFormErrors). Default false.8 of 8

Powered by Elody - Open Source Semantic Data Platform