2022-02-01 18:59:17 +01:00
|
|
|
{
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
2022-02-26 10:43:52 +01:00
|
|
|
"title": "JSON Schema tibi-server config file",
|
|
|
|
"description": "tibi-server config.yml linter",
|
2022-02-01 18:59:17 +01:00
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
2022-10-12 16:23:32 +02:00
|
|
|
"patternProperties": {
|
|
|
|
"^x\\-": {
|
|
|
|
"description": "template property"
|
|
|
|
}
|
|
|
|
},
|
2022-02-01 18:59:17 +01:00
|
|
|
"properties": {
|
|
|
|
"namespace": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "suffix for mongo db database and part of api url, can be overwritten in database project settings"
|
|
|
|
},
|
|
|
|
"meta": {
|
|
|
|
"type": "object",
|
|
|
|
"description": "meta object used for admin ui configuration",
|
|
|
|
"additionalProperties": true,
|
|
|
|
"properties": {
|
|
|
|
"imageUrl": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "project's teaser image url shown in admin ui"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"collections": {
|
2022-02-01 19:10:49 +01:00
|
|
|
"type": "array",
|
|
|
|
"description": "list of collections in this project",
|
|
|
|
"items": {
|
|
|
|
"oneOf": [
|
|
|
|
{
|
|
|
|
"$comment": "for include tag",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
2022-02-01 18:59:17 +01:00
|
|
|
"$ref": "collection.json"
|
|
|
|
}
|
2022-02-01 19:10:49 +01:00
|
|
|
]
|
|
|
|
}
|
2022-02-21 10:23:11 +01:00
|
|
|
},
|
|
|
|
"jobs": {
|
|
|
|
"type": "array",
|
|
|
|
"description": "list of jobs in this project",
|
|
|
|
"items": {
|
|
|
|
"oneOf": [
|
|
|
|
{
|
|
|
|
"$comment": "for include tag",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$ref": "job.json"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2022-11-18 17:26:45 +01:00
|
|
|
},
|
|
|
|
"assets": {
|
|
|
|
"type": "array",
|
|
|
|
"description": "list of assets in this project",
|
|
|
|
"items": {
|
|
|
|
"oneOf": [
|
|
|
|
{
|
|
|
|
"$comment": "for include tag",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$ref": "assets.json"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2022-02-01 18:59:17 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["namespace"]
|
|
|
|
}
|