1*f2a8e57eSGunnar Mills{
2*f2a8e57eSGunnar Mills    "$id": "http://redfish.dmtf.org/schemas/v1/LicenseService.v1_1_2.json",
3*f2a8e57eSGunnar Mills    "$ref": "#/definitions/LicenseService",
4*f2a8e57eSGunnar Mills    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5*f2a8e57eSGunnar Mills    "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6*f2a8e57eSGunnar Mills    "definitions": {
7*f2a8e57eSGunnar Mills        "Actions": {
8*f2a8e57eSGunnar Mills            "additionalProperties": false,
9*f2a8e57eSGunnar Mills            "description": "The available actions for this resource.",
10*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the available actions for this resource.",
11*f2a8e57eSGunnar Mills            "patternProperties": {
12*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
13*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
14*f2a8e57eSGunnar Mills                    "type": [
15*f2a8e57eSGunnar Mills                        "array",
16*f2a8e57eSGunnar Mills                        "boolean",
17*f2a8e57eSGunnar Mills                        "integer",
18*f2a8e57eSGunnar Mills                        "number",
19*f2a8e57eSGunnar Mills                        "null",
20*f2a8e57eSGunnar Mills                        "object",
21*f2a8e57eSGunnar Mills                        "string"
22*f2a8e57eSGunnar Mills                    ]
23*f2a8e57eSGunnar Mills                }
24*f2a8e57eSGunnar Mills            },
25*f2a8e57eSGunnar Mills            "properties": {
26*f2a8e57eSGunnar Mills                "#LicenseService.Install": {
27*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/Install"
28*f2a8e57eSGunnar Mills                },
29*f2a8e57eSGunnar Mills                "Oem": {
30*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/OemActions",
31*f2a8e57eSGunnar Mills                    "description": "The available OEM-specific actions for this resource.",
32*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available OEM-specific actions for this resource."
33*f2a8e57eSGunnar Mills                }
34*f2a8e57eSGunnar Mills            },
35*f2a8e57eSGunnar Mills            "type": "object"
36*f2a8e57eSGunnar Mills        },
37*f2a8e57eSGunnar Mills        "Install": {
38*f2a8e57eSGunnar Mills            "additionalProperties": false,
39*f2a8e57eSGunnar Mills            "description": "This action installs one or more licenses from a remote file.",
40*f2a8e57eSGunnar Mills            "longDescription": "This action shall install one or more licenses from a remote file.  The service may update an existing `License` resource.  The `Location` header in the response shall contain the URI of the new or updated `License` resource.",
41*f2a8e57eSGunnar Mills            "parameters": {
42*f2a8e57eSGunnar Mills                "AuthorizedDevices": {
43*f2a8e57eSGunnar Mills                    "description": "An array of links to the devices to be authorized by the license.",
44*f2a8e57eSGunnar Mills                    "items": {
45*f2a8e57eSGunnar Mills                        "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef"
46*f2a8e57eSGunnar Mills                    },
47*f2a8e57eSGunnar Mills                    "longDescription": "This parameter shall contain an array of links to the devices to be authorized by the license.  Clients can provide this parameter when installing a license to apply the license to specific devices.  If not provided when installing a license, the service may determine the devices to which the license applies.  This parameter shall not be present if the `AuthorizationScope` property contains the value `Service`.",
48*f2a8e57eSGunnar Mills                    "type": "array",
49*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
50*f2a8e57eSGunnar Mills                },
51*f2a8e57eSGunnar Mills                "LicenseFileURI": {
52*f2a8e57eSGunnar Mills                    "description": "The URI of the license file to install.",
53*f2a8e57eSGunnar Mills                    "format": "uri-reference",
54*f2a8e57eSGunnar Mills                    "longDescription": "This parameter shall contain an RFC3986-defined URI that links to a file that the license service retrieves to install the license in that file.  This URI should contain a scheme that describes the transfer protocol.  If the `TransferProtocol` parameter is absent or not supported, and a transfer protocol is not specified by a scheme contained within this URI, the service shall use HTTP to get the file.",
55*f2a8e57eSGunnar Mills                    "requiredParameter": true,
56*f2a8e57eSGunnar Mills                    "type": "string"
57*f2a8e57eSGunnar Mills                },
58*f2a8e57eSGunnar Mills                "Password": {
59*f2a8e57eSGunnar Mills                    "description": "The password to access the URI specified by the `LicenseFileURI` parameter.",
60*f2a8e57eSGunnar Mills                    "longDescription": "This parameter shall contain the password to access the URI specified by the `LicenseFileURI` parameter.",
61*f2a8e57eSGunnar Mills                    "type": "string"
62*f2a8e57eSGunnar Mills                },
63*f2a8e57eSGunnar Mills                "TargetServices": {
64*f2a8e57eSGunnar Mills                    "description": "An array of links to the managers where the license will be installed.",
65*f2a8e57eSGunnar Mills                    "items": {
66*f2a8e57eSGunnar Mills                        "$ref": "http://redfish.dmtf.org/schemas/v1/Manager.json#/definitions/Manager"
67*f2a8e57eSGunnar Mills                    },
68*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain an array of links to resources of type `Manager` that represent the services where the license will be installed, such as remote Redfish services.  This parameter shall only be present in aggregators when the `AuthorizationScope` property contains `Service` or `Capacity`.",
69*f2a8e57eSGunnar Mills                    "type": "array",
70*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
71*f2a8e57eSGunnar Mills                },
72*f2a8e57eSGunnar Mills                "TransferProtocol": {
73*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/TransferProtocolType",
74*f2a8e57eSGunnar Mills                    "description": "The network protocol that the license service uses to retrieve the license file located at the URI provided in `LicenseFileURI`.  This parameter is ignored if the URI provided in `LicenseFileURI` contains a scheme.",
75*f2a8e57eSGunnar Mills                    "longDescription": "This parameter shall contain the network protocol that the license service shall use to retrieve the license file located at the `LicenseFileURI`.  Services should ignore this parameter if the URI provided in `LicenseFileURI` contains a scheme.  If this parameter is not provided or supported, and if a transfer protocol is not specified by a scheme contained within this URI, the service shall use HTTP to retrieve the file."
76*f2a8e57eSGunnar Mills                },
77*f2a8e57eSGunnar Mills                "Username": {
78*f2a8e57eSGunnar Mills                    "description": "The username to access the URI specified by the `LicenseFileURI` parameter.",
79*f2a8e57eSGunnar Mills                    "longDescription": "This parameter shall contain the username to access the URI specified by the `LicenseFileURI` parameter.",
80*f2a8e57eSGunnar Mills                    "type": "string"
81*f2a8e57eSGunnar Mills                }
82*f2a8e57eSGunnar Mills            },
83*f2a8e57eSGunnar Mills            "patternProperties": {
84*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
85*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
86*f2a8e57eSGunnar Mills                    "type": [
87*f2a8e57eSGunnar Mills                        "array",
88*f2a8e57eSGunnar Mills                        "boolean",
89*f2a8e57eSGunnar Mills                        "integer",
90*f2a8e57eSGunnar Mills                        "number",
91*f2a8e57eSGunnar Mills                        "null",
92*f2a8e57eSGunnar Mills                        "object",
93*f2a8e57eSGunnar Mills                        "string"
94*f2a8e57eSGunnar Mills                    ]
95*f2a8e57eSGunnar Mills                }
96*f2a8e57eSGunnar Mills            },
97*f2a8e57eSGunnar Mills            "properties": {
98*f2a8e57eSGunnar Mills                "target": {
99*f2a8e57eSGunnar Mills                    "description": "Link to invoke action",
100*f2a8e57eSGunnar Mills                    "format": "uri-reference",
101*f2a8e57eSGunnar Mills                    "type": "string"
102*f2a8e57eSGunnar Mills                },
103*f2a8e57eSGunnar Mills                "title": {
104*f2a8e57eSGunnar Mills                    "description": "Friendly action name",
105*f2a8e57eSGunnar Mills                    "type": "string"
106*f2a8e57eSGunnar Mills                }
107*f2a8e57eSGunnar Mills            },
108*f2a8e57eSGunnar Mills            "type": "object"
109*f2a8e57eSGunnar Mills        },
110*f2a8e57eSGunnar Mills        "LicenseService": {
111*f2a8e57eSGunnar Mills            "additionalProperties": false,
112*f2a8e57eSGunnar Mills            "description": "The `LicenseService` schema describes the license service and the properties for the service itself with a link to the collection of licenses.  The license service also provides methods for installing licenses in a Redfish service.",
113*f2a8e57eSGunnar Mills            "longDescription": "This resource shall represent a license service and the properties that affect the service itself for a Redfish implementation.",
114*f2a8e57eSGunnar Mills            "patternProperties": {
115*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
116*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
117*f2a8e57eSGunnar Mills                    "type": [
118*f2a8e57eSGunnar Mills                        "array",
119*f2a8e57eSGunnar Mills                        "boolean",
120*f2a8e57eSGunnar Mills                        "integer",
121*f2a8e57eSGunnar Mills                        "number",
122*f2a8e57eSGunnar Mills                        "null",
123*f2a8e57eSGunnar Mills                        "object",
124*f2a8e57eSGunnar Mills                        "string"
125*f2a8e57eSGunnar Mills                    ]
126*f2a8e57eSGunnar Mills                }
127*f2a8e57eSGunnar Mills            },
128*f2a8e57eSGunnar Mills            "properties": {
129*f2a8e57eSGunnar Mills                "@odata.context": {
130*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
131*f2a8e57eSGunnar Mills                },
132*f2a8e57eSGunnar Mills                "@odata.etag": {
133*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
134*f2a8e57eSGunnar Mills                },
135*f2a8e57eSGunnar Mills                "@odata.id": {
136*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
137*f2a8e57eSGunnar Mills                },
138*f2a8e57eSGunnar Mills                "@odata.type": {
139*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
140*f2a8e57eSGunnar Mills                },
141*f2a8e57eSGunnar Mills                "Actions": {
142*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/Actions",
143*f2a8e57eSGunnar Mills                    "description": "The available actions for this resource.",
144*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available actions for this resource."
145*f2a8e57eSGunnar Mills                },
146*f2a8e57eSGunnar Mills                "Description": {
147*f2a8e57eSGunnar Mills                    "anyOf": [
148*f2a8e57eSGunnar Mills                        {
149*f2a8e57eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
150*f2a8e57eSGunnar Mills                        },
151*f2a8e57eSGunnar Mills                        {
152*f2a8e57eSGunnar Mills                            "type": "null"
153*f2a8e57eSGunnar Mills                        }
154*f2a8e57eSGunnar Mills                    ],
155*f2a8e57eSGunnar Mills                    "readonly": true
156*f2a8e57eSGunnar Mills                },
157*f2a8e57eSGunnar Mills                "Id": {
158*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
159*f2a8e57eSGunnar Mills                    "readonly": true
160*f2a8e57eSGunnar Mills                },
161*f2a8e57eSGunnar Mills                "LicenseExpirationWarningDays": {
162*f2a8e57eSGunnar Mills                    "description": "The number of days prior to a license expiration that a warning message is sent.  A value of zero indicates no warning message is sent.",
163*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the number of days prior to a license expiration that the service shall send the `DaysBeforeExpiration` message from the License Message Registry at least once.  A value of zero shall indicate that no warning messages are sent prior to license expiration.",
164*f2a8e57eSGunnar Mills                    "readonly": false,
165*f2a8e57eSGunnar Mills                    "type": [
166*f2a8e57eSGunnar Mills                        "integer",
167*f2a8e57eSGunnar Mills                        "null"
168*f2a8e57eSGunnar Mills                    ]
169*f2a8e57eSGunnar Mills                },
170*f2a8e57eSGunnar Mills                "Licenses": {
171*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/LicenseCollection.json#/definitions/LicenseCollection",
172*f2a8e57eSGunnar Mills                    "description": "The link to the collection of licenses.",
173*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain a link to a resource collection of type `LicenseCollection`.  When installing a license with a `POST` operation to this collection, the service may update an existing License resource instead of creating a new resource.  In these cases, the service shall respond with the HTTP `200 OK` status code or HTTP `204 No Content` status code and the `Location` header in the response shall contain the URI of the updated License resource.",
174*f2a8e57eSGunnar Mills                    "readonly": true
175*f2a8e57eSGunnar Mills                },
176*f2a8e57eSGunnar Mills                "Name": {
177*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
178*f2a8e57eSGunnar Mills                    "readonly": true
179*f2a8e57eSGunnar Mills                },
180*f2a8e57eSGunnar Mills                "Oem": {
181*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
182*f2a8e57eSGunnar Mills                    "description": "The OEM extension property.",
183*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
184*f2a8e57eSGunnar Mills                },
185*f2a8e57eSGunnar Mills                "ServiceEnabled": {
186*f2a8e57eSGunnar Mills                    "description": "An indication of whether this service is enabled.",
187*f2a8e57eSGunnar Mills                    "longDescription": "This property shall indicate whether this service is enabled.",
188*f2a8e57eSGunnar Mills                    "readonly": false,
189*f2a8e57eSGunnar Mills                    "type": [
190*f2a8e57eSGunnar Mills                        "boolean",
191*f2a8e57eSGunnar Mills                        "null"
192*f2a8e57eSGunnar Mills                    ]
193*f2a8e57eSGunnar Mills                }
194*f2a8e57eSGunnar Mills            },
195*f2a8e57eSGunnar Mills            "required": [
196*f2a8e57eSGunnar Mills                "@odata.id",
197*f2a8e57eSGunnar Mills                "@odata.type",
198*f2a8e57eSGunnar Mills                "Id",
199*f2a8e57eSGunnar Mills                "Name"
200*f2a8e57eSGunnar Mills            ],
201*f2a8e57eSGunnar Mills            "type": "object"
202*f2a8e57eSGunnar Mills        },
203*f2a8e57eSGunnar Mills        "OemActions": {
204*f2a8e57eSGunnar Mills            "additionalProperties": true,
205*f2a8e57eSGunnar Mills            "description": "The available OEM-specific actions for this resource.",
206*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
207*f2a8e57eSGunnar Mills            "patternProperties": {
208*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
209*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
210*f2a8e57eSGunnar Mills                    "type": [
211*f2a8e57eSGunnar Mills                        "array",
212*f2a8e57eSGunnar Mills                        "boolean",
213*f2a8e57eSGunnar Mills                        "integer",
214*f2a8e57eSGunnar Mills                        "number",
215*f2a8e57eSGunnar Mills                        "null",
216*f2a8e57eSGunnar Mills                        "object",
217*f2a8e57eSGunnar Mills                        "string"
218*f2a8e57eSGunnar Mills                    ]
219*f2a8e57eSGunnar Mills                }
220*f2a8e57eSGunnar Mills            },
221*f2a8e57eSGunnar Mills            "properties": {},
222*f2a8e57eSGunnar Mills            "type": "object"
223*f2a8e57eSGunnar Mills        },
224*f2a8e57eSGunnar Mills        "TransferProtocolType": {
225*f2a8e57eSGunnar Mills            "enum": [
226*f2a8e57eSGunnar Mills                "CIFS",
227*f2a8e57eSGunnar Mills                "FTP",
228*f2a8e57eSGunnar Mills                "SFTP",
229*f2a8e57eSGunnar Mills                "HTTP",
230*f2a8e57eSGunnar Mills                "HTTPS",
231*f2a8e57eSGunnar Mills                "SCP",
232*f2a8e57eSGunnar Mills                "TFTP",
233*f2a8e57eSGunnar Mills                "OEM",
234*f2a8e57eSGunnar Mills                "NFS"
235*f2a8e57eSGunnar Mills            ],
236*f2a8e57eSGunnar Mills            "enumDescriptions": {
237*f2a8e57eSGunnar Mills                "CIFS": "Common Internet File System (CIFS).",
238*f2a8e57eSGunnar Mills                "FTP": "File Transfer Protocol (FTP).",
239*f2a8e57eSGunnar Mills                "HTTP": "Hypertext Transfer Protocol (HTTP).",
240*f2a8e57eSGunnar Mills                "HTTPS": "Hypertext Transfer Protocol Secure (HTTPS).",
241*f2a8e57eSGunnar Mills                "NFS": "Network File System (NFS).",
242*f2a8e57eSGunnar Mills                "OEM": "A manufacturer-defined protocol.",
243*f2a8e57eSGunnar Mills                "SCP": "Secure Copy Protocol (SCP).",
244*f2a8e57eSGunnar Mills                "SFTP": "SSH File Transfer Protocol (SFTP).",
245*f2a8e57eSGunnar Mills                "TFTP": "Trivial File Transfer Protocol (TFTP)."
246*f2a8e57eSGunnar Mills            },
247*f2a8e57eSGunnar Mills            "type": "string"
248*f2a8e57eSGunnar Mills        }
249*f2a8e57eSGunnar Mills    },
250*f2a8e57eSGunnar Mills    "language": "en",
251*f2a8e57eSGunnar Mills    "owningEntity": "DMTF",
252*f2a8e57eSGunnar Mills    "release": "2022.3",
253*f2a8e57eSGunnar Mills    "title": "#LicenseService.v1_1_2.LicenseService"
254*f2a8e57eSGunnar Mills}