mirror of
https://github.com/MatMoul/dokytree.git
synced 2025-11-20 22:42:05 +00:00
Inital commit
This commit is contained in:
73
samples/it_v1/schemas/_index.json
Normal file
73
samples/it_v1/schemas/_index.json
Normal file
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "YAML Schema for computer",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"index": { "type": "integer" },
|
||||
"title": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"book": { "type": "boolean" },
|
||||
"toc": { "type": "boolean" },
|
||||
"templates": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"node": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"headfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"footfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
118
samples/it_v1/schemas/ad_acls.json
Normal file
118
samples/it_v1/schemas/ad_acls.json
Normal file
@@ -0,0 +1,118 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "YAML Schema for computer",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"todo": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"msg": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"priority": { "type": "integer" },
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{"type": "integer"},
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"folders": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"properties": {
|
||||
"path": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"acls": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"access": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'RO'",
|
||||
"'RW'",
|
||||
"'traversal'",
|
||||
"'DENY'"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
"headfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"footfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
121
samples/it_v1/schemas/ad_dfs.json
Normal file
121
samples/it_v1/schemas/ad_dfs.json
Normal file
@@ -0,0 +1,121 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "YAML Schema for computer",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"todo": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"msg": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"priority": { "type": "integer" },
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{"type": "integer"},
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"targets": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"folders": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"targets": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"footfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
116
samples/it_v1/schemas/ad_domain.json
Normal file
116
samples/it_v1/schemas/ad_domain.json
Normal file
@@ -0,0 +1,116 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "YAML Schema for computer",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"todo": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"msg": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"priority": { "type": "integer" },
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{"type": "integer"},
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"dc": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"fsmo": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'all'"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"servers": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"footfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
107
samples/it_v1/schemas/ad_shares.json
Normal file
107
samples/it_v1/schemas/ad_shares.json
Normal file
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "YAML Schema for computer",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"todo": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"msg": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"priority": { "type": "integer" },
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{"type": "integer"},
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"fileshares": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"printshares": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"footfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
91
samples/it_v1/schemas/ad_usergroups.json
Normal file
91
samples/it_v1/schemas/ad_usergroups.json
Normal file
@@ -0,0 +1,91 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "YAML Schema for computer",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"todo": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"msg": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"priority": { "type": "integer" },
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{"type": "integer"},
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"usergroups": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"footfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
333
samples/it_v1/schemas/computer.json
Normal file
333
samples/it_v1/schemas/computer.json
Normal file
@@ -0,0 +1,333 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "YAML Schema for computer",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"todo": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"msg": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"priority": { "type": "integer" },
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{"type": "integer"},
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'notebook'",
|
||||
"'rack'",
|
||||
"'slim'",
|
||||
"'small'",
|
||||
"'tower'",
|
||||
"'vm'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"model": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"os": {
|
||||
"type": "string",
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{"enum": [
|
||||
"''",
|
||||
"'Windows XP Home'",
|
||||
"'Windows XP Pro'",
|
||||
"'Windows Vista Home'",
|
||||
"'Windows Vista Pro'",
|
||||
"'Windows 7 Home'",
|
||||
"'Windows 7 Pro'",
|
||||
"'Windows 8 Home'",
|
||||
"'Windows 8 Pro'",
|
||||
"'Windows 10 Home'",
|
||||
"'Windows 10 Pro'",
|
||||
"'Windows 11 Home'",
|
||||
"'Windows 11 Pro'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"location": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"interfaces": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'LAN'",
|
||||
"'WIFI'",
|
||||
"'WAN'",
|
||||
"'VPN'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"ip": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"mask": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'255.255.255.0'",
|
||||
"'255.255.0.0'",
|
||||
"'255.0.0.0'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"gw": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"dns": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"updates": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'os'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"method": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'auto'",
|
||||
"'manual'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"frequency": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'auto'",
|
||||
"'daily'",
|
||||
"'weekly'",
|
||||
"'monthly'",
|
||||
"'quarterly'",
|
||||
"'halfyearly'",
|
||||
"'yearly'",
|
||||
"'monday'",
|
||||
"'tuesday'",
|
||||
"'wednesday'",
|
||||
"'thursday'",
|
||||
"'friday'",
|
||||
"'saturday'",
|
||||
"'sonday'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"time": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'auto'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "type": "integer" },
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"backups": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'none'",
|
||||
"'hypervisor'",
|
||||
"'windowsbackup'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"method": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'auto'",
|
||||
"'manual'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"frequency": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'daily'",
|
||||
"'weekly'",
|
||||
"'monthly'",
|
||||
"'quarterly'",
|
||||
"'halfyearly'",
|
||||
"'yearly'",
|
||||
"'monday'",
|
||||
"'tuesday'",
|
||||
"'wednesday'",
|
||||
"'thursday'",
|
||||
"'friday'",
|
||||
"'saturday'",
|
||||
"'sonday'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"target": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'usb'",
|
||||
"'pbs'",
|
||||
"'share'",
|
||||
"'iscsi'",
|
||||
"'cloud'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"time": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'auto'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "type": "integer" },
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"footfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
337
samples/it_v1/schemas/netdev.json
Normal file
337
samples/it_v1/schemas/netdev.json
Normal file
@@ -0,0 +1,337 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "YAML Schema for computer",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"todo": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"msg": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"priority": { "type": "integer" },
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{"type": "integer"},
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'box'",
|
||||
"'rack'",
|
||||
"'wall'",
|
||||
"'ceiling'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"roles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'DHCP'",
|
||||
"'DNS'",
|
||||
"'VPN'",
|
||||
"'Firewall'",
|
||||
"'Router'"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"model": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"os": {
|
||||
"type": "string",
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{"enum": [
|
||||
"''",
|
||||
"'Linux'",
|
||||
"'Debian'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"location": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"interfaces": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'LAN'",
|
||||
"'WIFI'",
|
||||
"'WAN'",
|
||||
"'VPN'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"ip": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"mask": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'255.255.255.0'",
|
||||
"'255.255.0.0'",
|
||||
"'255.0.0.0'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"gw": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"dns": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"updates": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'os'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"method": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'auto'",
|
||||
"'manual'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"frequency": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'auto'",
|
||||
"'daily'",
|
||||
"'weekly'",
|
||||
"'monthly'",
|
||||
"'quarterly'",
|
||||
"'halfyearly'",
|
||||
"'yearly'",
|
||||
"'monday'",
|
||||
"'tuesday'",
|
||||
"'wednesday'",
|
||||
"'thursday'",
|
||||
"'friday'",
|
||||
"'saturday'",
|
||||
"'sonday'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"time": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'auto'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "type": "integer" },
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"backups": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'none'",
|
||||
"'hypervisor'",
|
||||
"'windowsbackup'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"method": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'auto'",
|
||||
"'manual'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"frequency": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'daily'",
|
||||
"'weekly'",
|
||||
"'monthly'",
|
||||
"'quarterly'",
|
||||
"'halfyearly'",
|
||||
"'yearly'",
|
||||
"'monday'",
|
||||
"'tuesday'",
|
||||
"'wednesday'",
|
||||
"'thursday'",
|
||||
"'friday'",
|
||||
"'saturday'",
|
||||
"'sonday'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"target": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'usb'",
|
||||
"'pbs'",
|
||||
"'share'",
|
||||
"'iscsi'",
|
||||
"'cloud'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"time": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'auto'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "type": "integer" },
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"footfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
309
samples/it_v1/schemas/printer.json
Normal file
309
samples/it_v1/schemas/printer.json
Normal file
@@ -0,0 +1,309 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "YAML Schema for computer",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"todo": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"msg": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"priority": { "type": "integer" },
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{"type": "integer"},
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'printer'",
|
||||
"'mfc'",
|
||||
"'large printer'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"model": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"location": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"interfaces": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'LAN'",
|
||||
"'WIFI'",
|
||||
"'WAN'",
|
||||
"'VPN'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"ip": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"mask": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'255.255.255.0'",
|
||||
"'255.255.0.0'",
|
||||
"'255.0.0.0'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"gw": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"dns": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"updates": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'os'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"method": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'auto'",
|
||||
"'manual'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"frequency": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'auto'",
|
||||
"'daily'",
|
||||
"'weekly'",
|
||||
"'monthly'",
|
||||
"'quarterly'",
|
||||
"'halfyearly'",
|
||||
"'yearly'",
|
||||
"'monday'",
|
||||
"'tuesday'",
|
||||
"'wednesday'",
|
||||
"'thursday'",
|
||||
"'friday'",
|
||||
"'saturday'",
|
||||
"'sonday'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"time": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'auto'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "type": "integer" },
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"backups": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'none'",
|
||||
"'hypervisor'",
|
||||
"'windowsbackup'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"method": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'auto'",
|
||||
"'manual'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"frequency": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'daily'",
|
||||
"'weekly'",
|
||||
"'monthly'",
|
||||
"'quarterly'",
|
||||
"'halfyearly'",
|
||||
"'yearly'",
|
||||
"'monday'",
|
||||
"'tuesday'",
|
||||
"'wednesday'",
|
||||
"'thursday'",
|
||||
"'friday'",
|
||||
"'saturday'",
|
||||
"'sonday'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"target": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'usb'",
|
||||
"'pbs'",
|
||||
"'share'",
|
||||
"'iscsi'",
|
||||
"'cloud'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"time": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'auto'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "type": "integer" },
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"footfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
104
samples/it_v1/schemas/secrets.json
Normal file
104
samples/it_v1/schemas/secrets.json
Normal file
@@ -0,0 +1,104 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "YAML Schema for computer",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"todo": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"msg": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"priority": { "type": "integer" },
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{"type": "integer"},
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"secrets": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"'ad'",
|
||||
"'https'",
|
||||
"'ssh'",
|
||||
"'user'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"user": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"password": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"mfa": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'totp'",
|
||||
"'sms'",
|
||||
"'e-mail'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"value": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
354
samples/it_v1/schemas/server.json
Normal file
354
samples/it_v1/schemas/server.json
Normal file
@@ -0,0 +1,354 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "YAML Schema for computer",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"todo": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"msg": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"priority": { "type": "integer" },
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{"type": "integer"},
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'mini'",
|
||||
"'rack'",
|
||||
"'tower'",
|
||||
"'vm'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"roles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'DHCP'",
|
||||
"'DNS'",
|
||||
"'VPN'",
|
||||
"'Firewall'",
|
||||
"'DC'",
|
||||
"'File Server'",
|
||||
"'Print Server'",
|
||||
"'App Server'",
|
||||
"'Backup Server'",
|
||||
"'Hypervisor'"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"model": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"os": {
|
||||
"type": "string",
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{"enum": [
|
||||
"''",
|
||||
"'Windows 2000'",
|
||||
"'Windows 2003'",
|
||||
"'Windows 2008'",
|
||||
"'Windows 2008 R2'",
|
||||
"'Windows 2012'",
|
||||
"'Windows 2012 R2'",
|
||||
"'Windows 2016'",
|
||||
"'Windows 2019'",
|
||||
"'Windows 2021'",
|
||||
"'Debian'",
|
||||
"'Debian / Proxmox VE'",
|
||||
"'Debian / Proxmox BS'",
|
||||
"'FreeBSD / OPNSense'",
|
||||
"'FreeBSD / pfSense'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"location": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"interfaces": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'LAN'",
|
||||
"'WIFI'",
|
||||
"'WAN'",
|
||||
"'VPN'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"ip": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"mask": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'255.255.255.0'",
|
||||
"'255.255.0.0'",
|
||||
"'255.0.0.0'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"gw": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"dns": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"updates": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'os'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"method": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'auto'",
|
||||
"'manual'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"frequency": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'auto'",
|
||||
"'daily'",
|
||||
"'weekly'",
|
||||
"'monthly'",
|
||||
"'quarterly'",
|
||||
"'halfyearly'",
|
||||
"'yearly'",
|
||||
"'monday'",
|
||||
"'tuesday'",
|
||||
"'wednesday'",
|
||||
"'thursday'",
|
||||
"'friday'",
|
||||
"'saturday'",
|
||||
"'sonday'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"time": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'auto'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "type": "integer" },
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"backups": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'none'",
|
||||
"'hypervisor'",
|
||||
"'windowsbackup'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"method": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'auto'",
|
||||
"'manual'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"frequency": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'daily'",
|
||||
"'weekly'",
|
||||
"'monthly'",
|
||||
"'quarterly'",
|
||||
"'halfyearly'",
|
||||
"'yearly'",
|
||||
"'monday'",
|
||||
"'tuesday'",
|
||||
"'wednesday'",
|
||||
"'thursday'",
|
||||
"'friday'",
|
||||
"'saturday'",
|
||||
"'sonday'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"target": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'usb'",
|
||||
"'pbs'",
|
||||
"'share'",
|
||||
"'iscsi'",
|
||||
"'cloud'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"time": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'auto'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "type": "integer" },
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"footfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
116
samples/it_v1/schemas/software.json
Normal file
116
samples/it_v1/schemas/software.json
Normal file
@@ -0,0 +1,116 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "YAML Schema for computer",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"todo": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"msg": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"priority": { "type": "integer" },
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{"type": "integer"},
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"publisher": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"licenses": {
|
||||
"oneOf": [
|
||||
{"type": "integer"},
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"urls": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"website": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"download": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"footfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
172
samples/it_v1/schemas/subnet.json
Normal file
172
samples/it_v1/schemas/subnet.json
Normal file
@@ -0,0 +1,172 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "YAML Schema for computer",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"todo": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"msg": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"priority": { "type": "integer" },
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{"type": "integer"},
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'LAN'",
|
||||
"'LAN01'",
|
||||
"'LAN02'",
|
||||
"'LAN03'",
|
||||
"'LAN04'",
|
||||
"'LAN06'",
|
||||
"'LAN07'",
|
||||
"'LAN08'",
|
||||
"'LAN09'",
|
||||
"'LAN10'",
|
||||
"'WAN'",
|
||||
"'WIFI'",
|
||||
"'GUEST'",
|
||||
"'DMZ'",
|
||||
"'VPN'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"subnet": {
|
||||
"type": "string",
|
||||
"oneOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'192.168.0.0/24'",
|
||||
"'192.168.1.0/24'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"gw": {
|
||||
"oneOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'192.168.0.1'",
|
||||
"'192.168.1.1'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"dns": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'192.168.0.1'",
|
||||
"'192.168.1.1'"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"vlans": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"dhcp": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"server": {
|
||||
"oneOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'192.168.0.1'",
|
||||
"'192.168.1.1'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"ranges": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"properties": {
|
||||
"from": {
|
||||
"oneOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'192.168.0.20'",
|
||||
"'192.168.1.20'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"to": {
|
||||
"oneOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'192.168.0.99'",
|
||||
"'192.168.1.99'"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"footfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
309
samples/it_v1/schemas/voipdev.json
Normal file
309
samples/it_v1/schemas/voipdev.json
Normal file
@@ -0,0 +1,309 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "YAML Schema for computer",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"todo": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"msg": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"priority": { "type": "integer" },
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{"type": "integer"},
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'phone'",
|
||||
"'antenna'",
|
||||
"'gateway'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"model": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"location": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"interfaces": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'LAN'",
|
||||
"'WIFI'",
|
||||
"'WAN'",
|
||||
"'VPN'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"ip": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"mask": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'255.255.255.0'",
|
||||
"'255.255.0.0'",
|
||||
"'255.0.0.0'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"gw": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"dns": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"updates": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'os'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"method": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'auto'",
|
||||
"'manual'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"frequency": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'auto'",
|
||||
"'daily'",
|
||||
"'weekly'",
|
||||
"'monthly'",
|
||||
"'quarterly'",
|
||||
"'halfyearly'",
|
||||
"'yearly'",
|
||||
"'monday'",
|
||||
"'tuesday'",
|
||||
"'wednesday'",
|
||||
"'thursday'",
|
||||
"'friday'",
|
||||
"'saturday'",
|
||||
"'sonday'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"time": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'auto'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "type": "integer" },
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"backups": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'none'",
|
||||
"'hypervisor'",
|
||||
"'windowsbackup'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"method": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'auto'",
|
||||
"'manual'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"frequency": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''",
|
||||
"'daily'",
|
||||
"'weekly'",
|
||||
"'monthly'",
|
||||
"'quarterly'",
|
||||
"'halfyearly'",
|
||||
"'yearly'",
|
||||
"'monday'",
|
||||
"'tuesday'",
|
||||
"'wednesday'",
|
||||
"'thursday'",
|
||||
"'friday'",
|
||||
"'saturday'",
|
||||
"'sonday'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"target": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'usb'",
|
||||
"'pbs'",
|
||||
"'share'",
|
||||
"'iscsi'",
|
||||
"'cloud'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"time": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'auto'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "type": "integer" },
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"footfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
106
samples/it_v1/schemas/wifi.json
Normal file
106
samples/it_v1/schemas/wifi.json
Normal file
@@ -0,0 +1,106 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "YAML Schema for computer",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"todo": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"msg": {
|
||||
"anyOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"priority": { "type": "integer" },
|
||||
"duration": {
|
||||
"anyOf": [
|
||||
{"type": "integer"},
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''",
|
||||
"'LAN'",
|
||||
"'LAN01'",
|
||||
"'LAN02'",
|
||||
"'LAN03'",
|
||||
"'LAN04'",
|
||||
"'LAN06'",
|
||||
"'LAN07'",
|
||||
"'LAN08'",
|
||||
"'LAN09'",
|
||||
"'LAN10'",
|
||||
"'WAN'",
|
||||
"'WIFI'",
|
||||
"'GUEST'",
|
||||
"'DMZ'",
|
||||
"'VPN'"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"ssid": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"key": {
|
||||
"oneOf": [
|
||||
{"type": "string"},
|
||||
{"enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
},
|
||||
"headfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"footfiles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "enum": [
|
||||
"''"
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user