Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame^] | 1 | { |
| 2 | "$ref": "#/definitions/CompositionService", |
| 3 | "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_3_0.json", |
| 4 | "copyright": "Copyright 2014-2017 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", |
| 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": { |
| 11 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
| 12 | "description": "This property shall specify a valid odata or Redfish property.", |
| 13 | "type": [ |
| 14 | "array", |
| 15 | "boolean", |
| 16 | "number", |
| 17 | "null", |
| 18 | "object", |
| 19 | "string" |
| 20 | ] |
| 21 | } |
| 22 | }, |
| 23 | "properties": { |
| 24 | "Oem": { |
| 25 | "$ref": "#/definitions/OemActions" |
| 26 | } |
| 27 | }, |
| 28 | "type": "object" |
| 29 | }, |
| 30 | "CompositionService": { |
| 31 | "additionalProperties": false, |
| 32 | "description": "The CompositionService schema defines a Composition Service which represents the properties for the service and links to the resources available for composition.", |
| 33 | "longDescription": "This resource shall be used to represent the Composition Service Properties for a Redfish implementation.", |
| 34 | "patternProperties": { |
| 35 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
| 36 | "description": "This property shall specify a valid odata or Redfish property.", |
| 37 | "type": [ |
| 38 | "array", |
| 39 | "boolean", |
| 40 | "number", |
| 41 | "null", |
| 42 | "object", |
| 43 | "string" |
| 44 | ] |
| 45 | } |
| 46 | }, |
| 47 | "properties": { |
| 48 | "@odata.context": { |
| 49 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/context" |
| 50 | }, |
| 51 | "@odata.id": { |
| 52 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/id" |
| 53 | }, |
| 54 | "@odata.type": { |
| 55 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/type" |
| 56 | }, |
| 57 | "Actions": { |
| 58 | "$ref": "#/definitions/Actions", |
| 59 | "description": "The available actions for this resource.", |
| 60 | "longDescription": "The Actions property shall contain the available actions for this resource." |
| 61 | }, |
| 62 | "Description": { |
| 63 | "anyOf": [ |
| 64 | { |
| 65 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" |
| 66 | }, |
| 67 | { |
| 68 | "type": "null" |
| 69 | } |
| 70 | ], |
| 71 | "readonly": true |
| 72 | }, |
| 73 | "Id": { |
| 74 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", |
| 75 | "readonly": true |
| 76 | }, |
| 77 | "Name": { |
| 78 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", |
| 79 | "readonly": true |
| 80 | }, |
| 81 | "Oem": { |
| 82 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
| 83 | "description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.", |
| 84 | "longDescription": "The value of this string shall be of the format for the reserved word *Oem*." |
| 85 | }, |
| 86 | "ResourceBlocks": { |
| 87 | "$ref": "http://redfish.dmtf.org/schemas/v1/ResourceBlockCollection.json#/definitions/ResourceBlockCollection", |
| 88 | "description": "The resource blocks available on the service.", |
| 89 | "longDescription": "This property shall contain the link to a collection of type ResourceBlockCollection.", |
| 90 | "readonly": true |
| 91 | }, |
| 92 | "ResourceZones": { |
| 93 | "$ref": "http://redfish.dmtf.org/schemas/v1/ZoneCollection.json#/definitions/ZoneCollection", |
| 94 | "description": "The resource zones available on the service.", |
| 95 | "longDescription": "This property shall contain the link to a collection of type ZoneCollection.", |
| 96 | "readonly": true |
| 97 | }, |
| 98 | "ServiceEnabled": { |
| 99 | "description": "This indicates whether this service is enabled.", |
| 100 | "longDescription": "The value of this property shall be a boolean indicating whether this service is enabled.", |
| 101 | "readonly": false, |
| 102 | "type": [ |
| 103 | "boolean", |
| 104 | "null" |
| 105 | ] |
| 106 | }, |
| 107 | "Status": { |
| 108 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status" |
| 109 | } |
| 110 | }, |
| 111 | "required": [ |
| 112 | "Id", |
| 113 | "Name" |
| 114 | ], |
| 115 | "type": "object" |
| 116 | }, |
| 117 | "OemActions": { |
| 118 | "additionalProperties": true, |
| 119 | "description": "The available OEM specific actions for this resource.", |
| 120 | "longDescription": "This type shall contain any additional OEM actions for this resource.", |
| 121 | "patternProperties": { |
| 122 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
| 123 | "description": "This property shall specify a valid odata or Redfish property.", |
| 124 | "type": [ |
| 125 | "array", |
| 126 | "boolean", |
| 127 | "number", |
| 128 | "null", |
| 129 | "object", |
| 130 | "string" |
| 131 | ] |
| 132 | } |
| 133 | }, |
| 134 | "properties": {}, |
| 135 | "type": "object" |
| 136 | } |
| 137 | }, |
| 138 | "title": "#CompositionService.v1_0_1.CompositionService" |
| 139 | } |