Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 1 | { |
| 2 | "$ref": "#/definitions/CompositionService", |
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 | "CompositionService": { |
| 34 | "additionalProperties": false, |
| 35 | "description": "The CompositionService schema defines a Composition Service which represents the properties for the service and links to the resources available for composition.", |
| 36 | "longDescription": "This resource shall be used to represent the Composition Service Properties for a Redfish implementation.", |
| 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 | "@odata.context": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 53 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/context" |
| 54 | }, |
| 55 | "@odata.etag": { |
| 56 | "$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] | 57 | }, |
| 58 | "@odata.id": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 59 | "$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] | 60 | }, |
| 61 | "@odata.type": { |
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/type" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 63 | }, |
| 64 | "Actions": { |
| 65 | "$ref": "#/definitions/Actions", |
| 66 | "description": "The available actions for this resource.", |
| 67 | "longDescription": "The Actions property shall contain the available actions for this resource." |
| 68 | }, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 69 | "AllowOverprovisioning": { |
| 70 | "description": "This indicates whether this service is allowed to overprovision a composition relative to the composition request.", |
| 71 | "longDescription": "The value of this property shall be a boolean indicating whether this service is allowed to overprovision a composition relative to the composition request.", |
| 72 | "readonly": false, |
| 73 | "type": [ |
| 74 | "boolean", |
| 75 | "null" |
| 76 | ] |
| 77 | }, |
| 78 | "AllowZoneAffinity": { |
| 79 | "description": "This indicates whether a client is allowed to request that given composition request is fulfilled by a specified Resource Zone.", |
| 80 | "longDescription": "The value of this property shall be a boolean indicating whether a client is allowed to request that given composition request is fulfilled by a specified Resource Zone.", |
| 81 | "readonly": true, |
| 82 | "type": [ |
| 83 | "boolean", |
| 84 | "null" |
| 85 | ] |
| 86 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 87 | "Description": { |
| 88 | "anyOf": [ |
| 89 | { |
| 90 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" |
| 91 | }, |
| 92 | { |
| 93 | "type": "null" |
| 94 | } |
| 95 | ], |
| 96 | "readonly": true |
| 97 | }, |
| 98 | "Id": { |
| 99 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", |
| 100 | "readonly": true |
| 101 | }, |
| 102 | "Name": { |
| 103 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", |
| 104 | "readonly": true |
| 105 | }, |
| 106 | "Oem": { |
| 107 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
| 108 | "description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.", |
| 109 | "longDescription": "The value of this string shall be of the format for the reserved word *Oem*." |
| 110 | }, |
| 111 | "ResourceBlocks": { |
| 112 | "$ref": "http://redfish.dmtf.org/schemas/v1/ResourceBlockCollection.json#/definitions/ResourceBlockCollection", |
| 113 | "description": "The resource blocks available on the service.", |
| 114 | "longDescription": "This property shall contain the link to a collection of type ResourceBlockCollection.", |
| 115 | "readonly": true |
| 116 | }, |
| 117 | "ResourceZones": { |
| 118 | "$ref": "http://redfish.dmtf.org/schemas/v1/ZoneCollection.json#/definitions/ZoneCollection", |
| 119 | "description": "The resource zones available on the service.", |
| 120 | "longDescription": "This property shall contain the link to a collection of type ZoneCollection.", |
| 121 | "readonly": true |
| 122 | }, |
| 123 | "ServiceEnabled": { |
| 124 | "description": "This indicates whether this service is enabled.", |
| 125 | "longDescription": "The value of this property shall be a boolean indicating whether this service is enabled.", |
| 126 | "readonly": false, |
| 127 | "type": [ |
| 128 | "boolean", |
| 129 | "null" |
| 130 | ] |
| 131 | }, |
| 132 | "Status": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 133 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status", |
| 134 | "description": "This property describes the status and health of the resource and its children.", |
| 135 | "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] | 136 | } |
| 137 | }, |
| 138 | "required": [ |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 139 | "@odata.id", |
| 140 | "@odata.type", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 141 | "Id", |
| 142 | "Name" |
| 143 | ], |
| 144 | "type": "object" |
| 145 | }, |
| 146 | "OemActions": { |
| 147 | "additionalProperties": true, |
| 148 | "description": "The available OEM specific actions for this resource.", |
| 149 | "longDescription": "This type shall contain any additional OEM actions for this resource.", |
| 150 | "patternProperties": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 151 | "^([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] | 152 | "description": "This property shall specify a valid odata or Redfish property.", |
| 153 | "type": [ |
| 154 | "array", |
| 155 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 156 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 157 | "number", |
| 158 | "null", |
| 159 | "object", |
| 160 | "string" |
| 161 | ] |
| 162 | } |
| 163 | }, |
| 164 | "properties": {}, |
| 165 | "type": "object" |
| 166 | } |
| 167 | }, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 168 | "owningEntity": "DMTF", |
| 169 | "title": "#CompositionService.v1_1_0.CompositionService" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 170 | } |