Fix wrong element name

This commit is contained in:
Christian Georgi
2021-02-02 15:53:59 +01:00
parent 8a10c88fbc
commit 4ee2d9a3f1

View File

@@ -3,10 +3,10 @@ using { sap.capire.bookshop } from './schema';
// annotations for Data Privacy // annotations for Data Privacy
annotate bookshop.Customers with @PersonalData.DataSubjectRole: 'Customer'; annotate bookshop.Customers with @PersonalData.DataSubjectRole: 'Customer';
annotate bookshop.Customers with @PersonalData.EntitySemantics: 'DataSubject' annotate bookshop.Customers with @PersonalData.EntitySemantics: 'DataSubject'
{ {
ID @PersonalData.FieldSemantics: 'DataSubjectID'; ID @PersonalData.FieldSemantics: 'DataSubjectID';
emailAddress @PersonalData.IsPotentiallyPersonal; email @PersonalData.IsPotentiallyPersonal;
firstName @PersonalData.IsPotentiallyPersonal; firstName @PersonalData.IsPotentiallyPersonal;
lastName @PersonalData.IsPotentiallyPersonal; lastName @PersonalData.IsPotentiallyPersonal;
creditCardNo @PersonalData.IsPotentiallySensitive; creditCardNo @PersonalData.IsPotentiallySensitive;
@@ -14,7 +14,7 @@ annotate bookshop.Customers with @PersonalData.EntitySemantics: 'DataSubject'
} }
annotate bookshop.CustomerPostalAddress with @PersonalData.DataSubjectRole: 'Customer'; annotate bookshop.CustomerPostalAddress with @PersonalData.DataSubjectRole: 'Customer';
annotate bookshop.CustomerPostalAddress with @PersonalData.EntitySemantics: 'DataSubjectDetails' annotate bookshop.CustomerPostalAddress with @PersonalData.EntitySemantics: 'DataSubjectDetails'
{ {
Customer @PersonalData.FieldSemantics: 'DataSubjectID'; Customer @PersonalData.FieldSemantics: 'DataSubjectID';
street @PersonalData.IsPotentiallyPersonal; street @PersonalData.IsPotentiallyPersonal;
@@ -23,13 +23,13 @@ annotate bookshop.CustomerPostalAddress with @PersonalData.EntitySemantics: 'Dat
} }
// annotations for Personal Data Manager - Search Fields // annotations for Personal Data Manager - Search Fields
annotate bookshop.Customers with @(Communication.Contact : { annotate bookshop.Customers with @(Communication.Contact : {
n : { n : {
surname: lastName, surname: lastName,
given: firstName given: firstName
}, },
bday: dateOfBirth bday: dateOfBirth
}); });
// annotations for Audit Log // annotations for Audit Log
annotate bookshop.Customers with @AuditLog.Operation: {Read: true, Insert: true, Update: true, Delete: true}; annotate bookshop.Customers with @AuditLog.Operation: {Read: true, Insert: true, Update: true, Delete: true};