diff --git a/schemas/api-config/config.json b/schemas/api-config/config.json index 99c4e03..b391d36 100644 --- a/schemas/api-config/config.json +++ b/schemas/api-config/config.json @@ -25,7 +25,9 @@ "imageUrl": { "description": "project's teaser image url shown in admin ui", "oneOf": [ - { "type": "string" }, + { + "type": "string" + }, { "$ref": "definitions.json#/definitions/evalObject" } @@ -124,7 +126,33 @@ "description": "max age in seconds" } } + }, + "admin": { + "type": "object", + "description": "admin configuration", + "additionalProperties": false, + "properties": { + "tokens": { + "type": "array", + "description": "list of admin tokens", + "items": { + "type": "object", + "properties": { + "token": { + "type": "string", + "description": "admin token" + }, + "allowReload": { + "type": "boolean", + "description": "allow reload" + } + } + } + } + } } }, - "required": ["namespace"] -} + "required": [ + "namespace" + ] +} \ No newline at end of file