diff --git a/scope/role-aa/schema.json b/scope/role-aa/schema.json new file mode 100644 index 0000000..1dc3111 --- /dev/null +++ b/scope/role-aa/schema.json @@ -0,0 +1,28 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "AA Role Schema", + "type": "object", + "properties": { + "roleId": { + "type": "string", + "pattern": "^[A-Z]{2}$" + }, + "enabled": { + "type": "boolean" + }, + "config": { + "type": "object", + "properties": { + "timeout": { + "type": "integer", + "minimum": 1 + }, + "retryCount": { + "type": "integer", + "minimum": 0 + } + } + } + }, + "required": ["roleId", "enabled"] +}