{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "BASEURL/merchantRisk.json",
"title": "merchantRisk",
"description": "Merchant Risk Information",
"type": "object",
"properties": {
"deliveryEmail": {
"type": "string",
"maxLength": 50254,
"format": "idn-email",
"description": "For Electronic delivery, the email address to which the merchandise was delivered."
},
"deliveryTimeframe": {
"type": "string",
"enum": ["electronicDelivery", "sameDayDelivery", "nextDayDelivery", "twoOrMoreDaysDelivery"]
},
"giftCardAmount": {
"type": "integer",
"maximum": 999999999999
},
"giftCardCount": {
"type": "integer",
"maximum": 99,
"description": "Number of prepaid or gift cards used for this purchase."
},
"giftCardCurr": {
"type": "string",
"minLength": 3,
"maxLength": 3,
"description": "ISO 4217 three-digits numeric currency code of the gift card, e.g. 978."
},
"preOrderDate": {
"type": "string",
"format": "full-date",
"description": "The expected date that the merchandise will be available in format YYYY-MM-DD."
},
"preOrderPurchaseIndicator": {
"type": "boolean",
"description": "Indicates whether customer is placing an order for merchandise with a future availability or release date."
},
"reorderItemsIndicator": {
"type": "boolean",
"description": "Indicates whether the customer is reordering previously purchased merchandise."
},
"shippingAddressIndicator": {
"type": "string",
"enum": [
"shipToBillingAddress",
"shipToVerifiedAddress",
"shipToNewAddress",
"shipToStore",
"digitalGoods",
"noShipment",
"other"
],
"description": "Indicates shipping method chosen for the transaction. If one or more items are included in the sale, use the Shipping Indicator code for the physical goods, or if all digital goods, use the Shipping Indicator code that describes the most expensive item."
}
},
"additionalProperties": false
} |