Validate report content schema

post/content/validation
Internal-Use Only

Validates the report content against a schema. The schema specified in the report content is used for validation.

Request Samples

1

Response Samples

1{
2 "level": "schemaInvalid",
3 "schema": "bird-4.1.2.xsd",
4 "messages": [
5 {
6 "type": "schemaError",
7 "message": "Line 89: Value 'binder' is not facet-valid with respect to enumeration '[column, page]'. It must be a value from the enumeration."
8 },
9 {
10 "type": "schemaError",
11 "message": "Line 89: The value 'binder' of attribute 'type' on element 'Axis' is not valid with respect to its type, 'relationalAxisTypeEnum'."
12 }
13 ],
14 "version": 1
15}

Request Body

The report content to be converted.

The representation of a report content in JSON format. Check Get Versions and GET /versions/@defaultVersion for the set of valid media types and versions as defined by Business Intelligence Report Definition. If not provided, for request the version equivalent to the report content schema is used and for response latest version is used.

Example:
{"@element":"SASReport","xmlns":"http://www.sas.com/sasreportmodel/bird-4.3.0","label":"Small Report","dateCreated":"2020-10-24T01:33:24Z","dateModified":"2020-11-04T03:20:00Z","view":{"@element":"View","sections":[{"@element":"Section","name":"vi1","label":"Section1","body":{"@element":"Body","mediaContainerList":[{"@element":"MediaContainer","target":"mt111","layout":{"@element":"ResponsiveLayout"}}]},"mediaSchemes":[{"@element":"MediaScheme","name":"ms201"}],"mediaTargets":[{"@element":"MediaTarget","name":"mt111","scheme\"":"ms201"}]}]}}

Responses

StatusMeaningDescription
200OKReport content validation result.Schema