The following specification defines the Data Mapper JSON schema of WSO2 ESB. It is intended to be the authoritative specification. Implementations of schemas for the Data Mapper mediator must adhere to this.
Schema declaration
A schema is represented in JSON by one of:
- A JSON string, naming a defined type.
- A JSON object, of the form:
{"type": "typeName" ...attributes...}
, wheretypeName
is either a primitive or a derived type name, as defined below. - A JSON array, representing a union of embedded types.
A WSO2 ESB Data Mapper schema should start with the $schema
attribute with the WSO2 Data Mapper schema version. For example: { “$schema”:”http://wso2-data-mapper-json-schema/1.0v”}