1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Google Schema:  GoogleServiceRoot v1.0.0                                            -->
5<!--#                                                                                      -->
6<!--################################################################################       -->
7<!---->
8<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
9
10  <edmx:DataServices>
11
12    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="GoogleServiceRoot">
13
14      <EntityType Name="ServiceRoot" BaseType="Resource.v1_0_0.Resource" Abstract="true">
15        <Annotation Term="OData.Description" String="The GoogleServiceRoot schema describes the root of the Google Service, located at the '/google/v1' URI.  All other Resources accessible through the Google interface on this device are linked directly or indirectly from the Service Root."/>
16        <Annotation Term="OData.LongDescription" String="This Resource represents the root Google Service.  All values that this schema describes for Resources shall comply with the Google Specification-described requirements."/>
17      </EntityType>
18
19    </Schema>
20
21    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="GoogleServiceRoot.v1_0_0">
22
23      <EntityContainer Name="ServiceContainer">
24        <Singleton Name="Service" Type="ServiceRoot.ServiceRoot"/>
25        <Singleton Name="JsonSchemas" Type="JsonSchemaFileCollection.JsonSchemaFileCollection"/>
26      </EntityContainer>
27
28      <EntityType Name="ServiceRoot" BaseType="ServiceRoot.ServiceRoot">
29        <Property Name="Version" Type="Edm.String" Nullable="false">
30          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
31          <Annotation Term="OData.Description" String="The version of the Google Service."/>
32          <Annotation Term="OData.LongDescription" String="This property shall represent the Google protocol version."/>
33          <Annotation Term="Validation.Pattern" String="^\d+\.\d+\.\d+$"/>
34        </Property>
35        <NavigationProperty Name="JsonSchemas" Type="JsonSchemaFileCollection.JsonSchemaFileCollection" Nullable="false">
36          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
37          <Annotation Term="OData.Description" String="The link to a collection of JSON Schema files."/>
38          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a Resource Collection of type JsonSchemaFileCollection."/>
39          <Annotation Term="OData.AutoExpandReferences"/>
40        </NavigationProperty>
41        <NavigationProperty Name="RootOfTrustCollection" Type="RootOfTrustCollection.RootOfTrustCollection" Nullable="false">
42          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
43          <Annotation Term="OData.Description" String="The link to a Google Root Of Trust collection."/>
44          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a Google RootOfTrust collection."/>
45        </NavigationProperty>
46      </EntityType>
47
48    </Schema>
49
50  </edmx:DataServices>
51</edmx:Edmx>
52