From 5d336f7d3fe5581d2b2a226728eabf0e3b81e185 Mon Sep 17 00:00:00 2001 From: Henri Bergius Date: Fri, 20 Jan 2017 13:09:57 +0100 Subject: [PATCH] Document more user props, refs #41 --- schemata/user.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/schemata/user.yaml b/schemata/user.yaml index d19f4f2..2d09b5f 100644 --- a/schemata/user.yaml +++ b/schemata/user.yaml @@ -23,6 +23,12 @@ properties: oneOf: - { type: 'null' } - { type: 'integer' } + plan: + "$ref": "base.json#/definitions/uuid" + quotaSites: + example: 1 + description: How many sites the user is allowed to create + type: integer canUse: description: Feature flagging based on user plan type: object @@ -36,4 +42,8 @@ properties: edEmbed: description: If user can create embedded block in Ed type: boolean + activatedAt: + description: When the user plan was activated + type: string + format: 'date-time' required: [id, name]