Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 1 | { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 2 | "$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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 4 | "definitions": { |
| 5 | "context": { |
| 6 | "type": "string", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 7 | "format": "uri-reference", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 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", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 14 | "format": "uri-reference", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 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.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 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." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 35 | }, |
| 36 | "count": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 37 | "type": "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 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." |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 47 | }, |
| 48 | "nextLink": { |
| 49 | "type": "string", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 50 | "format": "uri-reference", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 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." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 54 | } |
| 55 | } |
| 56 | } |