{
  "$id": "plan.create",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "alias",
    "title",
    "hidden",
    "subscriptions",
    "plan"
  ],
  "properties": {
    "hidden": {
      "type": "boolean"
    },
    "alias": {
      "type": "string",
      "minLength": 1
    },
    "title": {
      "type": "string",
      "minLength": 1
    },
    "level": {
      "$ref": "plan#/definitions/level"
    },
    "subscriptions": {
      "type": "array",
      "items": {
        "$ref": "subscription#"
      }
    },
    "plan": {
      "$ref": "plan#"
    },
    "meta": {
      "$ref": "plan#/definitions/meta"
    }
  }
}
