-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into Common.Recommendations2
- Loading branch information
Showing
24 changed files
with
1,225 additions
and
979 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"$Version": "4.0", | ||
"$Reference": { | ||
"https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Core.V1.json": { | ||
"$Include": [{ "$Namespace": "Org.OData.Core.V1", "$Alias": "Core" }] | ||
}, | ||
"https://sap.github.io/odata-vocabularies/vocabularies/UI.json": { | ||
"$Include": [{ "$Namespace": "com.sap.vocabularies.UI.v1", "$Alias": "UI" }] | ||
} | ||
}, | ||
"Examples": { | ||
"$Alias": "this", | ||
"container": { "$Kind": "EntityContainer", "Customers": { "$Collection": true, "$Type": "this.Customer_Type" } }, | ||
"Customer_Type": { | ||
"$Kind": "EntityType", | ||
"$Key": ["CustomerID"], | ||
"CustomerID": { "$Type": "Edm.Guid" }, | ||
"DUNS": { "$Nullable": true, "$MaxLength": 9 }, | ||
"SwiftCode": { "$Nullable": true, "$MaxLength": 11 } | ||
}, | ||
"$Annotations": { | ||
"this.Customer_Type/DUNS": { "@UI.InputMask": { "Mask": "99-999-9999" } }, | ||
"this.Customer_Type/SwiftCode": { | ||
"@UI.InputMask": { | ||
"Mask": "CCCCCCAAAAA", | ||
"Placeholder": ".", | ||
"Rules": [ | ||
{ "MaskSymbol": "C", "RegExp": "[A-Z]" }, | ||
{ "MaskSymbol": "A", "RegExp": "[A-Z0-9]" } | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"$EntityContainer": "Examples.container" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx"> | ||
<edmx:Reference Uri="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Core.V1.xml"> | ||
<edmx:Include Namespace="Org.OData.Core.V1" Alias="Core" /> | ||
</edmx:Reference> | ||
<edmx:Reference Uri="https://sap.github.io/odata-vocabularies/vocabularies/UI.xml"> | ||
<edmx:Include Namespace="com.sap.vocabularies.UI.v1" Alias="UI" /> | ||
</edmx:Reference> | ||
|
||
<edmx:DataServices> | ||
<Schema Namespace="Examples" xmlns="http://docs.oasis-open.org/odata/ns/edm" Alias="this"> | ||
|
||
<EntityContainer Name="container"> | ||
<EntitySet Name="Customers" EntityType="this.Customer_Type" /> | ||
</EntityContainer> | ||
|
||
<EntityType Name="Customer_Type"> | ||
<Key> | ||
<PropertyRef Name="CustomerID" /> | ||
</Key> | ||
<Property Name="CustomerID" Type="Edm.Guid" Nullable="false"/> | ||
<Property Name="DUNS" Type="Edm.String" Nullable="true" MaxLength="9"/> | ||
<Property Name="SwiftCode" Type="Edm.String" Nullable="true" MaxLength="11"/> | ||
<!-- ... and a lot more --> | ||
</EntityType> | ||
|
||
<Annotations Target="Examples.Customer_Type/DUNS"> | ||
<Annotation Term="UI.InputMask"> | ||
<Record> | ||
<PropertyValue Property="Mask" String="99-999-9999" /> | ||
<!-- Data Universal Numbering System number issued by Dun & Bradstreet - might also be used without dashes "999999999"--> | ||
</Record> | ||
</Annotation> | ||
</Annotations> | ||
<Annotations Target="Examples.Customer_Type/SwiftCode"> | ||
<Annotation Term="UI.InputMask"> | ||
<Record> | ||
<PropertyValue Property="Mask" String="CCCCCCAAAAA" /> | ||
<PropertyValue Property="Placeholder" String="." /> | ||
<PropertyValue Property="Rules"> | ||
<Collection> | ||
<Record> | ||
<PropertyValue Property="MaskSymbol" String="C" /> | ||
<PropertyValue Property="RegExp" String="[A-Z]" /> | ||
</Record> | ||
<Record> | ||
<PropertyValue Property="MaskSymbol" String="A" /> | ||
<PropertyValue Property="RegExp" String="[A-Z0-9]" /> | ||
</Record> | ||
</Collection> | ||
</PropertyValue> | ||
</Record> | ||
</Annotation> | ||
</Annotations> | ||
|
||
</Schema> | ||
</edmx:DataServices> | ||
</edmx:Edmx> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.