Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!----> |
| 3 | <!--################################################################################ --> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 4 | <!--# Redfish Schema: MessageRegistryFile v1.1.1--> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 5 | <!--# --> |
| 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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 8 | <!--# Copyright 2014-2018 DMTF. --> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 9 | <!--# 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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 50 | <Annotation Term="Redfish.Uris"> |
| 51 | <Collection> |
| 52 | <String>/redfish/v1/Registries/{MessageRegistryFileId}</String> |
| 53 | </Collection> |
| 54 | </Annotation> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 55 | </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"/> |
| 61 | |
| 62 | <EntityType Name="MessageRegistryFile" BaseType="MessageRegistryFile.MessageRegistryFile"> |
| 63 | <Annotation Term="OData.Description" String="This is the schema definition for the Schema File locator resource."/> |
| 64 | <Annotation Term="OData.LongDescription" String="This resource shall be used to represent the Schema File locator resource for a Redfish implementation."/> |
| 65 | <Property Name="Languages" Type="Collection(Edm.String)" Nullable="false"> |
| 66 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 67 | <Annotation Term="OData.Description" String="Language codes for the schemas available."/> |
| 68 | <Annotation Term="OData.LongDescription" String="The value of this property shall be a string consisting of an RFC 5646 language code."/> |
| 69 | <Annotation Term="Redfish.Required"/> |
| 70 | </Property> |
| 71 | <Property Name="Registry" Type="Edm.String" Nullable="false"> |
| 72 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 73 | <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."/> |
| 74 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 75 | <Annotation Term="Redfish.Required"/> |
| 76 | </Property> |
| 77 | <Property Name="Location" Type="Collection(MessageRegistryFile.v1_0_0.Location)" Nullable="false"> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 78 | <Annotation Term="OData.Description" String="Location information for this registry file."/> |
| 79 | <Annotation Term="OData.LongDescription" String="This property shall contain the location information for this registry file."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 80 | <Annotation Term="Redfish.Required"/> |
| 81 | </Property> |
| 82 | </EntityType> |
| 83 | |
| 84 | <ComplexType Name="Location"> |
| 85 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 86 | <Annotation Term="OData.Description" String="Location information for a schema file."/> |
| 87 | <Annotation Term="OData.LongDescription" String="This type shall define Location information for a schema file."/> |
| 88 | <Property Name="Language" Type="Edm.String" Nullable="false"> |
| 89 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 90 | <Annotation Term="OData.Description" String="The language code for the file the schema is in."/> |
| 91 | <Annotation Term="OData.LongDescription" String="The value of this property shall be a string consisting of an RFC5646 language code or the string 'default'."/> |
| 92 | </Property> |
| 93 | <Property Name="Uri" Type="Edm.String" Nullable="false"> |
| 94 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 95 | <Annotation Term="OData.Description" String="Link to locally available URI for schema."/> |
| 96 | <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."/> |
| 97 | <Annotation Term="OData.IsURL"/> |
| 98 | </Property> |
| 99 | <Property Name="ArchiveUri" Type="Edm.String" Nullable="false"> |
| 100 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 101 | <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."/> |
| 102 | <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."/> |
| 103 | <Annotation Term="OData.IsURL"/> |
| 104 | </Property> |
| 105 | <Property Name="PublicationUri" Type="Edm.String" Nullable="false"> |
| 106 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 107 | <Annotation Term="OData.Description" String="Link to publicly available (canonical) URI for schema."/> |
| 108 | <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."/> |
| 109 | <Annotation Term="OData.IsURL"/> |
| 110 | </Property> |
| 111 | <Property Name="ArchiveFile" Type="Edm.String" Nullable="false"> |
| 112 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 113 | <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."/> |
| 114 | <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."/> |
| 115 | </Property> |
| 116 | </ComplexType> |
| 117 | |
| 118 | </Schema> |
| 119 | |
| 120 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MessageRegistryFile.v1_0_2"> |
| 121 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 122 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 123 | <EntityType Name="MessageRegistryFile" BaseType="MessageRegistryFile.v1_0_0.MessageRegistryFile"/> |
| 124 | </Schema> |
| 125 | |
| 126 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MessageRegistryFile.v1_0_3"> |
| 127 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 128 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 129 | <EntityType Name="MessageRegistryFile" BaseType="MessageRegistryFile.v1_0_2.MessageRegistryFile"/> |
| 130 | </Schema> |
| 131 | |
| 132 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MessageRegistryFile.v1_0_4"> |
| 133 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 134 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 135 | <EntityType Name="MessageRegistryFile" BaseType="MessageRegistryFile.v1_0_3.MessageRegistryFile"/> |
| 136 | </Schema> |
| 137 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 138 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MessageRegistryFile.v1_0_5"> |
| 139 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 140 | <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."/> |
| 141 | <EntityType Name="MessageRegistryFile" BaseType="MessageRegistryFile.v1_0_4.MessageRegistryFile"/> |
| 142 | </Schema> |
| 143 | |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 144 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MessageRegistryFile.v1_1_0"> |
| 145 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 146 | <EntityType Name="MessageRegistryFile" BaseType="MessageRegistryFile.v1_0_4.MessageRegistryFile"> |
| 147 | <Property Name="Actions" Type="MessageRegistryFile.v1_1_0.Actions" Nullable="false"> |
| 148 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 149 | <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/> |
| 150 | </Property> |
| 151 | </EntityType> |
| 152 | |
| 153 | <ComplexType Name="Actions"> |
| 154 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 155 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 156 | <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 157 | <Property Name="Oem" Type="MessageRegistryFile.v1_1_0.OemActions" Nullable="false"> |
| 158 | <Annotation Term="OData.Description" String="This property contains the available OEM specific actions for this resource."/> |
| 159 | <Annotation Term="OData.LongDescription" String="This property shall contain any additional OEM actions for this resource."/> |
| 160 | </Property> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 161 | </ComplexType> |
| 162 | |
| 163 | <ComplexType Name="OemActions"> |
| 164 | <Annotation Term="OData.AdditionalProperties" Bool="true"/> |
| 165 | <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/> |
| 166 | <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/> |
| 167 | </ComplexType> |
| 168 | </Schema> |
| 169 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 170 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MessageRegistryFile.v1_1_1"> |
| 171 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 172 | <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."/> |
| 173 | <EntityType Name="MessageRegistryFile" BaseType="MessageRegistryFile.v1_1_0.MessageRegistryFile"/> |
| 174 | </Schema> |
| 175 | |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 176 | </edmx:DataServices> |
| 177 | </edmx:Edmx> |