We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb8ef04 commit b051ab1Copy full SHA for b051ab1
‎src/shared-definitions.yaml‎
@@ -1539,6 +1539,20 @@ components:
1539
}
1540
1541
1542
+ MongoLocation:
1543
+ description: An accommodation location object
1544
+ type: object
1545
+ required:
1546
+ - type
1547
+ - coordinates
1548
+ properties:
1549
+ type:
1550
+ type: string
1551
+ coordinates:
1552
+ type: array
1553
+ items:
1554
+ type: number
1555
+
1556
WinAccommodation:
1557
description: An accommodation object
1558
allOf:
@@ -1553,6 +1567,8 @@ components:
1567
id:
1568
description: uuid of the hotel (offer)
1569
type: string
1570
+ location:
1571
+ $ref: '#/components/schemas/MongoLocation'
1572
provider:
1573
description: provider id
1574
0 commit comments