@open-resource-discovery/specification 1.14.4 → 1.14.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -285,6 +285,20 @@
|
|
|
285
285
|
"91cd9972-c05d-4d29-8b6e-dbef2a2d48e9"
|
|
286
286
|
]
|
|
287
287
|
},
|
|
288
|
+
"correlationIds": {
|
|
289
|
+
"type": "array",
|
|
290
|
+
"description": "Correlation IDs can be used to create a reference to related data in other repositories (especially to the system of record).\n\nThey express an \"identity\" / \"equals\" / \"mappable\" relationship to the target ID.\n\nIf a \"part of\" relationship needs to be expressed, use the `partOfGroups` assignment instead.\n\nMUST be a valid [Correlation ID](../index.md#correlation-id).",
|
|
291
|
+
"items": {
|
|
292
|
+
"type": "string",
|
|
293
|
+
"pattern": "^([a-z0-9]+(?:[.][a-z0-9]+)*):([a-zA-Z0-9._\\-\\/]+):([a-zA-Z0-9._\\-\\/]+)$",
|
|
294
|
+
"maxLength": 255
|
|
295
|
+
},
|
|
296
|
+
"examples": [
|
|
297
|
+
[
|
|
298
|
+
"foo.bar:conceptName:localIdentifier"
|
|
299
|
+
]
|
|
300
|
+
]
|
|
301
|
+
},
|
|
288
302
|
"title": {
|
|
289
303
|
"type": "string",
|
|
290
304
|
"description": "Human-readable title.\n\nMUST NOT exceed 255 chars.\nMUST NOT contain line breaks.",
|
|
@@ -2877,7 +2891,7 @@
|
|
|
2877
2891
|
},
|
|
2878
2892
|
"examples": [
|
|
2879
2893
|
[
|
|
2880
|
-
"
|
|
2894
|
+
"foo.bar:conceptName:localIdentifier"
|
|
2881
2895
|
]
|
|
2882
2896
|
]
|
|
2883
2897
|
},
|
|
@@ -3904,7 +3918,7 @@
|
|
|
3904
3918
|
},
|
|
3905
3919
|
"examples": [
|
|
3906
3920
|
[
|
|
3907
|
-
"
|
|
3921
|
+
"foo.bar:conceptName:localIdentifier"
|
|
3908
3922
|
]
|
|
3909
3923
|
]
|
|
3910
3924
|
},
|
|
@@ -4551,7 +4565,7 @@
|
|
|
4551
4565
|
},
|
|
4552
4566
|
"examples": [
|
|
4553
4567
|
[
|
|
4554
|
-
"
|
|
4568
|
+
"foo.bar:conceptName:localIdentifier"
|
|
4555
4569
|
]
|
|
4556
4570
|
]
|
|
4557
4571
|
},
|
|
@@ -4970,7 +4984,7 @@
|
|
|
4970
4984
|
},
|
|
4971
4985
|
"examples": [
|
|
4972
4986
|
[
|
|
4973
|
-
"
|
|
4987
|
+
"foo.bar:conceptName:localIdentifier"
|
|
4974
4988
|
]
|
|
4975
4989
|
]
|
|
4976
4990
|
},
|
|
@@ -6237,7 +6251,7 @@
|
|
|
6237
6251
|
},
|
|
6238
6252
|
"examples": [
|
|
6239
6253
|
[
|
|
6240
|
-
"
|
|
6254
|
+
"foo.bar:conceptName:localIdentifier"
|
|
6241
6255
|
]
|
|
6242
6256
|
]
|
|
6243
6257
|
},
|
|
@@ -6319,7 +6333,7 @@
|
|
|
6319
6333
|
},
|
|
6320
6334
|
"examples": [
|
|
6321
6335
|
[
|
|
6322
|
-
"
|
|
6336
|
+
"foo.bar:conceptName:localIdentifier"
|
|
6323
6337
|
]
|
|
6324
6338
|
]
|
|
6325
6339
|
},
|
|
@@ -3224,6 +3224,16 @@ export interface Package {
|
|
|
3224
3224
|
* But since this is not always possible, no assumptions MUST be made about the local ID being the same as the `<resourceName>` fragment in the ORD ID.
|
|
3225
3225
|
*/
|
|
3226
3226
|
localId?: string;
|
|
3227
|
+
/**
|
|
3228
|
+
* Correlation IDs can be used to create a reference to related data in other repositories (especially to the system of record).
|
|
3229
|
+
*
|
|
3230
|
+
* They express an "identity" / "equals" / "mappable" relationship to the target ID.
|
|
3231
|
+
*
|
|
3232
|
+
* If a "part of" relationship needs to be expressed, use the `partOfGroups` assignment instead.
|
|
3233
|
+
*
|
|
3234
|
+
* MUST be a valid [Correlation ID](../index.md#correlation-id).
|
|
3235
|
+
*/
|
|
3236
|
+
correlationIds?: string[];
|
|
3227
3237
|
/**
|
|
3228
3238
|
* Human-readable title.
|
|
3229
3239
|
*
|
package/package.json
CHANGED