%dw 2.0
output application/json
---
{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Root",
"type": "object",
"properties": {
"partnerReferenceId": {
"type": "string",
"default": "",
"pattern": "^.*$"
},
"hostReferenceId": {
"type": ["string", "null"],
"default": "",
"pattern": "^.*$"
},
"businessDocumentKey": {
"type": ["string", "null"],
"default": "",
"pattern": "^.*$"
},
"customAttributes": {
"type": "array",
"default": [],
"items":{
"type": "object",
"required": [
"alias",
"values"
],
"properties": {
"alias": {
"type": "string",
"default": "",
"pattern": "^.*$"
},
"values": {
"type": "array",
"default": [],
"items":{
"type": "string",
"default": "",
"pattern": "^.*$"
}
}
}
}
}
}
}