Variable feePromotionNotificationConst
feePromotionNotification: {
$id: "http://example.com/example.json";
additionalProperties: true;
default: {};
description: "The root schema comprises the entire JSON document.";
examples: readonly [
{
EventTime: "2020-07-13T19:42:04.284Z";
NotificationMetadata: {
ApplicationId: "app-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746";
NotificationId: "d0e9e693-c3ad-4373-979f-ed4ec98dd746";
PublishTime: "2020-07-13T19:42:04.284Z";
SubscriptionId: "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746";
};
NotificationType: "FEE_PROMOTION";
NotificationVersion: "1.0";
Payload: {
FeePromotionNotification: {
FeePromotionType: "TYPE";
FeePromotionTypeDescription: "Fee promotion type description";
Identifiers: readonly [
{
IdentifierType: "identifierType";
IdentifierValues: readonly [
{
IdentifierValueFriendlyName: "identifierValueFriendlyName1";
IdentifierValueId: "identifierValueId1";
},
{
IdentifierValueFriendlyName: "identifierValueFriendlyName2";
IdentifierValueId: "identifierValueId2";
},
];
},
{
IdentifierType: "identifierType";
IdentifierValues: readonly [
{
IdentifierValueFriendlyName: "identifierValueFriendlyName1";
IdentifierValueId: "identifierValueId1";
},
{
IdentifierValueFriendlyName: "identifierValueFriendlyName2";
IdentifierValueId: "identifierValueId2";
},
];
},
];
MarketplaceId: "ATIV93840DER";
MerchantId: "AJH434853485";
PromotionActiveTimeRange: {
EffectiveFromDate: "2020-07-13T19:42:04.284Z";
EffectiveThroughDate: "2020-07-13T19:42:04.284Z";
};
PromotionInformation: readonly [
{
FeeDiscountMonetaryAmount: { Amount: 70; CurrencyCode: "USD" };
FeeDiscountType: "FeeDiscountType";
FeeDiscountValue: 10.3;
FeesEstimate: {
FeeDetails: readonly [
{
FeeAmount: { Amount: ...; CurrencyCode: ... };
FeePromotion: { Amount: ...; CurrencyCode: ... };
FeeType: "feeType";
FinalFee: { Amount: ...; CurrencyCode: ... };
IncludedFees: readonly [(...), (...)];
TaxAmount: { Amount: ...; CurrencyCode: ... };
},
{
FeeAmount: { Amount: ...; CurrencyCode: ... };
FeePromotion: { Amount: ...; CurrencyCode: ... };
FeeType: "feeType";
FinalFee: { Amount: ...; CurrencyCode: ... };
IncludedFees: readonly [(...), (...)];
TaxAmount: { Amount: ...; CurrencyCode: ... };
},
];
TimeOfFeesEstimated: "2020-07-13T19:42:04.284Z";
TotalFeesEstimate: { Amount: 90; CurrencyCode: "USD" };
};
FeeType: "FeeType";
PriceThreshold: { Amount: 60; CurrencyCode: "USD" };
},
{
FeeDiscountMonetaryAmount: { Amount: 70; CurrencyCode: "USD" };
FeeDiscountType: "FeeDiscountType";
FeeDiscountValue: 10.3;
FeesEstimate: {
FeeDetails: readonly [
{
FeeAmount: { Amount: ...; CurrencyCode: ... };
FeePromotion: { Amount: ...; CurrencyCode: ... };
FeeType: "feeType";
FinalFee: { Amount: ...; CurrencyCode: ... };
IncludedFees: readonly [(...), (...)];
TaxAmount: { Amount: ...; CurrencyCode: ... };
},
{
FeeAmount: { Amount: ...; CurrencyCode: ... };
FeePromotion: { Amount: ...; CurrencyCode: ... };
FeeType: "feeType";
FinalFee: { Amount: ...; CurrencyCode: ... };
IncludedFees: readonly [(...), (...)];
TaxAmount: { Amount: ...; CurrencyCode: ... };
},
];
TimeOfFeesEstimated: "2020-07-13T19:42:04.284Z";
TotalFeesEstimate: { Amount: 90; CurrencyCode: "USD" };
};
FeeType: "FeeType";
PriceThreshold: { Amount: 60; CurrencyCode: "USD" };
},
];
};
};
PayloadVersion: "1.0";
},
];
properties: {
EventTime: {
$id: "#/properties/EventTime";
default: "";
description: "An explanation about the purpose of this instance.";
examples: readonly ["2020-07-13T19:42:04.284Z"];
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: "app-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746";
NotificationId: "d0e9e693-c3ad-4373-979f-ed4ec98dd746";
PublishTime: "2020-07-13T19:42:04.284Z";
SubscriptionId: "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746";
},
];
properties: {
ApplicationId: {
$id: "#/properties/NotificationMetadata/properties/ApplicationId";
default: "";
description: "An explanation about the purpose of this instance.";
examples: readonly ["app-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746"];
title: "The ApplicationId schema";
type: "string";
};
NotificationId: {
$id: "#/properties/NotificationMetadata/properties/NotificationId";
default: "";
description: "An explanation about the purpose of this instance.";
examples: readonly ["d0e9e693-c3ad-4373-979f-ed4ec98dd746"];
title: "The NotificationId schema";
type: "string";
};
PublishTime: {
$id: "#/properties/NotificationMetadata/properties/PublishTime";
default: "";
description: "An explanation about the purpose of this instance.";
examples: readonly ["2020-07-13T19:42:04.284Z"];
title: "The PublishTime schema";
type: "string";
};
SubscriptionId: {
$id: "#/properties/NotificationMetadata/properties/SubscriptionId";
default: "";
description: "An explanation about the purpose of this instance.";
examples: readonly [
"subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746",
];
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 ["FEE_PROMOTION"];
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 [
{
FeePromotionNotification: {
FeePromotionType: "TYPE";
FeePromotionTypeDescription: "Fee promotion type description";
Identifiers: readonly [
{
IdentifierType: "identifierType";
IdentifierValues: readonly [
{
IdentifierValueFriendlyName: "identifierValueFriendlyName1";
IdentifierValueId: "identifierValueId1";
},
{
IdentifierValueFriendlyName: "identifierValueFriendlyName2";
IdentifierValueId: "identifierValueId2";
},
];
},
{
IdentifierType: "identifierType";
IdentifierValues: readonly [
{
IdentifierValueFriendlyName: "identifierValueFriendlyName1";
IdentifierValueId: "identifierValueId1";
},
{
IdentifierValueFriendlyName: "identifierValueFriendlyName2";
IdentifierValueId: "identifierValueId2";
},
];
},
];
MarketplaceId: "ATIV93840DER";
MerchantId: "AJH434853485";
PromotionActiveTimeRange: {
EffectiveFromDate: "2020-07-13T19:42:04.284Z";
EffectiveThroughDate: "2020-07-13T19:42:04.284Z";
};
PromotionInformation: readonly [
{
FeeDiscountMonetaryAmount: { Amount: 70; CurrencyCode: "USD" };
FeeDiscountType: "FeeDiscountType";
FeeDiscountValue: 10.3;
FeesEstimate: {
FeeDetails: readonly [
{
FeeAmount: ...;
FeePromotion: ...;
FeeType: ...;
FinalFee: ...;
IncludedFees: ...;
TaxAmount: ...;
},
{
FeeAmount: ...;
FeePromotion: ...;
FeeType: ...;
FinalFee: ...;
IncludedFees: ...;
TaxAmount: ...;
},
];
TimeOfFeesEstimated: "2020-07-13T19:42:04.284Z";
TotalFeesEstimate: { Amount: 90; CurrencyCode: "USD" };
};
FeeType: "FeeType";
PriceThreshold: { Amount: 60; CurrencyCode: "USD" };
},
{
FeeDiscountMonetaryAmount: { Amount: 70; CurrencyCode: "USD" };
FeeDiscountType: "FeeDiscountType";
FeeDiscountValue: 10.3;
FeesEstimate: {
FeeDetails: readonly [
{
FeeAmount: ...;
FeePromotion: ...;
FeeType: ...;
FinalFee: ...;
IncludedFees: ...;
TaxAmount: ...;
},
{
FeeAmount: ...;
FeePromotion: ...;
FeeType: ...;
FinalFee: ...;
IncludedFees: ...;
TaxAmount: ...;
},
];
TimeOfFeesEstimated: "2020-07-13T19:42:04.284Z";
TotalFeesEstimate: { Amount: 90; CurrencyCode: "USD" };
};
FeeType: "FeeType";
PriceThreshold: { Amount: 60; CurrencyCode: "USD" };
},
];
};
},
];
properties: {
FeePromotionNotification: {
$id: "#/properties/Payload/properties/FeePromotionNotification";
additionalProperties: true;
default: {};
description: "An explanation about the purpose of this instance.";
examples: readonly [
{
FeePromotionType: "TYPE";
FeePromotionTypeDescription: "Fee promotion type description";
Identifiers: readonly [
{
IdentifierType: "identifierType";
IdentifierValues: readonly [
{ IdentifierValueFriendlyName: ...; IdentifierValueId: ... },
{ IdentifierValueFriendlyName: ...; IdentifierValueId: ... },
];
},
{
IdentifierType: "identifierType";
IdentifierValues: readonly [
{ IdentifierValueFriendlyName: ...; IdentifierValueId: ... },
{ IdentifierValueFriendlyName: ...; IdentifierValueId: ... },
];
},
];
MarketplaceId: "ATIV93840DER";
MerchantId: "AJH434853485";
PromotionActiveTimeRange: {
EffectiveFromDate: "2020-07-13T19:42:04.284Z";
EffectiveThroughDate: "2020-07-13T19:42:04.284Z";
};
PromotionInformation: readonly [
{
FeeDiscountMonetaryAmount: { Amount: 70; CurrencyCode: "USD" };
FeeDiscountType: "FeeDiscountType";
FeeDiscountValue: 10.3;
FeesEstimate: {
FeeDetails: readonly [(...), (...)];
TimeOfFeesEstimated: "2020-07-13T19:42:04.284Z";
TotalFeesEstimate: { Amount: ...; CurrencyCode: ... };
};
FeeType: "FeeType";
PriceThreshold: { Amount: 60; CurrencyCode: "USD" };
},
{
FeeDiscountMonetaryAmount: { Amount: 70; CurrencyCode: "USD" };
FeeDiscountType: "FeeDiscountType";
FeeDiscountValue: 10.3;
FeesEstimate: {
FeeDetails: readonly [(...), (...)];
TimeOfFeesEstimated: "2020-07-13T19:42:04.284Z";
TotalFeesEstimate: { Amount: ...; CurrencyCode: ... };
};
FeeType: "FeeType";
PriceThreshold: { Amount: 60; CurrencyCode: "USD" };
},
];
},
];
properties: {
FeePromotionType: {
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/FeePromotionType";
default: "";
description: "An explanation about the purpose of this instance.";
examples: readonly ["TYPE"];
title: "The FeePromotionType schema";
type: "string";
};
FeePromotionTypeDescription: {
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/FeePromotionTypeDescription";
default: "";
description: "An explanation about the purpose of this instance.";
examples: readonly ["Fee promotion type description"];
title: "The FeePromotionTypeDescription schema";
type: "string";
};
Identifiers: {
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/Identifiers";
additionalItems: true;
default: readonly [];
description: "An explanation about the purpose of this instance.";
examples: readonly [
readonly [
{
IdentifierType: "identifierType";
IdentifierValues: readonly [(...), (...)];
},
{
IdentifierType: "identifierType";
IdentifierValues: readonly [(...), (...)];
},
],
];
items: {
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/Identifiers/items";
anyOf: readonly [
{
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/Identifiers/items/anyOf/0";
additionalProperties: true;
default: {};
description: "An explanation about the purpose of this instance.";
examples: readonly [(...)];
properties: { IdentifierType: ...; IdentifierValues: ... };
required: readonly [(...), (...)];
title: "The first anyOf schema";
type: "object";
},
];
};
title: "The Identifiers schema";
type: "array";
};
MarketplaceId: {
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/MarketplaceId";
default: "";
description: "An explanation about the purpose of this instance.";
examples: readonly ["ATIV93840DER"];
title: "The MarketplaceId schema";
type: "string";
};
MerchantId: {
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/MerchantId";
default: "";
description: "An explanation about the purpose of this instance.";
examples: readonly ["AJH434853485"];
title: "The MerchantId schema";
type: "string";
};
PromotionActiveTimeRange: {
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionActiveTimeRange";
additionalProperties: true;
default: {};
description: "An explanation about the purpose of this instance.";
examples: readonly [
{
EffectiveFromDate: "2020-07-13T19:42:04.284Z";
EffectiveThroughDate: "2020-07-13T19:42:04.284Z";
},
];
properties: {
EffectiveFromDate: {
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionActiveTimeRange/properties/EffectiveFromDate";
default: "";
description: "An explanation about the purpose of this instance.";
examples: readonly ["2020-07-13T19:42:04.284Z"];
title: "The EffectiveFromDate schema";
type: "string";
};
EffectiveThroughDate: {
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionActiveTimeRange/properties/EffectiveThroughDate";
default: "";
description: "An explanation about the purpose of this instance.";
examples: readonly ["2020-07-13T19:42:04.284Z"];
title: "The EffectiveThroughDate schema";
type: "string";
};
};
required: readonly ["EffectiveFromDate", "EffectiveThroughDate"];
title: "The PromotionActiveTimeRange schema";
type: "object";
};
PromotionInformation: {
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation";
additionalItems: true;
default: readonly [];
description: "An explanation about the purpose of this instance.";
examples: readonly [
readonly [
{
FeeDiscountMonetaryAmount: { Amount: ...; CurrencyCode: ... };
FeeDiscountType: "FeeDiscountType";
FeeDiscountValue: 10.3;
FeesEstimate: {
FeeDetails: ...;
TimeOfFeesEstimated: ...;
TotalFeesEstimate: ...;
};
FeeType: "FeeType";
PriceThreshold: { Amount: ...; CurrencyCode: ... };
},
{
FeeDiscountMonetaryAmount: { Amount: ...; CurrencyCode: ... };
FeeDiscountType: "FeeDiscountType";
FeeDiscountValue: 10.3;
FeesEstimate: {
FeeDetails: ...;
TimeOfFeesEstimated: ...;
TotalFeesEstimate: ...;
};
FeeType: "FeeType";
PriceThreshold: { Amount: ...; CurrencyCode: ... };
},
],
];
items: {
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items";
anyOf: readonly [
{
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0";
additionalProperties: true;
default: {};
description: "An explanation about the purpose of this instance.";
examples: readonly [(...)];
properties: {
FeeDiscountMonetaryAmount: ...;
FeeDiscountType: ...;
FeeDiscountValue: ...;
FeesEstimate: ...;
FeeType: ...;
PriceThreshold: ...;
};
required: readonly [(...), (...), (...), (...), (...), (...)];
title: "The first anyOf schema";
type: "object";
},
];
};
title: "The PromotionInformation schema";
type: "array";
};
};
required: readonly [
"MerchantId",
"MarketplaceId",
"FeePromotionType",
"FeePromotionTypeDescription",
"PromotionActiveTimeRange",
"Identifiers",
"PromotionInformation",
];
title: "The FeePromotionNotification schema";
type: "object";
};
};
required: readonly ["FeePromotionNotification"];
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",
"NotificationMetadata",
"Payload",
];
title: "The root schema";
type: "object";
} = ...
Type declaration
Readonly
$id: "http://example.com/example.json"
Readonly
additionalProperties: true
Readonly
default: {}
Readonly
description: "The root schema comprises the entire JSON document."
Readonly
examples: readonly [
{
EventTime: "2020-07-13T19:42:04.284Z";
NotificationMetadata: {
ApplicationId: "app-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746";
NotificationId: "d0e9e693-c3ad-4373-979f-ed4ec98dd746";
PublishTime: "2020-07-13T19:42:04.284Z";
SubscriptionId: "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746";
};
NotificationType: "FEE_PROMOTION";
NotificationVersion: "1.0";
Payload: {
FeePromotionNotification: {
FeePromotionType: "TYPE";
FeePromotionTypeDescription: "Fee promotion type description";
Identifiers: readonly [
{
IdentifierType: "identifierType";
IdentifierValues: readonly [
{
IdentifierValueFriendlyName: "identifierValueFriendlyName1";
IdentifierValueId: "identifierValueId1";
},
{
IdentifierValueFriendlyName: "identifierValueFriendlyName2";
IdentifierValueId: "identifierValueId2";
},
];
},
{
IdentifierType: "identifierType";
IdentifierValues: readonly [
{
IdentifierValueFriendlyName: "identifierValueFriendlyName1";
IdentifierValueId: "identifierValueId1";
},
{
IdentifierValueFriendlyName: "identifierValueFriendlyName2";
IdentifierValueId: "identifierValueId2";
},
];
},
];
MarketplaceId: "ATIV93840DER";
MerchantId: "AJH434853485";
PromotionActiveTimeRange: {
EffectiveFromDate: "2020-07-13T19:42:04.284Z";
EffectiveThroughDate: "2020-07-13T19:42:04.284Z";
};
PromotionInformation: readonly [
{
FeeDiscountMonetaryAmount: { Amount: 70; CurrencyCode: "USD" };
FeeDiscountType: "FeeDiscountType";
FeeDiscountValue: 10.3;
FeesEstimate: {
FeeDetails: readonly [
{
FeeAmount: { Amount: ...; CurrencyCode: ... };
FeePromotion: { Amount: ...; CurrencyCode: ... };
FeeType: "feeType";
FinalFee: { Amount: ...; CurrencyCode: ... };
IncludedFees: readonly [(...), (...)];
TaxAmount: { Amount: ...; CurrencyCode: ... };
},
{
FeeAmount: { Amount: ...; CurrencyCode: ... };
FeePromotion: { Amount: ...; CurrencyCode: ... };
FeeType: "feeType";
FinalFee: { Amount: ...; CurrencyCode: ... };
IncludedFees: readonly [(...), (...)];
TaxAmount: { Amount: ...; CurrencyCode: ... };
},
];
TimeOfFeesEstimated: "2020-07-13T19:42:04.284Z";
TotalFeesEstimate: { Amount: 90; CurrencyCode: "USD" };
};
FeeType: "FeeType";
PriceThreshold: { Amount: 60; CurrencyCode: "USD" };
},
{
FeeDiscountMonetaryAmount: { Amount: 70; CurrencyCode: "USD" };
FeeDiscountType: "FeeDiscountType";
FeeDiscountValue: 10.3;
FeesEstimate: {
FeeDetails: readonly [
{
FeeAmount: { Amount: ...; CurrencyCode: ... };
FeePromotion: { Amount: ...; CurrencyCode: ... };
FeeType: "feeType";
FinalFee: { Amount: ...; CurrencyCode: ... };
IncludedFees: readonly [(...), (...)];
TaxAmount: { Amount: ...; CurrencyCode: ... };
},
{
FeeAmount: { Amount: ...; CurrencyCode: ... };
FeePromotion: { Amount: ...; CurrencyCode: ... };
FeeType: "feeType";
FinalFee: { Amount: ...; CurrencyCode: ... };
IncludedFees: readonly [(...), (...)];
TaxAmount: { Amount: ...; CurrencyCode: ... };
},
];
TimeOfFeesEstimated: "2020-07-13T19:42:04.284Z";
TotalFeesEstimate: { Amount: 90; CurrencyCode: "USD" };
};
FeeType: "FeeType";
PriceThreshold: { Amount: 60; CurrencyCode: "USD" };
},
];
};
};
PayloadVersion: "1.0";
},
]
Readonly
properties: {
EventTime: {
$id: "#/properties/EventTime";
default: "";
description: "An explanation about the purpose of this instance.";
examples: readonly ["2020-07-13T19:42:04.284Z"];
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: "app-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746";
NotificationId: "d0e9e693-c3ad-4373-979f-ed4ec98dd746";
PublishTime: "2020-07-13T19:42:04.284Z";
SubscriptionId: "subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746";
},
];
properties: {
ApplicationId: {
$id: "#/properties/NotificationMetadata/properties/ApplicationId";
default: "";
description: "An explanation about the purpose of this instance.";
examples: readonly ["app-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746"];
title: "The ApplicationId schema";
type: "string";
};
NotificationId: {
$id: "#/properties/NotificationMetadata/properties/NotificationId";
default: "";
description: "An explanation about the purpose of this instance.";
examples: readonly ["d0e9e693-c3ad-4373-979f-ed4ec98dd746"];
title: "The NotificationId schema";
type: "string";
};
PublishTime: {
$id: "#/properties/NotificationMetadata/properties/PublishTime";
default: "";
description: "An explanation about the purpose of this instance.";
examples: readonly ["2020-07-13T19:42:04.284Z"];
title: "The PublishTime schema";
type: "string";
};
SubscriptionId: {
$id: "#/properties/NotificationMetadata/properties/SubscriptionId";
default: "";
description: "An explanation about the purpose of this instance.";
examples: readonly [
"subscription-id-d0e9e693-c3ad-4373-979f-ed4ec98dd746",
];
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 ["FEE_PROMOTION"];
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 [
{
FeePromotionNotification: {
FeePromotionType: "TYPE";
FeePromotionTypeDescription: "Fee promotion type description";
Identifiers: readonly [
{
IdentifierType: "identifierType";
IdentifierValues: readonly [
{
IdentifierValueFriendlyName: "identifierValueFriendlyName1";
IdentifierValueId: "identifierValueId1";
},
{
IdentifierValueFriendlyName: "identifierValueFriendlyName2";
IdentifierValueId: "identifierValueId2";
},
];
},
{
IdentifierType: "identifierType";
IdentifierValues: readonly [
{
IdentifierValueFriendlyName: "identifierValueFriendlyName1";
IdentifierValueId: "identifierValueId1";
},
{
IdentifierValueFriendlyName: "identifierValueFriendlyName2";
IdentifierValueId: "identifierValueId2";
},
];
},
];
MarketplaceId: "ATIV93840DER";
MerchantId: "AJH434853485";
PromotionActiveTimeRange: {
EffectiveFromDate: "2020-07-13T19:42:04.284Z";
EffectiveThroughDate: "2020-07-13T19:42:04.284Z";
};
PromotionInformation: readonly [
{
FeeDiscountMonetaryAmount: { Amount: 70; CurrencyCode: "USD" };
FeeDiscountType: "FeeDiscountType";
FeeDiscountValue: 10.3;
FeesEstimate: {
FeeDetails: readonly [
{
FeeAmount: ...;
FeePromotion: ...;
FeeType: ...;
FinalFee: ...;
IncludedFees: ...;
TaxAmount: ...;
},
{
FeeAmount: ...;
FeePromotion: ...;
FeeType: ...;
FinalFee: ...;
IncludedFees: ...;
TaxAmount: ...;
},
];
TimeOfFeesEstimated: "2020-07-13T19:42:04.284Z";
TotalFeesEstimate: { Amount: 90; CurrencyCode: "USD" };
};
FeeType: "FeeType";
PriceThreshold: { Amount: 60; CurrencyCode: "USD" };
},
{
FeeDiscountMonetaryAmount: { Amount: 70; CurrencyCode: "USD" };
FeeDiscountType: "FeeDiscountType";
FeeDiscountValue: 10.3;
FeesEstimate: {
FeeDetails: readonly [
{
FeeAmount: ...;
FeePromotion: ...;
FeeType: ...;
FinalFee: ...;
IncludedFees: ...;
TaxAmount: ...;
},
{
FeeAmount: ...;
FeePromotion: ...;
FeeType: ...;
FinalFee: ...;
IncludedFees: ...;
TaxAmount: ...;
},
];
TimeOfFeesEstimated: "2020-07-13T19:42:04.284Z";
TotalFeesEstimate: { Amount: 90; CurrencyCode: "USD" };
};
FeeType: "FeeType";
PriceThreshold: { Amount: 60; CurrencyCode: "USD" };
},
];
};
},
];
properties: {
FeePromotionNotification: {
$id: "#/properties/Payload/properties/FeePromotionNotification";
additionalProperties: true;
default: {};
description: "An explanation about the purpose of this instance.";
examples: readonly [
{
FeePromotionType: "TYPE";
FeePromotionTypeDescription: "Fee promotion type description";
Identifiers: readonly [
{
IdentifierType: "identifierType";
IdentifierValues: readonly [
{ IdentifierValueFriendlyName: ...; IdentifierValueId: ... },
{ IdentifierValueFriendlyName: ...; IdentifierValueId: ... },
];
},
{
IdentifierType: "identifierType";
IdentifierValues: readonly [
{ IdentifierValueFriendlyName: ...; IdentifierValueId: ... },
{ IdentifierValueFriendlyName: ...; IdentifierValueId: ... },
];
},
];
MarketplaceId: "ATIV93840DER";
MerchantId: "AJH434853485";
PromotionActiveTimeRange: {
EffectiveFromDate: "2020-07-13T19:42:04.284Z";
EffectiveThroughDate: "2020-07-13T19:42:04.284Z";
};
PromotionInformation: readonly [
{
FeeDiscountMonetaryAmount: { Amount: 70; CurrencyCode: "USD" };
FeeDiscountType: "FeeDiscountType";
FeeDiscountValue: 10.3;
FeesEstimate: {
FeeDetails: readonly [(...), (...)];
TimeOfFeesEstimated: "2020-07-13T19:42:04.284Z";
TotalFeesEstimate: { Amount: ...; CurrencyCode: ... };
};
FeeType: "FeeType";
PriceThreshold: { Amount: 60; CurrencyCode: "USD" };
},
{
FeeDiscountMonetaryAmount: { Amount: 70; CurrencyCode: "USD" };
FeeDiscountType: "FeeDiscountType";
FeeDiscountValue: 10.3;
FeesEstimate: {
FeeDetails: readonly [(...), (...)];
TimeOfFeesEstimated: "2020-07-13T19:42:04.284Z";
TotalFeesEstimate: { Amount: ...; CurrencyCode: ... };
};
FeeType: "FeeType";
PriceThreshold: { Amount: 60; CurrencyCode: "USD" };
},
];
},
];
properties: {
FeePromotionType: {
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/FeePromotionType";
default: "";
description: "An explanation about the purpose of this instance.";
examples: readonly ["TYPE"];
title: "The FeePromotionType schema";
type: "string";
};
FeePromotionTypeDescription: {
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/FeePromotionTypeDescription";
default: "";
description: "An explanation about the purpose of this instance.";
examples: readonly ["Fee promotion type description"];
title: "The FeePromotionTypeDescription schema";
type: "string";
};
Identifiers: {
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/Identifiers";
additionalItems: true;
default: readonly [];
description: "An explanation about the purpose of this instance.";
examples: readonly [
readonly [
{
IdentifierType: "identifierType";
IdentifierValues: readonly [(...), (...)];
},
{
IdentifierType: "identifierType";
IdentifierValues: readonly [(...), (...)];
},
],
];
items: {
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/Identifiers/items";
anyOf: readonly [
{
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/Identifiers/items/anyOf/0";
additionalProperties: true;
default: {};
description: "An explanation about the purpose of this instance.";
examples: readonly [(...)];
properties: { IdentifierType: ...; IdentifierValues: ... };
required: readonly [(...), (...)];
title: "The first anyOf schema";
type: "object";
},
];
};
title: "The Identifiers schema";
type: "array";
};
MarketplaceId: {
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/MarketplaceId";
default: "";
description: "An explanation about the purpose of this instance.";
examples: readonly ["ATIV93840DER"];
title: "The MarketplaceId schema";
type: "string";
};
MerchantId: {
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/MerchantId";
default: "";
description: "An explanation about the purpose of this instance.";
examples: readonly ["AJH434853485"];
title: "The MerchantId schema";
type: "string";
};
PromotionActiveTimeRange: {
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionActiveTimeRange";
additionalProperties: true;
default: {};
description: "An explanation about the purpose of this instance.";
examples: readonly [
{
EffectiveFromDate: "2020-07-13T19:42:04.284Z";
EffectiveThroughDate: "2020-07-13T19:42:04.284Z";
},
];
properties: {
EffectiveFromDate: {
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionActiveTimeRange/properties/EffectiveFromDate";
default: "";
description: "An explanation about the purpose of this instance.";
examples: readonly ["2020-07-13T19:42:04.284Z"];
title: "The EffectiveFromDate schema";
type: "string";
};
EffectiveThroughDate: {
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionActiveTimeRange/properties/EffectiveThroughDate";
default: "";
description: "An explanation about the purpose of this instance.";
examples: readonly ["2020-07-13T19:42:04.284Z"];
title: "The EffectiveThroughDate schema";
type: "string";
};
};
required: readonly ["EffectiveFromDate", "EffectiveThroughDate"];
title: "The PromotionActiveTimeRange schema";
type: "object";
};
PromotionInformation: {
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation";
additionalItems: true;
default: readonly [];
description: "An explanation about the purpose of this instance.";
examples: readonly [
readonly [
{
FeeDiscountMonetaryAmount: { Amount: ...; CurrencyCode: ... };
FeeDiscountType: "FeeDiscountType";
FeeDiscountValue: 10.3;
FeesEstimate: {
FeeDetails: ...;
TimeOfFeesEstimated: ...;
TotalFeesEstimate: ...;
};
FeeType: "FeeType";
PriceThreshold: { Amount: ...; CurrencyCode: ... };
},
{
FeeDiscountMonetaryAmount: { Amount: ...; CurrencyCode: ... };
FeeDiscountType: "FeeDiscountType";
FeeDiscountValue: 10.3;
FeesEstimate: {
FeeDetails: ...;
TimeOfFeesEstimated: ...;
TotalFeesEstimate: ...;
};
FeeType: "FeeType";
PriceThreshold: { Amount: ...; CurrencyCode: ... };
},
],
];
items: {
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items";
anyOf: readonly [
{
$id: "#/properties/Payload/properties/FeePromotionNotification/properties/PromotionInformation/items/anyOf/0";
additionalProperties: true;
default: {};
description: "An explanation about the purpose of this instance.";
examples: readonly [(...)];
properties: {
FeeDiscountMonetaryAmount: ...;
FeeDiscountType: ...;
FeeDiscountValue: ...;
FeesEstimate: ...;
FeeType: ...;
PriceThreshold: ...;
};
required: readonly [(...), (...), (...), (...), (...), (...)];
title: "The first anyOf schema";
type: "object";
},
];
};
title: "The PromotionInformation schema";
type: "array";
};
};
required: readonly [
"MerchantId",
"MarketplaceId",
"FeePromotionType",
"FeePromotionTypeDescription",
"PromotionActiveTimeRange",
"Identifiers",
"PromotionInformation",
];
title: "The FeePromotionNotification schema";
type: "object";
};
};
required: readonly ["FeePromotionNotification"];
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";
};
}
Readonly
required: readonly [
"NotificationVersion",
"NotificationType",
"PayloadVersion",
"EventTime",
"NotificationMetadata",
"Payload",
]
Readonly
title: "The root schema"
Readonly
type: "object"