Files
ziti/controller/embedded/api-schema/definitions.all.json
T

217 lines
4.1 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"
}
]
}
}
},
"config-data": {
"type": "object",
"additionalProperties": false,
"patternProperties": {
"^.{1,50}$": {
"anyOf": [
{
"type": "null"
},
{
"type": "string",
"minLength": 1,
"maxLength": 2048
},
{
"type": "number",
"minLength": 1,
"maxLength": 2048
},
{
"type": "boolean"
},
{
"$ref": "definitions.all.json#/definitions/config-data"
}
]
}
}
},
"config-data-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"
},
{
"$ref": "definitions.all.json#/definitions/config-data"
}
]
}
}
},
"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"
}
},
"arrayOfString-null": {
"type": [
"array",
"null"
],
"default": [],
"items": {
"type": "string"
}
},
"password": {
"type": "string",
"minLength": 6,
"maxLength": 100
},
"username": {
"type": "string",
"minLength": 4,
"maxLength": 100
},
"semantic": {
"type": [
"string",
"null"
],
"enum": [
"AllOf",
"AnyOf",
null
]
}
}
}