JsonSchemaFile
Schema Definition
This is the schema definition for the Schema File locator resource.Properties
Property | Type | Nullable | Required | Permission | Description |
---|---|---|---|---|---|
@odata.context | String | read-only | The OData description of a payload. Format: uri | ||
@odata.id | String | read-only | The unique identifier for a resource. Format: uri | ||
@odata.type | String | read-only | The type of a resource. | ||
Actions { | Object | read-write | The available actions for this resource. | ||
Oem { } | Object | read-write | The available OEM specific actions for this resource. | ||
} | |||||
Description | String | Yes | read-only | Provides a description of this resource and is used for commonality in the schema definitions. | |
Id | String | GET | read-only | Uniquely identifies the resource within the collection of like resources. | |
Languages [ ] | Array[String] | GET | read-only | Language codes for the schemas available. | |
Languages@odata.count | Int32 | read-only | The number of items in a collection. | ||
Location [ { | Array[Object] | GET | read-write | Location information for this schema file. | |
Language | String | read-only | The language code for the file the schema is in. | ||
Uri | String | read-only | Link to locally available URI for schema. Format: uri | ||
} ] | |||||
Location@odata.count | Int32 | read-only | The number of items in a collection. | ||
Name | String | GET | read-only | The name of the resource or array element. | |
Oem { } | Object | read-write | This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections. | ||
Schema | String | GET | read-only | The @odata.type name this schema describes. |
Operations
GET
Request
GET /redfish/v1/JsonSchemas/JsonSchemaFile1
Content-Type: application/json
Content-Type: application/json
Response
{
"@odata.context": "uri",
"@odata.id": "/redfish/v1/JsonSchemas/JsonSchemaFile1",
"@odata.type": "String",
"Actions": {
"Oem": { }
}
"Description": "String",
"Id": "String",
"Languages": [ "String" ],
"Languages@odata.count": 1,
"Location": [{
"Language": "String",
"Uri": "uri"
}]
"Location@odata.count": 1,
"Name": "String",
"Oem": { },
"Schema": "String"
}
"@odata.context": "uri",
"@odata.id": "/redfish/v1/JsonSchemas/JsonSchemaFile1",
"@odata.type": "String",
"Actions": {
"Oem": { }
}
"Description": "String",
"Id": "String",
"Languages": [ "String" ],
"Languages@odata.count": 1,
"Location": [{
"Language": "String",
"Uri": "uri"
}]
"Location@odata.count": 1,
"Name": "String",
"Oem": { },
"Schema": "String"
}
POST
This operation is not supported on this resource and will result in the following response:
HTTP/1.1 405 Method Not Allowed
PATCH
This operation is not supported on this resource and will result in the following response:
HTTP/1.1 405 Method Not Allowed
DELETE
This operation is not supported on this resource and will result in the following response:
HTTP/1.1 405 Method Not Allowed