http://maasglobal.com/maas-backend/subscriptions/subscription.json
MaaS subscription schema
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Cannot be instantiated | Yes | Develop | No | Forbidden | Permitted | maas-backend/subscriptions/subscription.json |
Property | Type | Group |
---|---|---|
activated | time | http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/terms |
active | boolean |
http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/subscriptionBase |
addons | addon | http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/subscriptionBase |
availability | object |
http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/subscriptionBase |
changeState | subscriptionChangeState | http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/subscriptionBase |
coupons | coupon | http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/subscriptionBase |
customerId | identityId | http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/subscriptionBase |
description | string |
http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/coupon |
hidden | boolean |
http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/subscriptionBase |
id | subscriptionItemId | http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/coupon |
image | url | http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/addon |
level | integer |
http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/subscriptionBase |
meta | object |
http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/subscriptionBase |
modified | time | http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/terms |
name | string |
http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/coupon |
plan | plan | http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/subscriptionBase |
pointCost | point-cost | http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/subscriptionBase |
price | price | http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/plan |
quantity | integer |
http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/addon |
region | region | http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/subscriptionBase |
scheduledChanges | boolean |
http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/terms |
selectable | boolean |
http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/subscriptionBase |
shippingAddress | subscriptionAddress | http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/subscriptionBase |
terms | terms | http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/subscriptionBase |
topUpId | string |
http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/subscriptionBase |
unitPrice | price | http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/addon |
validity | object |
http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/terms |
wmpGrant | integer |
http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/subscriptionBase |
activated
http://maasglobal.com/core/components/units.json#/definitions/time
active
boolean
boolean
addons
Array type: addon
All items must be of the type:
#/definitions/addon
availability
object
object
with following properties:
| Property | Type | Required | | ——– | —- | ——– |
changeState
http://maasglobal.com/core/components/subscriptionChangeState.json
coupons
Array type: coupon
All items must be of the type:
#/definitions/coupon
customerId
http://maasglobal.com/maas-backend/subscriptions/contact.json#/definitions/identityId
description
string
string
hidden
boolean
boolean
id
#/definitions/subscriptionItemId
image
http://maasglobal.com/core/components/units.json#/definitions/url
level
integer
integer
1
Arbitrary metadata on whatever app might need to display
meta
object
object
with following properties:
| Property | Type | Required | | ——– | —- | ——– |
modified
http://maasglobal.com/core/components/units.json#/definitions/time
name
string
string
plan
#/definitions/plan
pointCost
http://maasglobal.com/core/components/point-cost.json
price
#/definitions/price
quantity
integer
1
integer
0
200000
region
http://maasglobal.com/core/region.json
scheduledChanges
boolean
false
boolean
selectable
boolean
boolean
shippingAddress
http://maasglobal.com/maas-backend/subscriptions/subscriptionAddress.json
terms
#/definitions/terms
topUpId
string
string
unitPrice
#/definitions/price
Subscription validity conditions
validity
object
object
with following properties:
Property | Type | Required |
---|---|---|
endTime |
Required | |
startTime |
Required |
endTime
http://maasglobal.com/core/components/units.json#/definitions/time
startTime
http://maasglobal.com/core/components/units.json#/definitions/time
wmpGrant
integer
integer
0