Skip to content

Instantly share code, notes, and snippets.

@deweller
Last active September 2, 2016 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deweller/c8aacd317b6d6ac71cbaa34240ea1ad1 to your computer and use it in GitHub Desktop.
Save deweller/c8aacd317b6d6ac71cbaa34240ea1ad1 to your computer and use it in GitHub Desktop.
Reward Tokens BVAM Category Schema Example
{
"title": "Reward Tokens BVAM Category Schema v1.0.0",
"category_id": "Reward Tokens",
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema#",
"version": "1.0.0",
"properties": {
"program_name": {
"description": "The full name of the reward program",
"label": "Program Name",
"maxLength": 127,
"type": "string"
},
"program_website_location": {
"description": "A URI with more information about the rewards program",
"format": "uri",
"label": "Program Website",
"maxLength": 255,
"type": "string"
},
"reward_entitlements": {
"description": "A list of entitlements provided by this token",
"items": {
"format": "uri",
"maxLength": 255,
"type": "string"
},
"label": "Rewards",
"type": "array",
"uniqueItems": true
}
},
"additionalProperties": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment