This feature is available from 25.2
This feature allows you to request a specific sidecar XSD for a classification. The generated XSD will have additional fields under the family Dynamic
based upon the linked /wiki/spaces/CS/pages/3273949212 . This xsd can then be used to validate your xml before ingesting.
There are 2 ways to request the XSD.
Classification is public accessible
Requesting the xsd can be done by sending a request to:
https://<environment>/schemas/<schema version>/classifications/<classification or versioning id>/version/<version>/<record type>/mhs.xsd
Schema version corresponds with Metadata Sidecar Versions
Classification or versioning id of the record for which you want to request the XSD
Version is 1 if the classification is not versioned or different if your classification has multiple versions
Record type is an optional property and can be added to only get the fields applicable for the specified record type.
Classification is not public accessible
In this case, you can request the XSD via the api under classifications/<classification id>/schema
. See the rest API documentation for additional properties and documentation.