com.revinate.ship.schemata.result-schema.json Maven / Gradle / Ivy
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "result",
"description": "A result object contains the result of processing a message or part of a message.",
"type": "object",
"properties": {
"status": {
"description": "Status code of the result",
"type": "string",
"enum": ["NEW", "SUCCESS", "WARNING", "FAILED", "MISSING", "DELETE"]
},
"message": {
"description": "Description of the result",
"type": "string"
},
"sourceField": {
"description": "If the incoming message was transformed, this identifies the field of the incoming message to which the result pertains",
"type": "string"
},
"sourceValue": {
"description": "If the incoming message was transformed, the original value in the incoming message to which the result pertains",
"type": "string"
},
"field": {
"description": "JSON pointer identifying the SHIP field to which the result pertains",
"type": "string"
}
},
"additionalProperties": false
}