Files
ziti/edge/controller/embedded/api-schema/definitions.all.json
T
2019-12-03 12:17:40 -05:00

120 lines
2.4 KiB
JSON

{
"$id": "http://ziti-edge.netfoundry.io/schemas/definitions.all.json",
"definitions": {
"tags": {
"type": "object",
"additionalProperties": false,
"patternProperties": {
"^.{1,50}$": {
"anyOf": [
{
"type": "null"
},
{
"type": "string",
"minLength": 1,
"maxLength": 2048
},
{
"type": "number",
"minLength": 1,
"maxLength": 2048
},
{
"type": "boolean"
}
]
}
}
},
"tags-null": {
"type": ["object", "null"],
"additionalProperties": false,
"patternProperties": {
"^.{1,50}$": {
"anyOf": [
{
"type": "null"
},
{
"type": "string",
"minLength": 1,
"maxLength": 2048
},
{
"type": "number",
"minLength": 1,
"maxLength": 2048
},
{
"type": "boolean"
}
]
}
}
},
"name": {
"type": "string",
"minLength": 2,
"maxLength": 256
},
"name-null": {
"type": ["string", "null"],
"minLength": 2,
"maxLength": 256
},
"id": {
"type": "string",
"format": "uuid",
"minLength": 1,
"maxLength": 256
},
"id-null": {
"type": ["string", "null"],
"format": "uuid",
"minLength": 1,
"maxLength": 256
},
"id-str": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"id-str-null": {
"type": ["string", "null"],
"minLength": 1,
"maxLength": 256
},
"arrayOfIds": {
"type": "array",
"default": [],
"items": {
"$ref": "#/definitions/id"
}
},
"arrayOfIds-null": {
"type": ["array", "null"],
"default": [],
"items": {
"$ref": "#/definitions/id"
}
},
"arrayOfIds-str": {
"type": "array",
"default": [],
"items": {
"$ref": "#/definitions/id-str"
}
},
"password": {
"type": "string",
"minLength": 6,
"maxLength": 100
},
"username": {
"type": "string",
"minLength": 4,
"maxLength": 100
}
}
}