UNPKG

3.6 kBXMLView Raw
1<?xml version="1.0" encoding="utf-8"?>
2
3<edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:sap="http://www.sap.com/Protocols/SAPData">
4 <edmx:Reference Uri="https://host:port/sap/opu/odata/IWFND/CATALOGSERVICE;v=2/Vocabularies(TechnicalName='%2FIWBEP%2FVOC_COMMON',Version='0001',SAP__Origin='LOCAL')/$value" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">
5 <edmx:Include Namespace="com.sap.vocabularies.Common.v1" Alias="Common"/>
6 </edmx:Reference>
7 <edmx:Reference Uri="https://host:port/sap/opu/odata/IWFND/CATALOGSERVICE;v=2/Vocabularies(TechnicalName='%2FIWBEP%2FVOC_CAPABILITIES',Version='0001',SAP__Origin='LOCAL')/$value" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">
8 <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
9 </edmx:Reference>
10 <edmx:Reference Uri="https://host:port/sap/opu/odata/IWFND/CATALOGSERVICE;v=2/Vocabularies(TechnicalName='%2FIWBEP%2FVOC_COMMUNICATION',Version='0001',SAP__Origin='LOCAL')/$value" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">
11 <edmx:Include Namespace="com.sap.vocabularies.Communication.v1" Alias="Communication"/>
12 </edmx:Reference>
13 <edmx:DataServices m:DataServiceVersion="2.0">
14 <Schema Namespace="EXAMPLE" xml:lang="en" sap:schema-version="1" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">
15
16 <EntityType Name="Course" sap:label="courses" sap:content-version="1">
17 <Key>
18 <PropertyRef Name="code"/>
19 <PropertyRef Name="name"/>
20 </Key>
21 <Property Name="code" Type="Edm.String" Nullable="false" MaxLength="40" sap:display-format="UpperCase" sap:label="code"/>
22 <Property Name="name" Type="Edm.String" Nullable="false" MaxLength="10" sap:display-format="UpperCase" sap:label="name"/>
23 </EntityType>
24 <Association Name="assoc_03E799559F261C8211B921EEE3579DB0" sap:content-version="1">
25 <End Type="EXAMPLE.Course" Multiplicity="1" Role="FromRole_assoc_03E799559F261C8211B921EEE3579DB0"/>
26 </Association>
27 <EntityContainer Name="EXAMPLE_Entities" m:IsDefaultEntityContainer="true" sap:supported-formats="atom json xlsx">
28 <EntitySet Name="Course" EntityType="EXAMPLE.Course" sap:creatable="false" sap:updatable="false" sap:deletable="false" sap:content-version="1"/>
29 <AssociationSet Name="assoc_52D3948940AA9E2D0BAC659FE10CB8AB" Association="EXAMPLE.assoc_52D3948940AA9E2D0BAC659FE10CB8AB" sap:creatable="false" sap:updatable="false" sap:deletable="false" sap:content-version="1">
30 <End EntitySet="Course" Role="FromRole_assoc_52D3948940AA9E2D0BAC659FE10CB8AB"/>
31 </AssociationSet>
32 </EntityContainer>
33 <Annotations Target="EXAMPLE.EXAMPLE_Entities/Course" xmlns="http://docs.oasis-open.org/odata/ns/edm">
34 <Annotation Term="Capabilities.FilterRestrictions">
35 <Record>
36 <PropertyValue Property="FilterExpressionRestrictions">
37 <Collection>
38 <Record>
39 <PropertyValue Property="Property" PropertyPath="CampaignTemplateDescription"/>
40 <PropertyValue Property="AllowedExpressions" String="SearchExpression"/>
41 </Record>
42 </Collection>
43 </PropertyValue>
44 </Record>
45 </Annotation>
46 </Annotations>
47 <atom:link rel="self" href="https://host:port/sap/opu/odata/sap/EXAMPLE/$metadata" xmlns:atom="http://www.w3.org/2005/Atom"/>
48 <atom:link rel="latest-version" href="https://host:port/sap/opu/odata/sap/EXAMPLE/$metadata" xmlns:atom="http://www.w3.org/2005/Atom"/>
49 </Schema>
50 </edmx:DataServices>
51</edmx:Edmx>