File schema
A schema details the characteristics of payload items with built in
validation.
It works in a similar way to the data dictionary. The schema is made up of 'metadata' which is data that describes other data.
A schema consists of either a Sequence or Choice tag, and a Record and Field tag.
This schema shows the basic language structure of a File Schema Definition (FSD):
<schema xmlns='http://www.infor.com/2017/TD/SSTransform/fsd/' version='1.0'>
<schema>
<sequence | choice
name
output='yes'
min-occur='0'
max-occur='1'>
<record
name
output='yes'
record-sep
min-occur=0
max-occur=1>
<field
name
output='yes'
field-sep
valid-value
default-value
leading-chars
trailing-chars
max-length='128'
min-length='0'
truncate='no'
quoted='auto'
</field>
</record>
</sequence | choice>
</schema>