![JAR search and dependency download from the Maven repository](/logo.png)
com.revinate.ship.schemata.guest-stay-result-schema.json Maven / Gradle / Ivy
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "guestStayResult",
"description": "A guestStayResult object is a result object with additional fields to indicate the result of processing a guest-stay 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"
},
"guestStay": {
"description": "The guestStay object produced by processing the incoming message. May be invalid, check errors first.",
"$ref": "guest-stay-schema.json#"
},
"errors": {
"description": "Errors generated by the processing of the guest-stay",
"type": "array",
"items": {
"$ref": "result-schema.json#"
}
},
"warnings": {
"description": "Warnings generated by the processing of the guest-stay",
"type": "array",
"items": {
"$ref": "result-schema.json#"
}
}
},
"additionalProperties": false
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy