Requirements for SMI to XSD MappingObjectives: Fidelity and Parsimony R1. All SMI datatypes MUST have a corresponding XSD datatype. R2. In case of conflicting requirements between SMIv1 and SMIv2, SMIv2 MUST take precedence. R3. The XSD datatype specified for a given SMI datatype MUST be able to represent all valid values for that SMI datatype. R4. The XSD datatype specified for a given SMI datatype MUST represent any special encoding rules associated with that SMI datatype. R5. The XSD datatype specified for a given SMI datatype MUST include any restrictions on values associated with the SMI datatype. R6. The XSD datatype specified for a given SMI datatype MUST be the most direct XSD datatype, with the most parsimonious restrictions, which matches the foregoing requirements. R7. The XML output produced as a result of meeting the foregoing requirements SHOULD be the most direct from the perspective of readability by humans. |