Skip to content

Commit

Permalink
Document more props, refs #41
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Jan 20, 2017
1 parent 5d336f7 commit 51b2301
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions schemata/user.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 51b2301

Please sign in to comment.