All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.revinate.ship.schemata.guest-stay-list-result-schema.json Maven / Gradle / Ivy

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "guestStayListResult",
  "description": "A guestStayListResult object is a result object with additional fields to indicate the result of processing a guest-stay list 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"
    },
    "summary": {
      "description": "Summary of the guest-stay list result",
      "$ref": "common-definitions.json#/definitions/summary"
    },
    "guestStays": {
      "description": "Guest-stay results produced by processing the incoming message",
      "type": "array",
      "items": {
        "$ref": "guest-stay-result-schema.json#"
      }
    },
    "errors": {
      "description": "Errors generated by the processing of the guest-stay list. Deprecated, use guestStays instead.",
      "type": "array",
      "items": {
        "$ref": "result-schema.json#"
      }
    },
    "warnings": {
      "description": "Warnings generated by the processing of the guest-stay list. Deprecated, use guestStays instead.",
      "type": "array",
      "items": {
        "$ref": "result-schema.json#"
      }
    }
  },
  "additionalProperties": false
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy