Skip to content

Commit 01bb91b

Browse files
authored
Turn service versions into array (#798)
* turn service versions into array * add instance ID
1 parent 5552b7a commit 01bb91b

1 file changed

Lines changed: 17 additions & 12 deletions

File tree

components/schemas/environments/EnvironmentMeta.yml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,20 @@ properties:
3232
description: A map where the key is the service and the value describes the version and date of last update.
3333
type: object
3434
additionalProperties:
35-
type: object
36-
required:
37-
- version
38-
- last_updated
39-
properties:
40-
version:
41-
description: A string depicting the service version.
42-
example: v2025.01.01.01
43-
type: string
44-
last_updated:
45-
description: The time the version was last updated.
46-
$ref: ../DateTime.yml
35+
type: array
36+
items:
37+
type: object
38+
required:
39+
- version
40+
- last_updated
41+
properties:
42+
version:
43+
description: A string depicting the service version.
44+
example: v2025.01.01.01
45+
type: string
46+
instance_id:
47+
description: The ID of the instance of the service.
48+
$ref: ../ID.yml
49+
last_updated:
50+
description: The time the version was last updated.
51+
$ref: ../DateTime.yml

0 commit comments

Comments
 (0)