From 7127fcf2a1b340e10b0faaaa7ed5c92efb1a26fb Mon Sep 17 00:00:00 2001 From: Gibran Waldron Date: Mon, 27 Jun 2022 11:00:07 -0700 Subject: [PATCH] Add notification schemas --- README.md | 3 + .../AnyOfferChangedNotification.json | 2652 ++++++++++++++++ .../BrandedItemContentChangeNotification.json | 249 ++ ...FBAOutboundShipmentStatusNotification.json | 120 + .../FeePromotionNotification.json | 2772 +++++++++++++++++ .../FeedProcessingFinishedNotification.json | 214 ++ .../FulfillmentOrderStatusNotification.json | 605 ++++ .../ItemProductTypeChangeNotification.json | 207 ++ .../ListingsItemIssuesChangeNotification.json | 245 ++ .../ListingsItemStatusChangeNotification.json | 226 ++ .../MfnOrderStatusChangeNotification.json | 315 ++ .../OrderStatusChangeNotification.json | 328 ++ .../PricingHealthNotification.json | 467 +++ ...ductTypeDefinitionsChangeNotification.json | 218 ++ .../ReportProcessingFinishedNotification.json | 214 ++ 15 files changed, 8835 insertions(+) create mode 100644 schemas/notifications/AnyOfferChangedNotification.json create mode 100644 schemas/notifications/BrandedItemContentChangeNotification.json create mode 100644 schemas/notifications/FBAOutboundShipmentStatusNotification.json create mode 100644 schemas/notifications/FeePromotionNotification.json create mode 100644 schemas/notifications/FeedProcessingFinishedNotification.json create mode 100644 schemas/notifications/FulfillmentOrderStatusNotification.json create mode 100644 schemas/notifications/ItemProductTypeChangeNotification.json create mode 100644 schemas/notifications/ListingsItemIssuesChangeNotification.json create mode 100644 schemas/notifications/ListingsItemStatusChangeNotification.json create mode 100644 schemas/notifications/MfnOrderStatusChangeNotification.json create mode 100644 schemas/notifications/OrderStatusChangeNotification.json create mode 100644 schemas/notifications/PricingHealthNotification.json create mode 100644 schemas/notifications/ProductTypeDefinitionsChangeNotification.json create mode 100644 schemas/notifications/ReportProcessingFinishedNotification.json diff --git a/README.md b/README.md index 072dc4d..16c9975 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ The [models directory](https://github.com/amzn/selling-partner-api-models/tree/m The [clients directory](https://github.com/amzn/selling-partner-api-models/tree/main/clients) contains a [Java library](https://github.com/amzn/selling-partner-api-models/tree/main/clients/sellingpartner-api-aa-java) and a [C# library](https://github.com/amzn/selling-partner-api-models/tree/main/clients/sellingpartner-api-aa-csharp) with mustache templates for use with [swagger-codegen](https://swagger.io/tools/swagger-codegen/) to generate client libraries with authentication and authorization functionality included. The templates are located in *resources/swagger-codegen*. +The [schemas directory](https://github.com/amzn/selling-partner-api-models/tree/main/schemas) contains all of the currently available Selling Partner Api schemas. + ## Security See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information. @@ -12,3 +14,4 @@ See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more inform ## License This project is licensed under the Apache-2.0 License. + diff --git a/schemas/notifications/AnyOfferChangedNotification.json b/schemas/notifications/AnyOfferChangedNotification.json new file mode 100644 index 0000000..baa0f0b --- /dev/null +++ b/schemas/notifications/AnyOfferChangedNotification.json @@ -0,0 +1,2652 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "http://example.com/example.json", + "type": "object", + "title": "The root schema", + "description": "The root schema comprises the entire JSON document.", + "default": {}, + "examples": [ + { + "NotificatonTionVersion": "1.0", + "NotificationType": "ANY_OFFER_CHANGED", + "PayloadVersion": "1.0", + "EventTime": "2020-07-13T19:42:04.284Z", + "NotificationMetadata": { + "ApplicationId": "app-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "SubscriptionId": "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "PublishTime": "2020-07-13T19:42:04.284Z", + "NotificationId": "d0e9e693-c3ad-4373-979f-ed4ec98dd746" + }, + "Payload": { + "AnyOfferChangedNotification": { + "SellerId": "A3TH9S8BH6GOGM", + "OfferChangeTrigger": { + "MarketplaceId": "ATVPDKIKX0DER", + "ASIN": "123", + "ItemCondition": "New", + "TimeOfOfferChange": "2020-07-13T19:42:04.284Z", + "OfferChangeType": "New" + }, + "Summary": { + "NumberOfOffers": [ + { + "Condition": "new", + "FulfillmentChannel": "Merchant", + "OfferCount": 10 + }, + { + "Condition": "old", + "FulfillmentChannel": "Amazon", + "OfferCount": 21 + } + ], + "LowestPrices": [ + { + "Condition": "new", + "FulfillmentChannel": "Merchant", + "LandedPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 0.0, + "CurrencyCode": "USD" + } + }, + { + "Condition": "old", + "FulfillmentChannel": "Amazon", + "LandedPrice": { + "Amount": 11.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 20.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 40.0, + "CurrencyCode": "USD" + }, + "Points": { + "PointsNumber": 34343 + } + } + ], + "BuyBoxPrices": [ + { + "Condition": "new", + "LandedPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 0.0, + "CurrencyCode": "USD" + } + }, + { + "Condition": "old", + "LandedPrice": { + "Amount": 11.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 20.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 40.0, + "CurrencyCode": "USD" + }, + "Points": { + "PointsNumber": 34343 + } + } + ], + "ListPrice": { + "Amount": 55.0, + "CurrencyCode": "USD" + }, + "MinimumAdvertisedPrice": { + "Amount": 66.0, + "CurrencyCode": "USD" + }, + "SuggestedLowerPricePlusShipping": { + "Amount": 77.0, + "CurrencyCode": "USD" + }, + "TotalBuyBoxEligibleOffers": 100, + "SalesRankings": [ + { + "ProductCategoryId": "1243", + "Rank": 1 + }, + { + "ProductCategoryId": "1234", + "Rank": 2 + } + ], + "NumberOfBuyBoxEligibleOffers": [ + { + "Condition": "new", + "FulfillmentChannel": "Merchant", + "OfferCount": 23 + }, + { + "Condition": "old", + "FulfillmentChannel": "Amazon", + "OfferCount": 54 + } + ], + "CompetitivePriceThreshold": { + "Amount": 22.0, + "CurrencyCode": "USD" + } + }, + "Offers": [ + { + "SellerId": "111", + "SubCondition": "New", + "SellerFeedbackRating": { + "FeedbackCount": 9, + "SellerPositiveFeedbackRating": 10 + }, + "ShippingTime": { + "MinimumHours": 10, + "MaximumHours": 30, + "AvailabilityType": "available", + "AvailableDate": "2020-07-13T19:42:04.284Z" + }, + "ListingPrice": { + "Amount": 23.0, + "CurrencyCode": "USD" + }, + "Points": { + "PointsNumber": 33333 + }, + "Shipping": { + "Amount": 110.0, + "CurrencyCode": "USD" + }, + "ShipsFrom": { + "Country": "USA", + "State": "MI" + }, + "IsFulfilledByAmazon": true, + "PrimeInformation": { + "IsOfferPrime": true, + "IsOfferNationalPrime": false + }, + "IsExpeditedShippingAvailable": true, + "IsFeaturedMerchant": true, + "ShipsDomestically": true, + "ShipsInternationally": true + } + ] + } + } + } + ], + "required": [ + "NotificatonTionVersion", + "NotificationType", + "PayloadVersion", + "EventTime", + "NotificationMetadata", + "Payload" + ], + "additionalProperties": true, + "properties": { + "NotificatonTionVersion": { + "$id": "#/properties/NotificatonTionVersion", + "type": "string", + "title": "The NotificatonTionVersion schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "1.0" + ] + }, + "NotificationType": { + "$id": "#/properties/NotificationType", + "type": "string", + "title": "The Notification type schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "ANY_OFFER_CHANGED" + ] + }, + "PayloadVersion": { + "$id": "#/properties/PayloadVersion", + "type": "string", + "title": "The PayloadVersion schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "1.0" + ] + }, + "EventTime": { + "$id": "#/properties/EventTime", + "type": "string", + "title": "The EventTime schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2020-07-13T19:42:04.284Z" + ] + }, + "NotificationMetadata": { + "$id": "#/properties/NotificationMetadata", + "type": "object", + "title": "The NotificationMetadata schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "ApplicationId": "app-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "SubscriptionId": "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "PublishTime": "2020-07-13T19:42:04.284Z", + "NotificationId": "d0e9e693-c3ad-4373-979f-ed4ec98dd746" + } + ], + "required": [ + "ApplicationId", + "SubscriptionId", + "PublishTime", + "NotificationId" + ], + "additionalProperties": true, + "properties": { + "ApplicationId": { + "$id": "#/properties/NotificationMetadata/properties/ApplicationId", + "type": "string", + "title": "The ApplicationId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "app-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746" + ] + }, + "SubscriptionId": { + "$id": "#/properties/NotificationMetadata/properties/SubscriptionId", + "type": "string", + "title": "The SubscriptionId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746" + ] + }, + "PublishTime": { + "$id": "#/properties/NotificationMetadata/properties/PublishTime", + "type": "string", + "title": "The PublishTime schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2020-07-13T19:42:04.284Z" + ] + }, + "NotificationId": { + "$id": "#/properties/NotificationMetadata/properties/NotificationId", + "type": "string", + "title": "The NotificationId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "d0e9e693-c3ad-4373-979f-ed4ec98dd746" + ] + } + } + }, + "Payload": { + "$id": "#/properties/Payload", + "type": "object", + "title": "The Payload schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "AnyOfferChangedNotification": { + "SellerId": "A3TH9S8BH6GOGM", + "OfferChangeTrigger": { + "MarketplaceId": "ATVPDKIKX0DER", + "ASIN": "123", + "ItemCondition": "New", + "TimeOfOfferChange": "2020-07-13T19:42:04.284Z", + "OfferChangeType": "New" + }, + "Summary": { + "NumberOfOffers": [ + { + "Condition": "new", + "FulfillmentChannel": "Merchant", + "OfferCount": 10 + }, + { + "Condition": "old", + "FulfillmentChannel": "Amazon", + "OfferCount": 21 + } + ], + "LowestPrices": [ + { + "Condition": "new", + "FulfillmentChannel": "Merchant", + "LandedPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 0.0, + "CurrencyCode": "USD" + } + }, + { + "Condition": "old", + "FulfillmentChannel": "Amazon", + "LandedPrice": { + "Amount": 11.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 20.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 40.0, + "CurrencyCode": "USD" + }, + "Points": { + "PointsNumber": 34343 + } + } + ], + "BuyBoxPrices": [ + { + "Condition": "new", + "LandedPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 0.0, + "CurrencyCode": "USD" + } + }, + { + "Condition": "old", + "LandedPrice": { + "Amount": 11.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 20.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 40.0, + "CurrencyCode": "USD" + }, + "Points": { + "PointsNumber": 34343 + } + } + ], + "ListPrice": { + "Amount": 55.0, + "CurrencyCode": "USD" + }, + "MinimumAdvertisedPrice": { + "Amount": 66.0, + "CurrencyCode": "USD" + }, + "SuggestedLowerPricePlusShipping": { + "Amount": 77.0, + "CurrencyCode": "USD" + }, + "TotalBuyBoxEligibleOffers": 100, + "SalesRankings": [ + { + "ProductCategoryId": "1243", + "Rank": 1 + }, + { + "ProductCategoryId": "1234", + "Rank": 2 + } + ], + "NumberOfBuyBoxEligibleOffers": [ + { + "Condition": "new", + "FulfillmentChannel": "Merchant", + "OfferCount": 23 + }, + { + "Condition": "old", + "FulfillmentChannel": "Amazon", + "OfferCount": 54 + } + ], + "CompetitivePriceThreshold": { + "Amount": 22.0, + "CurrencyCode": "USD" + } + }, + "Offers": [ + { + "SellerId": "111", + "SubCondition": "New", + "SellerFeedbackRating": { + "FeedbackCount": 9, + "SellerPositiveFeedbackRating": 10 + }, + "ShippingTime": { + "MinimumHours": 10, + "MaximumHours": 30, + "AvailabilityType": "available", + "AvailableDate": "2020-07-13T19:42:04.284Z" + }, + "ListingPrice": { + "Amount": 23.0, + "CurrencyCode": "USD" + }, + "Points": { + "PointsNumber": 33333 + }, + "Shipping": { + "Amount": 110.0, + "CurrencyCode": "USD" + }, + "ShipsFrom": { + "Country": "USA", + "State": "MI" + }, + "IsFulfilledByAmazon": true, + "PrimeInformation": { + "IsOfferPrime": true, + "IsOfferNationalPrime": false + }, + "IsExpeditedShippingAvailable": true, + "IsFeaturedMerchant": true, + "ShipsDomestically": true, + "ShipsInternationally": true + } + ] + } + } + ], + "required": [ + "AnyOfferChangedNotification" + ], + "additionalProperties": true, + "properties": { + "AnyOfferChangedNotification": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification", + "type": "object", + "title": "The AnyOfferChangedNotification schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "SellerId": "A3TH9S8BH6GOGM", + "OfferChangeTrigger": { + "MarketplaceId": "ATVPDKIKX0DER", + "ASIN": "123", + "ItemCondition": "New", + "TimeOfOfferChange": "2020-07-13T19:42:04.284Z", + "OfferChangeType": "New" + }, + "Summary": { + "NumberOfOffers": [ + { + "Condition": "new", + "FulfillmentChannel": "Merchant", + "OfferCount": 10 + }, + { + "Condition": "old", + "FulfillmentChannel": "Amazon", + "OfferCount": 21 + } + ], + "LowestPrices": [ + { + "Condition": "new", + "FulfillmentChannel": "Merchant", + "LandedPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 0.0, + "CurrencyCode": "USD" + } + }, + { + "Condition": "old", + "FulfillmentChannel": "Amazon", + "LandedPrice": { + "Amount": 11.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 20.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 40.0, + "CurrencyCode": "USD" + }, + "Points": { + "PointsNumber": 34343 + } + } + ], + "BuyBoxPrices": [ + { + "Condition": "new", + "LandedPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 0.0, + "CurrencyCode": "USD" + } + }, + { + "Condition": "old", + "LandedPrice": { + "Amount": 11.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 20.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 40.0, + "CurrencyCode": "USD" + }, + "Points": { + "PointsNumber": 34343 + } + } + ], + "ListPrice": { + "Amount": 55.0, + "CurrencyCode": "USD" + }, + "MinimumAdvertisedPrice": { + "Amount": 66.0, + "CurrencyCode": "USD" + }, + "SuggestedLowerPricePlusShipping": { + "Amount": 77.0, + "CurrencyCode": "USD" + }, + "TotalBuyBoxEligibleOffers": 100, + "SalesRankings": [ + { + "ProductCategoryId": "1243", + "Rank": 1 + }, + { + "ProductCategoryId": "1234", + "Rank": 2 + } + ], + "NumberOfBuyBoxEligibleOffers": [ + { + "Condition": "new", + "FulfillmentChannel": "Merchant", + "OfferCount": 23 + }, + { + "Condition": "old", + "FulfillmentChannel": "Amazon", + "OfferCount": 54 + } + ], + "CompetitivePriceThreshold": { + "Amount": 22.0, + "CurrencyCode": "USD" + } + }, + "Offers": [ + { + "SellerId": "111", + "SubCondition": "New", + "SellerFeedbackRating": { + "FeedbackCount": 9, + "SellerPositiveFeedbackRating": 10 + }, + "ShippingTime": { + "MinimumHours": 10, + "MaximumHours": 30, + "AvailabilityType": "available", + "AvailableDate": "2020-07-13T19:42:04.284Z" + }, + "ListingPrice": { + "Amount": 23.0, + "CurrencyCode": "USD" + }, + "Points": { + "PointsNumber": 33333 + }, + "Shipping": { + "Amount": 110.0, + "CurrencyCode": "USD" + }, + "ShipsFrom": { + "Country": "USA", + "State": "MI" + }, + "IsFulfilledByAmazon": true, + "PrimeInformation": { + "IsOfferPrime": true, + "IsOfferNationalPrime": false + }, + "IsExpeditedShippingAvailable": true, + "IsFeaturedMerchant": true, + "ShipsDomestically": true, + "ShipsInternationally": true + } + ] + } + ], + "required": [ + "SellerId", + "OfferChangeTrigger", + "Summary", + "Offers" + ], + "additionalProperties": true, + "properties": { + "SellerId": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/SellerId", + "type": "string", + "title": "The SellerId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "A3TH9S8BH6GOGM" + ] + }, + "OfferChangeTrigger": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/OfferChangeTrigger", + "type": "object", + "title": "The OfferChangeTrigger schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "MarketplaceId": "ATVPDKIKX0DER", + "ASIN": "123", + "ItemCondition": "New", + "TimeOfOfferChange": "2020-07-13T19:42:04.284Z", + "OfferChangeType": "New" + } + ], + "required": [ + "MarketplaceId", + "ASIN", + "ItemCondition", + "TimeOfOfferChange", + "OfferChangeType" + ], + "additionalProperties": true, + "properties": { + "MarketplaceId": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/OfferChangeTrigger/properties/MarketplaceId", + "type": "string", + "title": "The MarketplaceId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "ATVPDKIKX0DER" + ] + }, + "ASIN": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/OfferChangeTrigger/properties/ASIN", + "type": "string", + "title": "The ASIN schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "123" + ] + }, + "ItemCondition": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/OfferChangeTrigger/properties/ItemCondition", + "type": "string", + "title": "The ItemCondition schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "New" + ] + }, + "TimeOfOfferChange": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/OfferChangeTrigger/properties/TimeOfOfferChange", + "type": "string", + "title": "The TimeOfOfferChange schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2020-07-13T19:42:04.284Z" + ] + }, + "OfferChangeType": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/OfferChangeTrigger/properties/OfferChangeType", + "type": "string", + "title": "The OfferChangeType schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "New" + ] + } + } + }, + "Summary": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary", + "type": "object", + "title": "The Summary schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "NumberOfOffers": [ + { + "Condition": "new", + "FulfillmentChannel": "Merchant", + "OfferCount": 10 + }, + { + "Condition": "old", + "FulfillmentChannel": "Amazon", + "OfferCount": 21 + } + ], + "LowestPrices": [ + { + "Condition": "new", + "FulfillmentChannel": "Merchant", + "LandedPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 0.0, + "CurrencyCode": "USD" + } + }, + { + "Condition": "old", + "FulfillmentChannel": "Amazon", + "LandedPrice": { + "Amount": 11.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 20.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 40.0, + "CurrencyCode": "USD" + }, + "Points": { + "PointsNumber": 34343 + } + } + ], + "BuyBoxPrices": [ + { + "Condition": "new", + "LandedPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 0.0, + "CurrencyCode": "USD" + } + }, + { + "Condition": "old", + "LandedPrice": { + "Amount": 11.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 20.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 40.0, + "CurrencyCode": "USD" + }, + "Points": { + "PointsNumber": 34343 + } + } + ], + "ListPrice": { + "Amount": 55.0, + "CurrencyCode": "USD" + }, + "MinimumAdvertisedPrice": { + "Amount": 66.0, + "CurrencyCode": "USD" + }, + "SuggestedLowerPricePlusShipping": { + "Amount": 77.0, + "CurrencyCode": "USD" + }, + "TotalBuyBoxEligibleOffers": 100, + "SalesRankings": [ + { + "ProductCategoryId": "1243", + "Rank": 1 + }, + { + "ProductCategoryId": "1234", + "Rank": 2 + } + ], + "NumberOfBuyBoxEligibleOffers": [ + { + "Condition": "new", + "FulfillmentChannel": "Merchant", + "OfferCount": 23 + }, + { + "Condition": "old", + "FulfillmentChannel": "Amazon", + "OfferCount": 54 + } + ], + "CompetitivePriceThreshold": { + "Amount": 22.0, + "CurrencyCode": "USD" + } + } + ], + "required": [ + "NumberOfOffers", + "LowestPrices", + "BuyBoxPrices", + "ListPrice", + "MinimumAdvertisedPrice", + "SuggestedLowerPricePlusShipping", + "TotalBuyBoxEligibleOffers", + "SalesRankings", + "NumberOfBuyBoxEligibleOffers", + "CompetitivePriceThreshold" + ], + "additionalProperties": true, + "properties": { + "NumberOfOffers": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/NumberOfOffers", + "type": "array", + "title": "The NumberOfOffers schema", + "description": "An explanation about the purpose of this instance.", + "default": [], + "examples": [ + [ + { + "Condition": "new", + "FulfillmentChannel": "Merchant", + "OfferCount": 10 + }, + { + "Condition": "old", + "FulfillmentChannel": "Amazon", + "OfferCount": 21 + } + ] + ], + "additionalItems": true, + "items": { + "anyOf": [ + { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/NumberOfOffers/items/anyOf/0", + "type": "object", + "title": "The first anyOf schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Condition": "new", + "FulfillmentChannel": "Merchant", + "OfferCount": 10 + } + ], + "required": [ + "Condition", + "FulfillmentChannel", + "OfferCount" + ], + "additionalProperties": true, + "properties": { + "Condition": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/NumberOfOffers/items/anyOf/0/properties/Condition", + "type": "string", + "title": "The Condition schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "new" + ] + }, + "FulfillmentChannel": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/NumberOfOffers/items/anyOf/0/properties/FulfillmentChannel", + "type": "string", + "title": "The FulfillmentChannel schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "Merchant" + ] + }, + "OfferCount": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/NumberOfOffers/items/anyOf/0/properties/OfferCount", + "type": "integer", + "title": "The OfferCount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 10 + ] + } + } + } + ], + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/NumberOfOffers/items" + } + }, + "LowestPrices": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices", + "type": "array", + "title": "The LowestPrices schema", + "description": "An explanation about the purpose of this instance.", + "default": [], + "examples": [ + [ + { + "Condition": "new", + "FulfillmentChannel": "Merchant", + "LandedPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 0.0, + "CurrencyCode": "USD" + } + }, + { + "Condition": "old", + "FulfillmentChannel": "Amazon", + "LandedPrice": { + "Amount": 11.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 20.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 40.0, + "CurrencyCode": "USD" + }, + "Points": { + "PointsNumber": 34343 + } + } + ] + ], + "additionalItems": true, + "items": { + "anyOf": [ + { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/0", + "type": "object", + "title": "The first anyOf schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Condition": "new", + "FulfillmentChannel": "Merchant", + "LandedPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 0.0, + "CurrencyCode": "USD" + } + } + ], + "required": [ + "Condition", + "FulfillmentChannel", + "LandedPrice", + "ListingPrice", + "Shipping" + ], + "additionalProperties": true, + "properties": { + "Condition": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/0/properties/Condition", + "type": "string", + "title": "The Condition schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "new" + ] + }, + "FulfillmentChannel": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/0/properties/FulfillmentChannel", + "type": "string", + "title": "The FulfillmentChannel schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "Merchant" + ] + }, + "LandedPrice": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/0/properties/LandedPrice", + "type": "object", + "title": "The LandedPrice schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 10.0, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "additionalProperties": true, + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/0/properties/LandedPrice/properties/Amount", + "type": "number", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0.0, + "examples": [ + 10.0 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/0/properties/LandedPrice/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + } + }, + "ListingPrice": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/0/properties/ListingPrice", + "type": "object", + "title": "The ListingPrice schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 10.0, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "additionalProperties": true, + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/0/properties/ListingPrice/properties/Amount", + "type": "number", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0.0, + "examples": [ + 10.0 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/0/properties/ListingPrice/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + } + }, + "Shipping": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/0/properties/Shipping", + "type": "object", + "title": "The Shipping schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 0.0, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "additionalProperties": true, + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/0/properties/Shipping/properties/Amount", + "type": "number", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0.0, + "examples": [ + 0.0 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/0/properties/Shipping/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + } + } + } + }, + { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/1", + "type": "object", + "title": "The second anyOf schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Condition": "old", + "FulfillmentChannel": "Amazon", + "LandedPrice": { + "Amount": 11.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 20.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 40.0, + "CurrencyCode": "USD" + }, + "Points": { + "PointsNumber": 34343 + } + } + ], + "required": [ + "Condition", + "FulfillmentChannel", + "LandedPrice", + "ListingPrice", + "Shipping", + "Points" + ], + "additionalProperties": true, + "properties": { + "Condition": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/1/properties/Condition", + "type": "string", + "title": "The Condition schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "old" + ] + }, + "FulfillmentChannel": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/1/properties/FulfillmentChannel", + "type": "string", + "title": "The FulfillmentChannel schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "Amazon" + ] + }, + "LandedPrice": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/1/properties/LandedPrice", + "type": "object", + "title": "The LandedPrice schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 11.0, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "additionalProperties": true, + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/1/properties/LandedPrice/properties/Amount", + "type": "number", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0.0, + "examples": [ + 11.0 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/1/properties/LandedPrice/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + } + }, + "ListingPrice": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/1/properties/ListingPrice", + "type": "object", + "title": "The ListingPrice schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 20.0, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "additionalProperties": true, + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/1/properties/ListingPrice/properties/Amount", + "type": "number", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0.0, + "examples": [ + 20.0 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/1/properties/ListingPrice/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + } + }, + "Shipping": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/1/properties/Shipping", + "type": "object", + "title": "The Shipping schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 40.0, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "additionalProperties": true, + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/1/properties/Shipping/properties/Amount", + "type": "number", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0.0, + "examples": [ + 40.0 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/1/properties/Shipping/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + } + }, + "Points": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/1/properties/Points", + "type": "object", + "title": "The Points schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "PointsNumber": 34343 + } + ], + "required": [ + "PointsNumber" + ], + "additionalProperties": true, + "properties": { + "PointsNumber": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/1/properties/Points/properties/PointsNumber", + "type": "integer", + "title": "The PointsNumber schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 34343 + ] + } + } + } + } + } + ], + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items" + } + }, + "BuyBoxPrices": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices", + "type": "array", + "title": "The BuyBoxPrices schema", + "description": "An explanation about the purpose of this instance.", + "default": [], + "examples": [ + [ + { + "Condition": "new", + "LandedPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 0.0, + "CurrencyCode": "USD" + } + }, + { + "Condition": "old", + "LandedPrice": { + "Amount": 11.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 20.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 40.0, + "CurrencyCode": "USD" + }, + "Points": { + "PointsNumber": 34343 + } + } + ] + ], + "additionalItems": true, + "items": { + "anyOf": [ + { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/0", + "type": "object", + "title": "The first anyOf schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Condition": "new", + "LandedPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 10.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 0.0, + "CurrencyCode": "USD" + } + } + ], + "required": [ + "Condition", + "LandedPrice", + "ListingPrice", + "Shipping" + ], + "additionalProperties": true, + "properties": { + "Condition": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/0/properties/Condition", + "type": "string", + "title": "The Condition schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "new" + ] + }, + "LandedPrice": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/0/properties/LandedPrice", + "type": "object", + "title": "The LandedPrice schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 10.0, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "additionalProperties": true, + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/0/properties/LandedPrice/properties/Amount", + "type": "number", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0.0, + "examples": [ + 10.0 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/0/properties/LandedPrice/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + } + }, + "ListingPrice": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/0/properties/ListingPrice", + "type": "object", + "title": "The ListingPrice schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 10.0, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "additionalProperties": true, + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/0/properties/ListingPrice/properties/Amount", + "type": "number", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0.0, + "examples": [ + 10.0 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/0/properties/ListingPrice/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + } + }, + "Shipping": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/0/properties/Shipping", + "type": "object", + "title": "The Shipping schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 0.0, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "additionalProperties": true, + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/0/properties/Shipping/properties/Amount", + "type": "number", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0.0, + "examples": [ + 0.0 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/0/properties/Shipping/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + } + } + } + }, + { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/1", + "type": "object", + "title": "The second anyOf schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Condition": "old", + "LandedPrice": { + "Amount": 11.0, + "CurrencyCode": "USD" + }, + "ListingPrice": { + "Amount": 20.0, + "CurrencyCode": "USD" + }, + "Shipping": { + "Amount": 40.0, + "CurrencyCode": "USD" + }, + "Points": { + "PointsNumber": 34343 + } + } + ], + "required": [ + "Condition", + "LandedPrice", + "ListingPrice", + "Shipping", + "Points" + ], + "additionalProperties": true, + "properties": { + "Condition": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/1/properties/Condition", + "type": "string", + "title": "The Condition schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "old" + ] + }, + "LandedPrice": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/1/properties/LandedPrice", + "type": "object", + "title": "The LandedPrice schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 11.0, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "additionalProperties": true, + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/1/properties/LandedPrice/properties/Amount", + "type": "number", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0.0, + "examples": [ + 11.0 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/1/properties/LandedPrice/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + } + }, + "ListingPrice": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/1/properties/ListingPrice", + "type": "object", + "title": "The ListingPrice schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 20.0, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "additionalProperties": true, + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/1/properties/ListingPrice/properties/Amount", + "type": "number", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0.0, + "examples": [ + 20.0 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/1/properties/ListingPrice/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + } + }, + "Shipping": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/1/properties/Shipping", + "type": "object", + "title": "The Shipping schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 40.0, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "additionalProperties": true, + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/1/properties/Shipping/properties/Amount", + "type": "number", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0.0, + "examples": [ + 40.0 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/1/properties/Shipping/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + } + }, + "Points": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/1/properties/Points", + "type": "object", + "title": "The Points schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "PointsNumber": 34343 + } + ], + "required": [ + "PointsNumber" + ], + "additionalProperties": true, + "properties": { + "PointsNumber": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/1/properties/Points/properties/PointsNumber", + "type": "integer", + "title": "The PointsNumber schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 34343 + ] + } + } + } + } + } + ], + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items" + } + }, + "ListPrice": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/ListPrice", + "type": "object", + "title": "The ListPrice schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 55.0, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "additionalProperties": true, + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/ListPrice/properties/Amount", + "type": "number", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0.0, + "examples": [ + 55.0 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/ListPrice/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + } + }, + "MinimumAdvertisedPrice": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/MinimumAdvertisedPrice", + "type": "object", + "title": "The MinimumAdvertisedPrice schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 66.0, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "additionalProperties": true, + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/MinimumAdvertisedPrice/properties/Amount", + "type": "number", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0.0, + "examples": [ + 66.0 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/MinimumAdvertisedPrice/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + } + }, + "SuggestedLowerPricePlusShipping": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/SuggestedLowerPricePlusShipping", + "type": "object", + "title": "The SuggestedLowerPricePlusShipping schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 77.0, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "additionalProperties": true, + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/SuggestedLowerPricePlusShipping/properties/Amount", + "type": "number", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0.0, + "examples": [ + 77.0 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/SuggestedLowerPricePlusShipping/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + } + }, + "TotalBuyBoxEligibleOffers": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/TotalBuyBoxEligibleOffers", + "type": "integer", + "title": "The TotalBuyBoxEligibleOffers schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 100 + ] + }, + "SalesRankings": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/SalesRankings", + "type": "array", + "title": "The SalesRankings schema", + "description": "An explanation about the purpose of this instance.", + "default": [], + "examples": [ + [ + { + "ProductCategoryId": "1243", + "Rank": 1 + }, + { + "ProductCategoryId": "1234", + "Rank": 2 + } + ] + ], + "additionalItems": true, + "items": { + "anyOf": [ + { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/SalesRankings/items/anyOf/0", + "type": "object", + "title": "The first anyOf schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "ProductCategoryId": "1243", + "Rank": 1 + } + ], + "required": [ + "ProductCategoryId", + "Rank" + ], + "additionalProperties": true, + "properties": { + "ProductCategoryId": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/SalesRankings/items/anyOf/0/properties/ProductCategoryId", + "type": "string", + "title": "The ProductCategoryId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "1243" + ] + }, + "Rank": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/SalesRankings/items/anyOf/0/properties/Rank", + "type": "integer", + "title": "The Rank schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 1 + ] + } + } + } + ], + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/SalesRankings/items" + } + }, + "NumberOfBuyBoxEligibleOffers": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/NumberOfBuyBoxEligibleOffers", + "type": "array", + "title": "The NumberOfBuyBoxEligibleOffers schema", + "description": "An explanation about the purpose of this instance.", + "default": [], + "examples": [ + [ + { + "Condition": "new", + "FulfillmentChannel": "Merchant", + "OfferCount": 23 + }, + { + "Condition": "old", + "FulfillmentChannel": "Amazon", + "OfferCount": 54 + } + ] + ], + "additionalItems": true, + "items": { + "anyOf": [ + { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/NumberOfBuyBoxEligibleOffers/items/anyOf/0", + "type": "object", + "title": "The first anyOf schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Condition": "new", + "FulfillmentChannel": "Merchant", + "OfferCount": 23 + } + ], + "required": [ + "Condition", + "FulfillmentChannel", + "OfferCount" + ], + "additionalProperties": true, + "properties": { + "Condition": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/NumberOfBuyBoxEligibleOffers/items/anyOf/0/properties/Condition", + "type": "string", + "title": "The Condition schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "new" + ] + }, + "FulfillmentChannel": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/NumberOfBuyBoxEligibleOffers/items/anyOf/0/properties/FulfillmentChannel", + "type": "string", + "title": "The FulfillmentChannel schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "Merchant" + ] + }, + "OfferCount": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/NumberOfBuyBoxEligibleOffers/items/anyOf/0/properties/OfferCount", + "type": "integer", + "title": "The OfferCount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 23 + ] + } + } + } + ], + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/NumberOfBuyBoxEligibleOffers/items" + } + }, + "CompetitivePriceThreshold": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/CompetitivePriceThreshold", + "type": "object", + "title": "The CompetitivePriceThreshold schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 22.0, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "additionalProperties": true, + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/CompetitivePriceThreshold/properties/Amount", + "type": "number", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0.0, + "examples": [ + 22.0 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/CompetitivePriceThreshold/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + } + } + } + }, + "Offers": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers", + "type": "array", + "title": "The Offers schema", + "description": "An explanation about the purpose of this instance.", + "default": [], + "examples": [ + [ + { + "SellerId": "111", + "SubCondition": "New", + "SellerFeedbackRating": { + "FeedbackCount": 9, + "SellerPositiveFeedbackRating": 10 + }, + "ShippingTime": { + "MinimumHours": 10, + "MaximumHours": 30, + "AvailabilityType": "available", + "AvailableDate": "2020-07-13T19:42:04.284Z" + }, + "ListingPrice": { + "Amount": 23.0, + "CurrencyCode": "USD" + }, + "Points": { + "PointsNumber": 33333 + }, + "Shipping": { + "Amount": 110.0, + "CurrencyCode": "USD" + }, + "ShipsFrom": { + "Country": "USA", + "State": "MI" + }, + "IsFulfilledByAmazon": true, + "PrimeInformation": { + "IsOfferPrime": true, + "IsOfferNationalPrime": false + }, + "IsExpeditedShippingAvailable": true, + "IsFeaturedMerchant": true, + "ShipsDomestically": true, + "ShipsInternationally": true + } + ] + ], + "additionalItems": true, + "items": { + "anyOf": [ + { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0", + "type": "object", + "title": "The first anyOf schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "SellerId": "111", + "SubCondition": "New", + "SellerFeedbackRating": { + "FeedbackCount": 9, + "SellerPositiveFeedbackRating": 10 + }, + "ShippingTime": { + "MinimumHours": 10, + "MaximumHours": 30, + "AvailabilityType": "available", + "AvailableDate": "2020-07-13T19:42:04.284Z" + }, + "ListingPrice": { + "Amount": 23.0, + "CurrencyCode": "USD" + }, + "Points": { + "PointsNumber": 33333 + }, + "Shipping": { + "Amount": 110.0, + "CurrencyCode": "USD" + }, + "ShipsFrom": { + "Country": "USA", + "State": "MI" + }, + "IsFulfilledByAmazon": true, + "PrimeInformation": { + "IsOfferPrime": true, + "IsOfferNationalPrime": false + }, + "IsExpeditedShippingAvailable": true, + "IsFeaturedMerchant": true, + "ShipsDomestically": true, + "ShipsInternationally": true + } + ], + "required": [ + "SellerId", + "SubCondition", + "SellerFeedbackRating", + "ShippingTime", + "ListingPrice", + "Points", + "Shipping", + "ShipsFrom", + "IsFulfilledByAmazon", + "PrimeInformation", + "IsExpeditedShippingAvailable", + "IsFeaturedMerchant", + "ShipsDomestically", + "ShipsInternationally" + ], + "additionalProperties": true, + "properties": { + "SellerId": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/SellerId", + "type": "string", + "title": "The SellerId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "111" + ] + }, + "SubCondition": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/SubCondition", + "type": "string", + "title": "The SubCondition schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "New" + ] + }, + "SellerFeedbackRating": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/SellerFeedbackRating", + "type": "object", + "title": "The SellerFeedbackRating schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "FeedbackCount": 9, + "SellerPositiveFeedbackRating": 10 + } + ], + "required": [ + "FeedbackCount", + "SellerPositiveFeedbackRating" + ], + "additionalProperties": true, + "properties": { + "FeedbackCount": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/SellerFeedbackRating/properties/FeedbackCount", + "type": "integer", + "title": "The FeedbackCount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 9 + ] + }, + "SellerPositiveFeedbackRating": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/SellerFeedbackRating/properties/SellerPositiveFeedbackRating", + "type": "integer", + "title": "The SellerPositiveFeedbackRating schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 10 + ] + } + } + }, + "ShippingTime": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/ShippingTime", + "type": "object", + "title": "The ShippingTime schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "MinimumHours": 10, + "MaximumHours": 30, + "AvailabilityType": "available", + "AvailableDate": "2020-07-13T19:42:04.284Z" + } + ], + "required": [ + "MinimumHours", + "MaximumHours", + "AvailabilityType", + "AvailableDate" + ], + "additionalProperties": true, + "properties": { + "MinimumHours": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/ShippingTime/properties/MinimumHours", + "type": "integer", + "title": "The MinimumHours schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 10 + ] + }, + "MaximumHours": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/ShippingTime/properties/MaximumHours", + "type": "integer", + "title": "The MaximumHours schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 30 + ] + }, + "AvailabilityType": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/ShippingTime/properties/AvailabilityType", + "type": "string", + "title": "The AvailabilityType schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "available" + ] + }, + "AvailableDate": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/ShippingTime/properties/AvailableDate", + "type": "string", + "title": "The AvailableDate schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2020-07-13T19:42:04.284Z" + ] + } + } + }, + "ListingPrice": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/ListingPrice", + "type": "object", + "title": "The ListingPrice schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 23.0, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "additionalProperties": true, + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/ListingPrice/properties/Amount", + "type": "number", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0.0, + "examples": [ + 23.0 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/ListingPrice/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + } + }, + "Points": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/Points", + "type": "object", + "title": "The Points schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "PointsNumber": 33333 + } + ], + "required": [ + "PointsNumber" + ], + "additionalProperties": true, + "properties": { + "PointsNumber": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/Points/properties/PointsNumber", + "type": "integer", + "title": "The PointsNumber schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 33333 + ] + } + } + }, + "Shipping": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/Shipping", + "type": "object", + "title": "The Shipping schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 110.0, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "additionalProperties": true, + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/Shipping/properties/Amount", + "type": "number", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0.0, + "examples": [ + 110.0 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/Shipping/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + } + }, + "ShipsFrom": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/ShipsFrom", + "type": "object", + "title": "The ShipsFrom schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Country": "USA", + "State": "MI" + } + ], + "required": [ + "Country", + "State" + ], + "additionalProperties": true, + "properties": { + "Country": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/ShipsFrom/properties/Country", + "type": "string", + "title": "The Country schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USA" + ] + }, + "State": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/ShipsFrom/properties/State", + "type": "string", + "title": "The State schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "MI" + ] + } + } + }, + "IsFulfilledByAmazon": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/IsFulfilledByAmazon", + "type": "boolean", + "title": "The IsFulfilledByAmazon schema", + "description": "An explanation about the purpose of this instance.", + "default": false, + "examples": [ + true + ] + }, + "PrimeInformation": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/PrimeInformation", + "type": "object", + "title": "The PrimeInformation schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "IsOfferPrime": true, + "IsOfferNationalPrime": false + } + ], + "required": [ + "IsOfferPrime", + "IsOfferNationalPrime" + ], + "additionalProperties": true, + "properties": { + "IsOfferPrime": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/PrimeInformation/properties/IsOfferPrime", + "type": "boolean", + "title": "The IsOfferPrime schema", + "description": "An explanation about the purpose of this instance.", + "default": false, + "examples": [ + true + ] + }, + "IsOfferNationalPrime": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/PrimeInformation/properties/IsOfferNationalPrime", + "type": "boolean", + "title": "The IsOfferNationalPrime schema", + "description": "An explanation about the purpose of this instance.", + "default": false, + "examples": [ + false + ] + } + } + }, + "IsExpeditedShippingAvailable": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/IsExpeditedShippingAvailable", + "type": "boolean", + "title": "The IsExpeditedShippingAvailable schema", + "description": "An explanation about the purpose of this instance.", + "default": false, + "examples": [ + true + ] + }, + "IsFeaturedMerchant": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/IsFeaturedMerchant", + "type": "boolean", + "title": "The IsFeaturedMerchant schema", + "description": "An explanation about the purpose of this instance.", + "default": false, + "examples": [ + true + ] + }, + "ShipsDomestically": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/ShipsDomestically", + "type": "boolean", + "title": "The ShipsDomestically schema", + "description": "An explanation about the purpose of this instance.", + "default": false, + "examples": [ + true + ] + }, + "ShipsInternationally": { + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items/anyOf/0/properties/ShipsInternationally", + "type": "boolean", + "title": "The ShipsInternationally schema", + "description": "An explanation about the purpose of this instance.", + "default": false, + "examples": [ + true + ] + } + } + } + ], + "$id": "#/properties/Payload/properties/AnyOfferChangedNotification/properties/Offers/items" + } + } + } + } + } + } + } +} \ No newline at end of file diff --git a/schemas/notifications/BrandedItemContentChangeNotification.json b/schemas/notifications/BrandedItemContentChangeNotification.json new file mode 100644 index 0000000..f14d93c --- /dev/null +++ b/schemas/notifications/BrandedItemContentChangeNotification.json @@ -0,0 +1,249 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "http://example.com/example.json", + "type": "object", + "title": "The root schema", + "description": "The root schema comprises the entire JSON document.", + "default": {}, + "examples": [ + { + "NotificationVersion": "1.0", + "NotificationType": "BRANDED_ITEM_CONTENT_CHANGE", + "PayloadVersion": "1.0", + "EventTime": "2019-03-20T18:59:30.194Z", + "Payload": { + "MarketplaceId": "ATVPDKIKX0DER", + "BrandName": "Great Brand", + "Asin": "B1234567", + "AttributesChanged": [ + "bullet_point", + "item_name", + "product_description", + "main_product_image_locator", + "other_product_image_locator_1", + "other_product_image_locator_2", + "other_product_image_locator_3", + "other_product_image_locator_4", + "other_product_image_locator_5", + "other_product_image_locator_6", + "other_product_image_locator_7", + "other_product_image_locator_8", + "swatch_product_image_locator" + ] + }, + "NotificationMetadata": { + "ApplicationId": "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5", + "SubscriptionId": "93b098e1-c42-2f45-93a1-78910a6a8369", + "PublishTime": "2019-03-20T18:59:48.768Z", + "NotificationId": "8e009934-da2c-4f9c-9bc7-93f23b7e1f60" + } + } + ], + "required": [ + "NotificationVersion", + "NotificationType", + "PayloadVersion", + "EventTime", + "Payload", + "NotificationMetadata" + ], + "properties": { + "NotificationVersion": { + "$id": "#/properties/NotificationVersion", + "type": "string", + "title": "The NotificationVersion schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "1.0" + ] + }, + "NotificationType": { + "$id": "#/properties/NotificationType", + "type": "string", + "title": "The NotificationType schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "BRANDED_ITEM_CONTENT_CHANGE" + ] + }, + "PayloadVersion": { + "$id": "#/properties/PayloadVersion", + "type": "string", + "title": "The PayloadVersion schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "1.0" + ] + }, + "EventTime": { + "$id": "#/properties/EventTime", + "type": "string", + "title": "The EventTime schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2019-03-20T18:59:30.194Z" + ] + }, + "Payload": { + "$id": "#/properties/Payload", + "type": "object", + "title": "The Payload schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "MarketplaceId": "ATVPDKIKX0DER", + "BrandName": "Great Brand", + "Asin": "B1234567", + "AttributesChanged": [ + "bullet_point", + "item_name", + "product_description", + "main_product_image_locator", + "other_product_image_locator_1", + "other_product_image_locator_2", + "other_product_image_locator_3", + "other_product_image_locator_4", + "other_product_image_locator_5", + "other_product_image_locator_6", + "other_product_image_locator_7", + "other_product_image_locator_8", + "swatch_product_image_locator" + ] + } + ], + "required": [ + "MarketplaceId", + "BrandName", + "Asin", + "AttributesChanged" + ], + "properties": { + "MarketplaceId": { + "$id": "#/properties/Payload/properties/MarketplaceId", + "type": "string", + "title": "The MarketplaceId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "ATVPDKIKX0DER" + ] + }, + "BrandName": { + "$id": "#/properties/Payload/properties/BrandName", + "type": "string", + "title": "The BrandName schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "Great Brand" + ] + }, + "Asin": { + "$id": "#/properties/Payload/properties/Asin", + "type": "string", + "title": "The Asin schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "B1234567" + ] + }, + "AttributesChanged": { + "$id": "#/properties/Payload/properties/AttributesChanged", + "type": "array", + "items": { + "type": "string" + }, + "title": "Changed item attributes", + "description": "The array of item attributes which changed. Possible values include bullet_point, item_name, product_description, and image-related attributes shown in the examples. NOTE: the attributes that contain the word 'image' all mean the same thing right now, which is that one or more images changed on the product detail page. In a future release we may update them to mean that individual image attribute changed, but for now if any image changes all the image attributes will be present in the notification. Attribute names, descriptions, and requirements are available in the Product Type Definitions API.", + "examples": [ + ["bullet_point", "item_name", "product_description"], + [ + "main_product_image_locator", + "other_product_image_locator_1", + "other_product_image_locator_2", + "other_product_image_locator_3", + "other_product_image_locator_4", + "other_product_image_locator_5", + "other_product_image_locator_6", + "other_product_image_locator_7", + "other_product_image_locator_8", + "swatch_product_image_locator" + ] + ] + } + }, + "additionalProperties": true + }, + "NotificationMetadata": { + "$id": "#/properties/NotificationMetadata", + "type": "object", + "title": "The NotificationMetadata schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "ApplicationId": "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5", + "SubscriptionId": "93b098e1-c42-2f45-93a1-78910a6a8369", + "PublishTime": "2019-03-20T18:59:48.768Z", + "NotificationId": "8e009934-da2c-4f9c-9bc7-93f23b7e1f60" + } + ], + "required": [ + "ApplicationId", + "SubscriptionId", + "PublishTime", + "NotificationId" + ], + "properties": { + "ApplicationId": { + "$id": "#/properties/NotificationMetadata/properties/ApplicationId", + "type": "string", + "title": "The ApplicationId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5" + ] + }, + "SubscriptionId": { + "$id": "#/properties/NotificationMetadata/properties/SubscriptionId", + "type": "string", + "title": "The SubscriptionId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "93b098e1-c42-2f45-93a1-78910a6a8369" + ] + }, + "PublishTime": { + "$id": "#/properties/NotificationMetadata/properties/PublishTime", + "type": "string", + "title": "The PublishTime schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2019-03-20T18:59:48.768Z" + ] + }, + "NotificationId": { + "$id": "#/properties/NotificationMetadata/properties/NotificationId", + "type": "string", + "title": "The NotificationId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "8e009934-da2c-4f9c-9bc7-93f23b7e1f60" + ] + } + }, + "additionalProperties": true + } + }, + "additionalProperties": true +} \ No newline at end of file diff --git a/schemas/notifications/FBAOutboundShipmentStatusNotification.json b/schemas/notifications/FBAOutboundShipmentStatusNotification.json new file mode 100644 index 0000000..7f26010 --- /dev/null +++ b/schemas/notifications/FBAOutboundShipmentStatusNotification.json @@ -0,0 +1,120 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "http://example.com/example.json", + "type": "object", + "description": "The root schema comprises the entire JSON document.", + "examples": [ + { + "NotificationVersion": "1.0", + "NotificationType": "FBA_OUTBOUND_SHIPMENT_STATUS", + "PayloadVersion": "1.0", + "EventTime": "2020-01-11T00:09:53.109Z", + "Payload": { + "FBAOutboundShipmentStatusNotification": { + "SellerId": "merchantId", + "AmazonOrderId": "113-2646096-4474645", + "AmazonShipmentId": "DrLqQwqvb", + "ShipmentStatus": "Created" + } + }, + "NotificationMetadata": { + "ApplicationId": "appId", + "SubscriptionId": "subId", + "PublishTime": "2020-01-11T00:02:50.501Z", + "NotificationId": "requestId" + } + } + ], + "required": [ + "NotificationVersion", + "NotificationType", + "PayloadVersion", + "EventTime", + "NotificationMetadata", + "Payload" + ], + "additionalProperties": true, + "properties": { + "NotificationVersion": { + "$id": "#/properties/NotificationVersion", + "type": "string" + }, + "NotificationType": { + "$id": "#/properties/NotificationType", + "type": "string" + }, + "PayloadVersion": { + "$id": "#/properties/PayloadVersion", + "type": "string" + }, + "EventTime": { + "$id": "#/properties/EventTime", + "type": "string" + }, + "NotificationMetadata": { + "$id": "#/properties/NotificationMetadata", + "type": "object", + "required": [ + "ApplicationId", + "SubscriptionId", + "PublishTime", + "NotificationId" + ], + "properties": { + "ApplicationId": { + "$id": "#/properties/NotificationMetadata/properties/ApplicationId", + "type": "string" + }, + "SubscriptionId": { + "$id": "#/properties/NotificationMetadata/properties/SubscriptionId", + "type": "string" + }, + "PublishTime": { + "$id": "#/properties/NotificationMetadata/properties/PublishTime", + "type": "string" + }, + "NotificationId": { + "$id": "#/properties/NotificationMetadata/properties/NotificationId", + "type": "string" + } + } + }, + "Payload": { + "$id": "#/properties/Payload", + "type": "object", + "required": [ + "FBAOutboundShipmentStatusNotification" + ], + "properties": { + "FBAOutboundShipmentStatusNotification": { + "$id": "#/properties/Payload/properties/FBAOutboundShipmentStatusNotification", + "type": "object", + "required": [ + "SellerId", + "AmazonOrderId", + "AmazonShipmentId", + "ShipmentStatus" + ], + "properties": { + "SellerId": { + "$id": "#/properties/Payload/properties/FBAOutboundShipmentStatusNotification/properties/SellerId", + "type": "string" + }, + "AmazonOrderId": { + "$id": "#/properties/Payload/properties/FBAOutboundShipmentStatusNotification/properties/AmazonOrderId", + "type": "string" + }, + "AmazonShipmentId": { + "$id": "#/properties/Payload/properties/FBAOutboundShipmentStatusNotification/properties/AmazonShipmentId", + "type": "string" + }, + "ShipmentStatus": { + "$id": "#/properties/Payload/properties/FBAOutboundShipmentStatusNotification/properties/ShipmentStatus", + "type": "string" + } + } + } + } + } + } +} \ No newline at end of file diff --git a/schemas/notifications/FeePromotionNotification.json b/schemas/notifications/FeePromotionNotification.json new file mode 100644 index 0000000..e770ba6 --- /dev/null +++ b/schemas/notifications/FeePromotionNotification.json @@ -0,0 +1,2772 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "http://example.com/example.json", + "type": "object", + "title": "The root schema", + "description": "The root schema comprises the entire JSON document.", + "default": {}, + "examples": [ + { + "NotificationVersion": "1.0", + "NotificationType": "FEE_PROMOTION", + "PayloadVersion": "1.0", + "EventTime": "2020-07-13T19:42:04.284Z", + "NotificationMetadata": { + "ApplicationId": "app-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "SubscriptionId": "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "PublishTime": "2020-07-13T19:42:04.284Z", + "NotificationId": "d0e9e693-c3ad-4373-979f-ed4ec98dd746" + }, + "Payload": { + "FeePromotionNotification": { + "MerchantId": "AJH434853485", + "MarketplaceId": "ATIV93840DER", + "FeePromotionType": "TYPE", + "FeePromotionTypeDescription": "Fee promotion type description", + "PromotionActiveTimeRange": { + "EffectiveFromDate": "2020-07-13T19:42:04.284Z", + "EffectiveThroughDate": "2020-07-13T19:42:04.284Z" + }, + "Identifiers": [ + { + "IdentifierType": "identifierType", + "IdentifierValues": [ + { + "IdentifierValueId": "identifierValueId1", + "IdentifierValueFriendlyName": "identifierValueFriendlyName1" + }, + { + "IdentifierValueId": "identifierValueId2", + "IdentifierValueFriendlyName": "identifierValueFriendlyName2" + } + ] + }, + { + "IdentifierType": "identifierType", + "IdentifierValues": [ + { + "IdentifierValueId": "identifierValueId1", + "IdentifierValueFriendlyName": "identifierValueFriendlyName1" + }, + { + "IdentifierValueId": "identifierValueId2", + "IdentifierValueFriendlyName": "identifierValueFriendlyName2" + } + ] + } + ], + "PromotionInformation": [ + { + "FeeType": "FeeType", + "FeeDiscountType": "FeeDiscountType", + "FeeDiscountValue": 10.3, + "PriceThreshold": { + "Amount": 60, + "CurrencyCode": "USD" + }, + "FeeDiscountMonetaryAmount": { + "Amount": 70, + "CurrencyCode": "USD" + }, + "FeesEstimate": { + "TimeOfFeesEstimated": "2020-07-13T19:42:04.284Z", + "TotalFeesEstimate": { + "Amount": 90, + "CurrencyCode": "USD" + }, + "FeeDetails": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + }, + "IncludedFees": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + }, + "IncludedFees": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + } + ] + } + }, + { + "FeeType": "FeeType", + "FeeDiscountType": "FeeDiscountType", + "FeeDiscountValue": 10.3, + "PriceThreshold": { + "Amount": 60, + "CurrencyCode": "USD" + }, + "FeeDiscountMonetaryAmount": { + "Amount": 70, + "CurrencyCode": "USD" + }, + "FeesEstimate": { + "TimeOfFeesEstimated": "2020-07-13T19:42:04.284Z", + "TotalFeesEstimate": { + "Amount": 90, + "CurrencyCode": "USD" + }, + "FeeDetails": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + }, + "IncludedFees": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + }, + "IncludedFees": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + } + ] + } + } + ] + } + } + } + ], + "required": [ + "NotificationVersion", + "NotificationType", + "PayloadVersion", + "EventTime", + "NotificationMetadata", + "Payload" + ], + "properties": { + "NotificationVersion": { + "$id": "#/properties/NotificationVersion", + "type": "string", + "title": "The NotificationVersion schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "1.0" + ] + }, + "NotificationType": { + "$id": "#/properties/NotificationType", + "type": "string", + "title": "The NotificationType schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "FEE_PROMOTION" + ] + }, + "PayloadVersion": { + "$id": "#/properties/PayloadVersion", + "type": "string", + "title": "The PayloadVersion schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "1.0" + ] + }, + "EventTime": { + "$id": "#/properties/EventTime", + "type": "string", + "title": "The EventTime schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2020-07-13T19:42:04.284Z" + ] + }, + "NotificationMetadata": { + "$id": "#/properties/NotificationMetadata", + "type": "object", + "title": "The NotificationMetadata schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "ApplicationId": "app-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "SubscriptionId": "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "PublishTime": "2020-07-13T19:42:04.284Z", + "NotificationId": "d0e9e693-c3ad-4373-979f-ed4ec98dd746" + } + ], + "required": [ + "ApplicationId", + "SubscriptionId", + "PublishTime", + "NotificationId" + ], + "properties": { + "ApplicationId": { + "$id": "#/properties/NotificationMetadata/properties/ApplicationId", + "type": "string", + "title": "The ApplicationId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "app-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746" + ] + }, + "SubscriptionId": { + "$id": "#/properties/NotificationMetadata/properties/SubscriptionId", + "type": "string", + "title": "The SubscriptionId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746" + ] + }, + "PublishTime": { + "$id": "#/properties/NotificationMetadata/properties/PublishTime", + "type": "string", + "title": "The PublishTime schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2020-07-13T19:42:04.284Z" + ] + }, + "NotificationId": { + "$id": "#/properties/NotificationMetadata/properties/NotificationId", + "type": "string", + "title": "The NotificationId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "d0e9e693-c3ad-4373-979f-ed4ec98dd746" + ] + } + }, + "additionalProperties": true + }, + "Payload": { + "$id": "#/properties/Payload", + "type": "object", + "title": "The Payload schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "FeePromotionNotification": { + "MerchantId": "AJH434853485", + "MarketplaceId": "ATIV93840DER", + "FeePromotionType": "TYPE", + "FeePromotionTypeDescription": "Fee promotion type description", + "PromotionActiveTimeRange": { + "EffectiveFromDate": "2020-07-13T19:42:04.284Z", + "EffectiveThroughDate": "2020-07-13T19:42:04.284Z" + }, + "Identifiers": [ + { + "IdentifierType": "identifierType", + "IdentifierValues": [ + { + "IdentifierValueId": "identifierValueId1", + "IdentifierValueFriendlyName": "identifierValueFriendlyName1" + }, + { + "IdentifierValueId": "identifierValueId2", + "IdentifierValueFriendlyName": "identifierValueFriendlyName2" + } + ] + }, + { + "IdentifierType": "identifierType", + "IdentifierValues": [ + { + "IdentifierValueId": "identifierValueId1", + "IdentifierValueFriendlyName": "identifierValueFriendlyName1" + }, + { + "IdentifierValueId": "identifierValueId2", + "IdentifierValueFriendlyName": "identifierValueFriendlyName2" + } + ] + } + ], + "PromotionInformation": [ + { + "FeeType": "FeeType", + "FeeDiscountType": "FeeDiscountType", + "FeeDiscountValue": 10.3, + "PriceThreshold": { + "Amount": 60, + "CurrencyCode": "USD" + }, + "FeeDiscountMonetaryAmount": { + "Amount": 70, + "CurrencyCode": "USD" + }, + "FeesEstimate": { + "TimeOfFeesEstimated": "2020-07-13T19:42:04.284Z", + "TotalFeesEstimate": { + "Amount": 90, + "CurrencyCode": "USD" + }, + "FeeDetails": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + }, + "IncludedFees": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + }, + "IncludedFees": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + } + ] + } + }, + { + "FeeType": "FeeType", + "FeeDiscountType": "FeeDiscountType", + "FeeDiscountValue": 10.3, + "PriceThreshold": { + "Amount": 60, + "CurrencyCode": "USD" + }, + "FeeDiscountMonetaryAmount": { + "Amount": 70, + "CurrencyCode": "USD" + }, + "FeesEstimate": { + "TimeOfFeesEstimated": "2020-07-13T19:42:04.284Z", + "TotalFeesEstimate": { + "Amount": 90, + "CurrencyCode": "USD" + }, + "FeeDetails": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + }, + "IncludedFees": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + }, + "IncludedFees": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + } + ] + } + } + ] + } + } + ], + "required": [ + "FeePromotionNotification" + ], + "properties": { + "FeePromotionNotification": { + "$id": "#/properties/Payload/properties/FeePromotionNotification", + "type": "object", + "title": "The FeePromotionNotification schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "MerchantId": "AJH434853485", + "MarketplaceId": "ATIV93840DER", + "FeePromotionType": "TYPE", + "FeePromotionTypeDescription": "Fee promotion type description", + "PromotionActiveTimeRange": { + "EffectiveFromDate": "2020-07-13T19:42:04.284Z", + "EffectiveThroughDate": "2020-07-13T19:42:04.284Z" + }, + "Identifiers": [ + { + "IdentifierType": "identifierType", + "IdentifierValues": [ + { + "IdentifierValueId": "identifierValueId1", + "IdentifierValueFriendlyName": "identifierValueFriendlyName1" + }, + { + "IdentifierValueId": "identifierValueId2", + "IdentifierValueFriendlyName": "identifierValueFriendlyName2" + } + ] + }, + { + "IdentifierType": "identifierType", + "IdentifierValues": [ + { + "IdentifierValueId": "identifierValueId1", + "IdentifierValueFriendlyName": "identifierValueFriendlyName1" + }, + { + "IdentifierValueId": "identifierValueId2", + "IdentifierValueFriendlyName": "identifierValueFriendlyName2" + } + ] + } + ], + "PromotionInformation": [ + { + "FeeType": "FeeType", + "FeeDiscountType": "FeeDiscountType", + "FeeDiscountValue": 10.3, + "PriceThreshold": { + "Amount": 60, + "CurrencyCode": "USD" + }, + "FeeDiscountMonetaryAmount": { + "Amount": 70, + "CurrencyCode": "USD" + }, + "FeesEstimate": { + "TimeOfFeesEstimated": "2020-07-13T19:42:04.284Z", + "TotalFeesEstimate": { + "Amount": 90, + "CurrencyCode": "USD" + }, + "FeeDetails": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + }, + "IncludedFees": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + }, + "IncludedFees": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + } + ] + } + }, + { + "FeeType": "FeeType", + "FeeDiscountType": "FeeDiscountType", + "FeeDiscountValue": 10.3, + "PriceThreshold": { + "Amount": 60, + "CurrencyCode": "USD" + }, + "FeeDiscountMonetaryAmount": { + "Amount": 70, + "CurrencyCode": "USD" + }, + "FeesEstimate": { + "TimeOfFeesEstimated": "2020-07-13T19:42:04.284Z", + "TotalFeesEstimate": { + "Amount": 90, + "CurrencyCode": "USD" + }, + "FeeDetails": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + }, + "IncludedFees": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + }, + "IncludedFees": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + } + ] + } + } + ] + } + ], + "required": [ + "MerchantId", + "MarketplaceId", + "FeePromotionType", + "FeePromotionTypeDescription", + "PromotionActiveTimeRange", + "Identifiers", + "PromotionInformation" + ], + "properties": { + "MerchantId": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/MerchantId", + "type": "string", + "title": "The MerchantId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "AJH434853485" + ] + }, + "MarketplaceId": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/MarketplaceId", + "type": "string", + "title": "The MarketplaceId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "ATIV93840DER" + ] + }, + "FeePromotionType": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/FeePromotionType", + "type": "string", + "title": "The FeePromotionType schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "TYPE" + ] + }, + "FeePromotionTypeDescription": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/FeePromotionTypeDescription", + "type": "string", + "title": "The FeePromotionTypeDescription schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "Fee promotion type description" + ] + }, + "PromotionActiveTimeRange": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionActiveTimeRange", + "type": "object", + "title": "The PromotionActiveTimeRange schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "EffectiveFromDate": "2020-07-13T19:42:04.284Z", + "EffectiveThroughDate": "2020-07-13T19:42:04.284Z" + } + ], + "required": [ + "EffectiveFromDate", + "EffectiveThroughDate" + ], + "properties": { + "EffectiveFromDate": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionActiveTimeRange/properties/EffectiveFromDate", + "type": "string", + "title": "The EffectiveFromDate schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2020-07-13T19:42:04.284Z" + ] + }, + "EffectiveThroughDate": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionActiveTimeRange/properties/EffectiveThroughDate", + "type": "string", + "title": "The EffectiveThroughDate schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2020-07-13T19:42:04.284Z" + ] + } + }, + "additionalProperties": true + }, + "Identifiers": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/Identifiers", + "type": "array", + "title": "The Identifiers schema", + "description": "An explanation about the purpose of this instance.", + "default": [], + "examples": [ + [ + { + "IdentifierType": "identifierType", + "IdentifierValues": [ + { + "IdentifierValueId": "identifierValueId1", + "IdentifierValueFriendlyName": "identifierValueFriendlyName1" + }, + { + "IdentifierValueId": "identifierValueId2", + "IdentifierValueFriendlyName": "identifierValueFriendlyName2" + } + ] + }, + { + "IdentifierType": "identifierType", + "IdentifierValues": [ + { + "IdentifierValueId": "identifierValueId1", + "IdentifierValueFriendlyName": "identifierValueFriendlyName1" + }, + { + "IdentifierValueId": "identifierValueId2", + "IdentifierValueFriendlyName": "identifierValueFriendlyName2" + } + ] + } + ] + ], + "additionalItems": true, + "items": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/Identifiers/items", + "anyOf": [ + { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/Identifiers/items/anyOf/0", + "type": "object", + "title": "The first anyOf schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "IdentifierType": "identifierType", + "IdentifierValues": [ + { + "IdentifierValueId": "identifierValueId1", + "IdentifierValueFriendlyName": "identifierValueFriendlyName1" + }, + { + "IdentifierValueId": "identifierValueId2", + "IdentifierValueFriendlyName": "identifierValueFriendlyName2" + } + ] + } + ], + "required": [ + "IdentifierType", + "IdentifierValues" + ], + "properties": { + "IdentifierType": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/Identifiers/items/anyOf/0/properties/IdentifierType", + "type": "string", + "title": "The IdentifierType schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "identifierType" + ] + }, + "IdentifierValues": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/Identifiers/items/anyOf/0/properties/IdentifierValues", + "type": "array", + "title": "The IdentifierValues schema", + "description": "An explanation about the purpose of this instance.", + "default": [], + "examples": [ + [ + { + "IdentifierValueId": "identifierValueId1", + "IdentifierValueFriendlyName": "identifierValueFriendlyName1" + }, + { + "IdentifierValueId": "identifierValueId2", + "IdentifierValueFriendlyName": "identifierValueFriendlyName2" + } + ] + ], + "additionalItems": true, + "items": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/Identifiers/items/anyOf/0/properties/IdentifierValues/items", + "anyOf": [ + { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/Identifiers/items/anyOf/0/properties/IdentifierValues/items/anyOf/0", + "type": "object", + "title": "The first anyOf schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "IdentifierValueId": "identifierValueId1", + "IdentifierValueFriendlyName": "identifierValueFriendlyName1" + } + ], + "required": [ + "IdentifierValueId", + "IdentifierValueFriendlyName" + ], + "properties": { + "IdentifierValueId": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/Identifiers/items/anyOf/0/properties/IdentifierValues/items/anyOf/0/properties/IdentifierValueId", + "type": "string", + "title": "The IdentifierValueId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "identifierValueId1" + ] + }, + "IdentifierValueFriendlyName": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/Identifiers/items/anyOf/0/properties/IdentifierValues/items/anyOf/0/properties/IdentifierValueFriendlyName", + "type": "string", + "title": "The IdentifierValueFriendlyName schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "identifierValueFriendlyName1" + ] + } + }, + "additionalProperties": true + } + ] + } + } + }, + "additionalProperties": true + } + ] + } + }, + "PromotionInformation": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation", + "type": "array", + "title": "The PromotionInformation schema", + "description": "An explanation about the purpose of this instance.", + "default": [], + "examples": [ + [ + { + "FeeType": "FeeType", + "FeeDiscountType": "FeeDiscountType", + "FeeDiscountValue": 10.3, + "PriceThreshold": { + "Amount": 60, + "CurrencyCode": "USD" + }, + "FeeDiscountMonetaryAmount": { + "Amount": 70, + "CurrencyCode": "USD" + }, + "FeesEstimate": { + "TimeOfFeesEstimated": "2020-07-13T19:42:04.284Z", + "TotalFeesEstimate": { + "Amount": 90, + "CurrencyCode": "USD" + }, + "FeeDetails": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + }, + "IncludedFees": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + }, + "IncludedFees": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + } + ] + } + }, + { + "FeeType": "FeeType", + "FeeDiscountType": "FeeDiscountType", + "FeeDiscountValue": 10.3, + "PriceThreshold": { + "Amount": 60, + "CurrencyCode": "USD" + }, + "FeeDiscountMonetaryAmount": { + "Amount": 70, + "CurrencyCode": "USD" + }, + "FeesEstimate": { + "TimeOfFeesEstimated": "2020-07-13T19:42:04.284Z", + "TotalFeesEstimate": { + "Amount": 90, + "CurrencyCode": "USD" + }, + "FeeDetails": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + }, + "IncludedFees": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + }, + "IncludedFees": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + } + ] + } + } + ] + ], + "additionalItems": true, + "items": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items", + "anyOf": [ + { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0", + "type": "object", + "title": "The first anyOf schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "FeeType": "FeeType", + "FeeDiscountType": "FeeDiscountType", + "FeeDiscountValue": 10.3, + "PriceThreshold": { + "Amount": 60, + "CurrencyCode": "USD" + }, + "FeeDiscountMonetaryAmount": { + "Amount": 70, + "CurrencyCode": "USD" + }, + "FeesEstimate": { + "TimeOfFeesEstimated": "2020-07-13T19:42:04.284Z", + "TotalFeesEstimate": { + "Amount": 90, + "CurrencyCode": "USD" + }, + "FeeDetails": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + }, + "IncludedFees": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + }, + "IncludedFees": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + } + ] + } + } + ], + "required": [ + "FeeType", + "FeeDiscountType", + "FeeDiscountValue", + "PriceThreshold", + "FeeDiscountMonetaryAmount", + "FeesEstimate" + ], + "properties": { + "FeeType": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeeType", + "type": "string", + "title": "The FeeType schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "FeeType" + ] + }, + "FeeDiscountType": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeeDiscountType", + "type": "string", + "title": "The FeeDiscountType schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "FeeDiscountType" + ] + }, + "FeeDiscountValue": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeeDiscountValue", + "type": "number", + "title": "The FeeDiscountValue schema", + "description": "An explanation about the purpose of this instance.", + "default": 0.0, + "examples": [ + 10.3 + ] + }, + "PriceThreshold": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/PriceThreshold", + "type": "object", + "title": "The PriceThreshold schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 60, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/PriceThreshold/properties/Amount", + "type": "integer", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 60 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/PriceThreshold/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + }, + "additionalProperties": true + }, + "FeeDiscountMonetaryAmount": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeeDiscountMonetaryAmount", + "type": "object", + "title": "The FeeDiscountMonetaryAmount schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 70, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeeDiscountMonetaryAmount/properties/Amount", + "type": "integer", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 70 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeeDiscountMonetaryAmount/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + }, + "additionalProperties": true + }, + "FeesEstimate": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate", + "type": "object", + "title": "The FeesEstimate schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "TimeOfFeesEstimated": "2020-07-13T19:42:04.284Z", + "TotalFeesEstimate": { + "Amount": 90, + "CurrencyCode": "USD" + }, + "FeeDetails": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + }, + "IncludedFees": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + }, + "IncludedFees": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + } + ] + } + ], + "required": [ + "TimeOfFeesEstimated", + "TotalFeesEstimate", + "FeeDetails" + ], + "properties": { + "TimeOfFeesEstimated": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/TimeOfFeesEstimated", + "type": "string", + "title": "The TimeOfFeesEstimated schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2020-07-13T19:42:04.284Z" + ] + }, + "TotalFeesEstimate": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/TotalFeesEstimate", + "type": "object", + "title": "The TotalFeesEstimate schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 90, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/TotalFeesEstimate/properties/Amount", + "type": "integer", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 90 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/TotalFeesEstimate/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + }, + "additionalProperties": true + }, + "FeeDetails": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails", + "type": "array", + "title": "The FeeDetails schema", + "description": "An explanation about the purpose of this instance.", + "default": [], + "examples": [ + [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + }, + "IncludedFees": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + }, + "IncludedFees": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + } + ] + ], + "additionalItems": true, + "items": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items", + "anyOf": [ + { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0", + "type": "object", + "title": "The first anyOf schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + }, + "IncludedFees": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + } + ], + "required": [ + "FeeType", + "FeeAmount", + "TaxAmount", + "FeePromotion", + "FinalFee", + "IncludedFees" + ], + "properties": { + "FeeType": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/FeeType", + "type": "string", + "title": "The FeeType schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "feeType" + ] + }, + "FeeAmount": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/FeeAmount", + "type": "object", + "title": "The FeeAmount schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 10, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/FeeAmount/properties/Amount", + "type": "integer", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 10 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/FeeAmount/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + }, + "additionalProperties": true + }, + "TaxAmount": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/TaxAmount", + "type": "object", + "title": "The TaxAmount schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 20, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/TaxAmount/properties/Amount", + "type": "integer", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 20 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/TaxAmount/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + }, + "additionalProperties": true + }, + "FeePromotion": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/FeePromotion", + "type": "object", + "title": "The FeePromotion schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 30, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/FeePromotion/properties/Amount", + "type": "integer", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 30 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/FeePromotion/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + }, + "additionalProperties": true + }, + "FinalFee": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/FinalFee", + "type": "object", + "title": "The FinalFee schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 40, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/FinalFee/properties/Amount", + "type": "integer", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 40 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/FinalFee/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + }, + "additionalProperties": true + }, + "IncludedFees": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/IncludedFees", + "type": "array", + "title": "The IncludedFees schema", + "description": "An explanation about the purpose of this instance.", + "default": [], + "examples": [ + [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + }, + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ] + ], + "additionalItems": true, + "items": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/IncludedFees/items", + "anyOf": [ + { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/IncludedFees/items/anyOf/0", + "type": "object", + "title": "The first anyOf schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "FeeType": "feeType", + "FeeAmount": { + "Amount": 10, + "CurrencyCode": "USD" + }, + "TaxAmount": { + "Amount": 20, + "CurrencyCode": "USD" + }, + "FeePromotion": { + "Amount": 30, + "CurrencyCode": "USD" + }, + "FinalFee": { + "Amount": 40, + "CurrencyCode": "USD" + } + } + ], + "required": [ + "FeeType", + "FeeAmount", + "TaxAmount", + "FeePromotion", + "FinalFee" + ], + "properties": { + "FeeType": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/IncludedFees/items/anyOf/0/properties/FeeType", + "type": "string", + "title": "The FeeType schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "feeType" + ] + }, + "FeeAmount": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/IncludedFees/items/anyOf/0/properties/FeeAmount", + "type": "object", + "title": "The FeeAmount schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 10, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/IncludedFees/items/anyOf/0/properties/FeeAmount/properties/Amount", + "type": "integer", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 10 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/IncludedFees/items/anyOf/0/properties/FeeAmount/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + }, + "additionalProperties": true + }, + "TaxAmount": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/IncludedFees/items/anyOf/0/properties/TaxAmount", + "type": "object", + "title": "The TaxAmount schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 20, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/IncludedFees/items/anyOf/0/properties/TaxAmount/properties/Amount", + "type": "integer", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 20 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/IncludedFees/items/anyOf/0/properties/TaxAmount/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + }, + "additionalProperties": true + }, + "FeePromotion": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/IncludedFees/items/anyOf/0/properties/FeePromotion", + "type": "object", + "title": "The FeePromotion schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 30, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/IncludedFees/items/anyOf/0/properties/FeePromotion/properties/Amount", + "type": "integer", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 30 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/IncludedFees/items/anyOf/0/properties/FeePromotion/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + }, + "additionalProperties": true + }, + "FinalFee": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/IncludedFees/items/anyOf/0/properties/FinalFee", + "type": "object", + "title": "The FinalFee schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "Amount": 40, + "CurrencyCode": "USD" + } + ], + "required": [ + "Amount", + "CurrencyCode" + ], + "properties": { + "Amount": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/IncludedFees/items/anyOf/0/properties/FinalFee/properties/Amount", + "type": "integer", + "title": "The Amount schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 40 + ] + }, + "CurrencyCode": { + "$id": "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0/properties/FeesEstimate/properties/FeeDetails/items/anyOf/0/properties/IncludedFees/items/anyOf/0/properties/FinalFee/properties/CurrencyCode", + "type": "string", + "title": "The CurrencyCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "USD" + ] + } + }, + "additionalProperties": true + } + }, + "additionalProperties": true + } + ] + } + } + }, + "additionalProperties": true + } + ] + } + } + }, + "additionalProperties": true + } + }, + "additionalProperties": true + } + ] + } + } + }, + "additionalProperties": true + } + }, + "additionalProperties": true + } + }, + "additionalProperties": true +} \ No newline at end of file diff --git a/schemas/notifications/FeedProcessingFinishedNotification.json b/schemas/notifications/FeedProcessingFinishedNotification.json new file mode 100644 index 0000000..9055c5c --- /dev/null +++ b/schemas/notifications/FeedProcessingFinishedNotification.json @@ -0,0 +1,214 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "http://example.com/example.json", + "type": "object", + "description": "The root schema comprises the entire JSON document.", + "examples": [ + { + "notificationVersion": "2020-09-04", + "notificationType": "FEED_PROCESSING_FINISHED", + "payloadVersion": "2020-09-04", + "eventTime": "2020-07-13T19:42:04.284Z", + "payload": { + "feedProcessingFinishedNotification": { + "sellerId": "A3TH9S8BH6GOGM", + "feedId": "53347018456", + "feedType": "POST_PRODUCT_DATA", + "processingStatus": "DONE", + "resultFeedDocumentId": "amzn1.tortuga.3.edbcd0d8-3434-8222-1234-52ad8ade1208.URUTI57URI9BMZ" + } + }, + "notificationMetadata": { + "applicationId": "amzn1.sellerapps.app.aacccfff-44aa-4b7c-b42b-ed4ec98dd746", + "subscriptionId": "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "publishTime": "2020-07-13T19:42:04.284Z", + "notificationId": "d0e9e693-c3ad-4373-979f-ed4ec98dd746" + } + } + ], + "required": [ + "notificationVersion", + "notificationType", + "payloadVersion", + "eventTime", + "payload", + "notificationMetadata" + ], + "properties": { + "notificationVersion": { + "$id": "#/properties/notificationVersion", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "2020-09-04" + ] + }, + "notificationType": { + "$id": "#/properties/notificationType", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "FEED_PROCESSING_FINISHED" + ] + }, + "payloadVersion": { + "$id": "#/properties/payloadVersion", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "2020-09-04" + ] + }, + "eventTime": { + "$id": "#/properties/eventTime", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "2020-07-13T19:42:04.284Z" + ] + }, + "payload": { + "$id": "#/properties/payload", + "type": "object", + "description": "An explanation about the purpose of this instance.", + "examples": [ + { + "feedProcessingFinishedNotification": { + "sellerId": "A3TH9S8BH6GOGM", + "feedId": "53347018456", + "feedType": "POST_PRODUCT_DATA", + "processingStatus": "DONE", + "resultFeedDocumentId": "amzn1.tortuga.3.edbcd0d8-3434-8222-1234-52ad8ade1208.URUTI57URI9BMZ" + } + } + ], + "required": [ + "feedProcessingFinishedNotification" + ], + "properties": { + "feedProcessingFinishedNotification": { + "$id": "#/properties/payload/properties/feedProcessingFinishedNotification", + "type": "object", + "description": "An explanation about the purpose of this instance.", + "examples": [ + { + "sellerId": "A3TH9S8BH6GOGM", + "feedId": "53347018456", + "feedType": "POST_PRODUCT_DATA", + "processingStatus": "DONE", + "resultFeedDocumentId": "amzn1.tortuga.3.edbcd0d8-3434-8222-1234-52ad8ade1208.URUTI57URI9BMZ" + } + ], + "required": [ + "sellerId", + "feedId", + "feedType", + "processingStatus" + ], + "properties": { + "sellerId": { + "$id": "#/properties/payload/properties/feedProcessingFinishedNotification/properties/sellerId", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "A3TH9S8BH6GOGM" + ] + }, + "feedId": { + "$id": "#/properties/payload/properties/feedProcessingFinishedNotification/properties/feedId", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "53347018456" + ] + }, + "feedType": { + "$id": "#/properties/payload/properties/feedProcessingFinishedNotification/properties/feedType", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "POST_PRODUCT_DATA" + ] + }, + "processingStatus": { + "$id": "#/properties/payload/properties/feedProcessingFinishedNotification/properties/processingStatus", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "CANCELLED", + "DONE", + "FATAL" + ], + "enum": [ + "CANCELLED", + "DONE", + "FATAL" + ] + }, + "resultFeedDocumentId": { + "$id": "#/properties/payload/properties/feedProcessingFinishedNotification/properties/resultFeedDocumentId", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "amzn1.tortuga.3.edbcd0d8-3434-8222-1234-52ad8ade1208.URUTI57URI9BMZ" + ] + } + } + } + } + }, + "notificationMetadata": { + "$id": "#/properties/notificationMetadata", + "type": "object", + "description": "An explanation about the purpose of this instance.", + "examples": [ + { + "applicationId": "amzn1.sellerapps.app.aacccfff-44aa-4b7c-b42b-ed4ec98dd746", + "subscriptionId": "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "publishTime": "2020-07-13T19:42:04.284Z", + "notificationId": "d0e9e693-c3ad-4373-979f-ed4ec98dd746" + } + ], + "required": [ + "applicationId", + "subscriptionId", + "publishTime", + "notificationId" + ], + "properties": { + "applicationId": { + "$id": "#/properties/notificationMetadata/properties/applicationId", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "amzn1.sellerapps.app.aacccfff-44aa-4b7c-b42b-ed4ec98dd746" + ] + }, + "subscriptionId": { + "$id": "#/properties/notificationMetadata/properties/subscriptionId", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746" + ] + }, + "publishTime": { + "$id": "#/properties/notificationMetadata/properties/publishTime", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "2020-07-13T19:42:04.284Z" + ] + }, + "notificationId": { + "$id": "#/properties/notificationMetadata/properties/notificationId", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "d0e9e693-c3ad-4373-979f-ed4ec98dd746" + ] + } + } + } + } +} \ No newline at end of file diff --git a/schemas/notifications/FulfillmentOrderStatusNotification.json b/schemas/notifications/FulfillmentOrderStatusNotification.json new file mode 100644 index 0000000..7e6d031 --- /dev/null +++ b/schemas/notifications/FulfillmentOrderStatusNotification.json @@ -0,0 +1,605 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "http://example.com/example.json", + "type": "object", + "title": "The root schema", + "description": "The root schema comprises the entire JSON document.", + "default": {}, + "examples": [ + { + "NotificationVersion": "1.0", + "NotificationType": "FULFILLMENT_ORDER_STATUS", + "PayloadVersion": "1.0", + "EventTime": "2020-07-13T19:42:04.284Z", + "Payload": { + "FulfillmentOrderStatusNotification": { + "SellerId": "A3TH9S8BH6GOGM", + "EventType": "TYPE3945", + "StatusUpdatedDateTime": "2020-07-13T19:42:04.284Z", + "SellerFulfillmentOrderId": "SFOID2345", + "FulfillmentOrderStatus": "PROCESSED", + "FulfillmentShipment": { + "FulfillmentShipmentStatus": "PROCESSED", + "AmazonShipmentId": "ASID49535", + "EstimatedArrivalDateTime": "2020-07-13T19:42:04.284Z", + "info": { + "PackageNumber": 1, + "CarrierCode": "2-930434", + "TrackingNumber": "1Z84456456573405" + }, + "FulfillmentShipmentPackages": [ + { + "PackageNumber": 1, + "CarrierCode": "2-930434", + "TrackingNumber": "1Z84456456573405" + }, + { + "PackageNumber": 2, + "CarrierCode": "1-930434", + "TrackingNumber": "1Z84456456573405" + }, + { + "PackageNumber": 3, + "CarrierCode": "3-930434", + "TrackingNumber": "1Z885647654573405" + } + ] + }, + "FulfillmentReturnItem": { + "ReceivedDateTime": "2020-07-13T19:42:04.284Z", + "ReturnedQuantity": 12, + "SellerSKU": "SELLERSKU9345" + } + } + }, + "NotificationMetadata": { + "ApplicationId": "app-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "SubscriptionId": "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "PublishTime": "2020-07-13T19:42:04.284Z", + "NotificationId": "d0e9e693-c3ad-4373-979f-ed4ec98dd746" + } + } + ], + "required": [ + "NotificationVersion", + "NotificationType", + "PayloadVersion", + "EventTime", + "Payload", + "NotificationMetadata" + ], + "properties": { + "NotificationVersion": { + "$id": "#/properties/NotificationVersion", + "type": "string", + "title": "The NotificationVersion schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "1.0" + ] + }, + "NotificationType": { + "$id": "#/properties/NotificationType", + "type": "string", + "title": "The NotificationType schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "FULFILLMENT_ORDER_STATUS" + ] + }, + "PayloadVersion": { + "$id": "#/properties/PayloadVersion", + "type": "string", + "title": "The PayloadVersion schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "1.0" + ] + }, + "EventTime": { + "$id": "#/properties/EventTime", + "type": "string", + "title": "The EventTime schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2020-07-13T19:42:04.284Z" + ] + }, + "Payload": { + "$id": "#/properties/Payload", + "type": "object", + "title": "The Payload schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "FulfillmentOrderStatusNotification": { + "SellerId": "A3TH9S8BH6GOGM", + "EventType": "TYPE3945", + "StatusUpdatedDateTime": "2020-07-13T19:42:04.284Z", + "SellerFulfillmentOrderId": "SFOID2345", + "FulfillmentOrderStatus": "PROCESSED", + "FulfillmentShipment": { + "FulfillmentShipmentStatus": "PROCESSED", + "AmazonShipmentId": "ASID49535", + "EstimatedArrivalDateTime": "2020-07-13T19:42:04.284Z", + "info": { + "PackageNumber": 1, + "CarrierCode": "2-930434", + "TrackingNumber": "1Z84456456573405" + }, + "FulfillmentShipmentPackages": [ + { + "PackageNumber": 1, + "CarrierCode": "2-930434", + "TrackingNumber": "1Z84456456573405" + }, + { + "PackageNumber": 2, + "CarrierCode": "1-930434", + "TrackingNumber": "1Z84456456573405" + }, + { + "PackageNumber": 3, + "CarrierCode": "3-930434", + "TrackingNumber": "1Z885647654573405" + } + ] + }, + "FulfillmentReturnItem": { + "ReceivedDateTime": "2020-07-13T19:42:04.284Z", + "ReturnedQuantity": 12, + "SellerSKU": "SELLERSKU9345" + } + } + } + ], + "required": [ + "FulfillmentOrderStatusNotification" + ], + "properties": { + "FulfillmentOrderStatusNotification": { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification", + "type": "object", + "title": "The FulfillmentOrderStatusNotification schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "SellerId": "A3TH9S8BH6GOGM", + "EventType": "TYPE3945", + "StatusUpdatedDateTime": "2020-07-13T19:42:04.284Z", + "SellerFulfillmentOrderId": "SFOID2345", + "FulfillmentOrderStatus": "PROCESSED", + "FulfillmentShipment": { + "FulfillmentShipmentStatus": "PROCESSED", + "AmazonShipmentId": "ASID49535", + "EstimatedArrivalDateTime": "2020-07-13T19:42:04.284Z", + "info": { + "PackageNumber": 1, + "CarrierCode": "2-930434", + "TrackingNumber": "1Z84456456573405" + }, + "FulfillmentShipmentPackages": [ + { + "PackageNumber": 1, + "CarrierCode": "2-930434", + "TrackingNumber": "1Z84456456573405" + }, + { + "PackageNumber": 2, + "CarrierCode": "1-930434", + "TrackingNumber": "1Z84456456573405" + }, + { + "PackageNumber": 3, + "CarrierCode": "3-930434", + "TrackingNumber": "1Z885647654573405" + } + ] + }, + "FulfillmentReturnItem": { + "ReceivedDateTime": "2020-07-13T19:42:04.284Z", + "ReturnedQuantity": 12, + "SellerSKU": "SELLERSKU9345" + } + } + ], + "required": [ + "SellerId", + "EventType", + "StatusUpdatedDateTime", + "SellerFulfillmentOrderId", + "FulfillmentOrderStatus", + "FulfillmentShipment", + "FulfillmentReturnItem" + ], + "properties": { + "SellerId": { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification/properties/SellerId", + "type": "string", + "title": "The SellerId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "A3TH9S8BH6GOGM" + ] + }, + "EventType": { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification/properties/EventType", + "type": "string", + "title": "The EventType schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "TYPE3945" + ] + }, + "StatusUpdatedDateTime": { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification/properties/StatusUpdatedDateTime", + "type": "string", + "title": "The StatusUpdatedDateTime schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2020-07-13T19:42:04.284Z" + ] + }, + "SellerFulfillmentOrderId": { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification/properties/SellerFulfillmentOrderId", + "type": "string", + "title": "The SellerFulfillmentOrderId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "SFOID2345" + ] + }, + "FulfillmentOrderStatus": { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification/properties/FulfillmentOrderStatus", + "type": "string", + "title": "The FulfillmentOrderStatus schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "PROCESSED" + ] + }, + "FulfillmentShipment": { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification/properties/FulfillmentShipment", + "type": "object", + "title": "The FulfillmentShipment schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "FulfillmentShipmentStatus": "PROCESSED", + "AmazonShipmentId": "ASID49535", + "EstimatedArrivalDateTime": "2020-07-13T19:42:04.284Z", + "info": { + "PackageNumber": 1, + "CarrierCode": "2-930434", + "TrackingNumber": "1Z84456456573405" + }, + "FulfillmentShipmentPackages": [ + { + "PackageNumber": 1, + "CarrierCode": "2-930434", + "TrackingNumber": "1Z84456456573405" + }, + { + "PackageNumber": 2, + "CarrierCode": "1-930434", + "TrackingNumber": "1Z84456456573405" + }, + { + "PackageNumber": 3, + "CarrierCode": "3-930434", + "TrackingNumber": "1Z885647654573405" + } + ] + } + ], + "required": [ + "FulfillmentShipmentStatus", + "AmazonShipmentId", + "EstimatedArrivalDateTime", + "info", + "FulfillmentShipmentPackages" + ], + "properties": { + "FulfillmentShipmentStatus": { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification/properties/FulfillmentShipment/properties/FulfillmentShipmentStatus", + "type": "string", + "title": "The FulfillmentShipmentStatus schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "PROCESSED" + ] + }, + "AmazonShipmentId": { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification/properties/FulfillmentShipment/properties/AmazonShipmentId", + "type": "string", + "title": "The AmazonShipmentId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "ASID49535" + ] + }, + "EstimatedArrivalDateTime": { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification/properties/FulfillmentShipment/properties/EstimatedArrivalDateTime", + "type": "string", + "title": "The EstimatedArrivalDateTime schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2020-07-13T19:42:04.284Z" + ] + }, + "FulfillmentShipmentPackages": { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification/properties/FulfillmentShipment/properties/FulfillmentShipmentPackages", + "type": "array", + "title": "The FulfillmentShipmentPackages schema", + "description": "An explanation about the purpose of this instance.", + "default": [], + "examples": [ + [ + { + "PackageNumber": 1, + "CarrierCode": "2-930434", + "TrackingNumber": "1Z84456456573405" + }, + { + "PackageNumber": 2, + "CarrierCode": "1-930434", + "TrackingNumber": "1Z84456456573405" + } + ] + ], + "properties": { + "FulfillmentShipmentPackageItem": { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification/properties/FulfillmentShipment/properties/FulfillmentShipmentPackages/properties/FulfillmentShipmentPackageItem", + "type": "object", + "title": "The info schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "PackageNumber": 1, + "CarrierCode": "2-930434", + "TrackingNumber": "1Z84456456573405" + } + ], + "required": [ + "PackageNumber", + "CarrierCode", + "TrackingNumber" + ], + "properties": { + "PackageNumber": { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification/properties/FulfillmentShipment/properties/info/properties/PackageNumber", + "type": "integer", + "title": "The PackageNumber schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 1 + ] + }, + "CarrierCode": { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification/properties/FulfillmentShipment/properties/info/properties/CarrierCode", + "type": "string", + "title": "The CarrierCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2-930434" + ] + }, + "TrackingNumber": { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification/properties/FulfillmentShipment/properties/info/properties/TrackingNumber", + "type": "string", + "title": "The TrackingNumber schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "1Z84456456573405" + ] + } + }, + "additionalProperties": true + } + }, + "additionalItems": true, + "items": { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification/properties/FulfillmentShipment/properties/FulfillmentShipmentPackages/properties/FulfillmentShipmentPackageItem", + "anyOf": [ + { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification/properties/FulfillmentShipment/properties/FulfillmentShipmentPackages/items/anyOf/0", + "type": "object", + "title": "The first anyOf schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "PackageNumber": 1, + "CarrierCode": "2-930434", + "TrackingNumber": "1Z84456456573405" + } + ], + "required": [ + "PackageNumber", + "CarrierCode", + "TrackingNumber" + ], + "properties": { + "PackageNumber": { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification/properties/FulfillmentShipment/properties/FulfillmentShipmentPackages/items/anyOf/0/properties/PackageNumber", + "type": "integer", + "title": "The PackageNumber schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 1 + ] + }, + "CarrierCode": { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification/properties/FulfillmentShipment/properties/FulfillmentShipmentPackages/items/anyOf/0/properties/CarrierCode", + "type": "string", + "title": "The CarrierCode schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2-930434" + ] + }, + "TrackingNumber": { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification/properties/FulfillmentShipment/properties/FulfillmentShipmentPackages/items/anyOf/0/properties/TrackingNumber", + "type": "string", + "title": "The TrackingNumber schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "1Z84456456573405" + ] + } + }, + "additionalProperties": true + } + ] + } + } + }, + "additionalProperties": true + }, + "FulfillmentReturnItem": { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification/properties/FulfillmentReturnItem", + "type": "object", + "title": "The FulfillmentReturnItem schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "ReceivedDateTime": "2020-07-13T19:42:04.284Z", + "ReturnedQuantity": 12, + "SellerSKU": "SELLERSKU9345" + } + ], + "required": [ + "ReceivedDateTime", + "ReturnedQuantity", + "SellerSKU" + ], + "properties": { + "ReceivedDateTime": { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification/properties/FulfillmentReturnItem/properties/ReceivedDateTime", + "type": "string", + "title": "The ReceivedDateTime schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2020-07-13T19:42:04.284Z" + ] + }, + "ReturnedQuantity": { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification/properties/FulfillmentReturnItem/properties/ReturnedQuantity", + "type": "integer", + "title": "The ReturnedQuantity schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 12 + ] + }, + "SellerSKU": { + "$id": "#/properties/Payload/properties/FulfillmentOrderStatusNotification/properties/FulfillmentReturnItem/properties/SellerSKU", + "type": "string", + "title": "The SellerSKU schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "SELLERSKU9345" + ] + } + }, + "additionalProperties": true + } + }, + "additionalProperties": true + } + }, + "additionalProperties": true + }, + "NotificationMetadata": { + "$id": "#/properties/NotificationMetadata", + "type": "object", + "title": "The NotificationMetadata schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "ApplicationId": "app-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "SubscriptionId": "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "PublishTime": "2020-07-13T19:42:04.284Z", + "NotificationId": "d0e9e693-c3ad-4373-979f-ed4ec98dd746" + } + ], + "required": [ + "ApplicationId", + "SubscriptionId", + "PublishTime", + "NotificationId" + ], + "properties": { + "ApplicationId": { + "$id": "#/properties/NotificationMetadata/properties/ApplicationId", + "type": "string", + "title": "The ApplicationId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "app-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746" + ] + }, + "SubscriptionId": { + "$id": "#/properties/NotificationMetadata/properties/SubscriptionId", + "type": "string", + "title": "The SubscriptionId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746" + ] + }, + "PublishTime": { + "$id": "#/properties/NotificationMetadata/properties/PublishTime", + "type": "string", + "title": "The PublishTime schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2020-07-13T19:42:04.284Z" + ] + }, + "NotificationId": { + "$id": "#/properties/NotificationMetadata/properties/NotificationId", + "type": "string", + "title": "The NotificationId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "d0e9e693-c3ad-4373-979f-ed4ec98dd746" + ] + } + }, + "additionalProperties": true + } + }, + "additionalProperties": true +} \ No newline at end of file diff --git a/schemas/notifications/ItemProductTypeChangeNotification.json b/schemas/notifications/ItemProductTypeChangeNotification.json new file mode 100644 index 0000000..a457e8f --- /dev/null +++ b/schemas/notifications/ItemProductTypeChangeNotification.json @@ -0,0 +1,207 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "http://example.com/example.json", + "type": "object", + "title": "The root schema", + "description": "The root schema comprises the entire JSON document.", + "default": {}, + "examples": [ + { + "NotificationVersion": "1.0", + "NotificationType": "ITEM_PRODUCT_TYPE_CHANGE", + "PayloadVersion": "1.0", + "EventTime": "2019-03-20T18:59:30.194Z", + "Payload": { + "MarketplaceId": "ATVPDKIKX0DER", + "Asin": "B1234567", + "PreviousProductType": "PET_HEALTH_CARE", + "CurrentProductType": "PET_APPAREL" + }, + "NotificationMetadata": { + "ApplicationId": "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5", + "SubscriptionId": "93b098e1-c42-2f45-93a1-78910a6a8369", + "PublishTime": "2019-03-20T18:59:48.768Z", + "NotificationId": "0e999936-da2c-4f9c-9fc2-02b67bae5f49" + } + } + ], + "required": [ + "NotificationVersion", + "NotificationType", + "PayloadVersion", + "EventTime", + "Payload", + "NotificationMetadata" + ], + "properties": { + "NotificationVersion": { + "$id": "#/properties/NotificationVersion", + "type": "string", + "title": "The NotificationVersion schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "1.0" + ] + }, + "NotificationType": { + "$id": "#/properties/NotificationType", + "type": "string", + "title": "The NotificationType schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "ITEM_PRODUCT_TYPE_CHANGE" + ] + }, + "PayloadVersion": { + "$id": "#/properties/PayloadVersion", + "type": "string", + "title": "The PayloadVersion schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "1.0" + ] + }, + "EventTime": { + "$id": "#/properties/EventTime", + "type": "string", + "title": "The EventTime schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2019-03-20T18:59:30.194Z" + ] + }, + "Payload": { + "$id": "#/properties/Payload", + "type": "object", + "title": "The Payload schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "MarketplaceId": "ATVPDKIKX0DER", + "Asin": "B1234567", + "PreviousProductType": "PET_HEALTH_CARE", + "CurrentProductType": "PET_APPAREL" + } + ], + "required": [ + "MarketplaceId", + "Asin", + "PreviousProductType", + "CurrentProductType" + ], + "properties": { + "MarketplaceId": { + "$id": "#/properties/Payload/properties/MarketplaceId", + "type": "string", + "title": "The MarketplaceId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "ATVPDKIKX0DER" + ] + }, + "Asin": { + "$id": "#/properties/Payload/properties/Asin", + "type": "string", + "title": "The Asin schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "B1234567" + ] + }, + "PreviousProductType": { + "$id": "#/properties/Payload/properties/PreviousProductType", + "type": "string", + "title": "The PreviousProductType schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "PET_HEALTH_CARE" + ] + }, + "CurrentProductType": { + "$id": "#/properties/Payload/properties/CurrentProductType", + "type": "string", + "title": "The CurrentProductType schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "PET_APPAREL" + ] + } + }, + "additionalProperties": true + }, + "NotificationMetadata": { + "$id": "#/properties/NotificationMetadata", + "type": "object", + "title": "The NotificationMetadata schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "ApplicationId": "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5", + "SubscriptionId": "93b098e1-c42-2f45-93a1-78910a6a8369", + "PublishTime": "2019-03-20T18:59:48.768Z", + "NotificationId": "0e999936-da2c-4f9c-9fc2-02b67bae5f49" + } + ], + "required": [ + "ApplicationId", + "SubscriptionId", + "PublishTime", + "NotificationId" + ], + "properties": { + "ApplicationId": { + "$id": "#/properties/NotificationMetadata/properties/ApplicationId", + "type": "string", + "title": "The ApplicationId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5" + ] + }, + "SubscriptionId": { + "$id": "#/properties/NotificationMetadata/properties/SubscriptionId", + "type": "string", + "title": "The SubscriptionId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "93b098e1-c42-2f45-93a1-78910a6a8369" + ] + }, + "PublishTime": { + "$id": "#/properties/NotificationMetadata/properties/PublishTime", + "type": "string", + "title": "The PublishTime schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2019-03-20T18:59:48.768Z" + ] + }, + "NotificationId": { + "$id": "#/properties/NotificationMetadata/properties/NotificationId", + "type": "string", + "title": "The NotificationId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "0e999936-da2c-4f9c-9fc2-02b67bae5f49" + ] + } + }, + "additionalProperties": true + } + }, + "additionalProperties": true +} \ No newline at end of file diff --git a/schemas/notifications/ListingsItemIssuesChangeNotification.json b/schemas/notifications/ListingsItemIssuesChangeNotification.json new file mode 100644 index 0000000..957aa81 --- /dev/null +++ b/schemas/notifications/ListingsItemIssuesChangeNotification.json @@ -0,0 +1,245 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "title": "Listings Item Issues Change Notification", + "description": "To be delivered when issues are created, changed, or resolved for a listings item.", + "type": "object", + "examples": [ + { + "NotificationVersion": "1.0", + "NotificationType": "LISTINGS_ITEM_ISSUES_CHANGE", + "PayloadVersion": "1.0", + "EventTime": "2021-02-05T18:59:30.194Z", + "Payload": { + "SellerId": "AXXXXXXXXXXXXX", + "MarketplaceId": "ATVPDKIKX0DER", + "Asin": "BT6RZ7JM4H", + "Sku": "NLS-SHOES-03", + "Severities": [ + "ERROR", + "WARNING" + ], + "EnforcementActions": [ + "SEARCH_SUPPRESSED" + ] + }, + "NotificationMetadata": { + "ApplicationId": "amzn1.sellerapps.app.f108f511-eeac-46a6-b125-bcb752069ed0", + "SubscriptionId": "93b098e1-c42-2f45-93a1-78910a6a8369", + "PublishTime": "2021-02-05T18:59:48.768Z", + "NotificationId": "8e009934-da2c-4f9c-9bc7-93f23b7e1f60" + } + } + ], + "required": [ + "NotificationVersion", + "NotificationType", + "PayloadVersion", + "EventTime", + "Payload", + "NotificationMetadata" + ], + "properties": { + "NotificationVersion": { + "type": "string", + "title": "Notification Version", + "description": "The version of the notification.", + "examples": [ + "1.0" + ] + }, + "NotificationType": { + "type": "string", + "title": "Notification Type", + "description": "The type of the notification.", + "enum": ["LISTINGS_ITEM_ISSUES_CHANGE"] + }, + "PayloadVersion": { + "type": "string", + "title": "Payload Version", + "description": "The version of the payload.", + "examples": [ + "1.0" + ] + }, + "EventTime": { + "type": "string", + "format": "date-time", + "title": "Event Time", + "description": "Timestamp of the event, formatted as ISO8601 date-time.", + "examples": [ + "2019-03-20T18:59:30.194Z" + ] + }, + "Payload": { + "type": "object", + "title": "Payload", + "description": "The details of this notification.", + "examples": [ + { + "SellerId": "A3AYAZLIQ7AX77", + "MarketplaceId": "ATVPDKIKX0DER", + "Asin": "BT6RZ7JM4H", + "Sku": "NLS-SHOES-03", + "Severities": [ + "ERROR", + "WARNING" + ], + "EnforcementActions": [ + "SEARCH_SUPPRESSED" + ] + } + ], + "required": [ + "SellerId", + "Sku", + "Severities" + ], + "properties": { + "SellerId": { + "type": "string", + "title": "Seller ID", + "description": "Selling partner identifier, such as a merchant account or vendor code, of the affected listings item.", + "examples": [ + "AXXXXXXXXXXXXX", + "TXXXX" + ] + }, + "MarketplaceId": { + "type": "string", + "title": "Marketplace ID", + "description": "Amazon marketplace identifier of the affected listings item.", + "examples": [ + "ATVPDKIKX0DER" + ] + }, + "Asin": { + "type": "string", + "title": "ASIN", + "description": "The Amazon Standard Identification Number (ASIN) identifier of the catalog item associated with the listings item.", + "examples": [ + "BT6RZ7JM4H" + ] + }, + "Sku": { + "type": "string", + "title": "SKU", + "description": "Identifier of the affected listings item.", + "examples": [ + "NLS-SHOES-03" + ] + }, + "Severities": { + "type": "array", + "title": "Severities", + "description": "Array of severities for the issues currently associated with the affected listings item. When no issues are affecting the listings item, \"NONE\" is provided instead.", + "items": { + "type": "string", + "enum": [ + "NONE", + "ERROR", + "WARNING" + ], + "x-docgen-enum-table-extension": [ + { + "value": "NONE", + "description": "When provided, no issues are affecting the listings item." + }, + { + "value": "ERROR", + "description": "When provided, at least one issue with \"ERROR\" severity is affecting the listings item." + }, + { + "value": "WARNING", + "description": "When provided, at least one issue with \"WARNING\" severity is affecting the listings item." + } + ] + }, + "uniqueItems": true, + "examples": [ + [ + "ERROR", + "WARNING" + ] + ] + }, + "EnforcementActions": { + "type": "array", + "title": "Enforcement Actions Taken", + "description": "Array of enforcement actions taken by Amazon for the issues associated with the affected listings item.", + "items": { + "type": "string", + "enum": [ + "SEARCH_SUPPRESSED" + ], + "x-docgen-enum-table-extension": [ + { + "value": "SEARCH_SUPPRESSED", + "description": "When provided, the listing item is suppressed from search results caused by at least one issue currently associated with the affected listing item." + } + ] + }, + "uniqueItems": true, + "examples": [ + [ + "SEARCH_SUPPRESSED" + ] + ] + } + } + }, + "NotificationMetadata": { + "type": "object", + "title": "Notification Metadata", + "description": "The metadata of the notification.", + "examples": [ + { + "ApplicationId": "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5", + "SubscriptionId": "93b098e1-c42-2f45-93a1-78910a6a8369", + "PublishTime": "2019-03-20T18:59:48.768Z", + "NotificationId": "8e009934-da2c-4f9c-9bc7-93f23b7e1f60" + } + ], + "required": [ + "ApplicationId", + "SubscriptionId", + "PublishTime", + "NotificationId" + ], + "properties": { + "ApplicationId": { + "type": "string", + "title": "Application ID", + "description": "Identifies the application.", + "examples": [ + "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5" + ] + }, + "SubscriptionId": { + "type": "string", + "title": "Subscription ID", + "description": "Identifies the subscription.", + "examples": [ + "93b098e1-c42-2f45-93a1-78910a6a8369" + ] + }, + "PublishTime": { + "type": "string", + "format": "date-time", + "title": "Publish Time", + "description": "Timestamp of when the notification was published, formatted as ISO8601 date-time.", + "examples": [ + "2019-03-20T18:59:48.768Z" + ] + }, + "NotificationId": { + "type": "string", + "title": "Notification ID", + "description": "Identifies the notification.", + "examples": [ + "8e009934-da2c-4f9c-9bc7-93f23b7e1f60" + ] + } + } + } + } +} diff --git a/schemas/notifications/ListingsItemStatusChangeNotification.json b/schemas/notifications/ListingsItemStatusChangeNotification.json new file mode 100644 index 0000000..2139a28 --- /dev/null +++ b/schemas/notifications/ListingsItemStatusChangeNotification.json @@ -0,0 +1,226 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "title": "Listings Item Status Change Notification", + "description": "To be delivered when the status (e.g. buyability, discoverability) of a listings item changes.", + "type": "object", + "examples": [ + { + "NotificationVersion": "1.0", + "NotificationType": "LISTINGS_ITEM_STATUS_CHANGE", + "PayloadVersion": "1.0", + "EventTime": "2021-02-03T18:59:30.194Z", + "Payload": { + "SellerId": "A3AYAZLIQ7AX77", + "MarketplaceId": "ATVPDKIKX0DER", + "Asin": "BT6RZ7JM4H", + "Sku": "NLS-SHOES-03", + "CreatedDate": "2021-02-03T18:50:26.196Z", + "Status": [ + "BUYABLE", + "DISCOVERABLE" + ] + }, + "NotificationMetadata": { + "ApplicationId": "amzn1.sellerapps.app.f108f511-eeac-46a6-b125-bcb752069ed0", + "SubscriptionId": "93b098e1-c42-2f45-93a1-78910a6a8369", + "PublishTime": "2021-02-03T18:59:30.194Z", + "NotificationId": "8e009934-da2c-4f9c-9bc7-93f23b7e1f60" + } + } + ], + "required": [ + "NotificationVersion", + "NotificationType", + "PayloadVersion", + "EventTime", + "Payload", + "NotificationMetadata" + ], + "properties": { + "NotificationVersion": { + "type": "string", + "title": "Notification Version", + "description": "The version of the notification.", + "examples": [ + "1.0" + ] + }, + "NotificationType": { + "type": "string", + "title": "Notification Type", + "description": "The type of the notification.", + "enum": ["LISTINGS_ITEM_STATUS_CHANGED"] + }, + "PayloadVersion": { + "type": "string", + "title": "Payload Version", + "description": "The version of the payload.", + "examples": [ + "1.0" + ] + }, + "EventTime": { + "type": "string", + "format": "date-time", + "title": "Event Time", + "description": "Timestamp of the event, formatted as ISO8601 date-time.", + "examples": [ + "2019-03-20T18:59:30.194Z" + ] + }, + "Payload": { + "type": "object", + "title": "Payload", + "description": "The details of this notification.", + "examples": [ + { + "SellerId": "A3AYAZLIQ7AX77", + "MarketplaceId": "ATVPDKIKX0DER", + "Asin": "BT6RZ7JM4H", + "Sku": "NLS-SHOES-03", + "CreatedDate": "2021-02-03T18:50:26.196Z", + "Status": [ + "BUYABLE", + "DISCOVERABLE" + ] + } + ], + "required": [ + "SellerId", + "Sku", + "Status" + ], + "properties": { + "SellerId": { + "type": "string", + "title": "Seller ID", + "description": "Selling partner identifier, such as a merchant account, of the affected listings item.", + "examples": [ + "A3AYAZLIQ7AX77" + ] + }, + "MarketplaceId": { + "type": "string", + "title": "Marketplace ID", + "description": "Amazon marketplace identifier of the affected listings item.", + "examples": [ + "ATVPDKIKX0DER" + ] + }, + "Asin": { + "type": "string", + "title": "ASIN", + "description": "The Amazon Standard Identification Number (ASIN) identifier of the catalog item associated with the listings item.", + "examples": [ + "BT6RZ7JM4H" + ] + }, + "Sku": { + "type": "string", + "title": "SKU", + "description": "Identifier of the affected listings item.", + "examples": [ + "NLS-SHOES-03" + ] + }, + "CreatedDate": { + "type": "string", + "format": "date-time", + "title": "Created Date", + "description": "Timestamp of when the listings item was created, formatted as ISO8601 date-time.", + "examples": [ + "2021-02-03T18:50:26.196Z" + ] + }, + "Status": { + "type": "array", + "title": "Status", + "description": "Array of status states currently associated with the affected listings item. The absence of a value indicates the status state is not currently applicable to the listings item. For example, if \"BUYABLE\" is not present, the listings item is not currently buyable.", + "items": { + "type": "string", + "enum": [ + "BUYABLE", + "DISCOVERABLE", + "DELETED" + ], + "x-docgen-enum-table-extension": [ + { + "value": "BUYABLE", + "description": "When provided, the listings item is buyable. When omitted, the listings item is non-buyable." + }, + { + "value": "DISCOVERABLE", + "description": "When provided, the listings item is discoverable. When omitted, the listings item is non-discoverable." + }, + { + "value": "DELETED", + "description": "When provided, the listings item is deleted. When omitted, the listings item is non-deleted." + } + ] + }, + "uniqueItems": true, + "examples": [ + [ + "BUYABLE", + "DISCOVERABLE" + ] + ] + } + } + }, + "NotificationMetadata": { + "type": "object", + "title": "Notification Metadata", + "description": "The metadata of the notification.", + "examples": [ + { + "ApplicationId": "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5", + "SubscriptionId": "93b098e1-c42-2f45-93a1-78910a6a8369", + "PublishTime": "2019-03-20T18:59:48.768Z", + "NotificationId": "8e009934-da2c-4f9c-9bc7-93f23b7e1f60" + } + ], + "required": [ + "ApplicationId", + "SubscriptionId", + "PublishTime", + "NotificationId" + ], + "properties": { + "ApplicationId": { + "type": "string", + "title": "Application ID", + "description": "Identifies the application.", + "examples": [ + "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5" + ] + }, + "SubscriptionId": { + "type": "string", + "title": "Subscription ID", + "description": "Identifies the subscription.", + "examples": [ + "93b098e1-c42-2f45-93a1-78910a6a8369" + ] + }, + "PublishTime": { + "type": "string", + "format": "date-time", + "title": "Publish Time", + "description": "Timestamp of when the notification was published, formatted as ISO8601 date-time.", + "examples": [ + "2019-03-20T18:59:48.768Z" + ] + }, + "NotificationId": { + "type": "string", + "title": "Notification ID", + "description": "Identifies the notification.", + "examples": [ + "8e009934-da2c-4f9c-9bc7-93f23b7e1f60" + ] + } + } + } + } +} diff --git a/schemas/notifications/MfnOrderStatusChangeNotification.json b/schemas/notifications/MfnOrderStatusChangeNotification.json new file mode 100644 index 0000000..ee4ff92 --- /dev/null +++ b/schemas/notifications/MfnOrderStatusChangeNotification.json @@ -0,0 +1,315 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "http://example.com/example.json", + "type": "object", + "title": "The root schema", + "description": "The root schema comprises the entire JSON document.", + "default": {}, + "examples": [ + { + "NotificationVersion": "1.0", + "NotificationType": "MFN_ORDER_STATUS_CHANGE", + "PayloadVersion": "1.0", + "EventTime": "2020-07-13T19:42:04.284Z", + "Payload": { + "MFNOrderStatusChangeNotification": { + "SellerId": "AXXXXXXXXXXXXX", + "MarketplaceId" : "ATVPDKIKX0DER", + "AmazonOrderId": "333-7777777-7777777", + "PurchaseDate": 1595882000633, + "OrderStatus": "SHIPPING", + "DestinationPostalCode": "48110", + "SupplySourceId": "55448834-0d79-5155-75c4-8529543a7c31", + "OrderItemId": "OIID34853450", + "SellerSKU": "SellerSKUID1", + "Quantity": 45 + } + }, + "NotificationMetadata": { + "ApplicationId": "app-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "SubscriptionId": "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "PublishTime": "2020-07-13T19:42:04.284Z", + "NotificationId": "d0e9e693-c3ad-4373-979f-ed4ec98dd746" + } + } + ], + "required": [ + "NotificationVersion", + "NotificationType", + "PayloadVersion", + "EventTime", + "Payload", + "NotificationMetadata" + ], + "properties": { + "NotificationVersion": { + "$id": "#/properties/NotificationVersion", + "type": "string", + "title": "The NotificationVersion schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "1.0" + ] + }, + "NotificationType": { + "$id": "#/properties/NotificationType", + "type": "string", + "title": "The NotificationType schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "MFN_ORDER_STATUS_CHANGE" + ] + }, + "PayloadVersion": { + "$id": "#/properties/PayloadVersion", + "type": "string", + "title": "The PayloadVersion schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "1.0" + ] + }, + "EventTime": { + "$id": "#/properties/EventTime", + "type": "string", + "title": "The EventTime schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2020-07-13T19:42:04.284Z" + ] + }, + "Payload": { + "$id": "#/properties/Payload", + "type": "object", + "title": "The Payload schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "MFNOrderStatusChangeNotification": { + "SellerId": "AXXXXXXXXXXXXX", + "MarketplaceId" : "ATVPDKIKX0DER", + "AmazonOrderId": "333-7777777-7777777", + "PurchaseDate": 1595882000633, + "OrderStatus": "SHIPPING", + "DestinationPostalCode": "48110", + "SupplySourceId": "55448834-0d79-5155-75c4-8529543a7c31", + "OrderItemId": "OIID34853450", + "SellerSKU": "SellerSKUID1", + "Quantity": 45 + } + } + ], + "required": [ + "MFNOrderStatusChangeNotification" + ], + "properties": { + "MFNOrderStatusChangeNotification": { + "$id": "#/properties/Payload/properties/MFNOrderStatusChangeNotification", + "type": "object", + "title": "The MFNOrderStatusChangeNotification schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "SellerId": "AXXXXXXXXXXXXX", + "MarketplaceId" : "ATVPDKIKX0DER", + "AmazonOrderId": "333-7777777-7777777", + "PurchaseDate": 1595882000633, + "OrderStatus": "SHIPPING", + "DestinationPostalCode": "48110", + "SupplySourceId": "55448834-0d79-5155-75c4-8529543a7c31", + "OrderItemId": "OIID34853450", + "SellerSKU": "SellerSKUID1", + "Quantity": 45 + } + ], + "required": [ + "SellerId", + "MarketplaceId", + "AmazonOrderId", + "PurchaseDate", + "OrderStatus", + "DestinationPostalCode", + "SupplySourceId", + "OrderItemId", + "SellerSKU", + "Quantity" + ], + "properties": { + "SellerId": { + "$id": "#/properties/Payload/properties/MFNOrderStatusChangeNotification/properties/SellerId", + "type": "string", + "title": "The SellerId schema", + "description": "The selling partner identifier.", + "default": "", + "examples": [ + "AXXXXXXXXXXXXX" + ] + }, + "MarketplaceId": { + "$id": "#/properties/Payload/properties/MFNOrderStatusChangeNotification/properties/MarketplaceId", + "type": "string", + "title": "The MarketplaceId schema", + "description": "Amazon marketplace identifier of the affected order.", + "examples": [ + "ATVPDKIKX0DER" + ] + }, + "AmazonOrderId": { + "$id": "#/properties/Payload/properties/MFNOrderStatusChangeNotification/properties/AmazonOrderId", + "type": "string", + "title": "The AmazonOrderId schema", + "description": "An Amazon-defined order identifier in 3-7-7 format.", + "default": "", + "examples": [ + "333-7777777-7777777" + ] + }, + "PurchaseDate": { + "$id": "#/properties/Payload/properties/MFNOrderStatusChangeNotification/properties/PurchaseDate", + "type": ["integer", "null"], + "title": "The PurchaseDate schema", + "description": "The purchase date of the order in Epoch time.", + "default": 0, + "examples": [ + 1595882000633 + ] + }, + "OrderStatus": { + "$id": "#/properties/Payload/properties/MFNOrderStatusChangeNotification/properties/OrderStatus", + "type": "string", + "title": "The OrderStatus schema", + "description": "The current order status, its possible values are UPCOMINGORDER, PENDING, SHIPPING, WAITING, CANCELED, INVOICEUNCONFIRMED, SHIPPED and UNFULFILLABLE.", + "default": "", + "examples": [ + "SHIPPING" + ] + }, + "DestinationPostalCode": { + "$id": "#/properties/Payload/properties/MFNOrderStatusChangeNotification/properties/DestinationPostalCode", + "type": ["string", "null"], + "title": "The DestinationPostalCode schema", + "description": "The destination postal code.", + "default": "", + "examples": [ + "48110" + ] + }, + "SupplySourceId": { + "$id": "#/properties/Payload/properties/MFNOrderStatusChangeNotification/properties/SupplySourceId", + "type": ["string", "null"], + "title": "The SupplySourceId schema", + "description": "The unique identifier of the supply source.", + "default": "", + "examples": [ + "55448834-0d79-5155-75c4-8529543a7c31" + ] + }, + "OrderItemId": { + "$id": "#/properties/Payload/properties/MFNOrderStatusChangeNotification/properties/OrderItemId", + "type": "string", + "title": "The OrderItemId schema", + "description": "The Amazon-defined order item identifier.", + "default": "", + "examples": [ + "OIID34853450" + ] + }, + "SellerSKU": { + "$id": "#/properties/Payload/properties/MFNOrderStatusChangeNotification/properties/SellerSKU", + "type": "string", + "title": "The SellerSKU schema", + "description": "The seller-specific SKU identifier for an item.", + "default": "", + "examples": [ + "SellerSKUID1" + ] + }, + "Quantity": { + "$id": "#/properties/Payload/properties/MFNOrderStatusChangeNotification/properties/Quantity", + "type": "integer", + "title": "The Quantity schema", + "description": "The number of items in the order.", + "default": 0, + "examples": [ + 45 + ] + } + }, + "additionalProperties": true + } + }, + "additionalProperties": true + }, + "NotificationMetadata": { + "$id": "#/properties/NotificationMetadata", + "type": "object", + "title": "The NotificationMetadata schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "ApplicationId": "app-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "SubscriptionId": "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "PublishTime": "2020-07-13T19:42:04.284Z", + "NotificationId": "d0e9e693-c3ad-4373-979f-ed4ec98dd746" + } + ], + "required": [ + "ApplicationId", + "SubscriptionId", + "PublishTime", + "NotificationId" + ], + "properties": { + "ApplicationId": { + "$id": "#/properties/NotificationMetadata/properties/ApplicationId", + "type": "string", + "title": "The ApplicationId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "app-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746" + ] + }, + "SubscriptionId": { + "$id": "#/properties/NotificationMetadata/properties/SubscriptionId", + "type": "string", + "title": "The SubscriptionId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746" + ] + }, + "PublishTime": { + "$id": "#/properties/NotificationMetadata/properties/PublishTime", + "type": "string", + "title": "The PublishTime schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2020-07-13T19:42:04.284Z" + ] + }, + "NotificationId": { + "$id": "#/properties/NotificationMetadata/properties/NotificationId", + "type": "string", + "title": "The NotificationId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "d0e9e693-c3ad-4373-979f-ed4ec98dd746" + ] + } + }, + "additionalProperties": true + } + }, + "additionalProperties": true +} diff --git a/schemas/notifications/OrderStatusChangeNotification.json b/schemas/notifications/OrderStatusChangeNotification.json new file mode 100644 index 0000000..680cfdf --- /dev/null +++ b/schemas/notifications/OrderStatusChangeNotification.json @@ -0,0 +1,328 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "http://example.com/example.json", + "type": "object", + "title": "The root schema", + "description": "The root schema comprises the entire JSON document.", + "default": {}, + "examples": [ + { + "NotificationVersion": "1.0", + "NotificationType": "ORDER_STATUS_CHANGE", + "PayloadVersion": "1.0", + "EventTime": "2020-07-13T19:42:04.284Z", + "Payload": { + "OrderStatusChangeNotification": { + "SellerId": "AXXXXXXXXXXXXX", + "MarketplaceId" : "ATVPDKIKX0DER", + "AmazonOrderId": "333-7777777-7777777", + "PurchaseDate": 1595882000633, + "OrderStatus": "Unshipped", + "DestinationPostalCode": "48110", + "SupplySourceId": "55448834-0d79-5155-75c4-8529543a7c31", + "OrderItemId": "OIID34853450", + "SellerSKU": "SellerSKUID1", + "Quantity": 45, + "FulfillmentChannel": "MFN" + } + }, + "NotificationMetadata": { + "ApplicationId": "app-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "SubscriptionId": "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "PublishTime": "2020-07-13T19:42:04.284Z", + "NotificationId": "d0e9e693-c3ad-4373-979f-ed4ec98dd746" + } + } + ], + "required": [ + "NotificationVersion", + "NotificationType", + "PayloadVersion", + "EventTime", + "Payload", + "NotificationMetadata" + ], + "properties": { + "NotificationVersion": { + "$id": "#/properties/NotificationVersion", + "type": "string", + "title": "The NotificationVersion schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "1.0" + ] + }, + "NotificationType": { + "$id": "#/properties/NotificationType", + "type": "string", + "title": "The NotificationType schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "ORDER_STATUS_CHANGE" + ] + }, + "PayloadVersion": { + "$id": "#/properties/PayloadVersion", + "type": "string", + "title": "The PayloadVersion schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "1.0" + ] + }, + "EventTime": { + "$id": "#/properties/EventTime", + "type": "string", + "title": "The EventTime schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2020-07-13T19:42:04.284Z" + ] + }, + "Payload": { + "$id": "#/properties/Payload", + "type": "object", + "title": "The Payload schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "OrderStatusChangeNotification": { + "SellerId": "AXXXXXXXXXXXXX", + "MarketplaceId" : "ATVPDKIKX0DER", + "AmazonOrderId": "333-7777777-7777777", + "PurchaseDate": 1595882000633, + "OrderStatus": "Unshipped", + "DestinationPostalCode": "48110", + "SupplySourceId": "55448834-0d79-5155-75c4-8529543a7c31", + "OrderItemId": "OIID34853450", + "SellerSKU": "SellerSKUID1", + "Quantity": 45, + "FulfillmentChannel": "MFN" + } + } + ], + "required": [ + "OrderStatusChangeNotification" + ], + "properties": { + "OrderStatusChangeNotification": { + "$id": "#/properties/Payload/properties/OrderStatusChangeNotification", + "type": "object", + "title": "The OrderStatusChangeNotification schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "SellerId": "AXXXXXXXXXXXXX", + "MarketplaceId" : "ATVPDKIKX0DER", + "AmazonOrderId": "333-7777777-7777777", + "PurchaseDate": 1595882000633, + "OrderStatus": "Unshipped", + "DestinationPostalCode": "48110", + "SupplySourceId": "55448834-0d79-5155-75c4-8529543a7c31", + "OrderItemId": "OIID34853450", + "SellerSKU": "SellerSKUID1", + "Quantity": 45, + "FulfillmentChannel": "MFN" + } + ], + "required": [ + "SellerId", + "MarketplaceId", + "AmazonOrderId", + "PurchaseDate", + "OrderStatus", + "DestinationPostalCode", + "SupplySourceId", + "OrderItemId", + "SellerSKU", + "Quantity", + "FulfillmentChannel" + ], + "properties": { + "SellerId": { + "$id": "#/properties/Payload/properties/OrderStatusChangeNotification/properties/SellerId", + "type": "string", + "title": "The SellerId schema", + "description": "The selling partner identifier.", + "default": "", + "examples": [ + "AXXXXXXXXXXXXX" + ] + }, + "MarketplaceId": { + "$id": "#/properties/Payload/properties/OrderStatusChangeNotification/properties/MarketplaceId", + "type": "string", + "title": "The MarketplaceId schema", + "description": "Amazon marketplace identifier of the affected order.", + "examples": [ + "ATVPDKIKX0DER" + ] + }, + "AmazonOrderId": { + "$id": "#/properties/Payload/properties/OrderStatusChangeNotification/properties/AmazonOrderId", + "type": "string", + "title": "The AmazonOrderId schema", + "description": "An Amazon-defined order identifier in 3-7-7 format.", + "default": "", + "examples": [ + "333-7777777-7777777" + ] + }, + "PurchaseDate": { + "$id": "#/properties/Payload/properties/OrderStatusChangeNotification/properties/PurchaseDate", + "type": ["integer", "null"], + "title": "The PurchaseDate schema", + "description": "The purchase date of the order in Epoch time.", + "default": 0, + "examples": [ + 1595882000633 + ] + }, + "OrderStatus": { + "$id": "#/properties/Payload/properties/OrderStatusChangeNotification/properties/OrderStatus", + "type": "string", + "title": "The OrderStatus schema", + "description": "The current order status. The possible values include UpComing, Pending, Unshipped, PartiallyShipped, PendingAvailability, Canceled, InvoiceUnconfirmed, Shipped, and Unfulfillable.", + "default": "", + "examples": [ + "Unshipped" + ] + }, + "DestinationPostalCode": { + "$id": "#/properties/Payload/properties/OrderStatusChangeNotification/properties/DestinationPostalCode", + "type": ["string", "null"], + "title": "The DestinationPostalCode schema", + "description": "The destination postal code.", + "default": "", + "examples": [ + "48110" + ] + }, + "SupplySourceId": { + "$id": "#/properties/Payload/properties/OrderStatusChangeNotification/properties/SupplySourceId", + "type": ["string", "null"], + "title": "The SupplySourceId schema", + "description": "The unique identifier of the supply source.", + "default": "", + "examples": [ + "55448834-0d79-5155-75c4-8529543a7c31" + ] + }, + "OrderItemId": { + "$id": "#/properties/Payload/properties/OrderStatusChangeNotification/properties/OrderItemId", + "type": "string", + "title": "The OrderItemId schema", + "description": "The Amazon-defined order item identifier.", + "default": "", + "examples": [ + "OIID34853450" + ] + }, + "SellerSKU": { + "$id": "#/properties/Payload/properties/OrderStatusChangeNotification/properties/SellerSKU", + "type": "string", + "title": "The SellerSKU schema", + "description": "The seller-specific SKU identifier for an item.", + "default": "", + "examples": [ + "SellerSKUID1" + ] + }, + "Quantity": { + "$id": "#/properties/Payload/properties/OrderStatusChangeNotification/properties/Quantity", + "type": "integer", + "title": "The Quantity schema", + "description": "The number of items in the order.", + "default": 0, + "examples": [ + 45 + ] + }, + "FulfillmentChannel": { + "$id": "#/properties/Payload/properties/OrderStatusChangeNotification/properties/FulfillmentChannel", + "type": "string", + "title": "The FulfillmentChannel schema", + "description": "Fulfillment channel of the affected order, MFN or AFN.", + "examples": [ + "MFN" + ] + } + }, + "additionalProperties": true + } + }, + "additionalProperties": true + }, + "NotificationMetadata": { + "$id": "#/properties/NotificationMetadata", + "type": "object", + "title": "The NotificationMetadata schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "ApplicationId": "app-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "SubscriptionId": "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "PublishTime": "2020-07-13T19:42:04.284Z", + "NotificationId": "d0e9e693-c3ad-4373-979f-ed4ec98dd746" + } + ], + "required": [ + "ApplicationId", + "SubscriptionId", + "PublishTime", + "NotificationId" + ], + "properties": { + "ApplicationId": { + "$id": "#/properties/NotificationMetadata/properties/ApplicationId", + "type": "string", + "title": "The ApplicationId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "app-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746" + ] + }, + "SubscriptionId": { + "$id": "#/properties/NotificationMetadata/properties/SubscriptionId", + "type": "string", + "title": "The SubscriptionId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746" + ] + }, + "PublishTime": { + "$id": "#/properties/NotificationMetadata/properties/PublishTime", + "type": "string", + "title": "The PublishTime schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2020-07-13T19:42:04.284Z" + ] + }, + "NotificationId": { + "$id": "#/properties/NotificationMetadata/properties/NotificationId", + "type": "string", + "title": "The NotificationId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "d0e9e693-c3ad-4373-979f-ed4ec98dd746" + ] + } + }, + "additionalProperties": true + } + }, + "additionalProperties": true +} \ No newline at end of file diff --git a/schemas/notifications/PricingHealthNotification.json b/schemas/notifications/PricingHealthNotification.json new file mode 100644 index 0000000..2864585 --- /dev/null +++ b/schemas/notifications/PricingHealthNotification.json @@ -0,0 +1,467 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "type": "object", + "description": "The notification response schema that comprises the entire JSON document for PRICING_HEALTH notification", + "examples": [ + { + "notificationVersion": "1.0", + "notificationType": "PRICING_HEALTH", + "payloadVersion": "1.0", + "eventTime": "2020-09-23T21:30:13.713Z", + "payload": { + "issueType": "BuyBoxDisqualification", + "sellerId": "A3EZFOFNDPFB8R", + "offerChangeTrigger": { + "marketplaceId": "ATVPDKIKX0DER", + "asin": "B007IBIWZY", + "itemCondition": "new", + "timeOfOfferChange": "2020-09-23T21:30:13.409Z" + }, + "merchantOffer": { + "condition": "new", + "fulfillmentType": "MFN", + "listingPrice": { + "amount": 8184.23, + "currencyCode": "USD" + }, + "shipping": { + "amount": 4.49, + "currencyCode": "USD" + }, + "landedPrice": { + "amount": 8188.72, + "currencyCode": "USD" + }, + "points" : { + "pointsNumber" : 34343 + } + }, + "summary": { + "numberOfOffers": [ + { + "condition": "new", + "fulfillmentType": "MFN", + "offerCount": 3 + } + ], + "buyBoxEligibleOffers": [ + { + "condition": "new", + "fulfillmentType": "MFN", + "offerCount": 3 + } + ], + "buyBoxPrices": [ + { + "condition": "new", + "listingPrice": { + "amount": 8184.23, + "currencyCode": "USD" + }, + "shipping": { + "amount": 4.49, + "currencyCode": "USD" + }, + "landedPrice": { + "amount": 8188.72, + "currencyCode": "USD" + }, + "points" : { + "pointsNumber" : 34343 + } + } + ], + "salesRankings": [ + { + "productCategoryId": "lawn_and_garden_display_on_website", + "rank": 4013 + }, + { + "productCategoryId": "home_garden_display_on_website", + "rank": 17316 + } + ], + "referencePrice": { + "averageSellingPrice": { + "amount": 7500, + "currencyCode": "USD" + }, + "competitivePriceThreshold": { + "amount": 8000, + "currencyCode": "USD" + }, + "msrpPrice": { + "amount": 7900, + "currencyCode": "USD" + }, + "retailOfferPrice": { + "amount": 8000, + "currencyCode": "USD" + } + } + } + }, + "notificationMetadata": { + "applicationId": "amzn1.sellerapps.app.1da85d14-a68d-4ff3-9ff0-df6429e00d9a", + "subscriptionId": "e3a059ca-677a-442a-8d39-05b2848971b6", + "publishTime": "2020-09-23T21:30:16.903Z", + "notificationId": "23ae41cd-3537-4676-af46-6ee9abf8802e" + } + } + ], + "$ref": "#/definitions/notificationResponse", + "definitions": { + "offerChangeTrigger": { + "type": "object", + "description": "The event that caused the notification to be sent", + "required": [ + "marketplaceId", + "asin", + "itemCondition", + "timeOfOfferChange" + ], + "properties": { + "marketplaceId": { + "type": "string", + "description": "The marketplace identifier of the item that had an offer change" + }, + "asin": { + "type": "string", + "description": "The asin for the item that had an offer change" + }, + "itemCondition": { + "type": "string", + "description": "The condition of the item that had an offer change" + }, + "timeOfOfferChange": { + "type": "string", + "description": "The update time for the offer that caused this notification" + } + } + }, + "condition": { + "type": "string", + "description": "Indicates the condition of the item" + }, + "fulfillmentType": { + "type": "string", + "description": "Indicates whether the item is fulfilled by Amazon or by the seller", + "enum": [ + "AFN", + "MFN" + ] + }, + "offerCount": { + "type": "object", + "required": [ + "condition", + "fulfillmentType", + "offerCount" + ], + "properties": { + "condition": { + "$ref": "#/definitions/condition" + }, + "fulfillmentType": { + "$ref": "#/definitions/fulfillmentType" + }, + "offerCount": { + "type": "integer", + "description": "The total number of offers for the specified condition and fulfillment channel" + } + } + }, + "moneyType": { + "type": "object", + "required": [ + "amount", + "currencyCode" + ], + "properties": { + "amount": { + "type": "number" + }, + "currencyCode": { + "type": "string" + } + } + }, + "landedPrice": { + "$ref": "#/definitions/moneyType", + "description": "ListingPrice + Shipping" + }, + "listingPrice": { + "$ref": "#/definitions/moneyType", + "description": "The price of the item" + }, + "shipping": { + "$ref": "#/definitions/moneyType", + "description": "The shipping cost" + }, + "points": { + "type": "object", + "description": "The number of Amazon Points offered with the purchase of an item", + "required": [ + "pointsNumber" + ], + "properties": { + "pointsNumber": { + "type": "integer", + "description": "The number of Amazon Points offered with the purchase of an item" + } + } + }, + "merchantOffer": { + "type": "object", + "description": "Offer details of the merchant receiving the notification", + "required": [ + "condition", + "fulfillmentType", + "landedPrice", + "shipping", + "listingPrice" + ], + "properties": { + "condition": { + "$ref": "#/definitions/condition" + }, + "fulfillmentType": { + "$ref": "#/definitions/fulfillmentType" + }, + "landedPrice": { + "$ref": "#/definitions/landedPrice" + }, + "listingPrice": { + "$ref": "#/definitions/listingPrice" + }, + "shipping": { + "$ref": "#/definitions/shipping" + }, + "points": { + "$ref": "#/definitions/points" + } + } + }, + "buyBoxPrice": { + "type": "object", + "required": [ + "condition", + "landedPrice", + "shipping", + "listingPrice" + ], + "properties": { + "condition": { + "$ref": "#/definitions/condition" + }, + "landedPrice": { + "$ref": "#/definitions/landedPrice" + }, + "listingPrice": { + "$ref": "#/definitions/listingPrice" + }, + "shipping": { + "$ref": "#/definitions/shipping" + }, + "points": { + "$ref": "#/definitions/points" + } + } + }, + "salesRank": { + "type": "object", + "required": [ + "productCategoryId", + "rank" + ], + "properties": { + "productCategoryId": { + "type": "string", + "description": "The product category for the rank" + }, + "rank": { + "type": "integer", + "description": "The sales rank of the ASIN" + } + } + }, + "averageSellingPrice": { + "$ref": "#/definitions/moneyType", + "description": "The average selling price of the item" + }, + "competitivePriceThreshold": { + "$ref": "#/definitions/moneyType", + "description": "The competitive price threshold from external competitors of Amazon" + }, + "retailOfferPrice": { + "$ref": "#/definitions/moneyType", + "description": "The 14 day maximum of retail offer price" + }, + "msrpPrice": { + "$ref": "#/definitions/moneyType", + "description": "The manufacturer suggested retail price for the ASIN" + }, + "referencePrice": { + "type": "object", + "description": "A set of reference prices for the given ASIN", + "properties": { + "averageSellingPrice": { + "$ref": "#/definitions/averageSellingPrice" + }, + "competitivePriceThreshold": { + "$ref": "#/definitions/competitivePriceThreshold" + }, + "retailOfferPrice": { + "$ref": "#/definitions/retailOfferPrice" + }, + "msrpPrice": { + "$ref": "#/definitions/msrpPrice" + } + } + }, + "summary": { + "type": "object", + "required": [ + "numberOfOffers", + "buyBoxEligibleOffers", + "referencePrice" + ], + "properties": { + "numberOfOffers": { + "type": "array", + "description": "A list that contains the total number of offers for the item for the given conditions and fulfillment channels", + "additionalItems": true, + "items": [ + { + "$ref": "#/definitions/offerCount" + } + ] + }, + "buyBoxEligibleOffers": { + "type": "array", + "description": "A list that contains the total number of offers that are eligible for the Buy Box for the given conditions and fulfillment channels", + "additionalItems": true, + "items": [ + { + "$ref": "#/definitions/offerCount" + } + ] + }, + "buyBoxPrices": { + "type": "array", + "description": "A list that contains the Buy Box price of the item for the given conditions", + "additionalItems": true, + "items": [ + { + "$ref": "#/definitions/buyBoxPrice" + } + ] + }, + "salesRankings": { + "type": "array", + "description": "A list that contains the sales rankings of the asin in various product categories", + "additionalItems": true, + "items": [ + { + "$ref": "#/definitions/salesRank" + } + ] + }, + "referencePrice": { + "$ref": "#/definitions/referencePrice" + } + } + }, + "payload": { + "type": "object", + "required": [ + "issueType", + "sellerId", + "offerChangeTrigger", + "merchantOffer", + "summary" + ], + "properties": { + "sellerId": { + "type": "string", + "description": "The seller identifier for the offer" + }, + "issueType": { + "type": "string", + "description": "The issue type for the notification" + }, + "offerChangeTrigger": { + "$ref": "#/definitions/offerChangeTrigger" + }, + "merchantOffer": { + "$ref": "#/definitions/merchantOffer" + }, + "summary": { + "$ref": "#/definitions/summary" + } + } + }, + "notificationMetadata": { + "type": "object", + "required": [ + "applicationId", + "subscriptionId", + "publishTime", + "notificationId" + ], + "properties": { + "applicationId": { + "type": "string", + "description": "The identifier for the application that uses the notifications" + }, + "subscriptionId": { + "type": "string", + "description": "A unique identifier for the subscription which resulted in this notification" + }, + "publishTime": { + "type": "string", + "description": "The date and time (in UTC) that the notification was sent" + }, + "notificationId": { + "type": "string", + "description": "A unique identifier for this notification instance" + } + } + }, + "notificationResponse": { + "type": "object", + "required": [ + "notificationVersion", + "notificationType", + "payloadVersion", + "eventTime", + "payload", + "notificationMetadata" + ], + "properties": { + "notificationVersion": { + "type": "string", + "description": "The notification version. This controls the structure of the notification" + }, + "notificationType": { + "type": "string", + "description": "The notification type. Combined with payload version controls the structure of payload object" + }, + "payloadVersion": { + "type": "string", + "description": "The payload version. Combined with notification type controls the structure of payload" + }, + "eventTime": { + "type": "string", + "description": "The date and time (in UTC) that the event which triggered the notification occurred" + }, + "payload": { + "$ref": "#/definitions/payload" + }, + "notificationMetadata": { + "$ref": "#/definitions/notificationMetadata" + } + } + } + } +} \ No newline at end of file diff --git a/schemas/notifications/ProductTypeDefinitionsChangeNotification.json b/schemas/notifications/ProductTypeDefinitionsChangeNotification.json new file mode 100644 index 0000000..a131738 --- /dev/null +++ b/schemas/notifications/ProductTypeDefinitionsChangeNotification.json @@ -0,0 +1,218 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "http://example.com/example.json", + "type": "object", + "title": "The root schema", + "description": "The root schema comprises the entire JSON document.", + "default": {}, + "examples": [ + { + "NotificationVersion":"1.0", + "NotificationType":"PRODUCT_TYPE_DEFINITIONS_CHANGE", + "PayloadVersion":"1.0", + "EventTime":"2021-02-03T18:59:30.194Z", + "Payload":{ + "AccountId": "AXXXXXXXXXXX", + "MarketplaceId": "ATVPDKIKX0DER", + "ProductTypeVersion": "Uyp-Z6z_y2HhQD2x8sDBXkRAuxBqBionr", + "NewProductTypes": [ + "LUGGAGE", + "SHOES" + ] + }, + "NotificationMetadata":{ + "ApplicationId":"amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5", + "SubscriptionId":"93b098e1-c42-2f45-93a1-78910a6a8369", + "PublishTime":"2021-02-03T18:59:30.194Z", + "NotificationId":"0e999936-da2c-4f9c-9fc2-02b67bae5f49" + } + } + ], + "required": [ + "NotificationVersion", + "NotificationType", + "PayloadVersion", + "EventTime", + "Payload", + "NotificationMetadata" + ], + "properties": { + "NotificationVersion": { + "$id": "#/properties/NotificationVersion", + "type": "string", + "title": "The NotificationVersion schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "1.0" + ] + }, + "NotificationType": { + "$id": "#/properties/NotificationType", + "type": "string", + "title": "The NotificationType schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "PRODUCT_TYPE_DEFINITIONS_CHANGE" + ] + }, + "PayloadVersion": { + "$id": "#/properties/PayloadVersion", + "type": "string", + "title": "The PayloadVersion schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "1.0" + ] + }, + "EventTime": { + "$id": "#/properties/EventTime", + "type": "string", + "title": "The EventTime schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2019-03-20T18:59:30.194Z" + ] + }, + "Payload": { + "$id": "#/properties/Payload", + "type": "object", + "title": "The Payload schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "AccountId": "AXXXXXXXXXXX", + "MarketplaceId": "ATVPDKIKX0DER", + "ProductTypeVersion": "Uyp-Z6z_y2HhQD2x8sDBXkRAuxBqBionr", + "NewProductTypes": [ + "LUGGAGE", + "SHOES" + ] + }, + { + "AccountId": "AXXXXXXXXXXX", + "ProductTypeVersion": "Uyp-Z6z_y2HhQD2x8sDBXkRAuxBqBionr" + } + ], + "required": [ + "AccountId", + "ProductTypeVersion" + ], + "properties": { + "MarketplaceId": { + "$id": "#/properties/Payload/properties/MarketplaceId", + "type": "string", + "title": "The MarketplaceId schema", + "description": "The marketplace where the Product Type Definition has changed", + "default": "", + "examples": [ + "ATVPDKIKX0DER" + ] + }, + "AccountId": { + "$id": "#/properties/Payload/properties/AccountId", + "type": "string", + "title": "The Merchant Id or Vendor Group Id.", + "description": "The Merchant Id or Vendor Group Id related to the subscription.", + "default": "", + "examples": [ + "AXXXXXXXXXXX" + ] + }, + "ProductTypeVersion": { + "$id": "#/properties/Payload/properties/ProductTypeVersion", + "type": "string", + "title": "The version of latest Product Type Definitions", + "description": "Provides the latest released Product Type Definition version.", + "default": "", + "examples": [ + "Uyp-Z6z_y2HhQD2x8sDBXkRAuxBqBionr" + ] + }, + "NewProductTypes": { + "$id": "#/properties/Payload/properties/NewProductTypes", + "type": "array", + "title": "New Product Types", + "description": "List of new Product Types release in the marketplace.", + "default": "", + "examples": [ + [ + "LUGGAGE", + "SHOES" + ] + ] + } + }, + "additionalProperties": true + }, + "NotificationMetadata": { + "$id": "#/properties/NotificationMetadata", + "type": "object", + "title": "The NotificationMetadata schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "ApplicationId": "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5", + "SubscriptionId": "93b098e1-c42-2f45-93a1-78910a6a8369", + "PublishTime": "2019-03-20T18:59:48.768Z", + "NotificationId": "8e009934-da2c-4f9c-9bc7-93f23b7e1f60" + } + ], + "required": [ + "ApplicationId", + "SubscriptionId", + "PublishTime", + "NotificationId" + ], + "properties": { + "ApplicationId": { + "$id": "#/properties/NotificationMetadata/properties/ApplicationId", + "type": "string", + "title": "The ApplicationId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5" + ] + }, + "SubscriptionId": { + "$id": "#/properties/NotificationMetadata/properties/SubscriptionId", + "type": "string", + "title": "The SubscriptionId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "93b098e1-c42-2f45-93a1-78910a6a8369" + ] + }, + "PublishTime": { + "$id": "#/properties/NotificationMetadata/properties/PublishTime", + "type": "string", + "title": "The PublishTime schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "2019-03-20T18:59:48.768Z" + ] + }, + "NotificationId": { + "$id": "#/properties/NotificationMetadata/properties/NotificationId", + "type": "string", + "title": "The NotificationId schema", + "description": "An explanation about the purpose of this instance.", + "default": "", + "examples": [ + "8e009934-da2c-4f9c-9bc7-93f23b7e1f60" + ] + } + }, + "additionalProperties": true + } + }, + "additionalProperties": true +} \ No newline at end of file diff --git a/schemas/notifications/ReportProcessingFinishedNotification.json b/schemas/notifications/ReportProcessingFinishedNotification.json new file mode 100644 index 0000000..a104dab --- /dev/null +++ b/schemas/notifications/ReportProcessingFinishedNotification.json @@ -0,0 +1,214 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "http://example.com/example.json", + "type": "object", + "description": "The root schema comprises the entire JSON document.", + "examples": [ + { + "notificationVersion": "2020-09-04", + "notificationType": "REPORT_PROCESSING_FINISHED", + "payloadVersion": "2020-09-04", + "eventTime": "2020-07-14T03:35:13.214Z", + "payload": { + "reportProcessingFinishedNotification": { + "sellerId": "A3TH9S8BH6GOGM", + "reportId": "54517018502", + "reportType": "GET_FLAT_FILE_ACTIONABLE_ORDER_DATA", + "processingStatus": "CANCELLED", + "reportDocumentId": "amzn1.tortuga.3.edbcd0d8-3434-8222-1234-52ad8ade1208.REP4567URI9BMZ" + } + }, + "notificationMetadata": { + "applicationId": "amzn1.sellerapps.app.aacccfff-4455-4b7c-4422-664ecacdd336", + "subscriptionId": "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "publishTime": "2020-07-13T19:42:04.284Z", + "notificationId": "d0e9e693-c3ad-4373-979f-ed4ec98dd746" + } + } + ], + "required": [ + "notificationVersion", + "notificationType", + "payloadVersion", + "eventTime", + "payload", + "notificationMetadata" + ], + "properties": { + "notificationVersion": { + "$id": "#/properties/notificationVersion", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "2020-09-04" + ] + }, + "notificationType": { + "$id": "#/properties/notificationType", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "REPORT_PROCESSING_FINISHED" + ] + }, + "payloadVersion": { + "$id": "#/properties/payloadVersion", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "2020-09-04" + ] + }, + "eventTime": { + "$id": "#/properties/eventTime", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "2020-07-14T03:35:13.214Z" + ] + }, + "payload": { + "$id": "#/properties/payload", + "type": "object", + "description": "An explanation about the purpose of this instance.", + "examples": [ + { + "reportProcessingFinishedNotification": { + "sellerId": "A3TH9S8BH6GOGM", + "reportId": "54517018502", + "reportType": "GET_FLAT_FILE_ACTIONABLE_ORDER_DATA", + "processingStatus": "CANCELLED", + "reportDocumentId": "amzn1.tortuga.3.edbcd0d8-3434-8222-1234-52ad8ade1208.REP4567URI9BMZ" + } + } + ], + "required": [ + "reportProcessingFinishedNotification" + ], + "properties": { + "reportProcessingFinishedNotification": { + "$id": "#/properties/payload/properties/reportProcessingFinishedNotification", + "type": "object", + "description": "An explanation about the purpose of this instance.", + "examples": [ + { + "sellerId": "A3TH9S8BH6GOGM", + "reportId": "54517018502", + "reportType": "GET_FLAT_FILE_ACTIONABLE_ORDER_DATA", + "processingStatus": "CANCELLED", + "reportDocumentId": "amzn1.tortuga.3.edbcd0d8-3434-8222-1234-52ad8ade1208.REP4567URI9BMZ" + } + ], + "required": [ + "sellerId", + "reportId", + "reportType", + "processingStatus" + ], + "properties": { + "sellerId": { + "$id": "#/properties/payload/properties/reportProcessingFinishedNotification/properties/sellerId", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "A3TH9S8BH6GOGM" + ] + }, + "reportId": { + "$id": "#/properties/payload/properties/reportProcessingFinishedNotification/properties/reportId", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "54517018502" + ] + }, + "reportType": { + "$id": "#/properties/payload/properties/reportProcessingFinishedNotification/properties/reportType", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "GET_FLAT_FILE_ACTIONABLE_ORDER_DATA" + ] + }, + "processingStatus": { + "$id": "#/properties/payload/properties/reportProcessingFinishedNotification/properties/processingStatus", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "CANCELLED", + "DONE", + "FATAL" + ], + "enum": [ + "CANCELLED", + "DONE", + "FATAL" + ] + }, + "reportDocumentId": { + "$id": "#/properties/payload/properties/reportProcessingFinishedNotification/properties/reportDocumentId", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "amzn1.tortuga.3.edbcd0d8-3434-8222-1234-52ad8ade1208.REP4567URI9BMZ" + ] + } + } + } + } + }, + "notificationMetadata": { + "$id": "#/properties/notificationMetadata", + "type": "object", + "description": "An explanation about the purpose of this instance.", + "examples": [ + { + "applicationId": "amzn1.sellerapps.app.aacccfff-4455-4b7c-4422-664ecacdd336", + "subscriptionId": "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746", + "publishTime": "2020-07-13T19:42:04.284Z", + "notificationId": "d0e9e693-c3ad-4373-979f-ed4ec98dd746" + } + ], + "required": [ + "applicationId", + "subscriptionId", + "publishTime", + "notificationId" + ], + "properties": { + "applicationId": { + "$id": "#/properties/notificationMetadata/properties/applicationId", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "amzn1.sellerapps.app.aacccfff-4455-4b7c-4422-664ecacdd336" + ] + }, + "subscriptionId": { + "$id": "#/properties/notificationMetadata/properties/subscriptionId", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746" + ] + }, + "publishTime": { + "$id": "#/properties/notificationMetadata/properties/publishTime", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "2020-07-13T19:42:04.284Z" + ] + }, + "notificationId": { + "$id": "#/properties/notificationMetadata/properties/notificationId", + "type": "string", + "description": "An explanation about the purpose of this instance.", + "examples": [ + "d0e9e693-c3ad-4373-979f-ed4ec98dd746" + ] + } + } + } + } +} \ No newline at end of file