End to end example :: Define your input...
<oneOrMore>
<element name="soldier" a:label="A-team member">
<attribute name="name" a:label="Character name" />
<attribute name="birthdate" a:label="Date of birth" a:type="date" />
<attribute name="skill" a:label="Unique skill" />
</element>
</oneOrMore>
Here is the first example fragment of AllyourX markup, sufficient to generate a front end to your application.
The data structure is not very complicated. It introduces a data record or element named 'soldier', and says that users must input at least one soldier record. It specifies that every example of a soldier record must have three properties or attributes : a name, a date of birth and a skill. The date of birth attribute must conform to being a date.
In addition to the schema information which describes the data, it also includes some annotations which describe the input form which the user should see.
The a:label attributes determine the labels which will be shown to the user on the input form. The user will be offered the chance to input an 'A-team member' instead of a new soldier element. Every soldier's name attributewill be labelled 'Character name', and their skill will be labelled 'Unique skill'.
