1{
2    "$id": "http://redfish.dmtf.org/schemas/v1/Signature.v1_0_3.json",
3    "$ref": "#/definitions/Signature",
4    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5    "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6    "definitions": {
7        "Actions": {
8            "additionalProperties": false,
9            "description": "The available actions for this resource.",
10            "longDescription": "This type shall contain the available actions for this resource.",
11            "patternProperties": {
12                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
13                    "description": "This property shall specify a valid odata or Redfish property.",
14                    "type": [
15                        "array",
16                        "boolean",
17                        "integer",
18                        "number",
19                        "null",
20                        "object",
21                        "string"
22                    ]
23                }
24            },
25            "properties": {
26                "Oem": {
27                    "$ref": "#/definitions/OemActions",
28                    "description": "The available OEM-specific actions for this resource.",
29                    "longDescription": "This property shall contain the available OEM-specific actions for this resource."
30                }
31            },
32            "type": "object"
33        },
34        "OemActions": {
35            "additionalProperties": true,
36            "description": "The available OEM-specific actions for this resource.",
37            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
38            "patternProperties": {
39                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
40                    "description": "This property shall specify a valid odata or Redfish property.",
41                    "type": [
42                        "array",
43                        "boolean",
44                        "integer",
45                        "number",
46                        "null",
47                        "object",
48                        "string"
49                    ]
50                }
51            },
52            "properties": {},
53            "type": "object"
54        },
55        "Signature": {
56            "additionalProperties": false,
57            "description": "The `Signature` schema describes a signature or a hash.",
58            "longDescription": "This resource contains a signature for a Redfish implementation.",
59            "patternProperties": {
60                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
61                    "description": "This property shall specify a valid odata or Redfish property.",
62                    "type": [
63                        "array",
64                        "boolean",
65                        "integer",
66                        "number",
67                        "null",
68                        "object",
69                        "string"
70                    ]
71                }
72            },
73            "properties": {
74                "@odata.context": {
75                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
76                },
77                "@odata.etag": {
78                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
79                },
80                "@odata.id": {
81                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
82                },
83                "@odata.type": {
84                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
85                },
86                "Actions": {
87                    "$ref": "#/definitions/Actions",
88                    "description": "The available actions for this resource.",
89                    "longDescription": "This property shall contain the available actions for this resource."
90                },
91                "Description": {
92                    "anyOf": [
93                        {
94                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
95                        },
96                        {
97                            "type": "null"
98                        }
99                    ],
100                    "readonly": true
101                },
102                "Id": {
103                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
104                    "readonly": true
105                },
106                "Name": {
107                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
108                    "readonly": true
109                },
110                "Oem": {
111                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
112                    "description": "The OEM extension property.",
113                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
114                },
115                "SignatureString": {
116                    "description": "The string for the signature.",
117                    "longDescription": "This property shall contain the string of the signature, and the format shall follow the requirements specified by the value of the `SignatureType` property.  If the signature contains any private keys, they shall be removed from the string in responses.  If the private key for the signature is not known by the service and is needed to use the signature, the client shall provide the private key as part of the string in the `POST` request.",
118                    "readonly": true,
119                    "type": [
120                        "string",
121                        "null"
122                    ]
123                },
124                "SignatureType": {
125                    "description": "The format of the signature.",
126                    "longDescription": "This property shall contain the format type for the signature.  The format is qualified by the value of the `SignatureTypeRegistry` property.",
127                    "readonly": true,
128                    "type": [
129                        "string",
130                        "null"
131                    ]
132                },
133                "SignatureTypeRegistry": {
134                    "anyOf": [
135                        {
136                            "$ref": "http://redfish.dmtf.org/schemas/v1/Signature.json#/definitions/SignatureTypeRegistry"
137                        },
138                        {
139                            "type": "null"
140                        }
141                    ],
142                    "description": "The type of the signature.",
143                    "longDescription": "This property shall contain the type for the signature.",
144                    "readonly": true
145                },
146                "UefiSignatureOwner": {
147                    "description": "The UEFI signature owner for this signature.",
148                    "longDescription": "The value of this property shall contain the GUID of the UEFI signature owner for this signature as defined by the UEFI Specification.  This property shall only be present if the `SignatureTypeRegistry` property is `UEFI`.",
149                    "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
150                    "readonly": true,
151                    "type": [
152                        "string",
153                        "null"
154                    ]
155                }
156            },
157            "required": [
158                "@odata.id",
159                "@odata.type",
160                "Id",
161                "Name"
162            ],
163            "requiredOnCreate": [
164                "SignatureTypeRegistry",
165                "SignatureType",
166                "SignatureString"
167            ],
168            "type": "object"
169        }
170    },
171    "language": "en",
172    "owningEntity": "DMTF",
173    "release": "2020.1",
174    "title": "#Signature.v1_0_3.Signature"
175}