Skip to content

Instantly share code, notes, and snippets.

@mafrosis
Created May 5, 2016 15:01
Show Gist options
  • Save mafrosis/edb462ad16d05ce695c7c8018a2d1971 to your computer and use it in GitHub Desktop.
Save mafrosis/edb462ad16d05ce695c7c8018a2d1971 to your computer and use it in GitHub Desktop.
{
"$schema": "http://json-schema.org/schema#",
"id": "http://example.com/schemas/approve_schema.json",
"title": "portal_approve",
"description": "A description",
"type": "object",
"properties": {
"name": {
"description": "The contact's full name",
"type": "string"
},
"email": {
"description": "An email address",
"type": "string"
},
"link": {
"description": "DEPRECATED. A link for the user to follow to change password",
"type": "string"
},
"token": {
"description": "The password change token (previously part of link)",
"type": "string"
}
},
"required": [
"name",
"email"
],
"additionalProperties": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment