Expand description
Core data model shared across the rustxform pipeline.
These types are the normalized, backend-agnostic representation of an XLSForm after parsing and before XForm emission. They grow as later phases add groups, repeats, translations and parameters.
Structs§
- Action
- A model-level action element bound to a question.
- Builtin
- The XForm mapping for a built-in question type.
- Choice
- One option within a choice list.
- Choice
List - A named list of choices from the
choicessheet. - Container
- A container of child nodes: a group (
<group>) or a repeat (<repeat>). - Entity
- An ODK Entities declaration (the
entitiessheet): the survey creates an entity in a dataset when submitted. - Localized
- Localizable text from a
label/hintcolumn family. - Media
- A label media attachment: a form (
image/audio/video) and its file(s), which may be single- or multi-language. - Preload
- A metadata preload binding (
jr:preload+jr:preloadParams). - Question
- A single survey question from the
surveysheet. - Settings
- Form-level settings, sourced from the XLSForm
settingssheet. - Survey
- A parsed XLSForm survey: settings, a node tree and choice lists.
Enums§
- Control
- The XForm body control a built-in question renders as.
- Kind
- The resolved semantics of a question’s
typecolumn. - Node
- A node in the survey tree: a question, a group, or a repeat.
- Select
Type - Which selection control a
Kind::Selectrenders as.
Functions§
- resolve_
builtin - Resolve a single XLSForm type token to its built-in XForm mapping.