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