Home
last modified time | relevance | path

Searched refs:schema (Results 1 – 25 of 1757) sorted by relevance

12345678910>>...71

/openbmc/linux/Documentation/devicetree/bindings/
H A Dwriting-schema.rst16 Each schema doc is a structured json-schema which is defined by a set of
30 $schema
31 Indicates the meta-schema the schema file adheres to.
98 boilerplate. The tools process the schema files to produce the final schema for
123 The DT schema project must be installed in order to validate the DT schema
124 binding documents and validate DTS files using the DT schema. The DT schema
142 The DT schema binding documents must be validated using the meta-schema (the
143 schema for the schema) to ensure they are both valid json-schema and valid
155 binding schema files.
171 json-schema Resources
[all …]
H A Dexample-schema.yaml10 $id: http://devicetree.org/schemas/example-schema.yaml#
11 # $schema is the meta-schema this schema should be validated with.
12 $schema: http://devicetree.org/meta-schemas/core.yaml#
33 # In this case, a 'false' schema will never match.
36 # A dictionary of DT properties for this binding schema
42 # The boolean schema must be a list of schemas.
64 # specific schema don't need to do those checks.
124 # The type is set in the core schema. Per-device schema only need to set
156 core schema.
211 # For multiple 'if' schema, group them under an 'allOf'.
[all …]
H A DMakefile4 DT_MK_SCHEMA ?= dt-mk-schema
67 $(obj)/processed-schema.json: $(DT_DOCS) $(src)/.yamllint check_dtschema_version FORCE
70 always-y += processed-schema.json
79 dt_compatible_check: $(obj)/processed-schema.json
/openbmc/libcper/
H A Djson-schema.c24 int validate_integer(const char *field_name, json_object *schema,
26 int validate_string(const char *field_name, json_object *schema,
30 int validate_array(const char *field_name, json_object *schema,
163 json_object_object_get(schema, "type"); in validate_field()
240 return validate_integer(field_name, schema, object, in validate_field()
243 return validate_string(field_name, schema, object, in validate_field()
246 return validate_object(field_name, schema, object, in validate_field()
249 return validate_array(field_name, schema, object, in validate_field()
303 (void)schema; in validate_string()
316 json_object_object_get(schema, "required"); in validate_object()
[all …]
/openbmc/qemu/tests/qtest/
H A Dqmp-cmd-test.c132 static void qmp_schema_init(QmpSchema *schema) in qmp_schema_init() argument
153 for (tail = schema->list; tail; tail = tail->next) { in qmp_schema_init()
160 return g_hash_table_lookup(schema->hash, name); in qmp_schema_lookup()
163 static void qmp_schema_cleanup(QmpSchema *schema) in qmp_schema_cleanup() argument
165 qapi_free_SchemaInfoList(schema->list); in qmp_schema_cleanup()
166 g_hash_table_destroy(schema->hash); in qmp_schema_cleanup()
184 static void add_query_tests(QmpSchema *schema) in add_query_tests() argument
346 QmpSchema schema; in main() local
351 qmp_schema_init(&schema); in main()
352 add_query_tests(&schema); in main()
[all …]
/openbmc/bmcweb/redfish-core/lib/
H A Dredfish_v1.hpp118 const std::string& schema) in jsonSchemaGet() argument
130 messages::resourceNotFound(asyncResp->res, "JsonSchemaFile", schema); in jsonSchemaGet()
143 if (split[0] != schema) in jsonSchemaGet()
150 boost::urls::format("/redfish/v1/JsonSchemas/{}", schema); in jsonSchemaGet()
152 json["Name"] = schema + " Schema File"; in jsonSchemaGet()
153 json["Description"] = schema + " Schema File Location"; in jsonSchemaGet()
154 json["Id"] = schema; in jsonSchemaGet()
155 std::string schemaName = std::format("#{}.{}", schema, schema); in jsonSchemaGet()
168 "/redfish/v1/JsonSchemas/{}/{}", schema, filename); in jsonSchemaGet()
176 messages::resourceNotFound(asyncResp->res, "JsonSchemaFile", schema); in jsonSchemaGet()
[all …]
/openbmc/openbmc/poky/scripts/
H A Doe-trim-schemas37 for schema in child(xml.getroot(), "schemalist").getchildren():
38 e = child(schema, "short")
40 schema.remove(e)
42 e = child(schema, "long")
44 schema.remove(e)
46 for locale in children(schema, "locale"):
53 schema.remove(locale)
/openbmc/qemu/scripts/qapi/
H A Dmain.py19 from .schema import QAPISchema
50 schema = QAPISchema(schema_file)
51 gen_types(schema, output_dir, prefix, builtins)
52 gen_visit(schema, output_dir, prefix, builtins)
53 gen_commands(schema, output_dir, prefix, gen_tracing)
54 gen_events(schema, output_dir, prefix)
55 gen_introspect(schema, output_dir, prefix, unmask)
94 generate(args.schema,
H A Dschema.py143 super().check(schema)
369 super().check(schema)
432 super().check(schema)
479 super().check(schema)
556 super().check(schema)
572 m.check(schema)
663 super().check(schema)
738 v.check(schema)
799 v.check(schema)
1022 super().check(schema)
[all …]
/openbmc/qemu/storage-daemon/qapi/
H A Dqapi-schema.json4 # Note that modules are shared with the QEMU main schema under the assumption
5 # that the storage daemon schema is a subset of the main schema. For the shared
7 # from the main schema.
9 # If you wish to extend the storage daemon schema to contain things that are
10 # not in the main schema, be aware that array types of types defined in shared
12 # in the main schema. Therefore, if you use such arrays, you may need to define
13 # the array type in the main schema, even if it is unused outside of the
21 # stable order, it's best to include each sub-schema just once, or
/openbmc/qemu/monitor/
H A Dqmp-cmds-control.c182 static SchemaInfoList *zap_deprecated(SchemaInfoList *schema) in zap_deprecated() argument
188 schema = split_off_generic_list(schema, is_entity_deprecated, &to_zap); in zap_deprecated()
191 for (tail = schema; tail; tail = tail->next) { in zap_deprecated()
201 return schema; in zap_deprecated()
208 SchemaInfoList *schema = NULL; in qmp_query_qmp_schema() local
211 visit_type_SchemaInfoList(v, NULL, &schema, &error_abort); in qmp_query_qmp_schema()
212 g_assert(schema); in qmp_query_qmp_schema()
218 return zap_deprecated(schema); in qmp_query_qmp_schema()
220 return schema; in qmp_query_qmp_schema()
/openbmc/bmcweb/redfish-core/schema/oem/openbmc/
H A Dmeson.build9 foreach option_key, schema : schemas
12 'csdl/@0@_v1.xml'.format(schema),
13 install_dir: 'share/www/redfish/v1/schema',
18 'json-schema/@0@.v1_0_0.json'.format(schema),
/openbmc/phosphor-logging/extensions/openpower-pels/registry/tools/
H A Dvalidate_registry.py113 def validate_schema(registry, schema): argument
125 if schema:
128 with open(schema) as schema_handle:
177 schema = args.schema_file variable
179 schema = None variable
181 validate_schema(args.registry_file, schema)
/openbmc/openpower-hw-diags/analyzer/ras-data/
H A Dmeson.build14 # Install the RAS data schema
16 ras_data_schema = files( 'schema/ras-data-schema-v02.json' )
18 install_data( ras_data_schema, install_dir: join_paths(package_dir, 'schema') )
/openbmc/openbmc/poky/meta/recipes-sato/settings-daemon/files/
H A Daddsoundkeys.patch24 </schema>
26 + <schema>
35 + </schema>
37 + <schema>
46 + </schema>
/openbmc/entity-manager/schemas/
H A DREADME.md1 # Entity manager configuration file schema
4 a [JSON schema][1]. This document provides an overview of the general structure
11 most schema describes a single object or an array of objects.
14 entity manager configuration file and schema file names must be
30 supported types, consult the schema (global.json).
49 Each exposes element has its own schema which is outlined by the subschemas in
50 the schemas directory. Each schema must require a type and name (not to be
61 New subschema for the exposes property must be added to the schema directory,
73 [1]: https://json-schema.org/
/openbmc/bmcweb/scripts/csdl-to-json-converter/
H A DREADME.md1 # Generating Json schema for OEM schemas
10 ….py --input ~/bmcweb/redfish-core/schema/oem/openbmc/csdl --output ~/bmcweb/redfish-core/schema/oe…
/openbmc/qemu/gdbstub/
H A Dgdbstub.c882 g_assert(schema); in cmd_parse_params()
1456 .schema = "s0"
1463 .schema = "l0"
1485 .schema = "l0"
1497 .schema = "s0"
1771 .schema = "l0"
1846 .schema = "t0"
1858 .schema = "s0"
1865 .schema = "s0"
1870 .schema = "s0"
[all …]
/openbmc/entity-manager/scripts/
H A Dvalidate_configs.py73 schema_file = args.schema
88 schema = {}
91 schema = json.load(fd)
138 spec.check_schema(schema)
142 resolver = jsonschema.RefResolver(base_uri, schema)
143 validator = spec(schema, resolver=resolver)
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/cim-schema/
H A Dcim-schema-final_2.40.0.bb1 require cim-schema.inc
5 RCONFLICTS:${PN} = "cim-schema-exper"
16 install -d -m 0755 ${D}${datadir}/doc/cim-schema-${PV}
17 install -m 644 ${WORKDIR}/LICENSE ${D}${datadir}/doc/cim-schema-${PV}
H A Dcim-schema-exper_2.50.0.bb1 require cim-schema.inc
5 RCONFLICTS:${PN} = "cim-schema-final"
16 install -d -m 0755 ${D}${datadir}/doc/cim-schema-${PV}
17 install -m 644 ${WORKDIR}/LICENSE ${D}${datadir}/doc/cim-schema-${PV}
H A Dcim-schema-docs_2.40.0.bb1 require cim-schema.inc
15 install -d -m 0755 ${D}${datadir}/doc/cim-schema-${PV}-docs
16 … cp -R --no-dereference --preserve=mode,links -v ${S}/* ${D}${datadir}/doc/cim-schema-${PV}-docs
/openbmc/openpower-hw-diags/util/
H A Ddata_file.cpp33 valijson::Schema schema; in validateJson() local
36 parser.populateSchema(schemaAdapter, schema); in validateJson()
41 return validator.validate(schema, targetAdapter, nullptr); in validateJson()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/json-schema-validator/json-schema-validator/
H A D0003-For-root-value-use-empty-pointer.patch6 Upstream-Status: Backport [https://github.com/pboettch/json-schema-validator/commit/59c9d6200bf3cd5…
17 @@ -553,6 +553,9 @@ class type_schema : public schema
28 propertyNames_ = schema::make(attr.value(), root, {"propertyNames"}, uris);
/openbmc/openbmc/poky/meta/recipes-gnome/gnome/gconf/
H A Dpython3.patch3 Convert gsettings-schema-convert to use python3.
10 --- a/gsettings/gsettings-schema-convert
11 +++ b/gsettings/gsettings-schema-convert
33 …GSettingsSchemaConvertException('\'%s\' does not look like a valid gconf schema file: %s' % (argfi…

12345678910>>...71