mirror of
https://github.com/openziti/ziti.git
synced 2026-09-24 11:26:27 +00:00
ae6edccbab
* Update for Xt changes
257 lines
4.8 KiB
JSON
257 lines
4.8 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": 5,
|
|
"maxLength": 100
|
|
},
|
|
"password-null": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"minLength": 5,
|
|
"maxLength": 100
|
|
},
|
|
"username": {
|
|
"type": "string",
|
|
"minLength": 4,
|
|
"maxLength": 100
|
|
},
|
|
"username-null": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"minLength": 4,
|
|
"maxLength": 100
|
|
},
|
|
"semantic": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"enum": [
|
|
"AllOf",
|
|
"AnyOf",
|
|
null
|
|
]
|
|
},
|
|
"terminator-cost": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 65535
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"terminator-precedence": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"enum": [
|
|
"default",
|
|
"required",
|
|
"failed",
|
|
null
|
|
]
|
|
}
|
|
}
|
|
} |