selling-partner-api-models/schemas/notifications/FeedProcessingFinishedNotif...

214 lines
7.3 KiB
JSON
Raw Normal View History

2022-06-28 02:00:07 +08:00
{
"$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"
]
}
}
}
}
}