Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame^] | 1 | { |
| 2 | "$ref": "#/definitions/Zone", |
| 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 | "Links": { |
| 31 | "additionalProperties": false, |
| 32 | "description": "Contains references to other resources that are related to this resource.", |
| 33 | "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.", |
| 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 | "Endpoints": { |
| 49 | "description": "Represents an array of references to the endpoints that are contained in this zone.", |
| 50 | "items": { |
| 51 | "$ref": "http://redfish.dmtf.org/schemas/v1/Endpoint.json#/definitions/Endpoint" |
| 52 | }, |
| 53 | "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.", |
| 54 | "readonly": true, |
| 55 | "type": "array" |
| 56 | }, |
| 57 | "Endpoints@odata.count": { |
| 58 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/count" |
| 59 | }, |
| 60 | "InvolvedSwitches": { |
| 61 | "description": "Represents an array of references to the switches in this zone.", |
| 62 | "items": { |
| 63 | "$ref": "http://redfish.dmtf.org/schemas/v1/Switch.json#/definitions/Switch" |
| 64 | }, |
| 65 | "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.", |
| 66 | "readonly": true, |
| 67 | "type": "array" |
| 68 | }, |
| 69 | "InvolvedSwitches@odata.count": { |
| 70 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/count" |
| 71 | }, |
| 72 | "Oem": { |
| 73 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
| 74 | "description": "Oem extension object.", |
| 75 | "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." |
| 76 | }, |
| 77 | "ResourceBlocks": { |
| 78 | "description": "An array of references to the Resource Blocks that are used in this Zone.", |
| 79 | "items": { |
| 80 | "$ref": "http://redfish.dmtf.org/schemas/v1/ResourceBlock.json#/definitions/ResourceBlock" |
| 81 | }, |
| 82 | "longDescription": "The value of this property shall be an array of references of type ResourceBlock that are associated with this Zone.", |
| 83 | "readonly": true, |
| 84 | "type": "array" |
| 85 | }, |
| 86 | "ResourceBlocks@odata.count": { |
| 87 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/count" |
| 88 | } |
| 89 | }, |
| 90 | "type": "object" |
| 91 | }, |
| 92 | "OemActions": { |
| 93 | "additionalProperties": true, |
| 94 | "description": "The available OEM specific actions for this resource.", |
| 95 | "longDescription": "This type shall contain any additional OEM actions for this resource.", |
| 96 | "patternProperties": { |
| 97 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
| 98 | "description": "This property shall specify a valid odata or Redfish property.", |
| 99 | "type": [ |
| 100 | "array", |
| 101 | "boolean", |
| 102 | "number", |
| 103 | "null", |
| 104 | "object", |
| 105 | "string" |
| 106 | ] |
| 107 | } |
| 108 | }, |
| 109 | "properties": {}, |
| 110 | "type": "object" |
| 111 | }, |
| 112 | "Zone": { |
| 113 | "additionalProperties": false, |
| 114 | "description": "The Zone schema represents a fabric zone.", |
| 115 | "longDescription": "This resource shall be used to represent a simple zone for a Redfish implementation.", |
| 116 | "patternProperties": { |
| 117 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
| 118 | "description": "This property shall specify a valid odata or Redfish property.", |
| 119 | "type": [ |
| 120 | "array", |
| 121 | "boolean", |
| 122 | "number", |
| 123 | "null", |
| 124 | "object", |
| 125 | "string" |
| 126 | ] |
| 127 | } |
| 128 | }, |
| 129 | "properties": { |
| 130 | "@odata.context": { |
| 131 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/context" |
| 132 | }, |
| 133 | "@odata.id": { |
| 134 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/id" |
| 135 | }, |
| 136 | "@odata.type": { |
| 137 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/type" |
| 138 | }, |
| 139 | "Actions": { |
| 140 | "$ref": "#/definitions/Actions", |
| 141 | "description": "The available actions for this resource.", |
| 142 | "longDescription": "The Actions property shall contain the available actions for this resource." |
| 143 | }, |
| 144 | "Description": { |
| 145 | "anyOf": [ |
| 146 | { |
| 147 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" |
| 148 | }, |
| 149 | { |
| 150 | "type": "null" |
| 151 | } |
| 152 | ], |
| 153 | "readonly": true |
| 154 | }, |
| 155 | "Id": { |
| 156 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", |
| 157 | "readonly": true |
| 158 | }, |
| 159 | "Identifiers": { |
| 160 | "description": "Identifiers for this zone.", |
| 161 | "items": { |
| 162 | "anyOf": [ |
| 163 | { |
| 164 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Identifier" |
| 165 | }, |
| 166 | { |
| 167 | "type": "null" |
| 168 | } |
| 169 | ] |
| 170 | }, |
| 171 | "longDescription": "Identifiers for this zone shall be unique in the context of other zones.", |
| 172 | "type": "array" |
| 173 | }, |
| 174 | "Links": { |
| 175 | "$ref": "#/definitions/Links", |
| 176 | "description": "Contains references to other resources that are related to this resource.", |
| 177 | "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." |
| 178 | }, |
| 179 | "Name": { |
| 180 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", |
| 181 | "readonly": true |
| 182 | }, |
| 183 | "Oem": { |
| 184 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
| 185 | "description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.", |
| 186 | "longDescription": "The value of this string shall be of the format for the reserved word *Oem*." |
| 187 | }, |
| 188 | "Status": { |
| 189 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status" |
| 190 | } |
| 191 | }, |
| 192 | "required": [ |
| 193 | "Id", |
| 194 | "Name" |
| 195 | ], |
| 196 | "type": "object" |
| 197 | } |
| 198 | }, |
| 199 | "title": "#Zone.v1_2_0.Zone" |
| 200 | } |