@open-resource-discovery/specification 1.10.0 → 1.10.1
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.
- package/README.md +2 -1
- package/dist/types/v1/Document.d.ts +47 -21
- package/package.json +2 -2
- package/static/spec-v1/interfaces/Configuration.annotated.schema.json +1 -1
- package/static/spec-v1/interfaces/Configuration.schema.json +1 -1
- package/static/spec-v1/interfaces/Document.annotated.schema.json +344 -18
- package/static/spec-v1/interfaces/Document.schema.json +190 -15
package/README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
[](https://api.reuse.software/info/github.com/open-resource-discovery/specification)
|
2
|
+
<a href="https://www.npmjs.com/package/@open-resource-discovery/specification"><img src="https://img.shields.io/npm/v/@open-resource-discovery/specification" alt="NPM package"></a>
|
2
3
|
|
3
4
|
# Open Resource Discovery Specification
|
4
5
|
|
@@ -47,7 +48,7 @@ For detailed and recent changes, please refer to the [CHANGELOG.md](CHANGELOG.md
|
|
47
48
|
## Acknowledgements
|
48
49
|
|
49
50
|
- The original idea for ORD came from Harsh Jegadeesan and Divya Mary.
|
50
|
-
- The currently active core-contributors to the spec are: [Simon Heimler](https://github.com/Fannon), [Sebastian Wennemers](https://github.com/swennemers), [Steffen Göbel](https://github.com/steffengoebel), [Ralf Hofmann](https://github.com/ormos), [Kiril Kabakchiev](https://github.com/KirilKabakchiev), [Nikolay Mateev](https://github.com/NickyMateev), [Bibin Thomas](https://github.com/Bibin-T) and others.
|
51
|
+
- The currently active core-contributors to the spec are: [Simon Heimler](https://github.com/Fannon), [Sebastian Wennemers](https://github.com/swennemers), [Pavel Kornev](https://github.com/pavelkornev), [Steffen Göbel](https://github.com/steffengoebel), [Ralf Hofmann](https://github.com/ormos), [Kiril Kabakchiev](https://github.com/KirilKabakchiev), [Nikolay Mateev](https://github.com/NickyMateev), [Bibin Thomas](https://github.com/Bibin-T) and others.
|
51
52
|
|
52
53
|
## License
|
53
54
|
|
@@ -283,9 +283,11 @@ export interface APIResource {
|
|
283
283
|
*/
|
284
284
|
ordId: string;
|
285
285
|
/**
|
286
|
-
*
|
286
|
+
* The locally unique ID under which this resource can be looked up / resolved in the described system itself.
|
287
|
+
* Unlike the ORD ID it's not globally unique, but it may be useful to document the original ID / technical name.
|
287
288
|
*
|
288
|
-
*
|
289
|
+
* It MAY also be used as the `<resourceName>` fragment in the ORD ID, IF it can fulfill the charset and length limitations within the ORD ID.
|
290
|
+
* 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.
|
289
291
|
*/
|
290
292
|
localId?: string;
|
291
293
|
/**
|
@@ -365,7 +367,7 @@ export interface APIResource {
|
|
365
367
|
*/
|
366
368
|
defaultConsumptionBundle?: string;
|
367
369
|
/**
|
368
|
-
* List of products
|
370
|
+
* List of products the resources of the package are a part of.
|
369
371
|
*
|
370
372
|
* MUST be a valid reference to a [Product](#product) ORD ID.
|
371
373
|
*
|
@@ -788,7 +790,7 @@ export interface AccessStrategy {
|
|
788
790
|
* To indicate this, the service needs to be implemented and described in ORD with `implementationStandard` set to `sap:csn-exposure:v1`).
|
789
791
|
*
|
790
792
|
* ODM 2.0 relies on the entity type mappings and uses the the mapping to express the relationship of an API to the
|
791
|
-
* corresponding ODM entity. ORD consumers like SAP Business Accelerator Hub consume the mapping to make the relationships
|
793
|
+
* corresponding ODM entity. ORD consumers like SAP Business Accelerator Hub consume the mapping to make the relationships navigate-able for customers.
|
792
794
|
*/
|
793
795
|
export interface EntityTypeMapping {
|
794
796
|
/**
|
@@ -966,9 +968,11 @@ export interface EventResource {
|
|
966
968
|
*/
|
967
969
|
ordId: string;
|
968
970
|
/**
|
969
|
-
*
|
971
|
+
* The locally unique ID under which this resource can be looked up / resolved in the described system itself.
|
972
|
+
* Unlike the ORD ID it's not globally unique, but it may be useful to document the original ID / technical name.
|
970
973
|
*
|
971
|
-
*
|
974
|
+
* It MAY also be used as the `<resourceName>` fragment in the ORD ID, IF it can fulfill the charset and length limitations within the ORD ID.
|
975
|
+
* 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.
|
972
976
|
*/
|
973
977
|
localId?: string;
|
974
978
|
/**
|
@@ -1048,7 +1052,7 @@ export interface EventResource {
|
|
1048
1052
|
*/
|
1049
1053
|
defaultConsumptionBundle?: string;
|
1050
1054
|
/**
|
1051
|
-
* List of products
|
1055
|
+
* List of products the resources of the package are a part of.
|
1052
1056
|
*
|
1053
1057
|
* MUST be a valid reference to a [Product](#product) ORD ID.
|
1054
1058
|
*
|
@@ -1338,9 +1342,11 @@ export interface EntityType {
|
|
1338
1342
|
*/
|
1339
1343
|
ordId: string;
|
1340
1344
|
/**
|
1341
|
-
*
|
1345
|
+
* The locally unique ID under which this resource can be looked up / resolved in the described system itself.
|
1346
|
+
* Unlike the ORD ID it's not globally unique, but it may be useful to document the original ID / technical name.
|
1342
1347
|
*
|
1343
|
-
*
|
1348
|
+
* It MAY also be used as the `<resourceName>` fragment in the ORD ID, IF it can fulfill the charset and length limitations within the ORD ID.
|
1349
|
+
* 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.
|
1344
1350
|
*/
|
1345
1351
|
localId: string;
|
1346
1352
|
/**
|
@@ -1395,7 +1401,7 @@ export interface EntityType {
|
|
1395
1401
|
*/
|
1396
1402
|
partOfGroups?: string[];
|
1397
1403
|
/**
|
1398
|
-
* List of products
|
1404
|
+
* List of products the resources of the package are a part of.
|
1399
1405
|
*
|
1400
1406
|
* MUST be a valid reference to a [Product](#product) ORD ID.
|
1401
1407
|
*
|
@@ -1570,9 +1576,11 @@ export interface Capability {
|
|
1570
1576
|
*/
|
1571
1577
|
ordId: string;
|
1572
1578
|
/**
|
1573
|
-
*
|
1579
|
+
* The locally unique ID under which this resource can be looked up / resolved in the described system itself.
|
1580
|
+
* Unlike the ORD ID it's not globally unique, but it may be useful to document the original ID / technical name.
|
1574
1581
|
*
|
1575
|
-
*
|
1582
|
+
* It MAY also be used as the `<resourceName>` fragment in the ORD ID, IF it can fulfill the charset and length limitations within the ORD ID.
|
1583
|
+
* 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.
|
1576
1584
|
*/
|
1577
1585
|
localId?: string;
|
1578
1586
|
/**
|
@@ -1795,9 +1803,11 @@ export interface DataProduct {
|
|
1795
1803
|
*/
|
1796
1804
|
ordId: string;
|
1797
1805
|
/**
|
1798
|
-
*
|
1806
|
+
* The locally unique ID under which this resource can be looked up / resolved in the described system itself.
|
1807
|
+
* Unlike the ORD ID it's not globally unique, but it may be useful to document the original ID / technical name.
|
1799
1808
|
*
|
1800
|
-
*
|
1809
|
+
* It MAY also be used as the `<resourceName>` fragment in the ORD ID, IF it can fulfill the charset and length limitations within the ORD ID.
|
1810
|
+
* 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.
|
1801
1811
|
*/
|
1802
1812
|
localId?: string;
|
1803
1813
|
/**
|
@@ -1851,6 +1861,16 @@ export interface DataProduct {
|
|
1851
1861
|
* All resources that share the same group ID assignment are effectively grouped together.
|
1852
1862
|
*/
|
1853
1863
|
partOfGroups?: string[];
|
1864
|
+
/**
|
1865
|
+
* List of products this Data Product is a part of or is related to, its e.g. data source systems.
|
1866
|
+
*
|
1867
|
+
* MUST be a valid reference to a [Product](#product) ORD ID.
|
1868
|
+
*
|
1869
|
+
* `partOfProducts` that are assigned to a `Package` are inherited to all of the ORD resources it contains.
|
1870
|
+
*
|
1871
|
+
* @minItems 0
|
1872
|
+
*/
|
1873
|
+
partOfProducts?: string[];
|
1854
1874
|
/**
|
1855
1875
|
* The complete [SemVer](https://semver.org/) version string.
|
1856
1876
|
*
|
@@ -2145,9 +2165,11 @@ export interface IntegrationDependency {
|
|
2145
2165
|
*/
|
2146
2166
|
ordId: string;
|
2147
2167
|
/**
|
2148
|
-
*
|
2168
|
+
* The locally unique ID under which this resource can be looked up / resolved in the described system itself.
|
2169
|
+
* Unlike the ORD ID it's not globally unique, but it may be useful to document the original ID / technical name.
|
2149
2170
|
*
|
2150
|
-
*
|
2171
|
+
* It MAY also be used as the `<resourceName>` fragment in the ORD ID, IF it can fulfill the charset and length limitations within the ORD ID.
|
2172
|
+
* 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.
|
2151
2173
|
*/
|
2152
2174
|
localId?: string;
|
2153
2175
|
/**
|
@@ -2531,9 +2553,11 @@ export interface Package {
|
|
2531
2553
|
*/
|
2532
2554
|
ordId: string;
|
2533
2555
|
/**
|
2534
|
-
*
|
2556
|
+
* The locally unique ID under which this resource can be looked up / resolved in the described system itself.
|
2557
|
+
* Unlike the ORD ID it's not globally unique, but it may be useful to document the original ID / technical name.
|
2535
2558
|
*
|
2536
|
-
*
|
2559
|
+
* It MAY also be used as the `<resourceName>` fragment in the ORD ID, IF it can fulfill the charset and length limitations within the ORD ID.
|
2560
|
+
* 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.
|
2537
2561
|
*/
|
2538
2562
|
localId?: string;
|
2539
2563
|
/**
|
@@ -2637,7 +2661,7 @@ export interface Package {
|
|
2637
2661
|
*/
|
2638
2662
|
vendor: string;
|
2639
2663
|
/**
|
2640
|
-
* List of products
|
2664
|
+
* List of products the resources of the package are a part of.
|
2641
2665
|
*
|
2642
2666
|
* MUST be a valid reference to a [Product](#product) ORD ID.
|
2643
2667
|
*
|
@@ -2729,9 +2753,11 @@ export interface ConsumptionBundle {
|
|
2729
2753
|
*/
|
2730
2754
|
ordId: string;
|
2731
2755
|
/**
|
2732
|
-
*
|
2756
|
+
* The locally unique ID under which this resource can be looked up / resolved in the described system itself.
|
2757
|
+
* Unlike the ORD ID it's not globally unique, but it may be useful to document the original ID / technical name.
|
2733
2758
|
*
|
2734
|
-
*
|
2759
|
+
* It MAY also be used as the `<resourceName>` fragment in the ORD ID, IF it can fulfill the charset and length limitations within the ORD ID.
|
2760
|
+
* 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.
|
2735
2761
|
*/
|
2736
2762
|
localId?: string;
|
2737
2763
|
/**
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"$schema": "http://json.schemastore.org/package",
|
3
3
|
"name": "@open-resource-discovery/specification",
|
4
|
-
"version": "1.10.
|
4
|
+
"version": "1.10.1",
|
5
5
|
"description": "Open Resource Discovery (ORD) Specification",
|
6
6
|
"author": "SAP SE",
|
7
7
|
"license": "Apache-2.0",
|
@@ -29,7 +29,7 @@
|
|
29
29
|
"@docusaurus/core": "3.7.0",
|
30
30
|
"@docusaurus/preset-classic": "3.7.0",
|
31
31
|
"@docusaurus/theme-mermaid": "3.7.0",
|
32
|
-
"@easyops-cn/docusaurus-search-local": "0.49.
|
32
|
+
"@easyops-cn/docusaurus-search-local": "0.49.2",
|
33
33
|
"@mdx-js/react": "3.1.0",
|
34
34
|
"clsx": "2.1.1",
|
35
35
|
"prism-react-renderer": "2.4.1",
|
@@ -2,6 +2,7 @@
|
|
2
2
|
"description": "The ORD configuration response will indicate that ORD is available for the given host and how to proceed with the discovery.\n\nMost notably, the ORD configuration will tell an ORD consumer which ORD documents are available and where/how they can be accessed.\n\nThe configuration endpoint is a [Well-Known URI](https://tools.ietf.org/html/rfc8615#section-3) discovery mechanism.",
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
4
4
|
"$id": "https://open-resource-discovery.github.io/specification/spec-v1/interfaces/Configuration.schema.json#",
|
5
|
+
"title": "ORD Configuration",
|
5
6
|
"definitions": {
|
6
7
|
"OpenResourceDiscoveryV1": {
|
7
8
|
"type": "object",
|
@@ -124,7 +125,6 @@
|
|
124
125
|
]
|
125
126
|
}
|
126
127
|
},
|
127
|
-
"title": "ORD Configuration",
|
128
128
|
"type": "object",
|
129
129
|
"properties": {
|
130
130
|
"$schema": {
|
@@ -1,6 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
3
|
"$id": "https://open-resource-discovery.github.io/specification/spec-v1/interfaces/Configuration.schema.json#",
|
4
|
+
"title": "ORD Configuration",
|
4
5
|
"description": "The ORD configuration response will indicate that ORD is available for the given host and how to proceed with the discovery.\n\nMost notably, the ORD configuration will tell an ORD consumer which ORD documents are available and where/how they can be accessed.\n\nThe configuration endpoint is a [Well-Known URI](https://tools.ietf.org/html/rfc8615#section-3) discovery mechanism.",
|
5
6
|
"definitions": {
|
6
7
|
"OpenResourceDiscoveryV1": {
|
@@ -124,7 +125,6 @@
|
|
124
125
|
]
|
125
126
|
}
|
126
127
|
},
|
127
|
-
"title": "ORD Configuration",
|
128
128
|
"type": "object",
|
129
129
|
"properties": {
|
130
130
|
"$schema": {
|