Skip to content
This repository has been archived by the owner on Feb 24, 2019. It is now read-only.

Commit

Permalink
Add user type and meta (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
binarylogic committed Aug 16, 2017
1 parent be3aef0 commit ca2df00
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -325,21 +325,33 @@
"minProperties": 1,
"additionalProperties": false,
"properties": {
"email": {
"type": "string",
"description": "An email address for the user. This need not be unique to the user. Note that no validation is performed on this field.",
"format": "email",
"minLength": 1,
"maxLength": 256
},
"id": {
"type": "string",
"description": "A unique identifier for the user.",
"minLength": 1,
"maxLength": 256
},
"meta": {
"type": "object",
"description": "Additional custom metadata you'd like to add to the user.",
"minProperties": 1
},
"name": {
"type": "string",
"description": "A display name for the user.",
"minLength": 1,
"maxLength": 256
},
"email": {
"type": {
"type": "string",
"description": "An email address for the user. This need not be unique to the user. Note that no validation is performed on this field.",
"description": "The type of user. Used in systems where there are multiple user types. This helps to denote users in the case of polymorphism.",
"format": "email",
"minLength": 1,
"maxLength": 256
Expand Down

0 comments on commit ca2df00

Please sign in to comment.