SERVICE_CONTRACT_CONTRACT_CHANGED
{
"type" : "object",
"properties" : {
"customerId" : {
"type" : "string"
},
"externalUniqueIdentifier" : {
"type" : "string"
},
"username" : {
"type" : "string"
},
"email" : {
"type" : "string"
},
"title" : {
"type" : "string"
},
"firstName" : {
"type" : "string"
},
"lastName" : {
"type" : "string"
},
"dateOfBirth" : {
"type" : "string",
"format" : "date-time"
},
"countryCode" : {
"type" : "string"
},
"postCode" : {
"type" : "string"
},
"consents" : {
"type" : "object",
"properties" : {
"contactMethods" : {
"type" : "array",
"items" : {
"type" : "string"
}
},
"consentPrefs" : {
"type" : "array",
"items" : {
"type" : "string"
}
}
}
},
"customAttributes" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"name" : {
"type" : "string"
},
"value" : {
"type" : "string"
}
}
}
},
"entitlements" : {
"type" : "object",
"properties" : {
"subscriptions" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"itemCode" : {
"type" : "string"
},
"itemName" : {
"type" : "string"
},
"entitlementIds" : {
"type" : "array",
"items" : {
"type" : "string"
}
},
"entitlements" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"id" : {
"type" : "string"
},
"name" : {
"type" : "string"
}
}
}
},
"vcn" : {
"type" : "integer"
}
}
}
},
"ppv" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"itemCode" : {
"type" : "string"
},
"itemName" : {
"type" : "string"
},
"entitlementIds" : {
"type" : "array",
"items" : {
"type" : "string"
}
},
"entitlements" : {
"type" : "array",
"items" : {
"type" : "object",
}
},
"itemDataId" : {
"type" : "string"
},
"itemDataName" : {
"type" : "string"
},
"vcn" : {
"type" : "integer"
}
}
}
},
"accessPasses" : {
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"itemCode" : {
"type" : "string"
},
"itemName" : {
"type" : "string"
},
"entitlementIds" : {
"type" : "array",
"items" : {
"type" : "string"
}
},
"entitlements" : {
"type" : "array",
"items" : {
"type" : "object",
}
},
"itemDataId" : {
"type" : "string"
},
"itemDataName" : {
"type" : "string"
},
"groupName" : {
"type" : "string"
},
"startTime" : {
"type" : "string",
"format" : "date-time"
},
"endTime" : {
"type" : "string",
"format" : "date-time"
},
"hoursDuration" : {
"type" : "integer"
}
}
}
},
"vcn" : {
"type" : "array",
"items" : {
"type" : "integer"
}
}
}
},
"referAFriend" : {
"type" : "object",
"properties" : {
"code" : {
"type" : "string"
},
"active" : {
"type" : "boolean"
}
}
},
"referrerId" : {
"type" : "string"
},
"orderId" : {
"type" : "number"
},
"itemToRemove" : {
"type" : "string"
},
"dateOfChange" : {
"type" : "string",
"format" : "date-time"
},
"movementType" : {
"type" : "string"
},
"itemToAdd" : {
"type" : "string"
},
"amountDue" : {
"type" : "number"
},
"paymentMethod" : {
"type" : "object",
"properties" : {
"paymentProvider" : {
"type" : "string"
},
"paymentType" : {
"type" : "string"
},
"maskedPAN" : {
"type" : "string"
},
"expiryDate" : {
"type" : "string",
"format" : "date-time"
}
}
},
"startDate" : {
"type" : "string",
"format" : "date-time"
},
"oldBillingDate" : {
"type" : "string",
"format" : "date-time"
},
"newBillingDate" : {
"type" : "string",
"format" : "date-time"
},
"minimumTermDuration" : {
"type" : "integer"
},
"minimumTermUnit" : {
"type" : "string"
},
"termEndDate" : {
"type" : "string",
"format" : "date-time"
},
"discount" : {
"type" : "object",
"properties" : {
"campaignCode" : {
"type" : "string"
},
"sourceCode" : {
"type" : "string"
},
"promoCode" : {
"type" : "string"
},
"referAFriendCode" : {
"type" : "string"
},
"name" : {
"type" : "string"
},
"amount" : {
"type" : "number"
},
"duration" : {
"type" : "integer"
}
}
}
},
"required": ["customerId", "username", "email", "title", "firstName", "lastName", "countryCode", "consents", "orderId", "itemToRemove", "dateOfChange", "movementType", "itemToAdd", "amountDue", "paymentMethod", "startDate", "oldBillingDate", "newBillingDate"]
}
Updated 10 months ago