The Open API specification for Synapse is now available for download!

Download Open API Spec

POST /schema/type/validation/async/start

To use a JSON schema for validation, the JSON schema plus all of its dependency schemas must be provided to a JSON schema validator. The 'validation' schema is simply a JSON schema with all of its dependencies added to the 'definitions' section of the schema, making the schema self-contained.

Use this call to start an asynchronous job that will compile the 'validation' schema for a given JSON schema $id.

To monitor the progress of the job and to get the final results use: GET schema/type/validation/async/get/{asyncToken}"

Resource URL

https://repo-prod.prod.sagebase.org/repo/v1/schema/type/validation/async/start

Resource Information
Authentication Required
Required OAuth Scopes modify
HTTP Method POST
Request Object GetValidationSchemaRequest
(application/json)
Response Object AsyncJobId
(application/json)