xref: /openbmc/bmcweb/features/redfish/schema/dmtf/json-schema/AutomationInstrumentation.v1_0_0.json (revision c6d7a45d427f9a6d9e761afcf305761dca60d7cf)
1*c6d7a45dSGunnar Mills{
2*c6d7a45dSGunnar Mills    "$id": "http://redfish.dmtf.org/schemas/v1/AutomationInstrumentation.v1_0_0.json",
3*c6d7a45dSGunnar Mills    "$ref": "#/definitions/AutomationInstrumentation",
4*c6d7a45dSGunnar Mills    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5*c6d7a45dSGunnar Mills    "copyright": "Copyright 2014-2025 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6*c6d7a45dSGunnar Mills    "definitions": {
7*c6d7a45dSGunnar Mills        "Actions": {
8*c6d7a45dSGunnar Mills            "additionalProperties": false,
9*c6d7a45dSGunnar Mills            "description": "The available actions for this resource.",
10*c6d7a45dSGunnar Mills            "longDescription": "This type shall contain the available actions for this resource.",
11*c6d7a45dSGunnar Mills            "patternProperties": {
12*c6d7a45dSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
13*c6d7a45dSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
14*c6d7a45dSGunnar Mills                    "type": [
15*c6d7a45dSGunnar Mills                        "array",
16*c6d7a45dSGunnar Mills                        "boolean",
17*c6d7a45dSGunnar Mills                        "integer",
18*c6d7a45dSGunnar Mills                        "number",
19*c6d7a45dSGunnar Mills                        "null",
20*c6d7a45dSGunnar Mills                        "object",
21*c6d7a45dSGunnar Mills                        "string"
22*c6d7a45dSGunnar Mills                    ]
23*c6d7a45dSGunnar Mills                }
24*c6d7a45dSGunnar Mills            },
25*c6d7a45dSGunnar Mills            "properties": {
26*c6d7a45dSGunnar Mills                "Oem": {
27*c6d7a45dSGunnar Mills                    "$ref": "#/definitions/OemActions",
28*c6d7a45dSGunnar Mills                    "description": "The available OEM-specific actions for this resource.",
29*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain the available OEM-specific actions for this resource."
30*c6d7a45dSGunnar Mills                }
31*c6d7a45dSGunnar Mills            },
32*c6d7a45dSGunnar Mills            "type": "object"
33*c6d7a45dSGunnar Mills        },
34*c6d7a45dSGunnar Mills        "AutomationInstrumentation": {
35*c6d7a45dSGunnar Mills            "additionalProperties": false,
36*c6d7a45dSGunnar Mills            "description": "The `AutomationInstrumentation` schema contains measurements and set points for an automation node.",
37*c6d7a45dSGunnar Mills            "longDescription": "This resource shall represent automation node instrumentation for a Redfish implementation.",
38*c6d7a45dSGunnar Mills            "patternProperties": {
39*c6d7a45dSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
40*c6d7a45dSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
41*c6d7a45dSGunnar Mills                    "type": [
42*c6d7a45dSGunnar Mills                        "array",
43*c6d7a45dSGunnar Mills                        "boolean",
44*c6d7a45dSGunnar Mills                        "integer",
45*c6d7a45dSGunnar Mills                        "number",
46*c6d7a45dSGunnar Mills                        "null",
47*c6d7a45dSGunnar Mills                        "object",
48*c6d7a45dSGunnar Mills                        "string"
49*c6d7a45dSGunnar Mills                    ]
50*c6d7a45dSGunnar Mills                }
51*c6d7a45dSGunnar Mills            },
52*c6d7a45dSGunnar Mills            "properties": {
53*c6d7a45dSGunnar Mills                "@odata.context": {
54*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
55*c6d7a45dSGunnar Mills                },
56*c6d7a45dSGunnar Mills                "@odata.etag": {
57*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
58*c6d7a45dSGunnar Mills                },
59*c6d7a45dSGunnar Mills                "@odata.id": {
60*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
61*c6d7a45dSGunnar Mills                },
62*c6d7a45dSGunnar Mills                "@odata.type": {
63*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
64*c6d7a45dSGunnar Mills                },
65*c6d7a45dSGunnar Mills                "Actions": {
66*c6d7a45dSGunnar Mills                    "$ref": "#/definitions/Actions",
67*c6d7a45dSGunnar Mills                    "description": "The available actions for this resource.",
68*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain the available actions for this resource."
69*c6d7a45dSGunnar Mills                },
70*c6d7a45dSGunnar Mills                "CurrentAmps": {
71*c6d7a45dSGunnar Mills                    "anyOf": [
72*c6d7a45dSGunnar Mills                        {
73*c6d7a45dSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorCurrentExcerpt"
74*c6d7a45dSGunnar Mills                        },
75*c6d7a45dSGunnar Mills                        {
76*c6d7a45dSGunnar Mills                            "type": "null"
77*c6d7a45dSGunnar Mills                        }
78*c6d7a45dSGunnar Mills                    ],
79*c6d7a45dSGunnar Mills                    "description": "The current (A) for this node.",
80*c6d7a45dSGunnar Mills                    "excerptCopy": "SensorCurrentExcerpt",
81*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain the current, in ampere units, for this automation node.  The value of the `DataSourceUri` property, if present, shall reference a resource of type `Sensor` with the `ReadingType` property containing the value `Current`."
82*c6d7a45dSGunnar Mills                },
83*c6d7a45dSGunnar Mills                "Description": {
84*c6d7a45dSGunnar Mills                    "anyOf": [
85*c6d7a45dSGunnar Mills                        {
86*c6d7a45dSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
87*c6d7a45dSGunnar Mills                        },
88*c6d7a45dSGunnar Mills                        {
89*c6d7a45dSGunnar Mills                            "type": "null"
90*c6d7a45dSGunnar Mills                        }
91*c6d7a45dSGunnar Mills                    ],
92*c6d7a45dSGunnar Mills                    "readonly": true
93*c6d7a45dSGunnar Mills                },
94*c6d7a45dSGunnar Mills                "Id": {
95*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
96*c6d7a45dSGunnar Mills                    "readonly": true
97*c6d7a45dSGunnar Mills                },
98*c6d7a45dSGunnar Mills                "Name": {
99*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
100*c6d7a45dSGunnar Mills                    "readonly": true
101*c6d7a45dSGunnar Mills                },
102*c6d7a45dSGunnar Mills                "NodeControl": {
103*c6d7a45dSGunnar Mills                    "anyOf": [
104*c6d7a45dSGunnar Mills                        {
105*c6d7a45dSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Control.json#/definitions/ControlNodeExcerpt"
106*c6d7a45dSGunnar Mills                        },
107*c6d7a45dSGunnar Mills                        {
108*c6d7a45dSGunnar Mills                            "type": "null"
109*c6d7a45dSGunnar Mills                        }
110*c6d7a45dSGunnar Mills                    ],
111*c6d7a45dSGunnar Mills                    "description": "The control for this node.",
112*c6d7a45dSGunnar Mills                    "excerptCopy": "ControlNodeExcerpt",
113*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain the control for this resource.  The value of the `DataSourceUri` property, if present, shall reference a resource of type `Control`."
114*c6d7a45dSGunnar Mills                },
115*c6d7a45dSGunnar Mills                "NodeState": {
116*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/AutomationNode.json#/definitions/NodeState",
117*c6d7a45dSGunnar Mills                    "description": "The current state of the node.",
118*c6d7a45dSGunnar Mills                    "longDescription": "This parameter shall specify the current state of the automation node.",
119*c6d7a45dSGunnar Mills                    "readonly": true
120*c6d7a45dSGunnar Mills                },
121*c6d7a45dSGunnar Mills                "Oem": {
122*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
123*c6d7a45dSGunnar Mills                    "description": "The OEM extension property.",
124*c6d7a45dSGunnar 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."
125*c6d7a45dSGunnar Mills                },
126*c6d7a45dSGunnar Mills                "PID": {
127*c6d7a45dSGunnar Mills                    "anyOf": [
128*c6d7a45dSGunnar Mills                        {
129*c6d7a45dSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Control.json#/definitions/ControlSingleLoopExcerpt"
130*c6d7a45dSGunnar Mills                        },
131*c6d7a45dSGunnar Mills                        {
132*c6d7a45dSGunnar Mills                            "type": "null"
133*c6d7a45dSGunnar Mills                        }
134*c6d7a45dSGunnar Mills                    ],
135*c6d7a45dSGunnar Mills                    "description": "A PID control loop.",
136*c6d7a45dSGunnar Mills                    "excerptCopy": "ControlSingleLoopExcerpt",
137*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain a PID-based control loop for this resource.  The value of the `DataSourceUri` property, if present, shall reference a resource of type `Control`."
138*c6d7a45dSGunnar Mills                },
139*c6d7a45dSGunnar Mills                "Status": {
140*c6d7a45dSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
141*c6d7a45dSGunnar Mills                    "description": "The status and health of a resource and its children.",
142*c6d7a45dSGunnar Mills                    "longDescription": "This type shall contain any status or health properties of a resource."
143*c6d7a45dSGunnar Mills                },
144*c6d7a45dSGunnar Mills                "TemperatureCelsius": {
145*c6d7a45dSGunnar Mills                    "anyOf": [
146*c6d7a45dSGunnar Mills                        {
147*c6d7a45dSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorExcerpt"
148*c6d7a45dSGunnar Mills                        },
149*c6d7a45dSGunnar Mills                        {
150*c6d7a45dSGunnar Mills                            "type": "null"
151*c6d7a45dSGunnar Mills                        }
152*c6d7a45dSGunnar Mills                    ],
153*c6d7a45dSGunnar Mills                    "description": "Temperature (Celsius).",
154*c6d7a45dSGunnar Mills                    "excerptCopy": "SensorExcerpt",
155*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain the temperature, in degree Celsius units, for this resource.  The value of the `DataSourceUri` property, if present, shall reference a resource of type `Sensor` with the `ReadingType` property containing the value `Temperature`."
156*c6d7a45dSGunnar Mills                },
157*c6d7a45dSGunnar Mills                "Voltage": {
158*c6d7a45dSGunnar Mills                    "anyOf": [
159*c6d7a45dSGunnar Mills                        {
160*c6d7a45dSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Sensor.json#/definitions/SensorVoltageExcerpt"
161*c6d7a45dSGunnar Mills                        },
162*c6d7a45dSGunnar Mills                        {
163*c6d7a45dSGunnar Mills                            "type": "null"
164*c6d7a45dSGunnar Mills                        }
165*c6d7a45dSGunnar Mills                    ],
166*c6d7a45dSGunnar Mills                    "description": "The voltage (V) for this node.",
167*c6d7a45dSGunnar Mills                    "excerptCopy": "SensorVoltageExcerpt",
168*c6d7a45dSGunnar Mills                    "longDescription": "This property shall contain the voltage, in volt units, for this automation node.  The value of the `DataSourceUri` property, if present, shall reference a resource of type `Sensor` with the `ReadingType` property containing the value `Voltage`."
169*c6d7a45dSGunnar Mills                }
170*c6d7a45dSGunnar Mills            },
171*c6d7a45dSGunnar Mills            "required": [
172*c6d7a45dSGunnar Mills                "@odata.id",
173*c6d7a45dSGunnar Mills                "@odata.type",
174*c6d7a45dSGunnar Mills                "Id",
175*c6d7a45dSGunnar Mills                "Name"
176*c6d7a45dSGunnar Mills            ],
177*c6d7a45dSGunnar Mills            "type": "object"
178*c6d7a45dSGunnar Mills        },
179*c6d7a45dSGunnar Mills        "OemActions": {
180*c6d7a45dSGunnar Mills            "additionalProperties": true,
181*c6d7a45dSGunnar Mills            "description": "The available OEM-specific actions for this resource.",
182*c6d7a45dSGunnar Mills            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
183*c6d7a45dSGunnar Mills            "patternProperties": {
184*c6d7a45dSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
185*c6d7a45dSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
186*c6d7a45dSGunnar Mills                    "type": [
187*c6d7a45dSGunnar Mills                        "array",
188*c6d7a45dSGunnar Mills                        "boolean",
189*c6d7a45dSGunnar Mills                        "integer",
190*c6d7a45dSGunnar Mills                        "number",
191*c6d7a45dSGunnar Mills                        "null",
192*c6d7a45dSGunnar Mills                        "object",
193*c6d7a45dSGunnar Mills                        "string"
194*c6d7a45dSGunnar Mills                    ]
195*c6d7a45dSGunnar Mills                }
196*c6d7a45dSGunnar Mills            },
197*c6d7a45dSGunnar Mills            "properties": {},
198*c6d7a45dSGunnar Mills            "type": "object"
199*c6d7a45dSGunnar Mills        }
200*c6d7a45dSGunnar Mills    },
201*c6d7a45dSGunnar Mills    "owningEntity": "DMTF",
202*c6d7a45dSGunnar Mills    "release": "2025.2",
203*c6d7a45dSGunnar Mills    "title": "#AutomationInstrumentation.v1_0_0.AutomationInstrumentation"
204*c6d7a45dSGunnar Mills}