Skip to content

Instantly share code, notes, and snippets.

@andresmoschini
Created October 29, 2015 21:24
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 andresmoschini/4d3479b0acb479bba8f0 to your computer and use it in GitHub Desktop.
Save andresmoschini/4d3479b0acb479bba8f0 to your computer and use it in GitHub Desktop.
{
"$schema": "http://json-schema.org/draft-04/schema",
"id": "campaign-social-preferences.json",
"type": "object",
"properties": {
"shareButtons": {
"type": [ "array", "null" ],
"items": {
"type": "string",
"enum": [
"facebook",
"twitter",
"googleplus",
"linkedin",
"pinterest"
]
}
},
"viralButtons": {
"type": [ "array", "null" ],
"items": {
"type": "string",
"enum": [
"facebookLike",
"googleplus"
]
}
},
"facebookPostPageIds": {
"type": [ "array", "null" ],
"items": {
"type": "string",
"maxLength": 50
}
},
"twitterPost": {
"type": [ "boolean", "null" ]
},
"linkedInPost": {
"type": [ "boolean", "null" ]
},
"rssPost": {
"type": [ "boolean", "null" ]
},
"rssDescripcion": {
"type": [ "string", "null" ],
"maxLength": 150
},
"_links": {
"$ref": "link-collection.json"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment