Skip to content

Commit 696673c

Browse files
committed
Update service specs
1 parent 80f2eca commit 696673c

4 files changed

Lines changed: 87 additions & 81 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout project sources
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v5
1616

1717
- name: Log in to the Container registry
1818
uses: docker/login-action@v3

src/specs/collections

Lines changed: 76 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -995,22 +995,16 @@ components:
995995
type: string
996996
address:
997997
$ref: '#/components/schemas/Address'
998-
institutionId:
999-
type: object
1000-
providerMapId:
1001-
type: object
1002-
listOfCollectionCodesForLookup:
1003-
type: array
1004-
items:
1005-
type: string
1006-
listOfInstitutionCodesForLookup:
1007-
type: array
1008-
items:
1009-
type: string
1010-
inexactlyMapped:
1011-
type: boolean
1012-
alapartner:
1013-
type: boolean
998+
keywords:
999+
type: string
1000+
uid:
1001+
type: string
1002+
dateCreated:
1003+
type: string
1004+
format: date-time
1005+
lastUpdated:
1006+
type: string
1007+
format: date-time
10141008
collectionAttributionList:
10151009
type: array
10161010
items:
@@ -1037,8 +1031,6 @@ components:
10371031
type: string
10381032
attributions:
10391033
type: string
1040-
keywords:
1041-
type: string
10421034
publicContactsPrimaryFirst:
10431035
type: array
10441036
items:
@@ -1085,14 +1077,22 @@ components:
10851077
format: double
10861078
focus:
10871079
type: string
1088-
dateCreated:
1089-
type: string
1090-
format: date-time
1091-
lastUpdated:
1092-
type: string
1093-
format: date-time
1094-
uid:
1095-
type: string
1080+
listOfCollectionCodesForLookup:
1081+
type: array
1082+
items:
1083+
type: string
1084+
listOfInstitutionCodesForLookup:
1085+
type: array
1086+
items:
1087+
type: string
1088+
inexactlyMapped:
1089+
type: boolean
1090+
alapartner:
1091+
type: boolean
1092+
institutionId:
1093+
type: object
1094+
providerMapId:
1095+
type: object
10961096
Contact:
10971097
type: object
10981098
properties:
@@ -1213,8 +1213,16 @@ components:
12131213
type: string
12141214
address:
12151215
$ref: '#/components/schemas/Address'
1216-
alapartner:
1217-
type: boolean
1216+
keywords:
1217+
type: string
1218+
uid:
1219+
type: string
1220+
dateCreated:
1221+
type: string
1222+
format: date-time
1223+
lastUpdated:
1224+
type: string
1225+
format: date-time
12181226
attributionList:
12191227
type: array
12201228
items:
@@ -1237,8 +1245,6 @@ components:
12371245
type: string
12381246
attributions:
12391247
type: string
1240-
keywords:
1241-
type: string
12421248
publicContactsPrimaryFirst:
12431249
type: array
12441250
items:
@@ -1285,14 +1291,8 @@ components:
12851291
format: double
12861292
focus:
12871293
type: string
1288-
dateCreated:
1289-
type: string
1290-
format: date-time
1291-
lastUpdated:
1292-
type: string
1293-
format: date-time
1294-
uid:
1295-
type: string
1294+
alapartner:
1295+
type: boolean
12961296
linkedDataResources:
12971297
type: array
12981298
items:
@@ -1379,6 +1379,16 @@ components:
13791379
type: string
13801380
address:
13811381
$ref: '#/components/schemas/Address'
1382+
keywords:
1383+
type: string
1384+
uid:
1385+
type: string
1386+
dateCreated:
1387+
type: string
1388+
format: date-time
1389+
lastUpdated:
1390+
type: string
1391+
format: date-time
13821392
attributionList:
13831393
type: array
13841394
items:
@@ -1397,8 +1407,6 @@ components:
13971407
type: string
13981408
attributions:
13991409
type: string
1400-
keywords:
1401-
type: string
14021410
publicContactsPrimaryFirst:
14031411
type: array
14041412
items:
@@ -1445,14 +1453,6 @@ components:
14451453
format: double
14461454
focus:
14471455
type: string
1448-
dateCreated:
1449-
type: string
1450-
format: date-time
1451-
lastUpdated:
1452-
type: string
1453-
format: date-time
1454-
uid:
1455-
type: string
14561456
DataResource:
14571457
type: object
14581458
properties:
@@ -1576,14 +1576,16 @@ components:
15761576
type: string
15771577
address:
15781578
$ref: '#/components/schemas/Address'
1579-
verified:
1580-
type: boolean
1581-
creativeCommons:
1582-
type: boolean
1583-
dataProviderId:
1584-
type: object
1585-
institutionId:
1586-
type: object
1579+
keywords:
1580+
type: string
1581+
uid:
1582+
type: string
1583+
dateCreated:
1584+
type: string
1585+
format: date-time
1586+
lastUpdated:
1587+
type: string
1588+
format: date-time
15871589
attributionList:
15881590
type: array
15891591
items:
@@ -1602,8 +1604,6 @@ components:
16021604
type: string
16031605
attributions:
16041606
type: string
1605-
keywords:
1606-
type: string
16071607
publicContactsPrimaryFirst:
16081608
type: array
16091609
items:
@@ -1650,14 +1650,14 @@ components:
16501650
format: double
16511651
focus:
16521652
type: string
1653-
dateCreated:
1654-
type: string
1655-
format: date-time
1656-
lastUpdated:
1657-
type: string
1658-
format: date-time
1659-
uid:
1660-
type: string
1653+
institutionId:
1654+
type: object
1655+
verified:
1656+
type: boolean
1657+
creativeCommons:
1658+
type: boolean
1659+
dataProviderId:
1660+
type: object
16611661
TempDataResource:
16621662
type: object
16631663
properties:
@@ -1754,6 +1754,16 @@ components:
17541754
type: string
17551755
address:
17561756
$ref: '#/components/schemas/Address'
1757+
keywords:
1758+
type: string
1759+
uid:
1760+
type: string
1761+
dateCreated:
1762+
type: string
1763+
format: date-time
1764+
lastUpdated:
1765+
type: string
1766+
format: date-time
17571767
attributionList:
17581768
type: array
17591769
items:
@@ -1772,8 +1782,6 @@ components:
17721782
type: string
17731783
attributions:
17741784
type: string
1775-
keywords:
1776-
type: string
17771785
publicContactsPrimaryFirst:
17781786
type: array
17791787
items:
@@ -1820,14 +1828,6 @@ components:
18201828
format: double
18211829
focus:
18221830
type: string
1823-
dateCreated:
1824-
type: string
1825-
format: date-time
1826-
lastUpdated:
1827-
type: string
1828-
format: date-time
1829-
uid:
1830-
type: string
18311831
Entity:
18321832
type: object
18331833
properties:

src/specs/records

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/specs/spatial

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ info:
99
license:
1010
name: Mozilla Public License 1.1
1111
url: https://www.mozilla.org/en-US/MPL/1.1/
12-
version: 2.2.0
12+
version: 3.1.0
1313
servers:
1414
- url: https://spatial.biodiversitydata.se/ws
1515
paths:
@@ -228,7 +228,10 @@ paths:
228228
description: LSID of the expert distribution
229229
required: true
230230
schema:
231-
type: string
231+
type: object
232+
oneOf:
233+
- type: integer
234+
format: int32
232235
responses:
233236
"200":
234237
description: Overview image of the expert distribution in the Australian
@@ -1817,7 +1820,10 @@ paths:
18171820
description: LSID of the track
18181821
required: true
18191822
schema:
1820-
type: string
1823+
type: object
1824+
oneOf:
1825+
- type: integer
1826+
format: int32
18211827
responses:
18221828
"200":
18231829
description: Overview image of the track in the Australian region

0 commit comments

Comments
 (0)