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" : "REPORT_PROCESSING_FINISHED" ,
"payloadVersion" : "2020-09-04" ,
"eventTime" : "2020-07-14T03:35:13.214Z" ,
"payload" : {
"reportProcessingFinishedNotification" : {
"sellerId" : "A3TH9S8BH6GOGM" ,
2024-03-21 02:03:55 +08:00
"accountId" : "amzn1.merchant.o.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"
}
} ,
{
"notificationVersion" : "2020-09-04" ,
"notificationType" : "REPORT_PROCESSING_FINISHED" ,
"payloadVersion" : "2020-09-04" ,
"eventTime" : "2020-07-14T03:35:13.214Z" ,
"payload" : {
"reportProcessingFinishedNotification" : {
"accountId" : "amzn1.vg.6213651" ,
2022-06-28 02:00:07 +08:00
"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" ,
2024-03-21 02:03:55 +08:00
"description" : "The version of the notification." ,
2022-06-28 02:00:07 +08:00
"examples" : [
"2020-09-04"
]
} ,
"notificationType" : {
"$id" : "#/properties/notificationType" ,
"type" : "string" ,
2024-03-21 02:03:55 +08:00
"description" : "The type of the notification." ,
2022-06-28 02:00:07 +08:00
"examples" : [
"REPORT_PROCESSING_FINISHED"
]
} ,
"payloadVersion" : {
"$id" : "#/properties/payloadVersion" ,
"type" : "string" ,
2024-03-21 02:03:55 +08:00
"description" : "The version of the payload." ,
2022-06-28 02:00:07 +08:00
"examples" : [
"2020-09-04"
]
} ,
"eventTime" : {
"$id" : "#/properties/eventTime" ,
"type" : "string" ,
2024-03-21 02:03:55 +08:00
"description" : "The timestamp of the event, formatted as ISO 8601 date-time." ,
2022-06-28 02:00:07 +08:00
"examples" : [
"2020-07-14T03:35:13.214Z"
]
} ,
"payload" : {
"$id" : "#/properties/payload" ,
"type" : "object" ,
2024-03-21 02:03:55 +08:00
"description" : "The details of this notification." ,
2022-06-28 02:00:07 +08:00
"examples" : [
{
"reportProcessingFinishedNotification" : {
"sellerId" : "A3TH9S8BH6GOGM" ,
2024-03-21 02:03:55 +08:00
"accountId" : "amzn1.merchant.o.A3TH9S8BH6GOGM" ,
"reportId" : "54517018502" ,
"reportType" : "GET_FLAT_FILE_ACTIONABLE_ORDER_DATA" ,
"processingStatus" : "CANCELLED" ,
"reportDocumentId" : "amzn1.tortuga.3.edbcd0d8-3434-8222-1234-52ad8ade1208.REP4567URI9BMZ"
}
} ,
{
"reportProcessingFinishedNotification" : {
"accountId" : "amzn1.vg.6213651" ,
2022-06-28 02:00:07 +08:00
"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" ,
2024-03-21 02:03:55 +08:00
"accountId" : "amzn1.merchant.o.A3TH9S8BH6GOGM" ,
"reportId" : "54517018502" ,
"reportType" : "GET_FLAT_FILE_ACTIONABLE_ORDER_DATA" ,
"processingStatus" : "CANCELLED" ,
"reportDocumentId" : "amzn1.tortuga.3.edbcd0d8-3434-8222-1234-52ad8ade1208.REP4567URI9BMZ"
} ,
{
"accountId" : "amzn1.vg.6213651" ,
2022-06-28 02:00:07 +08:00
"reportId" : "54517018502" ,
"reportType" : "GET_FLAT_FILE_ACTIONABLE_ORDER_DATA" ,
"processingStatus" : "CANCELLED" ,
"reportDocumentId" : "amzn1.tortuga.3.edbcd0d8-3434-8222-1234-52ad8ade1208.REP4567URI9BMZ"
}
] ,
"required" : [
2024-03-21 02:03:55 +08:00
"accountId" ,
2022-06-28 02:00:07 +08:00
"reportId" ,
"reportType" ,
"processingStatus"
] ,
"properties" : {
"sellerId" : {
"$id" : "#/properties/payload/properties/reportProcessingFinishedNotification/properties/sellerId" ,
"type" : "string" ,
2024-03-21 02:03:55 +08:00
"description" : "The merchant customer identifier of the selling partner account on whose behalf the report was submitted. This field will be null when the report was submitted on behalf of a vendor group identifier." ,
2022-06-28 02:00:07 +08:00
"examples" : [
"A3TH9S8BH6GOGM"
]
} ,
2024-03-21 02:03:55 +08:00
"accountId" : {
"$id" : "#/properties/payload/properties/reportProcessingFinishedNotification/properties/accountId" ,
"type" : "string" ,
"description" : "The merchant customer identifier or vendor group identifier of the selling partner account on whose behalf the report was submitted." ,
"examples" : [
"amzn1.merchant.o.A3TH9S8BH6GOGM" ,
"amzn1.vg.6213651"
]
} ,
2022-06-28 02:00:07 +08:00
"reportId" : {
"$id" : "#/properties/payload/properties/reportProcessingFinishedNotification/properties/reportId" ,
"type" : "string" ,
2024-03-21 02:03:55 +08:00
"description" : "The report identifier." ,
2022-06-28 02:00:07 +08:00
"examples" : [
"54517018502"
]
} ,
"reportType" : {
"$id" : "#/properties/payload/properties/reportProcessingFinishedNotification/properties/reportType" ,
"type" : "string" ,
2024-03-21 02:03:55 +08:00
"description" : "The report type." ,
2022-06-28 02:00:07 +08:00
"examples" : [
"GET_FLAT_FILE_ACTIONABLE_ORDER_DATA"
]
} ,
"processingStatus" : {
"$id" : "#/properties/payload/properties/reportProcessingFinishedNotification/properties/processingStatus" ,
"type" : "string" ,
2024-03-21 02:03:55 +08:00
"description" : "The processing status of the report." ,
2022-06-28 02:00:07 +08:00
"examples" : [
"CANCELLED" ,
"DONE" ,
"FATAL"
] ,
"enum" : [
"CANCELLED" ,
"DONE" ,
"FATAL"
]
} ,
"reportDocumentId" : {
"$id" : "#/properties/payload/properties/reportProcessingFinishedNotification/properties/reportDocumentId" ,
"type" : "string" ,
2024-03-21 02:03:55 +08:00
"description" : "The report document identifier. This identifier is unique only in combination with a seller ID." ,
2022-06-28 02:00:07 +08:00
"examples" : [
"amzn1.tortuga.3.edbcd0d8-3434-8222-1234-52ad8ade1208.REP4567URI9BMZ"
]
}
}
}
}
} ,
"notificationMetadata" : {
"$id" : "#/properties/notificationMetadata" ,
"type" : "object" ,
2024-03-21 02:03:55 +08:00
"description" : "The metadata of the notification." ,
2022-06-28 02:00:07 +08:00
"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" ,
2024-03-21 02:03:55 +08:00
"description" : "The application identifier." ,
2022-06-28 02:00:07 +08:00
"examples" : [
"amzn1.sellerapps.app.aacccfff-4455-4b7c-4422-664ecacdd336"
]
} ,
"subscriptionId" : {
"$id" : "#/properties/notificationMetadata/properties/subscriptionId" ,
"type" : "string" ,
2024-03-21 02:03:55 +08:00
"description" : "The subscription identifier." ,
2022-06-28 02:00:07 +08:00
"examples" : [
"subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746"
]
} ,
"publishTime" : {
"$id" : "#/properties/notificationMetadata/properties/publishTime" ,
"type" : "string" ,
2024-03-21 02:03:55 +08:00
"description" : "The timestamp of when the notification was published, formatted as ISO 8601 date-time." ,
2022-06-28 02:00:07 +08:00
"examples" : [
"2020-07-13T19:42:04.284Z"
]
} ,
"notificationId" : {
"$id" : "#/properties/notificationMetadata/properties/notificationId" ,
"type" : "string" ,
2024-03-21 02:03:55 +08:00
"description" : "The notification identifier." ,
2022-06-28 02:00:07 +08:00
"examples" : [
"d0e9e693-c3ad-4373-979f-ed4ec98dd746"
]
}
}
}
}
}