summaryrefslogtreecommitdiff
path: root/static/redfish/v1/JsonSchemas/odata/odata.json
blob: a1701345cf93d25c98b7c49769d0d5e6531aed9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_4_0.json",
    "definitions": {
        "context": {
            "type": "string",
            "format": "uri",
            "readonly": true,
            "description": "The OData description of a payload.",
            "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."
        },
        "id": {
            "type": "string",
            "format": "uri",
            "readonly": true,
            "description": "The unique identifier for a resource.",
            "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."
        },
        "idRef": {
            "type": "object",
            "properties": {
                "@odata.id": {
                    "$ref": "#/definitions/id"
                }
            },
            "additionalProperties": false,
            "description": "A reference to a resource.",
            "longDescription": "The value of this property shall be used for references to a resource."
        },
        "type": {
            "type": "string",
            "readonly": true,
            "description": "The type of a resource.",
            "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."
        },
        "count": {
            "type": "integer",
            "readonly": true,
            "description": "The number of items in a collection.",
            "longDescription": "The value of this property shall be an integer representing the number of items in a collection."
        },
        "etag": {
            "type": "string",
            "readonly": true,
            "description": "The current ETag of the resource.",
            "longDescription": "The value of this property shall be a string that is defined by the ETag HTTP header definition in RFC7232."
        },
        "nextLink": {
            "type": "string",
            "format": "uri",
            "readonly": true,
            "description": "The URI to the resource containing the next set of partial members.",
            "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."
        }
    }
}