productTypeDefinitionsChangeNotification: {
    $id: "http://example.com/example.json";
    additionalProperties: true;
    default: {};
    description: "The root schema comprises the entire JSON document.";
    examples: readonly [
        {
            EventTime: "2021-02-03T18:59:30.194Z";
            NotificationMetadata: {
                ApplicationId: "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5";
                NotificationId: "0e999936-da2c-4f9c-9fc2-02b67bae5f49";
                PublishTime: "2021-02-03T18:59:30.194Z";
                SubscriptionId: "93b098e1-c42-2f45-93a1-78910a6a8369";
            };
            NotificationType: "PRODUCT_TYPE_DEFINITIONS_CHANGE";
            NotificationVersion: "1.0";
            Payload: {
                AccountId: "AXXXXXXXXXXX";
                MarketplaceId: "ATVPDKIKX0DER";
                NewProductTypes: readonly ["LUGGAGE", "SHOES"];
                ProductTypeVersion: "Uyp-Z6z_y2HhQD2x8sDBXkRAuxBqBionr";
            };
            PayloadVersion: "1.0";
        },
    ];
    properties: {
        EventTime: {
            $id: "#/properties/EventTime";
            default: "";
            description: "An explanation about the purpose of this instance.";
            examples: readonly ["2019-03-20T18:59:30.194Z"];
            title: "The EventTime schema";
            type: "string";
        };
        NotificationMetadata: {
            $id: "#/properties/NotificationMetadata";
            additionalProperties: true;
            default: {};
            description: "An explanation about the purpose of this instance.";
            examples: readonly [
                {
                    ApplicationId: "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5";
                    NotificationId: "8e009934-da2c-4f9c-9bc7-93f23b7e1f60";
                    PublishTime: "2019-03-20T18:59:48.768Z";
                    SubscriptionId: "93b098e1-c42-2f45-93a1-78910a6a8369";
                },
            ];
            properties: {
                ApplicationId: {
                    $id: "#/properties/NotificationMetadata/properties/ApplicationId";
                    default: "";
                    description: "An explanation about the purpose of this instance.";
                    examples: readonly [
                        "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5",
                    ];
                    title: "The ApplicationId schema";
                    type: "string";
                };
                NotificationId: {
                    $id: "#/properties/NotificationMetadata/properties/NotificationId";
                    default: "";
                    description: "An explanation about the purpose of this instance.";
                    examples: readonly ["8e009934-da2c-4f9c-9bc7-93f23b7e1f60"];
                    title: "The NotificationId schema";
                    type: "string";
                };
                PublishTime: {
                    $id: "#/properties/NotificationMetadata/properties/PublishTime";
                    default: "";
                    description: "An explanation about the purpose of this instance.";
                    examples: readonly ["2019-03-20T18:59:48.768Z"];
                    title: "The PublishTime schema";
                    type: "string";
                };
                SubscriptionId: {
                    $id: "#/properties/NotificationMetadata/properties/SubscriptionId";
                    default: "";
                    description: "An explanation about the purpose of this instance.";
                    examples: readonly ["93b098e1-c42-2f45-93a1-78910a6a8369"];
                    title: "The SubscriptionId schema";
                    type: "string";
                };
            };
            required: readonly [
                "ApplicationId",
                "SubscriptionId",
                "PublishTime",
                "NotificationId",
            ];
            title: "The NotificationMetadata schema";
            type: "object";
        };
        NotificationType: {
            $id: "#/properties/NotificationType";
            default: "";
            description: "An explanation about the purpose of this instance.";
            examples: readonly ["PRODUCT_TYPE_DEFINITIONS_CHANGE"];
            title: "The NotificationType schema";
            type: "string";
        };
        NotificationVersion: {
            $id: "#/properties/NotificationVersion";
            default: "";
            description: "An explanation about the purpose of this instance.";
            examples: readonly ["1.0"];
            title: "The NotificationVersion schema";
            type: "string";
        };
        Payload: {
            $id: "#/properties/Payload";
            additionalProperties: true;
            default: {};
            description: "An explanation about the purpose of this instance.";
            examples: readonly [
                {
                    AccountId: "AXXXXXXXXXXX";
                    MarketplaceId: "ATVPDKIKX0DER";
                    NewProductTypes: readonly ["LUGGAGE", "SHOES"];
                    ProductTypeVersion: "Uyp-Z6z_y2HhQD2x8sDBXkRAuxBqBionr";
                },
                {
                    AccountId: "AXXXXXXXXXXX";
                    ProductTypeVersion: "Uyp-Z6z_y2HhQD2x8sDBXkRAuxBqBionr";
                },
            ];
            properties: {
                AccountId: {
                    $id: "#/properties/Payload/properties/AccountId";
                    default: "";
                    description: "The Merchant Id or Vendor Group Id related to the subscription.";
                    examples: readonly ["AXXXXXXXXXXX"];
                    title: "The Merchant Id or Vendor Group Id.";
                    type: "string";
                };
                MarketplaceId: {
                    $id: "#/properties/Payload/properties/MarketplaceId";
                    default: "";
                    description: "The marketplace where the Product Type Definition has changed";
                    examples: readonly ["ATVPDKIKX0DER"];
                    title: "The MarketplaceId schema";
                    type: "string";
                };
                NewProductTypes: {
                    $id: "#/properties/Payload/properties/NewProductTypes";
                    default: "";
                    description: "List of new Product Types release in the marketplace.";
                    examples: readonly [readonly ["LUGGAGE", "SHOES"]];
                    title: "New Product Types";
                    type: "array";
                };
                ProductTypeVersion: {
                    $id: "#/properties/Payload/properties/ProductTypeVersion";
                    default: "";
                    description: "Provides the latest released Product Type Definition version.";
                    examples: readonly ["Uyp-Z6z_y2HhQD2x8sDBXkRAuxBqBionr"];
                    title: "The version of latest Product Type Definitions";
                    type: "string";
                };
            };
            required: readonly ["AccountId", "ProductTypeVersion"];
            title: "The Payload schema";
            type: "object";
        };
        PayloadVersion: {
            $id: "#/properties/PayloadVersion";
            default: "";
            description: "An explanation about the purpose of this instance.";
            examples: readonly ["1.0"];
            title: "The PayloadVersion schema";
            type: "string";
        };
    };
    required: readonly [
        "NotificationVersion",
        "NotificationType",
        "PayloadVersion",
        "EventTime",
        "Payload",
        "NotificationMetadata",
    ];
    title: "The root schema";
    type: "object";
} = ...

Type declaration

  • Readonly$id: "http://example.com/example.json"
  • ReadonlyadditionalProperties: true
  • Readonlydefault: {}
  • Readonlydescription: "The root schema comprises the entire JSON document."
  • Readonlyexamples: readonly [
        {
            EventTime: "2021-02-03T18:59:30.194Z";
            NotificationMetadata: {
                ApplicationId: "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5";
                NotificationId: "0e999936-da2c-4f9c-9fc2-02b67bae5f49";
                PublishTime: "2021-02-03T18:59:30.194Z";
                SubscriptionId: "93b098e1-c42-2f45-93a1-78910a6a8369";
            };
            NotificationType: "PRODUCT_TYPE_DEFINITIONS_CHANGE";
            NotificationVersion: "1.0";
            Payload: {
                AccountId: "AXXXXXXXXXXX";
                MarketplaceId: "ATVPDKIKX0DER";
                NewProductTypes: readonly ["LUGGAGE", "SHOES"];
                ProductTypeVersion: "Uyp-Z6z_y2HhQD2x8sDBXkRAuxBqBionr";
            };
            PayloadVersion: "1.0";
        },
    ]
  • Readonlyproperties: {
        EventTime: {
            $id: "#/properties/EventTime";
            default: "";
            description: "An explanation about the purpose of this instance.";
            examples: readonly ["2019-03-20T18:59:30.194Z"];
            title: "The EventTime schema";
            type: "string";
        };
        NotificationMetadata: {
            $id: "#/properties/NotificationMetadata";
            additionalProperties: true;
            default: {};
            description: "An explanation about the purpose of this instance.";
            examples: readonly [
                {
                    ApplicationId: "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5";
                    NotificationId: "8e009934-da2c-4f9c-9bc7-93f23b7e1f60";
                    PublishTime: "2019-03-20T18:59:48.768Z";
                    SubscriptionId: "93b098e1-c42-2f45-93a1-78910a6a8369";
                },
            ];
            properties: {
                ApplicationId: {
                    $id: "#/properties/NotificationMetadata/properties/ApplicationId";
                    default: "";
                    description: "An explanation about the purpose of this instance.";
                    examples: readonly [
                        "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5",
                    ];
                    title: "The ApplicationId schema";
                    type: "string";
                };
                NotificationId: {
                    $id: "#/properties/NotificationMetadata/properties/NotificationId";
                    default: "";
                    description: "An explanation about the purpose of this instance.";
                    examples: readonly ["8e009934-da2c-4f9c-9bc7-93f23b7e1f60"];
                    title: "The NotificationId schema";
                    type: "string";
                };
                PublishTime: {
                    $id: "#/properties/NotificationMetadata/properties/PublishTime";
                    default: "";
                    description: "An explanation about the purpose of this instance.";
                    examples: readonly ["2019-03-20T18:59:48.768Z"];
                    title: "The PublishTime schema";
                    type: "string";
                };
                SubscriptionId: {
                    $id: "#/properties/NotificationMetadata/properties/SubscriptionId";
                    default: "";
                    description: "An explanation about the purpose of this instance.";
                    examples: readonly ["93b098e1-c42-2f45-93a1-78910a6a8369"];
                    title: "The SubscriptionId schema";
                    type: "string";
                };
            };
            required: readonly [
                "ApplicationId",
                "SubscriptionId",
                "PublishTime",
                "NotificationId",
            ];
            title: "The NotificationMetadata schema";
            type: "object";
        };
        NotificationType: {
            $id: "#/properties/NotificationType";
            default: "";
            description: "An explanation about the purpose of this instance.";
            examples: readonly ["PRODUCT_TYPE_DEFINITIONS_CHANGE"];
            title: "The NotificationType schema";
            type: "string";
        };
        NotificationVersion: {
            $id: "#/properties/NotificationVersion";
            default: "";
            description: "An explanation about the purpose of this instance.";
            examples: readonly ["1.0"];
            title: "The NotificationVersion schema";
            type: "string";
        };
        Payload: {
            $id: "#/properties/Payload";
            additionalProperties: true;
            default: {};
            description: "An explanation about the purpose of this instance.";
            examples: readonly [
                {
                    AccountId: "AXXXXXXXXXXX";
                    MarketplaceId: "ATVPDKIKX0DER";
                    NewProductTypes: readonly ["LUGGAGE", "SHOES"];
                    ProductTypeVersion: "Uyp-Z6z_y2HhQD2x8sDBXkRAuxBqBionr";
                },
                {
                    AccountId: "AXXXXXXXXXXX";
                    ProductTypeVersion: "Uyp-Z6z_y2HhQD2x8sDBXkRAuxBqBionr";
                },
            ];
            properties: {
                AccountId: {
                    $id: "#/properties/Payload/properties/AccountId";
                    default: "";
                    description: "The Merchant Id or Vendor Group Id related to the subscription.";
                    examples: readonly ["AXXXXXXXXXXX"];
                    title: "The Merchant Id or Vendor Group Id.";
                    type: "string";
                };
                MarketplaceId: {
                    $id: "#/properties/Payload/properties/MarketplaceId";
                    default: "";
                    description: "The marketplace where the Product Type Definition has changed";
                    examples: readonly ["ATVPDKIKX0DER"];
                    title: "The MarketplaceId schema";
                    type: "string";
                };
                NewProductTypes: {
                    $id: "#/properties/Payload/properties/NewProductTypes";
                    default: "";
                    description: "List of new Product Types release in the marketplace.";
                    examples: readonly [readonly ["LUGGAGE", "SHOES"]];
                    title: "New Product Types";
                    type: "array";
                };
                ProductTypeVersion: {
                    $id: "#/properties/Payload/properties/ProductTypeVersion";
                    default: "";
                    description: "Provides the latest released Product Type Definition version.";
                    examples: readonly ["Uyp-Z6z_y2HhQD2x8sDBXkRAuxBqBionr"];
                    title: "The version of latest Product Type Definitions";
                    type: "string";
                };
            };
            required: readonly ["AccountId", "ProductTypeVersion"];
            title: "The Payload schema";
            type: "object";
        };
        PayloadVersion: {
            $id: "#/properties/PayloadVersion";
            default: "";
            description: "An explanation about the purpose of this instance.";
            examples: readonly ["1.0"];
            title: "The PayloadVersion schema";
            type: "string";
        };
    }
  • Readonlyrequired: readonly [
        "NotificationVersion",
        "NotificationType",
        "PayloadVersion",
        "EventTime",
        "Payload",
        "NotificationMetadata",
    ]
  • Readonlytitle: "The root schema"
  • Readonlytype: "object"