diff --git a/schemata/user.yaml b/schemata/user.yaml index 2d09b5f..fd935a7 100644 --- a/schemata/user.yaml +++ b/schemata/user.yaml @@ -15,14 +15,22 @@ properties: type: string example: "Example User" avatar: - type: string - example: "http://example.net/user.png" + $ref": "base.json#/definitions/url" founder: example: 6 description: Founding member number oneOf: - { type: 'null' } - { type: 'integer' } + scope: + description: Usage scopes granted to the user + type: array + uniqueItems: true + items: + type: string + example: content_management + app: + "$ref": "base.json#/definitions/uuid" plan: "$ref": "base.json#/definitions/uuid" quotaSites: