Skip to content

Commit

Permalink
Move display name to kuben team definition as it is used in technical…
Browse files Browse the repository at this point in the history
… setup of team
  • Loading branch information
johnksv committed Jan 17, 2024
1 parent 9e330b3 commit da2160e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 5 additions & 1 deletion src/v1/kuben-team-definition.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -89,5 +93,5 @@
}
}
},
"required": ["uniform_name"]
"required": ["display_name", "uniform_name"]
}
7 changes: 1 addition & 6 deletions src/v1/platform-managed-team-info.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
Expand Down

0 comments on commit da2160e

Please sign in to comment.