From da2160ea30d653fb32bb6588e02d42f9ec977240 Mon Sep 17 00:00:00 2001 From: John Kasper Svergja Date: Wed, 17 Jan 2024 08:58:56 +0100 Subject: [PATCH] Move display name to kuben team definition as it is used in technical setup of team --- src/v1/kuben-team-definition.schema.json | 6 +++++- src/v1/platform-managed-team-info.schema.json | 7 +------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/v1/kuben-team-definition.schema.json b/src/v1/kuben-team-definition.schema.json index cf3ea2d..006cf5d 100644 --- a/src/v1/kuben-team-definition.schema.json +++ b/src/v1/kuben-team-definition.schema.json @@ -10,6 +10,10 @@ "type": "string", "pattern": "^[a-z-]*$" }, + "display_name": { + "type": "string", + "description": "The human readable form of the teams name" + }, "gcp": { "type": "object", "properties": { @@ -89,5 +93,5 @@ } } }, - "required": ["uniform_name"] + "required": ["display_name", "uniform_name"] } diff --git a/src/v1/platform-managed-team-info.schema.json b/src/v1/platform-managed-team-info.schema.json index 0dc01ae..1978434 100644 --- a/src/v1/platform-managed-team-info.schema.json +++ b/src/v1/platform-managed-team-info.schema.json @@ -44,18 +44,13 @@ }, "additionalProperties": false, "required": [ - "section_code", - "display_name" + "section_code" ], "properties": { "section_code": { "type": "string", "pattern": "[0-9]{3}", "description": "The code of the section this teams belong to" - }, - "display_name": { - "type": "string", - "description": "The display name of the team" } } }