blob: 09c73cafa9d9e031a7bb14406a7fbfb09c059798 [file] [log] [blame]
Jason M. Billsea4aa752018-06-05 13:29:11 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Ed Tanous530520e2019-01-02 13:41:37 -08004<!--# Redfish Schema: MessageRegistryFile v1.1.1-->
Jason M. Billsea4aa752018-06-05 13:29:11 -07005<!--# -->
6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
7<!--# available at http://www.dmtf.org/standards/redfish -->
Ed Tanous530520e2019-01-02 13:41:37 -08008<!--# Copyright 2014-2018 DMTF. -->
Jason M. Billsea4aa752018-06-05 13:29:11 -07009<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
10<!--################################################################################ -->
11<!---->
12<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
13
14 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
15 <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
16 </edmx:Reference>
17 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
18 <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
19 </edmx:Reference>
20 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
21 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
22 </edmx:Reference>
23 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
24 <edmx:Include Namespace="Resource.v1_0_0"/>
25 </edmx:Reference>
26
27 <edmx:DataServices>
28
29 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MessageRegistryFile">
30 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
31
32 <EntityType Name="MessageRegistryFile" BaseType="Resource.v1_0_0.Resource" Abstract="true">
33 <Annotation Term="OData.Description" String="This is the schema definition for the Schema File locator resource."/>
34 <Annotation Term="OData.LongDescription" String="This resource shall be used to represent the Schema File locator resource for a Redfish implementation."/>
35 <Annotation Term="Capabilities.InsertRestrictions">
36 <Record>
37 <PropertyValue Property="Insertable" Bool="false"/>
38 </Record>
39 </Annotation>
40 <Annotation Term="Capabilities.UpdateRestrictions">
41 <Record>
42 <PropertyValue Property="Updatable" Bool="false"/>
43 </Record>
44 </Annotation>
45 <Annotation Term="Capabilities.DeleteRestrictions">
46 <Record>
47 <PropertyValue Property="Deletable" Bool="false"/>
48 </Record>
49 </Annotation>
Ed Tanous530520e2019-01-02 13:41:37 -080050 <Annotation Term="Redfish.Uris">
51 <Collection>
52 <String>/redfish/v1/Registries/{MessageRegistryFileId}</String>
53 </Collection>
54 </Annotation>
Jason M. Billsea4aa752018-06-05 13:29:11 -070055 </EntityType>
56
57 </Schema>
58
59 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MessageRegistryFile.v1_0_0">
60 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060061 <Annotation Term="Redfish.Release" String="2016.1"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070062
63 <EntityType Name="MessageRegistryFile" BaseType="MessageRegistryFile.MessageRegistryFile">
64 <Annotation Term="OData.Description" String="This is the schema definition for the Schema File locator resource."/>
65 <Annotation Term="OData.LongDescription" String="This resource shall be used to represent the Schema File locator resource for a Redfish implementation."/>
66 <Property Name="Languages" Type="Collection(Edm.String)" Nullable="false">
67 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
68 <Annotation Term="OData.Description" String="Language codes for the schemas available."/>
69 <Annotation Term="OData.LongDescription" String="The value of this property shall be a string consisting of an RFC 5646 language code."/>
70 <Annotation Term="Redfish.Required"/>
71 </Property>
72 <Property Name="Registry" Type="Edm.String" Nullable="false">
73 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanous530520e2019-01-02 13:41:37 -080074 <Annotation Term="OData.Description" String="The Registry Name, Major, and Minor version. This Registry can reference any type of Registry, such as a Message Registry, Privilege Registry, or Attribute Registry."/>
75 <Annotation Term="OData.LongDescription" String="The value of this property shall be the value of the Registry Name, Major, and Minor version. This Registry may reference any type of Registry, such as a Message Registry, Privilege Registry, or Attribute Registry."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070076 <Annotation Term="Redfish.Required"/>
77 </Property>
78 <Property Name="Location" Type="Collection(MessageRegistryFile.v1_0_0.Location)" Nullable="false">
Ed Tanous530520e2019-01-02 13:41:37 -080079 <Annotation Term="OData.Description" String="Location information for this registry file."/>
80 <Annotation Term="OData.LongDescription" String="This property shall contain the location information for this registry file."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070081 <Annotation Term="Redfish.Required"/>
82 </Property>
83 </EntityType>
84
85 <ComplexType Name="Location">
86 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
87 <Annotation Term="OData.Description" String="Location information for a schema file."/>
88 <Annotation Term="OData.LongDescription" String="This type shall define Location information for a schema file."/>
89 <Property Name="Language" Type="Edm.String" Nullable="false">
90 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
91 <Annotation Term="OData.Description" String="The language code for the file the schema is in."/>
92 <Annotation Term="OData.LongDescription" String="The value of this property shall be a string consisting of an RFC5646 language code or the string 'default'."/>
93 </Property>
94 <Property Name="Uri" Type="Edm.String" Nullable="false">
95 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
96 <Annotation Term="OData.Description" String="Link to locally available URI for schema."/>
97 <Annotation Term="OData.LongDescription" String="The value of this property shall be a URI co-located with the Redfish service that specifies the location of the schema file. This property shall only be used for individual schema files. The file name portion of the URI shall conform to the syntax specified in the Redfish specification."/>
98 <Annotation Term="OData.IsURL"/>
99 </Property>
100 <Property Name="ArchiveUri" Type="Edm.String" Nullable="false">
101 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
102 <Annotation Term="OData.Description" String="If the schema is hosted on the service in an archive file, this is the link to the archive file."/>
103 <Annotation Term="OData.LongDescription" String="The value of this property shall be a URI co-located with the Redfish service that specifies the location of the schema file. This property shall only be used for archive files (zip or other formats). The value of ArchiveFile shall have the file name of the individual schema file within the archive file."/>
104 <Annotation Term="OData.IsURL"/>
105 </Property>
106 <Property Name="PublicationUri" Type="Edm.String" Nullable="false">
107 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
108 <Annotation Term="OData.Description" String="Link to publicly available (canonical) URI for schema."/>
109 <Annotation Term="OData.LongDescription" String="The value of this property shall be a URI not co-located with the Redfish service that specifies the canonical location of the schema file. This property shall only be used for individual schema files."/>
110 <Annotation Term="OData.IsURL"/>
111 </Property>
112 <Property Name="ArchiveFile" Type="Edm.String" Nullable="false">
113 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
114 <Annotation Term="OData.Description" String="If the schema is hosted on the service in an archive file, this is the name of the file within the archive."/>
115 <Annotation Term="OData.LongDescription" String="The value of this property shall be the file name of the individual schema file within the archive file specified by the ArchiveUri property. The file name shall conform to the syntax specified in the Redfish specification."/>
116 </Property>
117 </ComplexType>
118
119 </Schema>
120
121 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MessageRegistryFile.v1_0_2">
122 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
123 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
124 <EntityType Name="MessageRegistryFile" BaseType="MessageRegistryFile.v1_0_0.MessageRegistryFile"/>
125 </Schema>
126
127 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MessageRegistryFile.v1_0_3">
128 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
129 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
130 <EntityType Name="MessageRegistryFile" BaseType="MessageRegistryFile.v1_0_2.MessageRegistryFile"/>
131 </Schema>
132
133 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MessageRegistryFile.v1_0_4">
134 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
135 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
136 <EntityType Name="MessageRegistryFile" BaseType="MessageRegistryFile.v1_0_3.MessageRegistryFile"/>
137 </Schema>
138
Ed Tanous530520e2019-01-02 13:41:37 -0800139 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MessageRegistryFile.v1_0_5">
140 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
141 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number. It was also updated to clarify the description for Registry."/>
142 <EntityType Name="MessageRegistryFile" BaseType="MessageRegistryFile.v1_0_4.MessageRegistryFile"/>
143 </Schema>
144
Jason M. Billsea4aa752018-06-05 13:29:11 -0700145 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MessageRegistryFile.v1_1_0">
146 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600147 <Annotation Term="Redfish.Release" String="2017.1"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700148 <EntityType Name="MessageRegistryFile" BaseType="MessageRegistryFile.v1_0_4.MessageRegistryFile">
149 <Property Name="Actions" Type="MessageRegistryFile.v1_1_0.Actions" Nullable="false">
150 <Annotation Term="OData.Description" String="The available actions for this resource."/>
151 <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/>
152 </Property>
153 </EntityType>
154
155 <ComplexType Name="Actions">
156 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
157 <Annotation Term="OData.Description" String="The available actions for this resource."/>
158 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800159 <Property Name="Oem" Type="MessageRegistryFile.v1_1_0.OemActions" Nullable="false">
160 <Annotation Term="OData.Description" String="This property contains the available OEM specific actions for this resource."/>
161 <Annotation Term="OData.LongDescription" String="This property shall contain any additional OEM actions for this resource."/>
162 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700163 </ComplexType>
164
165 <ComplexType Name="OemActions">
166 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
167 <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/>
168 <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/>
169 </ComplexType>
170 </Schema>
171
Ed Tanous530520e2019-01-02 13:41:37 -0800172 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MessageRegistryFile.v1_1_1">
173 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
174 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number. It was also updated to clarify the description for Registry."/>
175 <EntityType Name="MessageRegistryFile" BaseType="MessageRegistryFile.v1_1_0.MessageRegistryFile"/>
176 </Schema>
177
Jason M. Billsea4aa752018-06-05 13:29:11 -0700178 </edmx:DataServices>
179</edmx:Edmx>