You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Primary meaning of the personal data in the annotated entity set. Entities annotated with x-sap-dpp-entity-semantics are synonymous to x-sap-dpp-is-potentially-personal.",
15
+
"enum": [
16
+
"sap:DataSubject",
17
+
"sap:DataSubjectDetails",
18
+
"sap:Other"
19
+
]
20
+
},
21
+
"x-sap-dpp-data-subject-role": {
22
+
"type": "string",
23
+
"description": "Role of the data subjects in this set (e.g. employee, customer). Values are application-specific."
24
+
},
25
+
"x-sap-dpp-data-subject-role-description": {
26
+
"type": "string",
27
+
"description": "Language-dependent description of the role of the data subjects in this set (e.g. employee, customer). Values are application-specific."
28
+
},
29
+
"x-sap-dpp-field-semantics": {
30
+
"type": "string",
31
+
"description": "Primary meaning of the personal data contained in the annotated property. Changes to values of annotated properties are tracked in the audit log. Use this annotation also on fields that are already marked as contact or address data. Properties annotated with x-sap-dpp-field-semantics need not be additionally annotated with x-sap-dpp-is-potentially-personal.",
32
+
"enum": [
33
+
"sap:DataSubjectID",
34
+
"sap:ConsentID",
35
+
"sap:PurposeID",
36
+
"sap:ContractRelatedID",
37
+
"sap:LegalEntityID",
38
+
"sap:DataControllerID",
39
+
"sap:UserID",
40
+
"sap:EndOfBusinessDate",
41
+
"sap:BlockingDate",
42
+
"sap:EndOfRetentionDate"
43
+
]
44
+
},
45
+
"x-sap-dpp-is-potentially-personal": {
46
+
"type": "boolean",
47
+
"default": true,
48
+
"description": "Property contains potentially personal data. Properties annotated with x-sap-dpp-field-semantics need not be additionally annotated with this extension."
49
+
},
50
+
"x-sap-dpp-is-potentially-sensitive": {
51
+
"type": "boolean",
52
+
"default": true,
53
+
"description": "Property contains potentially sensitive personal data"
54
+
}
55
+
}
56
+
},
57
+
{
58
+
"paths": [
59
+
"properties"
60
+
],
8
61
"properties": {
9
62
"x-sap-compliance-level": {
10
63
"type": "string",
11
64
"description": "The compliance level that this API resource is expected to be compliant with. This corresponds to the [ORD policy level](https://pages.github.tools.sap/CentralEngineering/open-resource-discovery-specification/#/v1/generated/Document?id=package_policylevel) concept.",
Copy file name to clipboardExpand all lines: sap-extensions/v2.0-extensions.json
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,27 @@
6
6
{
7
7
"paths": ["definitions.schema.properties"],
8
8
"properties": {
9
+
"x-sap-odm-semantic-key": {
10
+
"type": "array",
11
+
"description": "Semantic key is a human-readable identifier used exclusively for the purpose of identifying business objects by the end-user.",
12
+
"items": {
13
+
"type": "object",
14
+
"properties": {
15
+
"name": {
16
+
"type": "string",
17
+
"description": "Semantic key name."
18
+
},
19
+
"values": {
20
+
"type": "array",
21
+
"items": {
22
+
"type": "string",
23
+
"description": "Parts of semantic key."
24
+
}
25
+
}
26
+
}
27
+
}
28
+
},
29
+
9
30
"x-sap-odm-entity-name": {
10
31
"type": "string",
11
32
"description": "Name of an ODM entity as a general concept, not a concrete version thereof. The annotated schema is one of many representations of the ODM entity. Annotating the schema with this term helps consumers find APIs that process or expose the same entity."
Copy file name to clipboardExpand all lines: sap-extensions/v3.0-extensions.json
+20Lines changed: 20 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,26 @@
6
6
{
7
7
"paths": ["definitions.Schema.properties"],
8
8
"properties": {
9
+
"x-sap-odm-semantic-key": {
10
+
"type": "array",
11
+
"description": "Semantic key is a human-readable identifier used exclusively for the purpose of identifying business objects by the end-user.",
12
+
"items": {
13
+
"type": "object",
14
+
"properties": {
15
+
"name": {
16
+
"type": "string",
17
+
"description": "Semantic key name."
18
+
},
19
+
"values": {
20
+
"type": "array",
21
+
"items": {
22
+
"type": "string",
23
+
"description": "Parts of semantic key."
24
+
}
25
+
}
26
+
}
27
+
}
28
+
},
9
29
"x-sap-odm-entity-name": {
10
30
"type": "string",
11
31
"description": "Name of an ODM entity as a general concept, not a concrete version thereof. The annotated schema is one of many representations of the ODM entity. Annotating the schema with this term helps consumers find APIs that process or expose the same entity."
@@ -418,7 +449,7 @@ The `x-sap-odm-oid` custom field points to the `oid` property which contains the
418
449
### `x-sap-odm-oid-reference-entity-name`
419
450
420
451
- Type: `String`
421
-
- Used at: [Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object)
452
+
- Used at: [Schema Object](https://spec.openapis.org/oas/v2.0#schema-object)
422
453
- Description: An annotation to specify the ODM entity name of the referenced entity if required. The annotation is to be used on property level and the value must be the entity name.
423
454
424
455
Constraints:
@@ -527,3 +558,80 @@ Constraints:
527
558
}
528
559
}
529
560
```
561
+
562
+
### `x-sap-dpp-entity-semantics`
563
+
564
+
- Type: `String`
565
+
- Allowed Values:
566
+
-`sap:DataSubject`
567
+
-`sap:DataSubjectDetails`
568
+
-`sap:Other`
569
+
- Used at: [OpenAPI Schema Object](https://spec.openapis.org/oas/v2.0#schema-object)
570
+
- Description: Primary meaning of the personal data in the annotated entity set. Entities annotated with `x-sap-dpp-entity-semantics` are synonymous to `x-sap-dpp-is-potentially-personal`.
571
+
572
+
Constraints:
573
+
574
+
- OPTIONAL
575
+
576
+
### `x-sap-dpp-data-subject-role`
577
+
578
+
- Type: `String`
579
+
- Used at: [OpenAPI Schema Object](https://spec.openapis.org/oas/v2.0#schema-object)
580
+
- Description: Role of the data subjects in this set (e.g. employee, customer). Values are application-specific.
581
+
582
+
Constraints:
583
+
584
+
- OPTIONAL
585
+
586
+
### `x-sap-dpp-data-subject-role-description`
587
+
588
+
- Type: `String`
589
+
- Used at: [OpenAPI Schema Object](https://spec.openapis.org/oas/v2.0#schema-object)
590
+
- Description: Language-dependent description of the role of the data subjects in this set (e.g. employee, customer). Values are application-specific.
591
+
592
+
Constraints:
593
+
594
+
- OPTIONAL
595
+
596
+
### `x-sap-dpp-field-semantics`
597
+
598
+
- Type: `String`
599
+
- Used at: [OpenAPI Schema Object](https://spec.openapis.org/oas/v2.0#schema-object
600
+
- Description: Primary meaning of the personal data contained in the annotated property. Changes to values of annotated properties are tracked in the audit log. Use this annotation also on fields that are already marked as contact or address data. Properties annotated with `x-sap-dpp-field-semantics` need not be additionally annotated with `x-sap-dpp-is-potentially-personal`.
601
+
- Allowed Values:
602
+
-`sap:DataSubjectID`
603
+
-`sap:ConsentID`
604
+
-`sap:PurposeID`
605
+
-`sap:ContractRelatedID`
606
+
-`sap:LegalEntityID` (to be deprecated)
607
+
-`sap:DataControllerID`
608
+
-`sap:UserID`
609
+
-`sap:EndOfBusinessDate`
610
+
-`sap:BlockingDate`
611
+
-`sap:EndOfRetentionDate`
612
+
613
+
Constraints:
614
+
615
+
- OPTIONAL
616
+
617
+
### `x-sap-dpp-is-potentially-personal`
618
+
619
+
- Type: `Boolean`
620
+
- Used at: [Schema Object](https://spec.openapis.org/oas/v2.0#schema-object)
621
+
- Description: Property contains potentially personal data. Properties annotated with `x-sap-dpp-field-semantics` need not be additionally annotated with this extension.
622
+
623
+
Constraints:
624
+
625
+
- OPTIONAL
626
+
- Default: `true`
627
+
628
+
### `x-sap-dpp-is-potentially-sensitive`
629
+
630
+
- Type: `Boolean`
631
+
- Used at: [Schema Object](https://spec.openapis.org/oas/v2.0#schema-object)
632
+
- Description: Property contains potentially sensitive personal data.
0 commit comments