1{
2    "$id": "http://redfish.dmtf.org/schemas/v1/OemComputerSystem.json",
3    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
4    "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
5    "definitions": {
6        "FirmwareProvisioning": {
7            "additionalProperties": false,
8            "description": "Configuration data for platform firmware provisioning.",
9            "patternProperties": {
10                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
11                    "description": "This property shall specify a valid odata or Redfish property.",
12                    "type": [
13                        "array",
14                        "boolean",
15                        "integer",
16                        "number",
17                        "null",
18                        "object",
19                        "string"
20                    ]
21                }
22            },
23            "properties": {
24                "ProvisioningStatus": {
25                    "anyOf": [
26                        {
27                            "$ref": "#/definitions/FirmwareProvisioningStatus"
28                        },
29                        {
30                            "type": "null"
31                        }
32                    ],
33                    "description": "This indicates platform firmware provisioning state.",
34                    "longDescription": "The value of this property indicating provisioning status of platform firmware.",
35                    "readonly": true
36                }
37            },
38            "type": "object"
39        },
40        "FirmwareProvisioningStatus": {
41            "enum": [
42                "NotProvisioned",
43                "ProvisionedButNotLocked",
44                "ProvisionedAndLocked"
45            ],
46            "enumDescriptions": {
47                "NotProvisioned": "Platform firmware is not provisioned.",
48                "ProvisionedAndLocked": "Platform firmware is provisioned and locked.",
49                "ProvisionedButNotLocked": "Platform firmware is provisioned but not locked."
50            },
51            "enumLongDescriptions": {
52                "NotProvisioned": "Platform firmware is not provisioned.",
53                "ProvisionedAndLocked": "Platform firmware is provisioned and locked. So re-provisioning is not allowed in this state.",
54                "ProvisionedButNotLocked": "Platform firmware is provisioned but not locked. So re-provisioning is allowed in this state."
55            },
56            "type": "string"
57        },
58        "Oem": {
59            "additionalProperties": true,
60            "description": "OemComputerSystem Oem properties.",
61            "patternProperties": {
62                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
63                    "description": "This property shall specify a valid odata or Redfish property.",
64                    "type": [
65                        "array",
66                        "boolean",
67                        "integer",
68                        "number",
69                        "null",
70                        "object",
71                        "string"
72                    ]
73                }
74            },
75            "properties": {
76                "OpenBmc": {
77                    "anyOf": [
78                        {
79                            "$ref": "#/definitions/OpenBmc"
80                        },
81                        {
82                            "type": "null"
83                        }
84                    ]
85                }
86            },
87            "type": "object"
88        },
89        "OpenBmc": {
90            "additionalProperties": true,
91            "description": "Oem properties for OpenBmc.",
92            "patternProperties": {
93                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
94                    "description": "This property shall specify a valid odata or Redfish property.",
95                    "type": [
96                        "array",
97                        "boolean",
98                        "integer",
99                        "number",
100                        "null",
101                        "object",
102                        "string"
103                    ]
104                }
105            },
106            "properties": {},
107            "type": "object"
108        }
109    },
110    "title": "#OemComputerSystem"
111}
112