-
Notifications
You must be signed in to change notification settings - Fork 2
Data Validation
The Webstudio provides automatic consistancy validation of the objects according the energyml model.
In the "File" menu or in the "object editing vue" you will find "validation" buttons.
Results of validations will be printed in the console.
A correct workspace :
A workspace with an object not correct :
The websutdio provides validation using the XSD specifications of the model. When some errors occures for these verifications, they are often printed in the console as "info" logs (in green).
These verification will check for example if fields values exists and respect the field regex specification.
The Webstudio offers others specific verifications :
- Unkown target from DOR : If a Uuid is referenced in a DOR and the corresponding object is not present in the workspace, an error will be raised
- DOR content validity : As in energyml the "Citation.Title" (for example) is duplicated in a DOR, if the source object's title is changed, the DOR information may have not been updated. Errors will be raised in this case. (see. DOR Auto-correct menu to correct these errors automatically)
- Activity parameters check : Verifications are done on values/types inside "Activities" depending on their "ActivityTemplate"
- Mandatory fields : If a mandatory element is not present, an error will be raised