blob: 102441c242b02e8e643dea4b025f2471ea720497 [file] [log] [blame]
Ed Tanous118b1c72018-09-13 13:45:51 -07001{
Ed Tanouscb103132019-10-08 11:34:22 -07002 "$id": "http://redfish.dmtf.org/schemas/v1/odata-v4_0_4.json",
3 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
Ed Tanous118b1c72018-09-13 13:45:51 -07004 "definitions": {
5 "context": {
6 "type": "string",
Ed Tanouscb103132019-10-08 11:34:22 -07007 "format": "uri-reference",
Ed Tanous118b1c72018-09-13 13:45:51 -07008 "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",
Ed Tanouscb103132019-10-08 11:34:22 -070014 "format": "uri-reference",
Ed Tanous118b1c72018-09-13 13:45:51 -070015 "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.",
Ed Tanous530520e2019-01-02 13:41:37 -080034 "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."
Ed Tanous118b1c72018-09-13 13:45:51 -070035 },
36 "count": {
Ed Tanous530520e2019-01-02 13:41:37 -080037 "type": "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070038 "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."
Ed Tanous530520e2019-01-02 13:41:37 -080047 },
48 "nextLink": {
49 "type": "string",
Ed Tanouscb103132019-10-08 11:34:22 -070050 "format": "uri-reference",
Ed Tanous530520e2019-01-02 13:41:37 -080051 "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."
Ed Tanous118b1c72018-09-13 13:45:51 -070054 }
55 }
56}