Data Models¶
The datamodels
service allows defining and storing XSD (XML Schema Definition) documents.
XSD can be used to express a set of rules to which an XML document must conform in order to be considered valid.
Data models can be leveraged in Platform 6 to validate XML files (either items like transactions or workflow tasks or business documents that must comply with a specific XML library like UBL, cXML, xCBL, PIDX, CIDX…)
To see the Data Models menu entry on the Portal, the datamodels=view
permission is required.
For a summary of permission names and uses related to this service, please refer to this section.
Note
If you have the datamodels=*
permission, you can have access to all the functions mentioned below.
List and view data models¶
To list and display all data models, the datamodels=read
permission is required.
If your permission has values like this: datamodels=read('Data Model 1', 'Data Model 2')
, you will only see the listed data models.
You can view a data model by clicking on the magnifier icon in the ‘Actions’ column.
Edit a data model¶
To create, update, rename, duplicate, delete, export or import data models, the datamodels=edit
permission is required.
Double-click on a row of the table display or click on the pen icon to edit a data model. You can update its name and description as well as the schema itself.
Warning
The data model‘s name and the English description are mandatory and cannot be empty.