Skip to content

Commit c066197

Browse files
committed
Updated to use topic names for presence queue and added region property to externalIds
1 parent 25ae637 commit c066197

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

lsis-asyncapi.yaml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
asyncapi: 3.0.0
22
info:
33
title: LSIS Messaging API (AMQP)
4-
version: 0.0.14
4+
version: 0.0.15
55
description: |
66
This specification covers the AMQP messaging part of the LSIS system.
77
@@ -44,6 +44,10 @@ info:
4444
4545
**version 0.0.14**
4646
- Added the overallHealth property to the HealthStatus schema and made it the only required property.
47+
48+
**version 0.0.15**
49+
- Added regions property to the externalIds field of the station presence changed event.
50+
- Updated presence queue names changes to topics with subscriptions.
4751
contact:
4852
name: LSIS Support
4953
email: support@landelijksis.net
@@ -84,7 +88,9 @@ channels:
8488
examples:
8589
- alliander
8690
- enexis
87-
address: stations.v1.event.presence.{recipient}
91+
subscriptionName:
92+
description: The name of the subscription for the recipient.
93+
address: stations.v1.event.presence.{recipient}/Subscriptions/{subscriptionName}
8894
messages:
8995
publishStationPresenceChanged.message:
9096
contentType: application/cloudevents+json
@@ -279,7 +285,7 @@ components:
279285
External identifiers of the station as known by the grid operators
280286
items:
281287
type: object
282-
required: [sysop, refId]
288+
required: [sysop, refId, regions]
283289
additionalProperties: false
284290
properties:
285291
sysop:
@@ -290,6 +296,12 @@ components:
290296
type: string
291297
description:
292298
Reference identifier of the station at the grid operator
299+
regions:
300+
type: array
301+
description:
302+
A list of regions the station belongs to
303+
items:
304+
type: string
293305
change:
294306
type: object
295307
required: [type, since, userId, fullName, company]
@@ -350,6 +362,7 @@ components:
350362
externalIds:
351363
- sysop: A123-4563-4B13
352364
refId: '000000002'
365+
regions: ['zuid']
353366
change:
354367
type: REGISTERED
355368
since: '2024-04-04T10:31:00Z'

0 commit comments

Comments
 (0)