Validate a XML string
Validate a QTI XML file against the QTI 3.0 xsd specification.
Documentation Index
Fetch the complete documentation index at: https://docs.timeback.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
The XML string to validate along with its schema type
Validate a QTI XML string against the QTI 3.0 XSD specification. You can send Assessment Test, Assessment Item or Stimulus XML strings to be validated. If entityId is provided, the xml strings attached will be ignored.
The schema represents Assessment Test, Assessment Item or Stimulus and must be one of 'test', 'item', or 'stimulus' types.
test, item, stimulus The XML string to validate against the QTI 3.0 XSD specification. If entityId is provided, this will be ignored.
The entity ID to validate the XML against. Must exist in the database. If entityId is provided, the xml strings attached will be ignored.
Response
Successfully validated XML
Whether the XML string was validated successfully.
true, false The entity ID of the XML string that was validated. If no entityId is provided, a random identifier will be generated.
The XML string that was validated. If no xml is provided, the xml string will be the rawXml string that exists in the database.
An array of validation errors that occurred during the validation process. If no validation errors occurred, this will be an empty array.
A message describing the validation process. If the validation was successful this will read 'Valid XML' else it will contain details on the error message.