From f0b522e9ea296765fbe8e0d510a932d035ba283f Mon Sep 17 00:00:00 2001 From: Pallab Pain Date: Wed, 13 Sep 2023 00:53:48 +0530 Subject: [PATCH] feat(jsonschema): adds role field for users in project This commit introduces a userRole for users in the project schema. --- riocli/jsonschema/schemas/project-schema.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/riocli/jsonschema/schemas/project-schema.yaml b/riocli/jsonschema/schemas/project-schema.yaml index 89f2c47f..d0712096 100644 --- a/riocli/jsonschema/schemas/project-schema.yaml +++ b/riocli/jsonschema/schemas/project-schema.yaml @@ -92,8 +92,14 @@ definitions: type: string userGUID: "$ref": "#/definitions/uuid" + role: + type: string + enum: + - admin + - viewer required: - emailID + - role projectStatus: type: object properties: