blob: 78c55e6c8a3bb80ed2f12a5e7b36b460879b9c6c [file] [log] [blame]
Ed Tanous118b1c72018-09-13 13:45:51 -07001{
Ed Tanouscb103132019-10-08 11:34:22 -07002 "$id": "http://redfish.dmtf.org/schemas/v1/CompositionService.v1_1_2.json",
Ed Tanous118b1c72018-09-13 13:45:51 -07003 "$ref": "#/definitions/CompositionService",
Ed Tanous530520e2019-01-02 13:41:37 -08004 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
Ed Tanouscb103132019-10-08 11:34:22 -07005 "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
Ed Tanous118b1c72018-09-13 13:45:51 -07006 "definitions": {
7 "Actions": {
8 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -07009 "description": "The available actions for this Resource.",
10 "longDescription": "This type shall contain the available actions for this Resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -070011 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070012 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070013 "description": "This property shall specify a valid odata or Redfish property.",
14 "type": [
15 "array",
16 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080017 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070018 "number",
19 "null",
20 "object",
21 "string"
22 ]
23 }
24 },
25 "properties": {
26 "Oem": {
Ed Tanous530520e2019-01-02 13:41:37 -080027 "$ref": "#/definitions/OemActions",
Ed Tanouscb103132019-10-08 11:34:22 -070028 "description": "The available OEM-specific actions for this Resource.",
29 "longDescription": "This property shall contain the available OEM-specific actions for this Resource."
Ed Tanous118b1c72018-09-13 13:45:51 -070030 }
31 },
32 "type": "object"
33 },
34 "CompositionService": {
35 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -070036 "description": "The CompositionService schema describes a Composition Service and its properties and links to the Resources available for composition.",
37 "longDescription": "This Resource shall represent the Composition Service and its properties for a Redfish implementation.",
Ed Tanous118b1c72018-09-13 13:45:51 -070038 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070039 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070040 "description": "This property shall specify a valid odata or Redfish property.",
41 "type": [
42 "array",
43 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080044 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070045 "number",
46 "null",
47 "object",
48 "string"
49 ]
50 }
51 },
52 "properties": {
53 "@odata.context": {
Ed Tanouscb103132019-10-08 11:34:22 -070054 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
Ed Tanous530520e2019-01-02 13:41:37 -080055 },
56 "@odata.etag": {
Ed Tanouscb103132019-10-08 11:34:22 -070057 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
Ed Tanous118b1c72018-09-13 13:45:51 -070058 },
59 "@odata.id": {
Ed Tanouscb103132019-10-08 11:34:22 -070060 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
Ed Tanous118b1c72018-09-13 13:45:51 -070061 },
62 "@odata.type": {
Ed Tanouscb103132019-10-08 11:34:22 -070063 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
Ed Tanous118b1c72018-09-13 13:45:51 -070064 },
65 "Actions": {
66 "$ref": "#/definitions/Actions",
Ed Tanouscb103132019-10-08 11:34:22 -070067 "description": "The available actions for this Resource.",
68 "longDescription": "This property shall contain the available actions for this Resource."
Ed Tanous118b1c72018-09-13 13:45:51 -070069 },
Ed Tanous530520e2019-01-02 13:41:37 -080070 "AllowOverprovisioning": {
Ed Tanouscb103132019-10-08 11:34:22 -070071 "description": "An indication of whether this service is allowed to overprovision a composition relative to the composition request.",
72 "longDescription": "This property shall indicate whether this service is allowed to overprovision a composition relative to the composition request.",
Ed Tanous530520e2019-01-02 13:41:37 -080073 "readonly": false,
74 "type": [
75 "boolean",
76 "null"
Ed Tanouscb103132019-10-08 11:34:22 -070077 ],
78 "versionAdded": "v1_1_0"
Ed Tanous530520e2019-01-02 13:41:37 -080079 },
80 "AllowZoneAffinity": {
Ed Tanouscb103132019-10-08 11:34:22 -070081 "description": "An indication of whether a client can request that a specific Resource Zone fulfill a composition request.",
82 "longDescription": "This property shall indicate whether a client can request that a specific Resource Zone fulfill a composition request.",
Ed Tanous530520e2019-01-02 13:41:37 -080083 "readonly": true,
84 "type": [
85 "boolean",
86 "null"
Ed Tanouscb103132019-10-08 11:34:22 -070087 ],
88 "versionAdded": "v1_1_0"
Ed Tanous530520e2019-01-02 13:41:37 -080089 },
Ed Tanous118b1c72018-09-13 13:45:51 -070090 "Description": {
91 "anyOf": [
92 {
93 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
94 },
95 {
96 "type": "null"
97 }
98 ],
99 "readonly": true
100 },
101 "Id": {
102 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
103 "readonly": true
104 },
105 "Name": {
106 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
107 "readonly": true
108 },
109 "Oem": {
110 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -0700111 "description": "The OEM extension property.",
112 "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
Ed Tanous118b1c72018-09-13 13:45:51 -0700113 },
114 "ResourceBlocks": {
115 "$ref": "http://redfish.dmtf.org/schemas/v1/ResourceBlockCollection.json#/definitions/ResourceBlockCollection",
Ed Tanouscb103132019-10-08 11:34:22 -0700116 "description": "The Resource Blocks available on the service.",
117 "longDescription": "This property shall contain the link to a Resource Collection of type ResourceBlockCollection.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700118 "readonly": true
119 },
120 "ResourceZones": {
121 "$ref": "http://redfish.dmtf.org/schemas/v1/ZoneCollection.json#/definitions/ZoneCollection",
Ed Tanouscb103132019-10-08 11:34:22 -0700122 "description": "The Resource Zones available on the service.",
123 "longDescription": "This property shall contain the link to a Resource Collection of type ZoneCollection.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700124 "readonly": true
125 },
126 "ServiceEnabled": {
Ed Tanouscb103132019-10-08 11:34:22 -0700127 "description": "An indication of whether this service is enabled.",
128 "longDescription": "This property shall indicate whether this service is enabled.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700129 "readonly": false,
130 "type": [
131 "boolean",
132 "null"
133 ]
134 },
135 "Status": {
Ed Tanous530520e2019-01-02 13:41:37 -0800136 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
Ed Tanouscb103132019-10-08 11:34:22 -0700137 "description": "The status and health of the Resource and its subordinate or dependent Resources.",
138 "longDescription": "This property shall contain any status or health properties of the Resource."
Ed Tanous118b1c72018-09-13 13:45:51 -0700139 }
140 },
141 "required": [
Ed Tanous530520e2019-01-02 13:41:37 -0800142 "@odata.id",
143 "@odata.type",
Ed Tanous118b1c72018-09-13 13:45:51 -0700144 "Id",
145 "Name"
146 ],
147 "type": "object"
148 },
149 "OemActions": {
150 "additionalProperties": true,
Ed Tanouscb103132019-10-08 11:34:22 -0700151 "description": "The available OEM-specific actions for this Resource.",
152 "longDescription": "This type shall contain the available OEM-specific actions for this Resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700153 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700154 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700155 "description": "This property shall specify a valid odata or Redfish property.",
156 "type": [
157 "array",
158 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800159 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700160 "number",
161 "null",
162 "object",
163 "string"
164 ]
165 }
166 },
167 "properties": {},
168 "type": "object"
169 }
170 },
Ed Tanous530520e2019-01-02 13:41:37 -0800171 "owningEntity": "DMTF",
Ed Tanouscb103132019-10-08 11:34:22 -0700172 "release": "2018.2",
173 "title": "#CompositionService.v1_1_2.CompositionService"
Ed Tanous118b1c72018-09-13 13:45:51 -0700174}