Initial commit

This commit is contained in:
Jamie Curnow
2017-12-21 09:02:37 +10:00
parent dc830df253
commit 6e7435c35d
140 changed files with 19554 additions and 0 deletions
@@ -0,0 +1,61 @@
{
"$schema": "http://json-schema.org/draft-06/schema#",
"id": "definitions",
"definitions": {
"id": {
"description": "Unique identifier",
"example": 123456,
"readOnly": true,
"type": "integer",
"minimum": 1
},
"_id": {
"description": "Unique identifier",
"example": "dfgbkjwj23asdad23gbweg",
"readOnly": true,
"type": "string",
"minLength": 1
},
"hostname": {
"definition": "Fully Qualified Host Name",
"type": "string",
"minLength": 2,
"example": "myhost.example.com"
},
"expand": {
"anyOf": [
{
"type": "null"
},
{
"type": "array",
"minItems": 1,
"items": {
"type": "string"
}
}
]
},
"sort": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": [
"field",
"dir"
],
"additionalProperties": false,
"properties": {
"field": {
"type": "string"
},
"dir": {
"type": "string",
"pattern": "^(asc|desc)$"
}
}
}
}
}
}