/openbmc/linux/Documentation/devicetree/bindings/ |
H A D | writing-schema.rst | 3 Writing Devicetree Bindings in json-schema 6 Devicetree bindings are written using json-schema vocabulary. Schema files are 11 Also see :ref:`example-schema`. 13 Schema Contents 16 Each schema doc is a structured json-schema which is defined by a set of 18 top-level json-schema properties used are: 21 A json-schema unique identifier string. The string must be a valid 22 URI typically containing the binding's filename and path. For DT schema, it must 24 references to other files specified in schema "$ref" properties. A $ref value 27 components of the current schema file's '$id' value. A URL is used even for [all …]
|
/openbmc/libcper/ |
H A D | json-schema.c | 2 * A very basic, non-complete implementation of a validator for the JSON Schema specification, 15 #include <libcper/json-schema.h> 22 int validate_field(const char *name, json_object *schema, json_object *object, 24 int validate_integer(const char *field_name, json_object *schema, 26 int validate_string(const char *field_name, json_object *schema, 28 int validate_object(const char *field_name, json_object *schema, 30 int validate_array(const char *field_name, json_object *schema, 36 //Validates a single JSON object against a provided schema file, returning 1 on success and 0 on fa… 41 //Load schema IR from file. in validate_schema_from_file() 45 "Failed to load schema from file '%s'.", in validate_schema_from_file() [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | Chassis_v1.xml | 4 <!--# Redfish Schema: Chassis v1.26.0 --> 148 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Chassis"> 153 …<Annotation Term="OData.Description" String="The `Chassis` schema represents the physical componen… 188 </Schema> 190 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Chassis.v1_0_0"> 520 </Schema> 522 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Chassis.v1_0_1"> 532 </Schema> 534 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Chassis.v1_0_2"> 538 </Schema> [all …]
|
H A D | Task_v1.xml | 4 <!--# Redfish Schema: Task v1.7.4 --> 40 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task"> 45 …<Annotation Term="OData.Description" String="The `Task` schema contains information about a task t… 70 </Schema> 72 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_0_0"> 182 </Schema> 184 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_0_2"> 188 </Schema> 190 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_0_3"> 194 </Schema> [all …]
|
H A D | Manager_v1.xml | 4 <!--# Redfish Schema: Manager v1.20.0 --> 82 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Manager"> 163 </Schema> 165 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Manager.v1_0_0"> 434 </Schema> 436 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Manager.v1_0_1"> 440 </Schema> 442 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Manager.v1_0_2"> 446 </Schema> 448 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Manager.v1_0_3"> [all …]
|
H A D | Role_v1.xml | 4 <!--# Redfish Schema: Role v1.3.3 --> 32 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role"> 37 …<Annotation Term="OData.Description" String="The `Role` schema contains a Redfish role to use in c… 62 </Schema> 64 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_0"> 85 </Schema> 87 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_2"> 91 </Schema> 93 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_3"> 97 </Schema> [all …]
|
H A D | JsonSchemaFile_v1.xml | 4 <!--# Redfish Schema: JsonSchemaFile v1.1.5 --> 29 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="JsonSchemaFile"> 34 …n" String="The `JsonSchemaFile` schema contains the properties that describe the locations, as URI… 35 …<Annotation Term="OData.LongDescription" String="This resource shall represent the schema file loc… 57 </Schema> 59 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="JsonSchemaFile.v1_0_0"> 70 <Property Name="Schema" Type="Edm.String" Nullable="false"> 72 … <Annotation Term="OData.Description" String="The `@odata.type` name this schema describes."/> 73 …g="This property shall contain the `@odata.type` property value for that schema and shall conform … 77 <Annotation Term="OData.Description" String="Location information for this schema file."/> [all …]
|
H A D | Drive_v1.xml | 4 <!--# Redfish Schema: Drive v1.21.0 … 76 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive"> 81 …<Annotation Term="OData.Description" String="The `Drive` schema represents a single physical drive… 178 </Schema> 180 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_0_0"> 461 </Schema> 463 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_0_1"> 467 </Schema> 469 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_0_2"> 473 </Schema> [all …]
|
H A D | EventService_v1.xml | 4 <!--# Redfish Schema: EventService v1.10.3 --> 43 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventService"> 48 …<Annotation Term="OData.Description" String="The `EventService` schema contains properties for man… 92 …r shall have the same semantics as the `EventId` property in the `Event` schema for Redfish. A se… 96 … have the same semantics as the `EventTimestamp` property in the `Event` schema for Redfish. If n… 100 …dd and have the same semantics as the `Severity` property in the `Event` schema for Redfish. If n… 104 …have the same semantics as the `MessageSeverity` property in the `Event` schema for Redfish. If n… 116 …r shall have the same semantics as the `Message` property in the `Event` schema for Redfish. If n… 120 …d and have the same semantics as the `MessageId` property in the `Event` schema for Redfish. Serv… 125 …all have the same semantics as the `MessageArgs` property in the `Event` schema for Redfish. If n… [all …]
|
H A D | UpdateService_v1.xml | 4 <!--# Redfish Schema: UpdateService v1.15.0 --> 46 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="UpdateService"> 51 …<Annotation Term="OData.Description" String="The `UpdateService` schema describes the update servi… 195 </Schema> 197 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="UpdateService.v1_0_0"> 302 </Schema> 304 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="UpdateService.v1_0_1"> 308 </Schema> 310 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="UpdateService.v1_0_2"> 314 </Schema> [all …]
|
H A D | ServiceRoot_v1.xml | 4 <!--# Redfish Schema: ServiceRoot v1.17.0 --> 128 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ServiceRoot"> 133 …<Annotation Term="OData.Description" String="The `ServiceRoot` schema describes the root of the Re… 157 </Schema> 159 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ServiceRoot.v1_0_0"> 240 … <Annotation Term="OData.Description" String="The link to a collection of JSON Schema files."/> 262 </Schema> 264 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ServiceRoot.v1_0_2"> 268 </Schema> 270 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ServiceRoot.v1_0_3"> [all …]
|
H A D | Redundancy_v1.xml | 4 <!--# Redfish Schema: Redundancy v1.5.0 --> 27 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Redundancy"> 41 </Schema> 43 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Redundancy.v1_0_0"> 119 </Schema> 121 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Redundancy.v1_0_1"> 125 </Schema> 127 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Redundancy.v1_0_2"> 131 </Schema> 133 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Redundancy.v1_0_3"> [all …]
|
H A D | Resource_v1.xml | 4 <!--# Redfish Schema: Resource v1.21.0 --> 33 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Resource"> 43 …tion" String="The description of this resource. Used for commonality in the schema definitions."/> 156 …It has the same semantics as the `MessageArgs` property in the Redfish `MessageRegistry` schema."/> 512 </Schema> 514 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Resource.v1_0_0"> 566 </Schema> 568 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Resource.v1_0_2"> 571 </Schema> 573 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Resource.v1_0_3"> [all …]
|
H A D | MetricReport_v1.xml | 4 <!--# Redfish Schema: MetricReport v1.5.2 --> 36 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricReport"> 41 …<Annotation Term="OData.Description" String="The `MetricReport` schema represents a set of collect… 65 </Schema> 67 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricReport.v1_0_0"> 159 </Schema> 161 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricReport.v1_0_1"> 165 </Schema> 167 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricReport.v1_0_2"> 169 …tion" String="This version was created to force the regeneration of JSON Schema so that URI proper… [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | Chassis_v1.xml | 4 <!--# Redfish Schema: Chassis v1.26.0 --> 148 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Chassis"> 153 <Annotation Term="OData.Description" String="The `Chassis` schema represents the physical components of a system. This resource represents the sheet-metal confined spaces and logical zones such as racks, enclosures, chassis and all other containers. Subsystems, such as sensors, that operate outside of a system's data plane are linked either directly or indirectly through this resource. A subsystem that operates outside of a system's data plane are not accessible to software that runs on the system. It also describes the location, such as a slot, socket, or bay, where a unit can be installed, by populating a resource instance with an absent state if a unit is not present."/> 188 </Schema> 190 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Chassis.v1_0_0"> 520 </Schema> 522 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Chassis.v1_0_1"> 532 </Schema> 534 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Chassis.v1_0_2"> 538 </Schema> [all...] |
H A D | Task_v1.xml | 4 <!--# Redfish Schema: Task v1.7.4 --> 40 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task"> 45 …<Annotation Term="OData.Description" String="The `Task` schema contains information about a task t… 70 </Schema> 72 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_0_0"> 182 </Schema> 184 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_0_2"> 188 </Schema> 190 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_0_3"> 194 </Schema> [all …]
|
H A D | JsonSchemaFile_v1.xml | 4 <!--# Redfish Schema: JsonSchemaFile v1.1.5 --> 29 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="JsonSchemaFile"> 34 …n" String="The `JsonSchemaFile` schema contains the properties that describe the locations, as URI… 35 …<Annotation Term="OData.LongDescription" String="This resource shall represent the schema file loc… 57 </Schema> 59 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="JsonSchemaFile.v1_0_0"> 70 <Property Name="Schema" Type="Edm.String" Nullable="false"> 72 … <Annotation Term="OData.Description" String="The `@odata.type` name this schema describes."/> 73 …g="This property shall contain the `@odata.type` property value for that schema and shall conform … 77 <Annotation Term="OData.Description" String="Location information for this schema file."/> [all …]
|
H A D | Drive_v1.xml | 4 <!--# Redfish Schema: Drive v1.21.0 --> 76 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive"> 81 <Annotation Term="OData.Description" String="The `Drive` schema represents a single physical drive for a system, including links to associated volumes. It also describes the location, such as a slot, socket, or bay, where a unit can be installed, by populating a resource instance with an absent state if a unit is not present."/> 178 </Schema> 180 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_0_0"> 461 </Schema> 463 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_0_1"> 467 </Schema> 469 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_0_2"> 473 </Schema> [all...] |
H A D | Manager_v1.xml | 4 <!--# Redfish Schema: Manager v1.20.0 --> 82 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Manager"> 163 </Schema> 165 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Manager.v1_0_0"> 434 </Schema> 436 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Manager.v1_0_1"> 440 </Schema> 442 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Manager.v1_0_2"> 446 </Schema> 448 <Schema xmln [all...] |
H A D | UpdateService_v1.xml | 4 <!--# Redfish Schema: UpdateService v1.15.0 --> 46 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="UpdateService"> 51 <Annotation Term="OData.Description" String="The `UpdateService` schema describes the update service and the properties for the service itself with links to collections of firmware and software inventory. The update service also provides methods for updating software and firmware of the resources in a Redfish service."/> 195 </Schema> 197 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="UpdateService.v1_0_0"> 302 </Schema> 304 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="UpdateService.v1_0_1"> 308 </Schema> 310 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="UpdateService.v1_0_2"> 314 </Schema> [all...] |
H A D | EventService_v1.xml | 4 <!--# Redfish Schema: EventService v1.10.3 --> 43 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventService"> 48 <Annotation Term="OData.Description" String="The `EventService` schema contains properties for managing event subscriptions and generates the events sent to subscribers. The resource has links to the actual collection of subscriptions, which are called event destinations."/> 92 <Annotation Term="OData.LongDescription" String="This parameter shall have the same semantics as the `EventId` property in the `Event` schema for Redfish. A service can ignore this value and replace it with its own. If not provided by the client, the resulting event may contain a service-defined `EventId` property."/> 96 <Annotation Term="OData.LongDescription" String="This parameter shall contain the date and time for the event to add and have the same semantics as the `EventTimestamp` property in the `Event` schema for Redfish. If not provided by the client, the resulting event should not contain the `EventTimestamp` property."/> 100 <Annotation Term="OData.LongDescription" String="This parameter shall contain the severity for the event to add and have the same semantics as the `Severity` property in the `Event` schema for Redfish. If not provided by the client, the resulting event should not contain the `Severity` property."/> 104 <Annotation Term="OData.LongDescription" String="This property shall contain the severity for the event to add and have the same semantics as the `MessageSeverity` property in the `Event` schema for Redfish. If not provided by the client, the resulting event should not contain the `MessageSeverity` property."/> 116 <Annotation Term="OData.LongDescription" String="This parameter shall have the same semantics as the `Message` property in the `Event` schema for Redfish. If not provided by the client, the resulting event should not contain the `Message` property."/> 120 <Annotation Term="OData.LongDescription" String="This parameter shall contain the `MessageId` for the event to add and have the same semantics as the `MessageId` property in the `Event` schema for Redfish. Services should accept arbitrary values for this parameter that match that match the defined pattern."/> 125 <Annotation Term="OData.LongDescription" String="This parameter shall have the same semantics as the `MessageArgs` property in the `Event` schema fo [all...] |
H A D | ServiceRoot_v1.xml | 4 <!--# Redfish Schema: ServiceRoot v1.17.0 --> 128 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ServiceRoot"> 133 …<Annotation Term="OData.Description" String="The `ServiceRoot` schema describes the root of the Re… 157 </Schema> 159 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ServiceRoot.v1_0_0"> 240 … <Annotation Term="OData.Description" String="The link to a collection of JSON Schema files."/> 262 </Schema> 264 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ServiceRoot.v1_0_2"> 268 </Schema> 270 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ServiceRoot.v1_0_3"> [all …]
|
H A D | MetricReport_v1.xml | 4 <!--# Redfish Schema: MetricReport v1.5.2 --> 36 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricReport"> 41 …<Annotation Term="OData.Description" String="The `MetricReport` schema represents a set of collect… 65 </Schema> 67 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricReport.v1_0_0"> 159 </Schema> 161 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricReport.v1_0_1"> 165 </Schema> 167 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricReport.v1_0_2"> 169 …tion" String="This version was created to force the regeneration of JSON Schema so that URI proper… [all …]
|
H A D | Role_v1.xml | 4 <!--# Redfish Schema: Role v1.3.3 --> 32 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role"> 37 <Annotation Term="OData.Description" String="The `Role` schema contains a Redfish role to use in conjunction with a manager account."/> 62 </Schema> 64 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_0"> 85 </Schema> 87 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_2"> 91 </Schema> 93 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_3"> 97 </Schema> [all...] |
H A D | Redundancy_v1.xml | 4 <!--# Redfish Schema: Redundancy v1.5.0 --> 27 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Redundancy"> 41 </Schema> 43 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Redundancy.v1_0_0"> 119 </Schema> 121 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Redundancy.v1_0_1"> 125 </Schema> 127 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Redundancy.v1_0_2"> 131 </Schema> 133 <Schema xmln [all...] |