Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 1 | { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 2 | "$id": "http://redfish.dmtf.org/schemas/v1/CompositionService.v1_1_2.json", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 3 | "$ref": "#/definitions/CompositionService", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 4 | "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 5 | "copyright": "Copyright 2014-2019 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] | 6 | "definitions": { |
| 7 | "Actions": { |
| 8 | "additionalProperties": false, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 9 | "description": "The available actions for this Resource.", |
| 10 | "longDescription": "This type shall contain the available actions for this Resource.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 11 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 12 | "^([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] | 13 | "description": "This property shall specify a valid odata or Redfish property.", |
| 14 | "type": [ |
| 15 | "array", |
| 16 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 17 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 18 | "number", |
| 19 | "null", |
| 20 | "object", |
| 21 | "string" |
| 22 | ] |
| 23 | } |
| 24 | }, |
| 25 | "properties": { |
| 26 | "Oem": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 27 | "$ref": "#/definitions/OemActions", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 28 | "description": "The available OEM-specific actions for this Resource.", |
| 29 | "longDescription": "This property shall contain the available OEM-specific actions for this Resource." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 30 | } |
| 31 | }, |
| 32 | "type": "object" |
| 33 | }, |
| 34 | "CompositionService": { |
| 35 | "additionalProperties": false, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 36 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 38 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 39 | "^([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] | 40 | "description": "This property shall specify a valid odata or Redfish property.", |
| 41 | "type": [ |
| 42 | "array", |
| 43 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 44 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 45 | "number", |
| 46 | "null", |
| 47 | "object", |
| 48 | "string" |
| 49 | ] |
| 50 | } |
| 51 | }, |
| 52 | "properties": { |
| 53 | "@odata.context": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 54 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 55 | }, |
| 56 | "@odata.etag": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 57 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 58 | }, |
| 59 | "@odata.id": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 60 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 61 | }, |
| 62 | "@odata.type": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 63 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 64 | }, |
| 65 | "Actions": { |
| 66 | "$ref": "#/definitions/Actions", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 67 | "description": "The available actions for this Resource.", |
| 68 | "longDescription": "This property shall contain the available actions for this Resource." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 69 | }, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 70 | "AllowOverprovisioning": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 71 | "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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 73 | "readonly": false, |
| 74 | "type": [ |
| 75 | "boolean", |
| 76 | "null" |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 77 | ], |
| 78 | "versionAdded": "v1_1_0" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 79 | }, |
| 80 | "AllowZoneAffinity": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 81 | "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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 83 | "readonly": true, |
| 84 | "type": [ |
| 85 | "boolean", |
| 86 | "null" |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 87 | ], |
| 88 | "versionAdded": "v1_1_0" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 89 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 90 | "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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 111 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 113 | }, |
| 114 | "ResourceBlocks": { |
| 115 | "$ref": "http://redfish.dmtf.org/schemas/v1/ResourceBlockCollection.json#/definitions/ResourceBlockCollection", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 116 | "description": "The Resource Blocks available on the service.", |
| 117 | "longDescription": "This property shall contain the link to a Resource Collection of type ResourceBlockCollection.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 118 | "readonly": true |
| 119 | }, |
| 120 | "ResourceZones": { |
| 121 | "$ref": "http://redfish.dmtf.org/schemas/v1/ZoneCollection.json#/definitions/ZoneCollection", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 122 | "description": "The Resource Zones available on the service.", |
| 123 | "longDescription": "This property shall contain the link to a Resource Collection of type ZoneCollection.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 124 | "readonly": true |
| 125 | }, |
| 126 | "ServiceEnabled": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 127 | "description": "An indication of whether this service is enabled.", |
| 128 | "longDescription": "This property shall indicate whether this service is enabled.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 129 | "readonly": false, |
| 130 | "type": [ |
| 131 | "boolean", |
| 132 | "null" |
| 133 | ] |
| 134 | }, |
| 135 | "Status": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 136 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 137 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 139 | } |
| 140 | }, |
| 141 | "required": [ |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 142 | "@odata.id", |
| 143 | "@odata.type", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 144 | "Id", |
| 145 | "Name" |
| 146 | ], |
| 147 | "type": "object" |
| 148 | }, |
| 149 | "OemActions": { |
| 150 | "additionalProperties": true, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 151 | "description": "The available OEM-specific actions for this Resource.", |
| 152 | "longDescription": "This type shall contain the available OEM-specific actions for this Resource.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 153 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 154 | "^([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] | 155 | "description": "This property shall specify a valid odata or Redfish property.", |
| 156 | "type": [ |
| 157 | "array", |
| 158 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 159 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 160 | "number", |
| 161 | "null", |
| 162 | "object", |
| 163 | "string" |
| 164 | ] |
| 165 | } |
| 166 | }, |
| 167 | "properties": {}, |
| 168 | "type": "object" |
| 169 | } |
| 170 | }, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 171 | "owningEntity": "DMTF", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 172 | "release": "2018.2", |
| 173 | "title": "#CompositionService.v1_1_2.CompositionService" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 174 | } |