...
- If the existing explicitly defined data type or data type already exists, an error is returned
- If a parent of the data type does not exist, it is created
- if a parent of the data type exists
- If the parent definition is the same as whats in the database, then its OK
- If the parent definition is different on the incoming specification, then an error is reported
- For child data types specified on the incoming data type definition
- If the data type definition does not exist, it is created
- If the data type definition exists
- If the data type definition is the same as whats in the database, then its OK
- If the incoming data type definition is different to whats in the database, then an error is reported
- If a referenced child definition does not exist in the database, then an error is reported