1{
2    "$id": "http://redfish.dmtf.org/schemas/v1/MessageRegistryFile.v1_1_5.json",
3    "$ref": "#/definitions/MessageRegistryFile",
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                    "versionAdded": "v1_1_0"
31                }
32            },
33            "type": "object"
34        },
35        "Location": {
36            "additionalProperties": false,
37            "description": "The location information for a registry file.",
38            "longDescription": "This type shall contain the location information for a registry file.",
39            "patternProperties": {
40                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
41                    "description": "This property shall specify a valid odata or Redfish property.",
42                    "type": [
43                        "array",
44                        "boolean",
45                        "integer",
46                        "number",
47                        "null",
48                        "object",
49                        "string"
50                    ]
51                }
52            },
53            "properties": {
54                "ArchiveFile": {
55                    "description": "If the service hosts the registry in an archive file, the name of the file within the archive.",
56                    "longDescription": "This property shall contain the file name of the individual registry file within the archive file specified by the `ArchiveUri` property.  The file name shall conform to the Redfish Specification-specified syntax.",
57                    "readonly": true,
58                    "type": "string"
59                },
60                "ArchiveUri": {
61                    "description": "If the registry is hosted on the service in an archive file, the link to the archive file.",
62                    "format": "uri-reference",
63                    "longDescription": "This property shall contain a URI that is colocated with the Redfish service that specifies the location of the registry file, which can be retrieved using the Redfish protocol and authentication methods.  This property shall be used for only ZIP or other archive files.  The `ArchiveFile` property shall contain the file name of the individual registry file within the archive file.",
64                    "readonly": true,
65                    "type": "string"
66                },
67                "Language": {
68                    "description": "The language code for the registry file.",
69                    "longDescription": "This property shall contain an RFC5646-conformant language code or `default`.",
70                    "readonly": true,
71                    "type": "string"
72                },
73                "PublicationUri": {
74                    "description": "The link to publicly available (canonical) URI for the registry.",
75                    "format": "uri-reference",
76                    "longDescription": "This property shall contain a URI not colocated with the Redfish service that specifies the canonical location of the registry file.  This property shall be used for only individual registry files.",
77                    "readonly": true,
78                    "type": "string"
79                },
80                "Uri": {
81                    "description": "The link to locally available URI for the registry.",
82                    "format": "uri-reference",
83                    "longDescription": "This property shall contain a URI colocated with the Redfish service that specifies the location of the registry file, which can be retrieved using the Redfish protocol and authentication methods.  This property shall be used for only individual registry files.  The file name portion of the URI shall conform to Redfish Specification-specified syntax.",
84                    "readonly": true,
85                    "type": "string"
86                }
87            },
88            "type": "object"
89        },
90        "MessageRegistryFile": {
91            "additionalProperties": false,
92            "description": "The `MessageRegistryFile` schema describes the registry file locator resource.  This referenced registry file can be any type of registry, such as a message registry, privilege registry, or attribute registry.",
93            "longDescription": "This resource shall represent the registry file locator for a Redfish implementation.",
94            "patternProperties": {
95                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
96                    "description": "This property shall specify a valid odata or Redfish property.",
97                    "type": [
98                        "array",
99                        "boolean",
100                        "integer",
101                        "number",
102                        "null",
103                        "object",
104                        "string"
105                    ]
106                }
107            },
108            "properties": {
109                "@odata.context": {
110                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
111                },
112                "@odata.etag": {
113                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
114                },
115                "@odata.id": {
116                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
117                },
118                "@odata.type": {
119                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
120                },
121                "Actions": {
122                    "$ref": "#/definitions/Actions",
123                    "description": "The available actions for this resource.",
124                    "longDescription": "This property shall contain the available actions for this resource.",
125                    "versionAdded": "v1_1_0"
126                },
127                "Description": {
128                    "anyOf": [
129                        {
130                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
131                        },
132                        {
133                            "type": "null"
134                        }
135                    ],
136                    "readonly": true
137                },
138                "Id": {
139                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
140                    "readonly": true
141                },
142                "Languages": {
143                    "description": "The RFC5646-conformant language codes for the available registries.",
144                    "items": {
145                        "type": "string"
146                    },
147                    "longDescription": "This property contains a set of RFC5646-conformant language codes.",
148                    "readonly": true,
149                    "type": "array"
150                },
151                "Location": {
152                    "description": "The location information for this registry file.",
153                    "items": {
154                        "$ref": "#/definitions/Location"
155                    },
156                    "longDescription": "This property shall contain the location information for this registry file.",
157                    "type": "array"
158                },
159                "Name": {
160                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
161                    "readonly": true
162                },
163                "Oem": {
164                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
165                    "description": "The OEM extension property.",
166                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
167                },
168                "Registry": {
169                    "description": "The registry name and its major and minor versions.  This registry can be any type of registry, such as a message registry, privilege registry, or attribute registry.",
170                    "longDescription": "This property shall contain the registry name and it major and minor versions, as defined by the Redfish Specification.  This registry can be any type of registry, such as message registry, privilege registry, or attribute registry.",
171                    "readonly": true,
172                    "type": "string"
173                }
174            },
175            "required": [
176                "Languages",
177                "Registry",
178                "Location",
179                "@odata.id",
180                "@odata.type",
181                "Id",
182                "Name"
183            ],
184            "type": "object"
185        },
186        "OemActions": {
187            "additionalProperties": true,
188            "description": "The available OEM-specific actions for this resource.",
189            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
190            "patternProperties": {
191                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
192                    "description": "This property shall specify a valid odata or Redfish property.",
193                    "type": [
194                        "array",
195                        "boolean",
196                        "integer",
197                        "number",
198                        "null",
199                        "object",
200                        "string"
201                    ]
202                }
203            },
204            "properties": {},
205            "type": "object"
206        }
207    },
208    "language": "en",
209    "owningEntity": "DMTF",
210    "release": "2017.1",
211    "title": "#MessageRegistryFile.v1_1_5.MessageRegistryFile"
212}