mirror of
https://github.com/openziti/ziti.git
synced 2026-09-24 19:32:22 +00:00
c8e2729f05
- Updates .gitignore files - Fixes imports
127 lines
2.5 KiB
JSON
127 lines
2.5 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"
|
|
}
|
|
},
|
|
"arrayOfString-null": {
|
|
"type": ["array", "null"],
|
|
"default": [],
|
|
"items": {
|
|
"type" : "string"
|
|
}
|
|
},
|
|
"password": {
|
|
"type": "string",
|
|
"minLength": 6,
|
|
"maxLength": 100
|
|
},
|
|
"username": {
|
|
"type": "string",
|
|
"minLength": 4,
|
|
"maxLength": 100
|
|
}
|
|
}
|
|
} |