blob: 9d8bf84dae67e8ca2dcc2ec3d12f19b1c15dae54 [file] [log] [blame]
Ed Tanous852432a2022-07-07 14:32:37 -07001{
2 "$id": "http://redfish.dmtf.org/schemas/v1/odata-v4.json",
3 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
4 "definitions": {
5 "context": {
6 "type": "string",
7 "format": "uri-reference",
8 "readonly": true,
9 "description": "The OData description of a payload.",
10 "longDescription": "The value of this property shall be the context URL that describes the resource according to OData-Protocol and shall be of the form defined in the Redfish specification."
11 },
12 "id": {
13 "type": "string",
14 "format": "uri-reference",
15 "readonly": true,
16 "description": "The unique identifier for a resource.",
17 "longDescription": "The value of this property shall be the unique identifier for the resource and it shall be of the form defined in the Redfish specification."
18 },
19 "idRef": {
20 "type": "object",
21 "properties": {
22 "@odata.id": {
23 "$ref": "#/definitions/id"
24 }
25 },
26 "additionalProperties": false,
27 "description": "A reference to a resource.",
28 "longDescription": "The value of this property shall be used for references to a resource."
29 },
30 "type": {
31 "type": "string",
32 "readonly": true,
33 "description": "The type of a resource.",
34 "longDescription": "The value of this property shall be a URI fragment that specifies the type of the resource and it shall be of the form defined in the Redfish specification."
35 },
36 "count": {
37 "type": "integer",
38 "readonly": true,
39 "description": "The number of items in a collection.",
40 "longDescription": "The value of this property shall be an integer representing the number of items in a collection."
41 },
42 "etag": {
43 "type": "string",
44 "readonly": true,
45 "description": "The current ETag of the resource.",
46 "longDescription": "The value of this property shall be a string that is defined by the ETag HTTP header definition in RFC7232."
47 },
48 "nextLink": {
49 "type": "string",
50 "format": "uri-reference",
51 "readonly": true,
52 "description": "The URI to the resource containing the next set of partial members.",
53 "longDescription": "The value of this property shall be a URI to a resource, with the same @odata.type, containing the next set of partial members."
54 }
55 }
56}