1{
2    "$id": "http://redfish.dmtf.org/schemas/v1/JsonSchemaFile.v1_1_5.json",
3    "$ref": "#/definitions/JsonSchemaFile",
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        "JsonSchemaFile": {
36            "additionalProperties": false,
37            "description": "The `JsonSchemaFile` schema contains the properties that describe the locations, as URIs, of a Redfish schema definition that a Redfish service implements or references.",
38            "longDescription": "This resource shall represent the schema file locator resource for a Redfish implementation.",
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                "@odata.context": {
55                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
56                },
57                "@odata.etag": {
58                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
59                },
60                "@odata.id": {
61                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
62                },
63                "@odata.type": {
64                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
65                },
66                "Actions": {
67                    "$ref": "#/definitions/Actions",
68                    "description": "The available actions for this resource.",
69                    "longDescription": "This property shall contain the available actions for this resource.",
70                    "versionAdded": "v1_1_0"
71                },
72                "Description": {
73                    "anyOf": [
74                        {
75                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
76                        },
77                        {
78                            "type": "null"
79                        }
80                    ],
81                    "readonly": true
82                },
83                "Id": {
84                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
85                    "readonly": true
86                },
87                "Languages": {
88                    "description": "The RFC5646-conformant language codes for the available schemas.",
89                    "items": {
90                        "type": "string"
91                    },
92                    "longDescription": "This property contains a set of RFC5646-conformant language codes.",
93                    "readonly": true,
94                    "type": "array"
95                },
96                "Location": {
97                    "description": "Location information for this schema file.",
98                    "items": {
99                        "$ref": "#/definitions/Location"
100                    },
101                    "longDescription": "This property shall contain the location information for this schema file.",
102                    "type": "array"
103                },
104                "Name": {
105                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
106                    "readonly": true
107                },
108                "Oem": {
109                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
110                    "description": "The OEM extension property.",
111                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
112                },
113                "Schema": {
114                    "description": "The `@odata.type` name this schema describes.",
115                    "longDescription": "This property shall contain the `@odata.type` property value for that schema and shall conform to the Redfish Specification-specified syntax for the 'Type' property.",
116                    "readonly": true,
117                    "type": "string"
118                }
119            },
120            "required": [
121                "Languages",
122                "Schema",
123                "Location",
124                "@odata.id",
125                "@odata.type",
126                "Id",
127                "Name"
128            ],
129            "type": "object"
130        },
131        "Location": {
132            "additionalProperties": false,
133            "description": "Location information for a schema file.",
134            "longDescription": "This type shall describe location information for a schema file.",
135            "patternProperties": {
136                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
137                    "description": "This property shall specify a valid odata or Redfish property.",
138                    "type": [
139                        "array",
140                        "boolean",
141                        "integer",
142                        "number",
143                        "null",
144                        "object",
145                        "string"
146                    ]
147                }
148            },
149            "properties": {
150                "ArchiveFile": {
151                    "description": "The name of the file in the archive, if the schema is hosted on the service in an archive file.",
152                    "longDescription": "This property shall contain the file name of the individual schema file within the archive file that the `ArchiveUri` property specifies.  The file name shall conform to the Redfish Specification-described format.",
153                    "readonly": true,
154                    "type": "string"
155                },
156                "ArchiveUri": {
157                    "description": "The link to an archive file, if the schema is hosted on the service in an archive file.",
158                    "format": "uri-reference",
159                    "longDescription": "This property shall contain a URI colocated with the Redfish service that specifies the location of the schema file, which can be retrieved using the Redfish protocol and authentication methods.  This property shall be used for only archive files, in zip or other formats.  The `ArchiveFile` value shall be the individual schema file name within the archive file.",
160                    "readonly": true,
161                    "type": "string"
162                },
163                "Language": {
164                    "description": "The language code for the schema file.",
165                    "longDescription": "This property shall contain an RFC5646-conformant language code or the `default` string.",
166                    "readonly": true,
167                    "type": "string"
168                },
169                "PublicationUri": {
170                    "description": "The link to publicly available (canonical) URI for schema.",
171                    "format": "uri-reference",
172                    "longDescription": "This property shall contain a URI not colocated with the Redfish service that specifies the canonical location of the schema file.  This property shall be used for only individual schema files.",
173                    "readonly": true,
174                    "type": "string"
175                },
176                "Uri": {
177                    "description": "The link to locally available URI for schema.",
178                    "format": "uri-reference",
179                    "longDescription": "This property shall contain a URI colocated with the Redfish service that specifies the location of the schema file, which can be retrieved using the Redfish protocol and authentication methods.  This property shall be used for only individual schema files.  The file name portion of the URI shall conform to the format specified in the Redfish Specification.",
180                    "readonly": true,
181                    "type": "string"
182                }
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": "#JsonSchemaFile.v1_1_5.JsonSchemaFile"
212}