https://ns.adobe.com/xdm/context/subscription
Subscriptions are licensed entitlements to software, services or goods that are utilized in a time or usage based way.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Experimental | No | Forbidden | Permitted | context/subscription.schema.json |
- Subscription
https://ns.adobe.com/xdm/context/subscription
- Extensibility base schema
https://ns.adobe.com/xdm/common/extensible
- Person
https://ns.adobe.com/xdm/context/person
- Device
https://ns.adobe.com/xdm/context/device
- Environment
https://ns.adobe.com/xdm/context/environment
- Extensibility base schema
{
"@id": "https://data.adobe.io/subscriptionid-123",
"xdm:subscriber": {
"xdm:firstName": "John",
"xdm:lastName": "Smith",
"xdm:courtesyTitle": "Mr.",
"xdm:birthDay": 1,
"xdm:birthMonth": 1,
"xdm:birthYear": 2000,
"xdm:gender": "male"
},
"xdm:device": {
"xdm:typeId": "TypeIdentifier-111",
"xdm:typeIdService": "deviceAtlas",
"xdm:type": "mobile",
"xdm:manufacturer": "Apple",
"xdm:model": "iPhone 6",
"xdm:modelNumber": "A1586",
"xdm:screenHeight": 667,
"xdm:screenWidth": 375,
"xdm:colorDepth": 16777216
},
"xdm:SKU": "12345678",
"xdm:planName": "PS+ 12 Month Membership",
"xdm:country": "USA",
"xdm:startDate": "2001-01-01",
"xdm:endDate": "2002-01-01",
"xdm:term": 12,
"xdm:termUnitOfTime": "Month",
"xdm:status": "active",
"xdm:contractId": "contractid-123",
"xdm:paymentMethod": "creditCard",
"xdm:billingPeriod": "Month",
"xdm:billingStartDate": "2001-01-01",
"xdm:paymentStatus": "paid"
}
Property | Type | Required | Defined by |
---|---|---|---|
@id | string |
Optional | Subscription (this schema) |
xdm:SKU | string |
Optional | Subscription (this schema) |
xdm:billingPeriod | string |
Optional | Subscription (this schema) |
xdm:billingStartDate | string |
Optional | Subscription (this schema) |
xdm:category | string |
Optional | Subscription (this schema) |
xdm:chargeMethod | string |
Optional | Subscription (this schema) |
xdm:contractID | string |
Optional | Subscription (this schema) |
xdm:country | string |
Optional | Subscription (this schema) |
xdm:device | Device | Optional | Subscription (this schema) |
xdm:endDate | string |
Optional | Subscription (this schema) |
xdm:environment | Environment | Optional | Subscription (this schema) |
xdm:paymentMethod | string |
Optional | Subscription (this schema) |
xdm:paymentStatus | string |
Optional | Subscription (this schema) |
xdm:planName | string |
Optional | Subscription (this schema) |
xdm:reason | string |
Optional | Subscription (this schema) |
xdm:renew | string |
Optional | Subscription (this schema) |
xdm:revision | string |
Optional | Subscription (this schema) |
xdm:startDate | string |
Optional | Subscription (this schema) |
xdm:status | string |
Optional | Subscription (this schema) |
xdm:subCategory | string |
Optional | Subscription (this schema) |
xdm:subscriber | Person | Optional | Subscription (this schema) |
xdm:term | integer |
Optional | Subscription (this schema) |
xdm:termUnitOfTime | string |
Optional | Subscription (this schema) |
xdm:topUp | string |
Optional | Subscription (this schema) |
xdm:type | string |
Optional | Subscription (this schema) |
* |
any | Additional | this schema allows additional properties |
Unique identifier for the subscription instance.
@id
- is optional
- type:
string
- defined in this schema
string
Stock Keeping Unit, a generally unique identifier for a product.
xdm:SKU
- is optional
- type:
string
- defined in this schema
string
The duration between billings.
xdm:billingPeriod
- is optional
- type:
string
- defined in this schema
string
The date when the first bill is due.
xdm:billingStartDate
- is optional
- type:
string
- defined in this schema
string
- format:
date
– date, without time (according to RFC 3339, section 5.6)
The main, top level categorization of this type of subscription.
xdm:category
- is optional
- type:
string
- defined in this schema
string
The way the billing is setup to charge the customer.
xdm:chargeMethod
- is optional
- type:
string
- defined in this schema
string
Unique ID for the contract that governs this subscription.
xdm:contractID
- is optional
- type:
string
- defined in this schema
string
The country that the subscription contractual/agreement terms are rooted in.
xdm:country
- is optional
- type:
string
- defined in this schema
string
The device linked to the subscription.
xdm:device
- is optional
- type: Device
- defined in this schema
- Device –
https://ns.adobe.com/xdm/context/device
The date the current subscription term ends.
xdm:endDate
- is optional
- type:
string
- defined in this schema
string
- format:
date
– date, without time (according to RFC 3339, section 5.6)
Environment of the subscription.
This can be either then known environment at the time of the subscription or the environment of the application for subscriptions related to an Application.
xdm:environment
- is optional
- type: Environment
- defined in this schema
- Environment –
https://ns.adobe.com/xdm/context/environment
The payment method for recurring payments.
xdm:paymentMethod
- is optional
- type:
string
- defined in this schema
string
The standing of the account.
xdm:paymentStatus
- is optional
- type:
string
- defined in this schema
string
The human readable name for the subscription.
xdm:planName
- is optional
- type:
string
- defined in this schema
string
The general intent the member has for the use of the subscription.
xdm:reason
- is optional
- type:
string
- defined in this schema
string
The agreed way that the subscription may continue after the end date.
xdm:renew
- is optional
- type:
string
- defined in this schema
string
The identification between subscriptions of the same name and category hierarchy.
xdm:revision
- is optional
- type:
string
- defined in this schema
string
The date the subscription begins.
xdm:startDate
- is optional
- type:
string
- defined in this schema
string
- format:
date
– date, without time (according to RFC 3339, section 5.6)
The current status of the subscription.
xdm:status
- is optional
- type:
string
- defined in this schema
string
The specific sub categorization of the subscription.
xdm:subCategory
- is optional
- type:
string
- defined in this schema
string
The owner of the subscription.
xdm:subscriber
- is optional
- type: Person
- defined in this schema
- Person –
https://ns.adobe.com/xdm/context/person
The numeric value of the term.
xdm:term
- is optional
- type:
integer
- defined in this schema
integer
The unit of time for the term period.
xdm:termUnitOfTime
- is optional
- type:
string
- defined in this schema
string
Agreed terms for how consumable aspects of a subscription are repurchased during a billing period.
xdm:topUp
- is optional
- type:
string
- defined in this schema
string
The scope of entitlement in relation to how many people are covered by the subscription.
xdm:type
- is optional
- type:
string
- defined in this schema
string