blob: 8ef086cc92ebaa4a94ee9020eccb71188f35f9ff [file] [log] [blame]
Ed Tanous118b1c72018-09-13 13:45:51 -07001{
2 "$ref": "#/definitions/Fabric",
3 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_3_0.json",
4 "copyright": "Copyright 2014-2017 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
5 "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": {
11 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
12 "description": "This property shall specify a valid odata or Redfish property.",
13 "type": [
14 "array",
15 "boolean",
16 "number",
17 "null",
18 "object",
19 "string"
20 ]
21 }
22 },
23 "properties": {
24 "Oem": {
25 "$ref": "#/definitions/OemActions"
26 }
27 },
28 "type": "object"
29 },
30 "Fabric": {
31 "additionalProperties": false,
32 "description": "The Fabric schema represents a simple fabric consisting of one or more switches, zero or more endpoints, and zero or more zones.",
33 "longDescription": "This resource shall be used to represent a simple switchable fabric for a Redfish implementation.",
34 "patternProperties": {
35 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
36 "description": "This property shall specify a valid odata or Redfish property.",
37 "type": [
38 "array",
39 "boolean",
40 "number",
41 "null",
42 "object",
43 "string"
44 ]
45 }
46 },
47 "properties": {
48 "@odata.context": {
49 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/context"
50 },
51 "@odata.id": {
52 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/id"
53 },
54 "@odata.type": {
55 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/type"
56 },
57 "Actions": {
58 "$ref": "#/definitions/Actions",
59 "description": "The available actions for this resource.",
60 "longDescription": "The Actions property shall contain the available actions for this resource."
61 },
62 "Description": {
63 "anyOf": [
64 {
65 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
66 },
67 {
68 "type": "null"
69 }
70 ],
71 "readonly": true
72 },
73 "Endpoints": {
74 "$ref": "http://redfish.dmtf.org/schemas/v1/EndpointCollection.json#/definitions/EndpointCollection",
75 "description": "A collection of references to the endpoints contained in this fabric.",
76 "longDescription": "The value of this property shall be a reference to the resources that this fabric uses and shall reference a resource of type Endpoint.",
77 "readonly": true
78 },
79 "FabricType": {
80 "anyOf": [
81 {
82 "$ref": "http://redfish.dmtf.org/schemas/v1/Protocol.json#/definitions/Protocol"
83 },
84 {
85 "type": "null"
86 }
87 ],
88 "description": "The protocol being sent over this fabric.",
89 "longDescription": "The value of this property shall contain the type of fabric being represented by this simple fabric.",
90 "readonly": true
91 },
92 "Id": {
93 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
94 "readonly": true
95 },
96 "Links": {
97 "$ref": "#/definitions/Links",
98 "description": "Contains references to other resources that are related to this resource.",
99 "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."
100 },
101 "MaxZones": {
102 "description": "The value of this property shall contain the maximum number of zones the switch can currently configure.",
103 "longDescription": "The value of this property shall contain the maximum number of zones the switch can currently configure. This value can change based on changes in the logical or physical configuration of the system.",
104 "readonly": true,
105 "type": [
106 "number",
107 "null"
108 ]
109 },
110 "Name": {
111 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
112 "readonly": true
113 },
114 "Oem": {
115 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
116 "description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.",
117 "longDescription": "The value of this string shall be of the format for the reserved word *Oem*."
118 },
119 "Status": {
120 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
121 },
122 "Switches": {
123 "$ref": "http://redfish.dmtf.org/schemas/v1/SwitchCollection.json#/definitions/SwitchCollection",
124 "description": "A collection of references to the switches contained in this fabric.",
125 "longDescription": "The value of this property shall be a reference to the resources that this fabric uses and shall reference a resource of type Switch.",
126 "readonly": true
127 },
128 "Zones": {
129 "$ref": "http://redfish.dmtf.org/schemas/v1/ZoneCollection.json#/definitions/ZoneCollection",
130 "description": "A collection of references to the zones contained in this fabric.",
131 "longDescription": "The value of this property shall be a reference to the resources that this fabric uses and shall reference a resource of type Zone.",
132 "readonly": true
133 }
134 },
135 "required": [
136 "Id",
137 "Name"
138 ],
139 "type": "object"
140 },
141 "Links": {
142 "additionalProperties": false,
143 "description": "Contains references to other resources that are related to this resource.",
144 "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.",
145 "patternProperties": {
146 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
147 "description": "This property shall specify a valid odata or Redfish property.",
148 "type": [
149 "array",
150 "boolean",
151 "number",
152 "null",
153 "object",
154 "string"
155 ]
156 }
157 },
158 "properties": {
159 "Oem": {
160 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
161 "description": "Oem extension object.",
162 "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."
163 }
164 },
165 "type": "object"
166 },
167 "OemActions": {
168 "additionalProperties": true,
169 "description": "The available OEM specific actions for this resource.",
170 "longDescription": "This type shall contain any additional OEM actions for this resource.",
171 "patternProperties": {
172 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
173 "description": "This property shall specify a valid odata or Redfish property.",
174 "type": [
175 "array",
176 "boolean",
177 "number",
178 "null",
179 "object",
180 "string"
181 ]
182 }
183 },
184 "properties": {},
185 "type": "object"
186 }
187 },
188 "title": "#Fabric.v1_0_3.Fabric"
189}