Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: result example

...

As of Versionproduct version 1.0 | component version 1.0
Request MethodPOST
Response FormatJSON
DescriptionThis endpoint is used to validate a schema file for fitness for being the new global schema of the yuuvis® system. 
Request HeadersContent-Type: application/xml
Request Example
Response Example

The result is a JSON structure containing a validationErrors list, which could be an empty list.

Code Block
title200 - no validation errors, the role set schema has been updated
{
    "validationErrors": []
}


Code Block
title422 - there were validation errors, the role set schema was not updated
{
    	"validationErrors": [
		{
			"message": "Ambiguous ids. There are 2 property {type definitions with the id 'from'.",
			"serviceErrorCode": 2110
		},
    		{
			"message": "Unable to unmarshal schema. [line: 14][column: 13] cvc-complex-type.2.4.a: Ungültiger Content wurde beginnend mit Element 
			'condition' gefunden. '{\"http://optimal-systems.org/ns/dmscloud/roleset/\":action}' wird erwartet."
        }
    Wrong base id. The base id of the system:document type definition 'email' must be 'system:document', but it is 'system:folder'.",
			"serviceErrorCode": 2131
		},
		{
			"message": "Invalid property reference 'fromm' in type definition 'email'.",
			"serviceErrorCode": 2132
		},
		{
			"message": "Invalid secondary object type reference 'appAcl:aclowner' in type definition 'email'.",
			"serviceErrorCode": 2135
		}
	]
}