Files
nginx-proxy-manager/manager/src/backend/schema/definitions.json
T
Jamie Curnow 6e7435c35d Initial commit
2017-12-21 09:02:37 +10:00

62 lines
1.2 KiB
JSON

{
"$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)$"
}
}
}
}
}
}