1720c9898SEd Tanous{ 29b46bc0bSMyung Bae "$id": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_10_1", 3720c9898SEd Tanous "type": "object", 4720c9898SEd Tanous "$schema": "http://json-schema.org/draft-07/schema#", 5720c9898SEd Tanous "title": "Redfish Schema Extension", 6720c9898SEd Tanous "description": "The properties defined in this schema shall adhere to the requirements of the Redfish Specification and the semantics of the descriptions in this file.", 7720c9898SEd Tanous "definitions": { 8720c9898SEd Tanous "readonly": { 9720c9898SEd Tanous "type": "boolean", 10720c9898SEd Tanous "description": "This property shall designate a property to be readonly when set to true." 11720c9898SEd Tanous }, 12720c9898SEd Tanous "requiredOnCreate": { 13720c9898SEd Tanous "type": "array", 14720c9898SEd Tanous "items": { 159b46bc0bSMyung Bae "type": "string" 16720c9898SEd Tanous }, 179b46bc0bSMyung Bae "description": "These properties are required to be specified in the body of a POST request to create the resource." 18720c9898SEd Tanous }, 19720c9898SEd Tanous "requiredParameter": { 20720c9898SEd Tanous "type": "boolean", 21720c9898SEd Tanous "description": "This property specifies that an action parameter is required to be provided by the client as part of the action request when set to true. Parameters not containing this property with the value of true can be left out of the client's action request." 22720c9898SEd Tanous }, 23720c9898SEd Tanous "longDescription": { 24720c9898SEd Tanous "type": "string", 25720c9898SEd Tanous "description": "This attribute shall contain normative language relating to the Redfish Specification and documentation." 26720c9898SEd Tanous }, 27720c9898SEd Tanous "copyright": { 28720c9898SEd Tanous "type": "string", 29720c9898SEd Tanous "description": "This attribute shall contain the copyright notice for the schema." 30720c9898SEd Tanous }, 31720c9898SEd Tanous "deprecated": { 32720c9898SEd Tanous "type": "string", 33720c9898SEd Tanous "description": "The term shall be applied to a property in order to specify that the property is deprecated. The value of the string should explain the deprecation, including new property or properties to be used. The property can be supported in new and existing implementations, but usage in new implementations is discouraged. Deprecated properties are likely to be removed in a future major version of the schema." 34720c9898SEd Tanous }, 35720c9898SEd Tanous "versionDeprecated": { 36720c9898SEd Tanous "type": "string", 37720c9898SEd Tanous "description": "The term shall be applied to a property in order to specify when the property was deprecated. The value of the string should contain the resource version where the property was deprecated." 38720c9898SEd Tanous }, 39720c9898SEd Tanous "versionAdded": { 40720c9898SEd Tanous "type": "string", 41720c9898SEd Tanous "description": "The term shall be applied to a property in order to specify when the property was added. The value of the string should contain the resource version where the property was added." 42720c9898SEd Tanous }, 43720c9898SEd Tanous "enumDescriptions": { 44720c9898SEd Tanous "type": "object", 45720c9898SEd Tanous "description": "This attribute shall contain informative language related to the enumeration values of the property." 46720c9898SEd Tanous }, 47720c9898SEd Tanous "enumLongDescriptions": { 48720c9898SEd Tanous "type": "object", 49720c9898SEd Tanous "description": "This attribute shall contain normative language relating to the enumeration values of the property." 50720c9898SEd Tanous }, 51720c9898SEd Tanous "enumDeprecated": { 52720c9898SEd Tanous "type": "object", 53720c9898SEd Tanous "description": "The term shall be applied to a value in order to specify that the value is deprecated. The value of the string should explain the deprecation, including new value to be used. The value can be supported in new and existing implementations, but usage in new implementations is discouraged. Deprecated values are likely to be removed in a future major version of the schema." 54720c9898SEd Tanous }, 55720c9898SEd Tanous "enumVersionDeprecated": { 56720c9898SEd Tanous "type": "object", 57720c9898SEd Tanous "description": "The term shall be applied to a value in order to specify when the value was deprecated. The value of the string should contain the resource version where the value was deprecated." 58720c9898SEd Tanous }, 59720c9898SEd Tanous "enumVersionAdded": { 60720c9898SEd Tanous "type": "object", 61720c9898SEd Tanous "description": "The term shall be applied to a value in order to specify when the value was added. The value of the string should contain the resource version where the value was added." 62720c9898SEd Tanous }, 63720c9898SEd Tanous "units": { 64720c9898SEd Tanous "type": "string", 65720c9898SEd Tanous "description": "This attribute shall contain the units of measure used by the value of the property." 66720c9898SEd Tanous }, 67720c9898SEd Tanous "owningEntity": { 68720c9898SEd Tanous "type": "string", 69720c9898SEd Tanous "description": "Indicates the name of the entity responsible for development, publication and maintenance of a given schema. Possible values include DMTF, SNIA or an OEM label such as is used in a Redfish OEM extension section." 70720c9898SEd Tanous }, 71720c9898SEd Tanous "excerpt": { 72720c9898SEd Tanous "type": "string", 73720c9898SEd Tanous "description": "The term specifies that the property is a Excerpt data element that shall appear in objects marked as a Excerpt Copy when the value of the term matches the type specified by the ExcerptCopy term. If the value of the term is unspecified, the property shall appear in all ExcerptCopy instances." 74720c9898SEd Tanous }, 75720c9898SEd Tanous "excerptCopy": { 76720c9898SEd Tanous "type": "string", 77720c9898SEd Tanous "description": "The term specifies that the object or property definition is a copy of data from a source elsewhere in the data model, and that only properties marked as Excerpt in that referenced definition shall be included. The value of the term shall contain the name and value of a key property used to construct the Excerpt subset of properties from the referenced definition. If the value of the term is not defined, then all Excerpt properties shall be copied from the referenced definition." 78720c9898SEd Tanous }, 79720c9898SEd Tanous "excerptCopyOnly": { 80720c9898SEd Tanous "type": "boolean", 81720c9898SEd Tanous "description": "The term specifies that the property is a data element that shall appear only when the resource definition is used as a copy (using the ExcerptCopy term), and shall not appear in the original data resource." 82720c9898SEd Tanous }, 83720c9898SEd Tanous "insertable": { 84720c9898SEd Tanous "type": "boolean", 85720c9898SEd Tanous "description": "The term specifies if new members can be added to the resource using the POST method." 86720c9898SEd Tanous }, 87720c9898SEd Tanous "updatable": { 88720c9898SEd Tanous "type": "boolean", 89720c9898SEd Tanous "description": "The term specifies whether or not the resource is able to be updated using the PATCH or PUT methods." 90720c9898SEd Tanous }, 91720c9898SEd Tanous "deletable": { 92720c9898SEd Tanous "type": "boolean", 93720c9898SEd Tanous "description": "The term specifies whether or not the resource is able to be removed using the DELETE methods." 94720c9898SEd Tanous }, 95720c9898SEd Tanous "uris": { 96720c9898SEd Tanous "type": "array", 97720c9898SEd Tanous "items": { 98720c9898SEd Tanous "type": "string" 99720c9898SEd Tanous }, 100720c9898SEd Tanous "description": "The term specifies the URIs a service is allowed to use for the given resource." 101720c9898SEd Tanous }, 102720c9898SEd Tanous "urisDeprecated": { 103720c9898SEd Tanous "type": "array", 104720c9898SEd Tanous "items": { 105720c9898SEd Tanous "type": "string" 106720c9898SEd Tanous }, 107720c9898SEd Tanous "description": "The term specifies the deprecated URIs a service is allowed to use for the given resource. Each URI listed shall be specified in the uris term." 108720c9898SEd Tanous }, 109720c9898SEd Tanous "autoExpand": { 110720c9898SEd Tanous "type": "boolean", 111720c9898SEd Tanous "description": "The term specifies if the resource referenced by the hyperlink shall be expanded in the response body as specified in the 'Expanded resources' clause of the Redfish Specification." 112720c9898SEd Tanous }, 113720c9898SEd Tanous "release": { 114720c9898SEd Tanous "type": "string", 115720c9898SEd Tanous "description": "The term specifies the version of the release bundle that this schema or versioned namespace was first released." 116720c9898SEd Tanous }, 117720c9898SEd Tanous "filter": { 118720c9898SEd Tanous "type": "string", 119720c9898SEd Tanous "description": "Indicates a filter to apply to an array of objects when the values are copies of data elsewhere in the data model." 120720c9898SEd Tanous }, 121720c9898SEd Tanous "language": { 122720c9898SEd Tanous "type": "string", 123720c9898SEd Tanous "description": "The term specifies the ISO 639-1 language code (Alpha-2) that matches the language used for the descriptive text in this schema file. If this term is not present, the default value shall be English (en)." 124720c9898SEd Tanous }, 125720c9898SEd Tanous "translation": { 126720c9898SEd Tanous "type": "string", 127720c9898SEd Tanous "description": "The term specifies a translated language (localized) version of the property name, parameter, or enumeration string. The language used shall match the 'language' value for this schema." 128720c9898SEd Tanous }, 129720c9898SEd Tanous "enumTranslations": { 130720c9898SEd Tanous "type": "object", 131720c9898SEd Tanous "description": "The term specifies a translated language (localized) version of enumeration values. The object shall contain properties with names that match the enumerations and values that contain the translation of the enumeration value. The language used shall match the 'language' value for this schema." 132720c9898SEd Tanous }, 133720c9898SEd Tanous "actionResponse": { 134720c9898SEd Tanous "type": "object", 135720c9898SEd Tanous "description": "Contains the definition of the response body for a given action if it does not follow the Redfish Error format." 136720c9898SEd Tanous }, 137720c9898SEd Tanous "license": { 138720c9898SEd Tanous "type": "string", 139720c9898SEd Tanous "description": "The term is applied to Redfish schema or registry in order to specify licensing information." 140720c9898SEd Tanous }, 141720c9898SEd Tanous "releaseStatus": { 142720c9898SEd Tanous "enum": [ 143720c9898SEd Tanous "Standard", 144720c9898SEd Tanous "Informational", 145720c9898SEd Tanous "WorkInProgress", 146720c9898SEd Tanous "InDevelopment" 147720c9898SEd Tanous ], 148720c9898SEd Tanous "type": "string", 149720c9898SEd Tanous "description": "The term specifies the public release status of a property or schema." 150720c9898SEd Tanous }, 151720c9898SEd Tanous "uriSegment": { 152720c9898SEd Tanous "type": "string", 153720c9898SEd Tanous "description": "The term specifies the segment appended to the URI of the resource when constructing the URI of a subordinate resource if the segment differs from the reference property name. Applies to reference properties." 154720c9898SEd Tanous } 155720c9898SEd Tanous }, 156720c9898SEd Tanous "properties": { 157720c9898SEd Tanous "readonly": { 158720c9898SEd Tanous "$ref": "#/definitions/readonly" 159720c9898SEd Tanous }, 160720c9898SEd Tanous "requiredOnCreate": { 161720c9898SEd Tanous "$ref": "#/definitions/requiredOnCreate" 162720c9898SEd Tanous }, 163720c9898SEd Tanous "requiredParameter": { 164720c9898SEd Tanous "$ref": "#/definitions/requiredParameter" 165720c9898SEd Tanous }, 166720c9898SEd Tanous "longDescription": { 167720c9898SEd Tanous "$ref": "#/definitions/longDescription" 168720c9898SEd Tanous }, 169720c9898SEd Tanous "copyright": { 170720c9898SEd Tanous "$ref": "#/definitions/copyright" 171720c9898SEd Tanous }, 172720c9898SEd Tanous "deprecated": { 173720c9898SEd Tanous "$ref": "#/definitions/deprecated" 174720c9898SEd Tanous }, 175720c9898SEd Tanous "versionDeprecated": { 176720c9898SEd Tanous "$ref": "#/definitions/versionDeprecated" 177720c9898SEd Tanous }, 178720c9898SEd Tanous "versionAdded": { 179720c9898SEd Tanous "$ref": "#/definitions/versionAdded" 180720c9898SEd Tanous }, 181720c9898SEd Tanous "enumDescriptions": { 182720c9898SEd Tanous "$ref": "#/definitions/enumDescriptions" 183720c9898SEd Tanous }, 184720c9898SEd Tanous "enumLongDescriptions": { 185720c9898SEd Tanous "$ref": "#/definitions/enumLongDescriptions" 186720c9898SEd Tanous }, 187720c9898SEd Tanous "enumDeprecated": { 188720c9898SEd Tanous "$ref": "#/definitions/enumDeprecated" 189720c9898SEd Tanous }, 190720c9898SEd Tanous "enumVersionDeprecated": { 191720c9898SEd Tanous "$ref": "#/definitions/enumVersionDeprecated" 192720c9898SEd Tanous }, 193720c9898SEd Tanous "enumVersionAdded": { 194720c9898SEd Tanous "$ref": "#/definitions/enumVersionAdded" 195720c9898SEd Tanous }, 196720c9898SEd Tanous "units": { 197720c9898SEd Tanous "$ref": "#/definitions/units" 198720c9898SEd Tanous }, 199720c9898SEd Tanous "parameters": { 200720c9898SEd Tanous "type": "object", 201720c9898SEd Tanous "description": "This term shall contain parameter definitions for a given action.", 202720c9898SEd Tanous "additionalProperties": { "$ref": "#" } 203720c9898SEd Tanous }, 204720c9898SEd Tanous "owningEntity": { 205720c9898SEd Tanous "$ref": "#/definitions/owningEntity" 206720c9898SEd Tanous }, 207720c9898SEd Tanous "excerpt": { 208720c9898SEd Tanous "$ref": "#/definitions/excerpt" 209720c9898SEd Tanous }, 210720c9898SEd Tanous "excerptCopy": { 211720c9898SEd Tanous "$ref": "#/definitions/excerptCopy" 212720c9898SEd Tanous }, 213720c9898SEd Tanous "excerptCopyOnly": { 214720c9898SEd Tanous "$ref": "#/definitions/excerptCopyOnly" 215720c9898SEd Tanous }, 216720c9898SEd Tanous "insertable": { 217720c9898SEd Tanous "$ref": "#/definitions/insertable" 218720c9898SEd Tanous }, 219720c9898SEd Tanous "updatable": { 220720c9898SEd Tanous "$ref": "#/definitions/updatable" 221720c9898SEd Tanous }, 222720c9898SEd Tanous "deletable": { 223720c9898SEd Tanous "$ref": "#/definitions/deletable" 224720c9898SEd Tanous }, 225720c9898SEd Tanous "uris": { 226720c9898SEd Tanous "$ref": "#/definitions/uris" 227720c9898SEd Tanous }, 228720c9898SEd Tanous "autoExpand": { 229720c9898SEd Tanous "$ref": "#/definitions/autoExpand" 230720c9898SEd Tanous }, 231720c9898SEd Tanous "release": { 232720c9898SEd Tanous "$ref": "#/definitions/release" 233720c9898SEd Tanous }, 234720c9898SEd Tanous "filter": { 235720c9898SEd Tanous "$ref": "#/definitions/filter" 236720c9898SEd Tanous }, 237720c9898SEd Tanous "language": { 238720c9898SEd Tanous "$ref": "#/definitions/language" 239720c9898SEd Tanous }, 240720c9898SEd Tanous "translation": { 241720c9898SEd Tanous "$ref": "#/definitions/translation" 242720c9898SEd Tanous }, 243720c9898SEd Tanous "enumTranslations": { 244720c9898SEd Tanous "$ref": "#/definitions/enumTranslations" 245720c9898SEd Tanous }, 246720c9898SEd Tanous "actionResponse": { 247720c9898SEd Tanous "$ref": "#/definitions/actionResponse" 248720c9898SEd Tanous }, 249720c9898SEd Tanous "license": { 250720c9898SEd Tanous "$ref": "#/definitions/license" 251720c9898SEd Tanous }, 252720c9898SEd Tanous "releaseStatus": { 253720c9898SEd Tanous "$ref": "#/definitions/releaseStatus" 254720c9898SEd Tanous }, 255720c9898SEd Tanous "uriSegment": { 256720c9898SEd Tanous "$ref": "#/definitions/uriSegment" 257720c9898SEd Tanous } 258720c9898SEd Tanous } 259720c9898SEd Tanous} 260