blob: 237727f27fda23a7e593fa1669a66f2f5bcddff2 [file] [log] [blame]
Ed Tanous118b1c72018-09-13 13:45:51 -07001{
Marri Devender Raod45d2d02019-01-21 10:11:34 -06002 "$id": "http://redfish.dmtf.org/schemas/v1/CollectionCapabilities.v1_1_1.json",
Ed Tanous530520e2019-01-02 13:41:37 -08003 "$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 Tanous118b1c72018-09-13 13:45:51 -07005 "definitions": {
6 "Capability": {
Ed Tanous530520e2019-01-02 13:41:37 -08007 "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 Tanous118b1c72018-09-13 13:45:51 -070010 "patternProperties": {
Ed Tanous530520e2019-01-02 13:41:37 -080011 "^([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 Tanous118b1c72018-09-13 13:45:51 -070013 "type": [
14 "array",
15 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080016 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070017 "number",
18 "null",
19 "object",
20 "string"
Ed Tanous530520e2019-01-02 13:41:37 -080021 ]
Ed Tanous118b1c72018-09-13 13:45:51 -070022 }
23 },
Ed Tanous118b1c72018-09-13 13:45:51 -070024 "properties": {
Ed Tanous530520e2019-01-02 13:41:37 -080025 "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 Tanous118b1c72018-09-13 13:45:51 -070030 },
31 "Links": {
Ed Tanous530520e2019-01-02 13:41:37 -080032 "$ref": "#/definitions/Links",
Ed Tanous118b1c72018-09-13 13:45:51 -070033 "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 Tanous530520e2019-01-02 13:41:37 -080036 "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 Tanous118b1c72018-09-13 13:45:51 -070041 }
42 },
43 "required": [
Ed Tanous530520e2019-01-02 13:41:37 -080044 "CapabilitiesObject",
Ed Tanous118b1c72018-09-13 13:45:51 -070045 "UseCase",
Ed Tanous530520e2019-01-02 13:41:37 -080046 "Links"
Ed Tanous118b1c72018-09-13 13:45:51 -070047 ],
Ed Tanous530520e2019-01-02 13:41:37 -080048 "type": "object"
Ed Tanous118b1c72018-09-13 13:45:51 -070049 },
50 "CollectionCapabilities": {
Ed Tanous530520e2019-01-02 13:41:37 -080051 "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 Tanous118b1c72018-09-13 13:45:51 -070054 "patternProperties": {
Ed Tanous530520e2019-01-02 13:41:37 -080055 "^([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 Tanous118b1c72018-09-13 13:45:51 -070057 "type": [
58 "array",
59 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080060 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070061 "number",
62 "null",
63 "object",
64 "string"
Ed Tanous530520e2019-01-02 13:41:37 -080065 ]
Ed Tanous118b1c72018-09-13 13:45:51 -070066 }
67 },
Ed Tanous118b1c72018-09-13 13:45:51 -070068 "properties": {
69 "Capabilities": {
Ed Tanous530520e2019-01-02 13:41:37 -080070 "description": "This property contains the list of capabilities supported by this resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -070071 "items": {
72 "$ref": "#/definitions/Capability"
73 },
Ed Tanous530520e2019-01-02 13:41:37 -080074 "longDescription": "The value of this property shall be an array of Capability structures.",
75 "type": "array"
Ed Tanous118b1c72018-09-13 13:45:51 -070076 }
77 },
Ed Tanous530520e2019-01-02 13:41:37 -080078 "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 Tanous118b1c72018-09-13 13:45:51 -0700127 },
128 "UseCase": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700129 "enum": [
130 "ComputerSystemComposition",
Ed Tanous530520e2019-01-02 13:41:37 -0800131 "ComputerSystemConstrainedComposition",
Ed Tanous118b1c72018-09-13 13:45:51 -0700132 "VolumeCreation"
133 ],
134 "enumDescriptions": {
135 "ComputerSystemComposition": "This capability describes a client creating a new ComputerSystem instance from a set of disaggregated hardware.",
Ed Tanous530520e2019-01-02 13:41:37 -0800136 "ComputerSystemConstrainedComposition": "This capability describes a client creating a new ComputerSystem instance from a set of constraints.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700137 "VolumeCreation": "This capability describes a client creating a new Volume instance as part of an existing storage subsystem."
Ed Tanous530520e2019-01-02 13:41:37 -0800138 },
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600139 "enumVersionAdded": {
140 "ComputerSystemConstrainedComposition": "v1_1_0"
141 },
Ed Tanous530520e2019-01-02 13:41:37 -0800142 "type": "string"
Ed Tanous118b1c72018-09-13 13:45:51 -0700143 }
144 },
Ed Tanous530520e2019-01-02 13:41:37 -0800145 "owningEntity": "DMTF",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600146 "release": "2018.2",
147 "title": "#CollectionCapabilities.v1_1_1"
Ed Tanous530520e2019-01-02 13:41:37 -0800148}