blob: 5d419d2ebec2fb84e9ed7449dd0cf21b5990f88e [file] [log] [blame]
Ed Tanous118b1c72018-09-13 13:45:51 -07001{
2 "$ref": "#/definitions/Zone",
Ed Tanous530520e2019-01-02 13:41:37 -08003 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
4 "copyright": "Copyright 2014-2018 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
Ed Tanous118b1c72018-09-13 13:45:51 -07005 "definitions": {
6 "Actions": {
7 "additionalProperties": false,
8 "description": "The available actions for this resource.",
9 "longDescription": "This type shall contain the available actions for this resource.",
10 "patternProperties": {
Ed Tanous530520e2019-01-02 13:41:37 -080011 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070012 "description": "This property shall specify a valid odata or Redfish property.",
13 "type": [
14 "array",
15 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080016 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070017 "number",
18 "null",
19 "object",
20 "string"
21 ]
22 }
23 },
24 "properties": {
25 "Oem": {
Ed Tanous530520e2019-01-02 13:41:37 -080026 "$ref": "#/definitions/OemActions",
27 "description": "This property contains the available OEM specific actions for this resource.",
28 "longDescription": "This property shall contain any additional OEM actions for this resource."
Ed Tanous118b1c72018-09-13 13:45:51 -070029 }
30 },
31 "type": "object"
32 },
33 "Links": {
34 "additionalProperties": false,
35 "description": "Contains references to other resources that are related to this resource.",
36 "longDescription": "This type, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource.",
37 "patternProperties": {
Ed Tanous530520e2019-01-02 13:41:37 -080038 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070039 "description": "This property shall specify a valid odata or Redfish property.",
40 "type": [
41 "array",
42 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080043 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070044 "number",
45 "null",
46 "object",
47 "string"
48 ]
49 }
50 },
51 "properties": {
52 "Endpoints": {
53 "description": "Represents an array of references to the endpoints that are contained in this zone.",
54 "items": {
55 "$ref": "http://redfish.dmtf.org/schemas/v1/Endpoint.json#/definitions/Endpoint"
56 },
57 "longDescription": "The value of this property shall be a reference to the resources that this zone is associated with and shall reference a resource of type Endpoint.",
58 "readonly": true,
59 "type": "array"
60 },
61 "Endpoints@odata.count": {
Ed Tanous530520e2019-01-02 13:41:37 -080062 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/count"
Ed Tanous118b1c72018-09-13 13:45:51 -070063 },
64 "InvolvedSwitches": {
65 "description": "Represents an array of references to the switches in this zone.",
66 "items": {
67 "$ref": "http://redfish.dmtf.org/schemas/v1/Switch.json#/definitions/Switch"
68 },
69 "longDescription": "The value of this property shall be a reference to the resources that this zone is associated with and shall reference a resource of type Switch.",
70 "readonly": true,
71 "type": "array"
72 },
73 "InvolvedSwitches@odata.count": {
Ed Tanous530520e2019-01-02 13:41:37 -080074 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/count"
Ed Tanous118b1c72018-09-13 13:45:51 -070075 },
76 "Oem": {
77 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
78 "description": "Oem extension object.",
79 "longDescription": "This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."
80 },
81 "ResourceBlocks": {
82 "description": "An array of references to the Resource Blocks that are used in this Zone.",
83 "items": {
84 "$ref": "http://redfish.dmtf.org/schemas/v1/ResourceBlock.json#/definitions/ResourceBlock"
85 },
86 "longDescription": "The value of this property shall be an array of references of type ResourceBlock that are associated with this Zone.",
87 "readonly": true,
88 "type": "array"
89 },
90 "ResourceBlocks@odata.count": {
Ed Tanous530520e2019-01-02 13:41:37 -080091 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/count"
Ed Tanous118b1c72018-09-13 13:45:51 -070092 }
93 },
94 "type": "object"
95 },
96 "OemActions": {
97 "additionalProperties": true,
98 "description": "The available OEM specific actions for this resource.",
99 "longDescription": "This type shall contain any additional OEM actions for this resource.",
100 "patternProperties": {
Ed Tanous530520e2019-01-02 13:41:37 -0800101 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700102 "description": "This property shall specify a valid odata or Redfish property.",
103 "type": [
104 "array",
105 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800106 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700107 "number",
108 "null",
109 "object",
110 "string"
111 ]
112 }
113 },
114 "properties": {},
115 "type": "object"
116 },
117 "Zone": {
118 "additionalProperties": false,
119 "description": "The Zone schema represents a fabric zone.",
120 "longDescription": "This resource shall be used to represent a simple zone for a Redfish implementation.",
121 "patternProperties": {
Ed Tanous530520e2019-01-02 13:41:37 -0800122 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700123 "description": "This property shall specify a valid odata or Redfish property.",
124 "type": [
125 "array",
126 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800127 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700128 "number",
129 "null",
130 "object",
131 "string"
132 ]
133 }
134 },
135 "properties": {
136 "@odata.context": {
Ed Tanous530520e2019-01-02 13:41:37 -0800137 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/context"
138 },
139 "@odata.etag": {
140 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/etag"
Ed Tanous118b1c72018-09-13 13:45:51 -0700141 },
142 "@odata.id": {
Ed Tanous530520e2019-01-02 13:41:37 -0800143 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/id"
Ed Tanous118b1c72018-09-13 13:45:51 -0700144 },
145 "@odata.type": {
Ed Tanous530520e2019-01-02 13:41:37 -0800146 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/type"
Ed Tanous118b1c72018-09-13 13:45:51 -0700147 },
148 "Actions": {
149 "$ref": "#/definitions/Actions",
150 "description": "The available actions for this resource.",
151 "longDescription": "The Actions property shall contain the available actions for this resource."
152 },
153 "Description": {
154 "anyOf": [
155 {
156 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
157 },
158 {
159 "type": "null"
160 }
161 ],
162 "readonly": true
163 },
164 "Id": {
165 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
166 "readonly": true
167 },
168 "Identifiers": {
169 "description": "Identifiers for this zone.",
170 "items": {
171 "anyOf": [
172 {
173 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Identifier"
174 },
175 {
176 "type": "null"
177 }
178 ]
179 },
180 "longDescription": "Identifiers for this zone shall be unique in the context of other zones.",
181 "type": "array"
182 },
183 "Links": {
184 "$ref": "#/definitions/Links",
185 "description": "Contains references to other resources that are related to this resource.",
186 "longDescription": "The Links property, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource."
187 },
188 "Name": {
189 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
190 "readonly": true
191 },
192 "Oem": {
193 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
194 "description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.",
195 "longDescription": "The value of this string shall be of the format for the reserved word *Oem*."
196 },
197 "Status": {
Ed Tanous530520e2019-01-02 13:41:37 -0800198 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
199 "description": "This property describes the status and health of the resource and its children.",
200 "longDescription": "This property shall contain any status or health properties of the resource."
Ed Tanous118b1c72018-09-13 13:45:51 -0700201 }
202 },
203 "required": [
Ed Tanous530520e2019-01-02 13:41:37 -0800204 "@odata.id",
205 "@odata.type",
Ed Tanous118b1c72018-09-13 13:45:51 -0700206 "Id",
207 "Name"
208 ],
209 "type": "object"
210 }
211 },
Ed Tanous530520e2019-01-02 13:41:37 -0800212 "owningEntity": "DMTF",
213 "title": "#Zone.v1_2_1.Zone"
Ed Tanous118b1c72018-09-13 13:45:51 -0700214}