forked from DMTF/Redfish-Schema-Creator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathThingy.v1_0_0.xml
211 lines (210 loc) · 11 KB
/
Thingy.v1_0_0.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<!---->
<!--################################################################################ -->
<!--# Redfish Schema: Thingy.v1_0_0 -->
<!--# -->
<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
<!--# available at http://www.dmtf.org/standards/redfish -->
<!--# Copyright 2020 DMTF. -->
<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
<!--################################################################################ -->
<!---->
<?xml version="1.0" ?>
<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
<edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
<edmx:Include Namespace="Resource.v1_0_0"/>
</edmx:Reference>
<edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
<edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
</edmx:Reference>
<edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
<edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
</edmx:Reference>
<edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Power_v1.xml">
<edmx:Include Namespace="Power"/>
</edmx:Reference>
<edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Thermal_v1.xml">
<edmx:Include Namespace="Thermal"/>
</edmx:Reference>
<edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/PCIeDevice_v1.xml">
<edmx:Include Namespace="PCIeDevice"/>
</edmx:Reference>
<edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
<edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
</edmx:Reference>
<edmx:DataServices>
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Thingy">
<Annotation Term="Redfish.OwningEntity" String="TBD"/>
<EntityType Name="Thingy" Abstract="true" BaseType="Resource.v1_0_0.Resource">
<Annotation Term="OData.Description" String="Parameters for Thingy."/>
<Annotation Term="OData.LongDescription" String="Parameters for Thingy."/>
<Annotation Term="Capabilities.InsertRestrictions">
<Record>
<PropertyValue Property="Insertable" Bool="false"/>
</Record>
</Annotation>
<Annotation Term="Capabilities.UpdateRestrictions">
<Record>
<PropertyValue Property="Updatable" Bool="false"/>
</Record>
</Annotation>
<Annotation Term="Capabilities.DeleteRestrictions">
<Record>
<PropertyValue Property="Deletable" Bool="false"/>
</Record>
</Annotation>
</EntityType>
</Schema>
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Thingy.v1_0_0">
<Annotation Term="Redfish.OwningEntity" String="TBD"/>
<Annotation Term="Redfish.Release" String="TBD"/>
<EntityType Name="Thingy" BaseType="Thingy.Thingy">
<Property Name="ThingType" Type="Thingy.v1_0_0.ThingType" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="The type of thingy that this thingy is - really..."/>
<Annotation Term="OData.LongDescription" String="A long thingy description..."/>
<Annotation Term="Redfish.Required"/>
</Property>
<Property Name="IndicatorLED" Type="Resource.IndicatorLED" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="TBD"/>
<Annotation Term="OData.LongDescription" String="TBD"/>
</Property>
<Property Name="SideFumbling" Type="Edm.Boolean" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
<Annotation Term="OData.Description" String="TBD"/>
<Annotation Term="OData.LongDescription" String="TBD"/>
</Property>
<Property Name="Location" Type="Resource.Location" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="TBD"/>
<Annotation Term="OData.LongDescription" String="TBD"/>
</Property>
<Property Name="LotsOfStuff" Type="Collection(Edm.String)" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="TBD"/>
<Annotation Term="OData.LongDescription" String="TBD"/>
</Property>
<Property Name="LotsOfStuff2" Type="Collection(Edm.Int64)" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="TBD"/>
<Annotation Term="OData.LongDescription" String="TBD"/>
</Property>
<Property Name="LotsOfStuff3" Type="Collection(Thingy.v1_0_0.LotsOfStuff3)" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="TBD"/>
<Annotation Term="OData.LongDescription" String="TBD"/>
</Property>
<Property Name="LotsOfStuff4" Type="Collection(Thingy.v1_0_0.LotsOfStuff4)" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="TBD"/>
<Annotation Term="OData.LongDescription" String="TBD"/>
</Property>
<Property Name="ThingContainer" Type="Thingy.v1_0_0.ThingContainer" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="TBD"/>
<Annotation Term="OData.LongDescription" String="TBD"/>
</Property>
<Property Name="Status" Type="Resource.Status" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="TBD"/>
<Annotation Term="OData.LongDescription" String="TBD"/>
</Property>
<NavigationProperty Name="PCIeSlots" Type="Collection(PCIeDevice.PCIeDevice)" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="A link to PCIeSlots"/>
<Annotation Term="OData.LongDescription" String="This property shall be a link to a resource collection of type PCIeSlots."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<NavigationProperty Name="Thermal" Type="Thermal.Thermal" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="A link to Thermal"/>
<Annotation Term="OData.LongDescription" String="This property shall be a link to a resource collection of type Thermal."/>
</NavigationProperty>
<NavigationProperty Name="Power" Type="Power.Power" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="A link to Power"/>
<Annotation Term="OData.LongDescription" String="This property shall be a link to a resource collection of type Power."/>
</NavigationProperty>
<NavigationProperty Name="Power2" Type="Power.Power" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="A link to Power2"/>
<Annotation Term="OData.LongDescription" String="This property shall be a link to a resource collection of type Power2."/>
</NavigationProperty>
</EntityType>
<EnumType Name="ThingType">
<Member Name="RackMount">
<Annotation Term="OData.Description" String="tmp"/>
</Member>
<Member Name="Cheap">
<Annotation Term="OData.Description" String="tmp1"/>
</Member>
<Member Name="Expensive">
<Annotation Term="OData.Description" String="tmp2"/>
</Member>
<Member Name="Obsolete">
<Annotation Term="OData.Description" String="tmp3"/>
</Member>
<Member Name="Trendy">
<Annotation Term="OData.Description" String="tmp4"/>
</Member>
</EnumType>
<EnumType Name="LotsOfStuff3">
<Member Name="a">
<Annotation Term="OData.Description" String="TBD"/>
</Member>
<Member Name="b">
<Annotation Term="OData.Description" String="TBD"/>
</Member>
<Member Name="c">
<Annotation Term="OData.Description" String="TBD"/>
</Member>
</EnumType>
<ComplexType Name="LotsOfStuff4" Nullable="false">
<Annotation Term="OData.Description" String="TBD"/>
<Annotation Term="OData.LongDescription" String="TBD"/>
<Annotation Term="OData.AdditionalProperties" Bool="false"/>
<Property Name="My_Name" Type="Edm.String" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="TBD"/>
<Annotation Term="OData.LongDescription" String="TBD"/>
</Property>
</ComplexType>
<ComplexType Name="ThingButton" Nullable="false">
<Annotation Term="OData.Description" String="TBD"/>
<Annotation Term="OData.LongDescription" String="TBD"/>
<Annotation Term="OData.AdditionalProperties" Bool="false"/>
<Property Name="ButtonColor" Type="Edm.String" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="Color of the button."/>
<Annotation Term="OData.LongDescription" String="TBD"/>
</Property>
<Property Name="ButtonActuation" Type="Edm.Decimal" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="TBD"/>
<Annotation Term="OData.LongDescription" String="TBD"/>
<Annotation Term="Redfish.Required"/>
</Property>
</ComplexType>
<ComplexType Name="ThingContainer" Nullable="false">
<Annotation Term="OData.Description" String="TBD"/>
<Annotation Term="OData.LongDescription" String="TBD"/>
<Annotation Term="OData.AdditionalProperties" Bool="false"/>
<Property Name="ThingKnob" Type="Edm.String" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="TBD"/>
<Annotation Term="OData.LongDescription" String="TBD"/>
</Property>
<Property Name="ThingKnobCount" Type="Edm.Int64" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="TBD"/>
<Annotation Term="OData.LongDescription" String="TBD"/>
</Property>
<Property Name="ThingButton" Type="Thingy.v1_0_0.ThingButton" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="TBD"/>
<Annotation Term="OData.LongDescription" String="TBD"/>
</Property>
</ComplexType>
</Schema>
</edmx:DataServices>
</edmx:Edmx>