A datastore schema defines the following:
- The entities across which screening and intake data will be shredded - These are created as XML complexType definitions.
- The fields or attributes of those entities - These are created as XML attribute definitions.
- The simple datatypes, called domains, which define the allowable types of entity attributes - These are created as XML simpleType definitions.
- Any key relationships between entity definitions - These are created as XML key and keyref definitions.