maas-schemas

subscription Schema

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

subscription Definitions

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

activated

activated Type

active

active

active Type

boolean

addons

addons

addons Type

Array type: addon

All items must be of the type:

availability

availability

availability Type

object with following properties:

| Property | Type | Required | | ——– | —- | ——– |

changeState

changeState

changeState Type

coupons

coupons

coupons Type

Array type: coupon

All items must be of the type:

customerId

customerId

customerId Type

description

description

description Type

string

hidden

hidden

hidden Type

boolean

id

id

id Type

image

image

image Type

level

level

level Type

integer

meta

Arbitrary metadata on whatever app might need to display

meta

meta Type

object with following properties:

| Property | Type | Required | | ——– | —- | ——– |

modified

modified

modified Type

name

name

name Type

string

plan

plan

plan Type

pointCost

pointCost

pointCost Type

price

price

price Type

quantity

quantity

quantity Type

integer

region

region

region Type

scheduledChanges

scheduledChanges

scheduledChanges Type

boolean

selectable

selectable

selectable Type

boolean

shippingAddress

shippingAddress

shippingAddress Type

terms

terms

terms Type

topUpId

topUpId

topUpId Type

string

unitPrice

unitPrice

unitPrice Type

validity

Subscription validity conditions

validity

validity Type

object with following properties:

Property Type Required
endTime   Required
startTime   Required

endTime

endTime

endTime Type

startTime

startTime

startTime Type

wmpGrant

wmpGrant

wmpGrant Type

integer