       quantity      :
         type        : Number
         default     : 1
-      status        : String
+      status        :
+        type        : String
+        enum        : ['Unknown status!'
+                      [
+                        'active'
+                        'canceled'
+                        'expired'
+                        'future'
+                        'in_trial'
+                        'live'
+                        'past_due'
+                      ]]
       activatedAt   : Date
       expiresAt     : Date
       renewAt       : Date

        'calculateRefund'
        'checkUsage'
        'debit'
      ]
    schema          :
      uuid          : String

module.exports = class JPaymentSubscription extends jraphical.Module

  {secure, dash} = require 'bongo'
  {partition} = require '../../util'
  JUser    = require '../user'
  JPayment = require './index'

