Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 1 | { |
| 2 | "$ref": "#/definitions/Zone", |
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 | "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 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 | "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 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/count" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 63 | }, |
| 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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame^] | 74 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/count" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 75 | }, |
| 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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame^] | 91 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/count" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 92 | } |
| 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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame^] | 101 | "^([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] | 102 | "description": "This property shall specify a valid odata or Redfish property.", |
| 103 | "type": [ |
| 104 | "array", |
| 105 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame^] | 106 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 107 | "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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame^] | 122 | "^([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] | 123 | "description": "This property shall specify a valid odata or Redfish property.", |
| 124 | "type": [ |
| 125 | "array", |
| 126 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame^] | 127 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 128 | "number", |
| 129 | "null", |
| 130 | "object", |
| 131 | "string" |
| 132 | ] |
| 133 | } |
| 134 | }, |
| 135 | "properties": { |
| 136 | "@odata.context": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame^] | 137 | "$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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 141 | }, |
| 142 | "@odata.id": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame^] | 143 | "$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] | 144 | }, |
| 145 | "@odata.type": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame^] | 146 | "$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] | 147 | }, |
| 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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame^] | 198 | "$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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 201 | } |
| 202 | }, |
| 203 | "required": [ |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame^] | 204 | "@odata.id", |
| 205 | "@odata.type", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 206 | "Id", |
| 207 | "Name" |
| 208 | ], |
| 209 | "type": "object" |
| 210 | } |
| 211 | }, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame^] | 212 | "owningEntity": "DMTF", |
| 213 | "title": "#Zone.v1_2_1.Zone" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 214 | } |