Skip to content

Instantly share code, notes, and snippets.

@nickl-
Created December 19, 2012 14:12
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 nickl-/4336933 to your computer and use it in GitHub Desktop.
Save nickl-/4336933 to your computer and use it in GitHub Desktop.
json-schema-name
{
"description": "A representation of a product",
"type": "object",
"properties": {
"id": {
"description": "The unique, canonical identifier for a product ",
"type": "number",
"required": true
},
"name": {
"description": "Name of the product",
"type": "string",
"required": true
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment