Skip to content
Permalink
be9e1e5875
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
35 lines (35 sloc) 899 Bytes
module.exports = {
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "/article",
"title": "Article",
"description": "An article in the blog",
"type": "object",
"properties": {
"title": {
"description": "Main title of the blog article",
"type": "string"
},
"allText": {
"description": "Body text of the blog article",
"type": "string"
},
"summary": {
"description": "Optional short text summary of article",
"type": "string"
},
"imageURL": {
"description": "URL for main image to show in article",
"type": "uri"
},
"published": {
"description": "Is the article published or not",
"type": "boolean"
},
"authorID": {
"description": "User ID of the article author",
"type": "integer",
"minimum": 0
},
},
"required": ["title", "allText", "authorID"]
}