| Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 1 | { | 
| Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 2 | "$id": "http://redfish.dmtf.org/schemas/v1/CollectionCapabilities.v1_1_1.json", | 
| 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 | "Capability": { | 
| Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 7 | "additionalProperties": false, | 
|  | 8 | "description": "This type describes a specific capability of a collection for a given use case.", | 
|  | 9 | "longDescription": "This type shall describe a specific capability of a collection in terms of how a client is able to create new resources within the collection for the specified use case.", | 
| Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 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_.]+$": { | 
|  | 12 | "description": "This property shall specify a valid odata or Redfish property.", | 
| Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 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" | 
| Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 21 | ] | 
| Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 22 | } | 
|  | 23 | }, | 
| Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 24 | "properties": { | 
| Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 25 | "CapabilitiesObject": { | 
|  | 26 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/idRef", | 
|  | 27 | "description": "Reference to the resource the client may GET to in order to understand how to form a POST request for a given collection.", | 
|  | 28 | "longDescription": "The value of this property shall be a reference to a Resource that matches the type for the given collection and shall contain annotations that describe the properties allowed in the POST request.", | 
|  | 29 | "readonly": true | 
| Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 30 | }, | 
|  | 31 | "Links": { | 
| Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 32 | "$ref": "#/definitions/Links", | 
| Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 33 | "description": "Contains references to other resources that are related to this resource.", | 
|  | 34 | "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." | 
|  | 35 | }, | 
| Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 36 | "UseCase": { | 
|  | 37 | "$ref": "#/definitions/UseCase", | 
|  | 38 | "description": "This property represents the use case in which a client may issue a POST request to the collection.", | 
|  | 39 | "longDescription": "The value of this property shall be an enumerated value describing the use case for this capability instance.", | 
|  | 40 | "readonly": true | 
| Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 41 | } | 
|  | 42 | }, | 
|  | 43 | "required": [ | 
| Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 44 | "CapabilitiesObject", | 
| Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 45 | "UseCase", | 
| Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 46 | "Links" | 
| Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 47 | ], | 
| Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 48 | "type": "object" | 
| Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 49 | }, | 
|  | 50 | "CollectionCapabilities": { | 
| Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 51 | "additionalProperties": false, | 
|  | 52 | "description": "This type describes the capabilities of a collection.", | 
|  | 53 | "longDescription": "This type shall describe any capabilities of a collection in terms of how a client is able to create new resources within the collection.", | 
| Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 54 | "patternProperties": { | 
| Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 55 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { | 
|  | 56 | "description": "This property shall specify a valid odata or Redfish property.", | 
| Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 57 | "type": [ | 
|  | 58 | "array", | 
|  | 59 | "boolean", | 
| Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 60 | "integer", | 
| Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 61 | "number", | 
|  | 62 | "null", | 
|  | 63 | "object", | 
|  | 64 | "string" | 
| Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 65 | ] | 
| Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 66 | } | 
|  | 67 | }, | 
| Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 68 | "properties": { | 
|  | 69 | "Capabilities": { | 
| Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 70 | "description": "This property contains the list of capabilities supported by this resource.", | 
| Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 71 | "items": { | 
|  | 72 | "$ref": "#/definitions/Capability" | 
|  | 73 | }, | 
| Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 74 | "longDescription": "The value of this property shall be an array of Capability structures.", | 
|  | 75 | "type": "array" | 
| Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 76 | } | 
|  | 77 | }, | 
| Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 78 | "type": "object" | 
|  | 79 | }, | 
|  | 80 | "Links": { | 
|  | 81 | "additionalProperties": false, | 
|  | 82 | "description": "Contains references to other resources that are related to this resource.", | 
|  | 83 | "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.", | 
|  | 84 | "patternProperties": { | 
|  | 85 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { | 
|  | 86 | "description": "This property shall specify a valid odata or Redfish property.", | 
|  | 87 | "type": [ | 
|  | 88 | "array", | 
|  | 89 | "boolean", | 
|  | 90 | "integer", | 
|  | 91 | "number", | 
|  | 92 | "null", | 
|  | 93 | "object", | 
|  | 94 | "string" | 
|  | 95 | ] | 
|  | 96 | } | 
|  | 97 | }, | 
|  | 98 | "properties": { | 
|  | 99 | "Oem": { | 
|  | 100 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", | 
|  | 101 | "description": "Oem extension object.", | 
|  | 102 | "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." | 
|  | 103 | }, | 
|  | 104 | "RelatedItem": { | 
|  | 105 | "description": "The ID(s) of the resources associated with this capability.", | 
|  | 106 | "items": { | 
|  | 107 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/idRef" | 
|  | 108 | }, | 
|  | 109 | "longDescription": "The value of this property shall be an array of IDs containing pointers consistent with JSON pointer syntax to the resource that is related to this capability.", | 
|  | 110 | "readonly": true, | 
|  | 111 | "type": "array" | 
|  | 112 | }, | 
|  | 113 | "RelatedItem@odata.count": { | 
|  | 114 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/count" | 
|  | 115 | }, | 
|  | 116 | "TargetCollection": { | 
|  | 117 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/ResourceCollection", | 
|  | 118 | "description": "Reference to the collection that this capabilities structure is describing.", | 
|  | 119 | "longDescription": "The value of this property shall be a reference to a Resource Collection that this structure is describing.  This structure may be used by a client in order to understand how to form the POST request for the given collection.", | 
|  | 120 | "readonly": true | 
|  | 121 | } | 
|  | 122 | }, | 
|  | 123 | "required": [ | 
|  | 124 | "TargetCollection" | 
|  | 125 | ], | 
|  | 126 | "type": "object" | 
| Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 127 | }, | 
|  | 128 | "UseCase": { | 
| Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 129 | "enum": [ | 
|  | 130 | "ComputerSystemComposition", | 
| Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 131 | "ComputerSystemConstrainedComposition", | 
| Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 132 | "VolumeCreation" | 
|  | 133 | ], | 
|  | 134 | "enumDescriptions": { | 
|  | 135 | "ComputerSystemComposition": "This capability describes a client creating a new ComputerSystem instance from a set of disaggregated hardware.", | 
| Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 136 | "ComputerSystemConstrainedComposition": "This capability describes a client creating a new ComputerSystem instance from a set of constraints.", | 
| Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 137 | "VolumeCreation": "This capability describes a client creating a new Volume instance as part of an existing storage subsystem." | 
| Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 138 | }, | 
| Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 139 | "enumVersionAdded": { | 
|  | 140 | "ComputerSystemConstrainedComposition": "v1_1_0" | 
|  | 141 | }, | 
| Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 142 | "type": "string" | 
| Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 143 | } | 
|  | 144 | }, | 
| Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 145 | "owningEntity": "DMTF", | 
| Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 146 | "release": "2018.2", | 
|  | 147 | "title": "#CollectionCapabilities.v1_1_1" | 
| Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 148 | } |