You must package your content so ConTesA can parse the data and process it against the NIEM NDR automated rules. ConTesA accepts XML Schema and ZIP archive data.
The three different users of ConTesA (Domain Modeler, IEPD Developer, and IEPD Implementer) share some common ways of uploading content to ConTesA. However, those methods might differ depending on the complexity of the content to be processed.
You can download the prepackaged assets for this tutorial by clicking this link.
Let’s consider a data model. Your organization has data about traffic accidents, namely crashes. You’d like to store that data as XML messages containing a hierarchy of information such that you can name the drivers and their respective vehicles. You create an XML Schema for the data model and want to evaluate it against NIEM.
ConTesA can directly accept single XML Schema documents as input. There are no special requirements to package the content; simply upload through the ConTesA home page portal.
You can view a sample Single XML Schema document by clicking this link, or right-click the link and save the file to a known location.
The previous model you’ve developed depends heavily on components defined in other XML Schema documents.
To package your model, place all of the XML Schema documents into a *.zip archive file. Give the archive a meaningful name (e.g., crash_model).
In the case where the document is an extension of some NIEM subset, the file structure might take the following form:
You can download the sample XML Schema Set by clicking this link.
You’d like to test an instance of the model you’ve just defined.
To package your model, place all of the XML content into a *.zip archive file. Give the archive a meaningful name (e.g., crash_model).
In the case where the document is an extension of some NIEM subset, the file structure might take the following form:
You can download the sample XML Schema Instance document by clicking this link.
Your model is ready. You’ve created an instance of your model and now you need to test is against the automated rules from ConTesA.
Log in to your ConTesA account and click on the Upload
button under
the “Validate a File” section of the home page.
Once your content is uploaded, look for the generated report screen: