Home
last modified time | relevance | path

Searched +full:json +full:- +full:schema (Results 1 – 25 of 72) sorted by relevance

123

/OK3568_Linux_fs/kernel/Documentation/devicetree/
H A Dwriting-schema.rst1 .. SPDX-License-Identifier: GPL-2.0
3 Writing DeviceTree Bindings in json-schema
6 Devicetree bindings are written using json-schema vocabulary. Schema files are
7 written in a JSON compatible subset of YAML. YAML is used instead of JSON as it
11 Schema Contents
12 ---------------
14 Each schema doc is a structured json-schema which is defined by a set of
15 top-level properties. Generally, there is one binding defined per file. The
16 top-level json-schema properties used are:
19 A json-schema unique identifier string. The string must be a valid
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 DT_DOC_CHECKER ?= dt-doc-validate
3 DT_EXTRACT_EX ?= dt-extract-example
4 DT_MK_SCHEMA ?= dt-mk-schema
13 $(DT_DOC_CHECKER) --version 2>/dev/null || echo 0; } | sort -VC || \
23 DT_TMP_SCHEMA := $(obj)/processed-schema-examples.json
25 find_cmd = find $(srctree)/$(src) \( -name '*.yaml' ! \
26 -name 'processed-schema*' ! \
27 -name '*.example.dt.yaml' \)
31 xargs $(DT_SCHEMA_LINT) -f parsable -c $(srctree)/$(src)/.yamllint
[all …]
H A Dexample-schema.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 # All the top-level keys are standard json-schema keywords except for
10 $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#
14 title: An example schema annotated with jsonschema details
17 - Rob Herring <robh@kernel.org>
20 A more detailed multi-line description of the binding.
29 # 'select' is a schema applied to a DT node to determine if this binding
[all …]
H A D.gitignore1 # SPDX-License-Identifier: GPL-2.0-only
3 processed-schema*.yaml
4 processed-schema*.json
H A Dsubmitting-patches.rst1 .. SPDX-License-Identifier: GPL-2.0
10 0) Normal patch submission rules from Documentation/process/submitting-patches.rst
13 1) The Documentation/ and include/dt-bindings/ portion of the patch should
16 "dt-bindings: <binding dir>: ..."
22 2) DT binding files are written in DT schema format using json-schema
28 See ../writing-schema.rst for more details about schema and tools setup.
31 (GPL-2.0-only OR BSD-2-Clause).
54 - compatible: Must contain '"nvidia,<chip>-pcie",
55 "nvidia,tegra20-pcie"' where <chip> is tegra30, tegra132, ...
62 string that is matched by the driver (as in the "nvidia,tegra20-pcie"
[all …]
/OK3568_Linux_fs/buildroot/package/python-json-schema-validator/
H A Dpython-json-schema-validator.hash1 # md5 from https://pypi.python.org/pypi/json-schema-validator/json, sha256 locally computed
2 md5 7691b41739faaa8b0965279e72889932 json-schema-validator-2.4.1.tar.gz
3 sha256 1562a21d83e56231cef09b9aa2c06e8f845974bd26f24be293de6cab9a2fac91 json-schema-validator-2.4…
H A DConfig.in2 bool "python-json-schema-validator"
4 JSON Schema Validator
6 https://pypi.python.org/pypi/json-schema-validator
H A Dpython-json-schema-validator.mk3 # python-json-schema-validator
8 PYTHON_JSON_SCHEMA_VALIDATOR_SOURCE = json-schema-validator-$(PYTHON_JSON_SCHEMA_VALIDATOR_VERSION)…
10 PYTHON_JSON_SCHEMA_VALIDATOR_LICENSE = LGPL-3.0
12 PYTHON_JSON_SCHEMA_VALIDATOR_DEPENDENCIES = host-python-versiontools
14 $(eval $(python-package))
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/json-schema-validator/
H A Djson-schema-validator_2.1.0.bb1 SUMMARY = "JSON schema validator for JSON for Modern C++"
5 SRC_URI = "git://github.com/pboettch/json-schema-validator;branch=master;protocol=https \
6 file://0001-cmake-Use-GNUInstallDirs.patch \
12 DEPENDS += "nlohmann-json"
15 EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF"
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/json-schema-validator/json-schema-validator/
H A D0001-cmake-Use-GNUInstallDirs.patch3 Date: Sat, 19 Mar 2022 22:40:49 -0700
9 Upstream-Status: Submitted [https://github.com/pboettch/json-schema-validator/pull/197]
10 Signed-off-by: Khem Raj <raj.khem@gmail.com>
11 ---
12 CMakeLists.txt | 8 +++++---
13 1 file changed, 5 insertions(+), 3 deletions(-)
15 diff --git a/CMakeLists.txt b/CMakeLists.txt
17 --- a/CMakeLists.txt
19 @@ -122,11 +122,13 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
28 - LIBRARY DESTINATION lib
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/rapidjson/1.1.0/include/rapidjson/
H A Dschema.h1 // Tencent is pleased to support the open source community by making RapidJSON available->
3 // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip-> All rights reserved->
6 // in compliance with the License-> You may obtain a copy of the License at
8 // http://opensource->org/licenses/MIT
12 // CONDITIONS OF ANY KIND, either express or implied-> See the License for the
13 // specific language governing permissions and limitations under the License->
61 RAPIDJSON_DIAG_OFF(weak-vtables)
62 RAPIDJSON_DIAG_OFF(exit-time-destructors)
63 RAPIDJSON_DIAG_OFF(c++98-compat-pedantic)
64 RAPIDJSON_DIAG_OFF(variadic-macros)
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oe/
H A Dspdx.py2 # SPDX-License-Identifier: GPL-2.0-only
6 # This library is intended to capture the JSON SPDX specification in a type
10 # The documented SPDX spec document doesn't cover the JSON syntax for
11 # particular configuration, which can make it hard to determine what the JSON
13 # SPDX JSON schema which can be found here: https://github.com/spdx/spdx-spec
14 # in schemas/spdx-schema.json
19 import json
268 spdxVersion = _String(default="SPDX-" + SPDX_VERSION)
269 dataLicense = _String(default="CC0-1.0")
270 SPDXID = _String(default="SPDXRef-DOCUMENT")
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/python/
H A Dpython3-jsonschema_4.4.0.bb1 SUMMARY = "An implementation of JSON Schema validation for Python"
5 file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af"
11 DEPENDS += "${PYTHON_PN}-vcversioner-native ${PYTHON_PN}-setuptools-scm-native"
15 ${PYTHON_PN}-idna \
16 ${PYTHON_PN}-jsonpointer \
17 ${PYTHON_PN}-webcolors \
18 ${PYTHON_PN}-rfc3987 \
19 ${PYTHON_PN}-strict-rfc3339 \
22 ${PYTHON_PN}-idna \
23 ${PYTHON_PN}-jsonpointer \
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-pykwalify_1.8.0.bb1 SUMMARY = "YAML/JSON validation library"
2 DESCRIPTION = "pykwalify is a schema validator for YAML and JSON"
14 ${PYTHON_PN}-docopt \
15 ${PYTHON_PN}-dateutil \
16 ${PYTHON_PN}-ruamel-yaml \
H A Dpython3-fastjsonschema_2.15.3.bb4 SUMMARY = "Fastest Python implementation of JSON schema"
5 HOMEPAGE = "https://github.com/seznam/python-fastjsonschema"
6 LICENSE = "BSD-3-Clause"
10 PYPI_SRC_URI = "git://github.com/horejsek/python-fastjsonschema;protocol=https;branch=master"
12 SRC_URI += "file://run-ptest"
19 install -d ${D}${PTEST_PATH}/tests
20 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
23 RDEPENDS:${PN}-ptest += "\
24 python3-colorama \
25 python3-jsonschema \
[all …]
/OK3568_Linux_fs/buildroot/package/valijson/
H A DConfig.in9 Valijson is a header-only JSON Schema Validation library for
11 you load JSON Schemas, and validate documents loaded by one
/OK3568_Linux_fs/kernel/tools/testing/kunit/
H A Dkunit_json.py1 # SPDX-License-Identifier: GPL-2.0
3 # Generates JSON from KUnit results according to
4 # KernelCI spec: https://github.com/kernelci/kernelci-doc/wiki/Test-API
9 import json
34 # failure message, see https://api.kernelci.org/schema-test-case.html#get
55 json_obj = json.dumps(test_group, indent=4)
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Drootfs-postcommands.bbclass2 # Zap the root password if debug-tweaks and empty-root-password features are not enabled
3 …S_COMMAND += '${@bb.utils.contains_any("IMAGE_FEATURES", [ 'debug-tweaks', 'empty-root-password' ]…
5 …ccept logins from accounts with an empty password string if debug-tweaks or allow-empty-password i…
6 …S_COMMAND += '${@bb.utils.contains_any("IMAGE_FEATURES", [ 'debug-tweaks', 'allow-empty-password' …
8 # Allow dropbear/openssh to accept root logins if debug-tweaks or allow-root-login is enabled
9 …S_COMMAND += '${@bb.utils.contains_any("IMAGE_FEATURES", [ 'debug-tweaks', 'allow-root-login' ], "…
11 # Enable postinst logging if debug-tweaks or post-install-logging is enabled
12 …_COMMAND += '${@bb.utils.contains_any("IMAGE_FEATURES", [ 'debug-tweaks', 'post-install-logging' ]…
17 # Tweak files in /etc if read-only-rootfs is enabled
18 ROOTFS_POSTPROCESS_COMMAND += '${@bb.utils.contains("IMAGE_FEATURES", "read-only-rootfs", "read_onl…
[all …]
/OK3568_Linux_fs/buildroot/package/python-jsonschema/
H A DConfig.in2 bool "python-jsonschema"
5 An implementation of JSON Schema validation for Python.
/OK3568_Linux_fs/yocto/meta-openembedded/meta-python/recipes-extended/python-cson/
H A Dpython3-cson_git.bb4 DESCRIPTION = "Python library for CSON (schema-compressed JSON)"
5 HOMEPAGE = "https://github.com/gt3389b/python-cson/"
11 SRC_URI = "git://github.com/gt3389b/python-cson.git;branch=master;protocol=https"
15 RDEPENDS:${PN}:class-native = ""
16 DEPENDS:append:class-native = " python-native "
/OK3568_Linux_fs/buildroot/package/python-autobahn/
H A D0001-Fix-duplicate-xbr-packages-and-xbr-templates-package.patch3 Date: Sat, 12 Jun 2021 15:32:37 -0600
7 Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
10 ---
11 MANIFEST.in | 1 -
12 setup.py | 10 ++++++++--
13 2 files changed, 8 insertions(+), 3 deletions(-)
15 diff --git a/MANIFEST.in b/MANIFEST.in
17 --- a/MANIFEST.in
19 @@ -1,4 +1,3 @@
22 recursive-include autobahn/wamp/gen/schema *
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/style/
H A Dconversion.hpp14 …The `conversion` namespace defines conversions from JSON structures conforming to the schema defin…
33 …conversion from both RapidJSON types, and a JSON structure represented with `NSArray`/`NSDictionar…
41 use of std::unique_ptr, unsuitable for this performance-sensitive code.
50 * `isUndefined(v)` -- returns a boolean indication whether `v` is undefined or a JSON null
52 * `isArray(v)` -- returns a boolean indicating whether `v` represents a JSON array
53 * `arrayLength(v)` -- called only if `isArray(v)`; returns a size_t length
54 * `arrayMember(v)` -- called only if `isArray(v)`; returns `V` or `V&`
56 * `isObject(v)` -- returns a boolean indicating whether `v` represents a JSON object
57 … * `objectMember(v, name)` -- called only if `isObject(v)`; `name` is `const char *`; return value:
60 * `eachMember(v, [] (const std::string&, const V&) -> optional<Error> {...})` -- called
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/valijson/
H A Dvalijson_0.6.bb1 SUMMARY = "Header-only C++ library for JSON Schema validation"
3 LICENSE = "BSD-2-Clause"
15 PACKAGECONFIG[boost] = "-Dvalijson_EXCLUDE_BOOST=FALSE,-Dvalijson_EXCLUDE_BOOST=TRUE,boost"
16 PACKAGECONFIG[examples] = "-Dvalijson_BUILD_EXAMPLES=TRUE,-Dvalijson_BUILD_EXAMPLES=FALSE,curlpp"
17 PACKAGECONFIG[tests] = "-Dvalijson_BUILD_TESTS=TRUE,-Dvalijson_BUILD_TESTS=FALSE,curlpp"
20 RDEPENDS:${PN}-dev = ""
25 install -d ${D}${includedir}/compat
26 install -d ${D}${includedir}/valijson
27 install -d ${D}${includedir}/valijson/adapters
28 install -d ${D}${includedir}/valijson/constraints
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dtest_offload.py7 # June 1991 as shown in the file COPYING in the top-level directory of this
20 import json
50 log_level -= sub
113 stdout = stdout.decode("utf-8")
114 stderr = stderr.decode("utf-8")
119 if stderr[-1] == "\n":
120 stderr = stderr[:-1]
129 if len(stderr) > 0 and stderr[-1] == "\n":
130 stderr = stderr[:-1]
139 cmd("rm -f %s" % (f))
[all …]
/OK3568_Linux_fs/buildroot/package/qt5/qt5webengine-chromium/
H A Dchromium-latest.inc2 # find * -type f \
3 # \( -iname 'license*' -o -iname 'copying*' -o -name 'APPLE_LICENSE' -o -name 'Copyright' -o -path …
4-a -not -name '*.cc' -not -name '*.py' -not -name '*.pyc' -not -name '*.h' -not -name 'LICENSE.sha…
5 # sort | sed 's%^\(.*\)$%\t\1 \\%') > package/qt5/qt5webengine-chromium/chromium-latest.inc
27 chromium/third_party/abseil-cpp/LICENSE \
38 chromium/third_party/angle/third_party/vulkan-headers/src/LICENSE.txt \
39 chromium/third_party/angle/third_party/vulkan-loader/src/LICENSE.txt \
40 chromium/third_party/angle/third_party/vulkan-tools/src/LICENSE.txt \
41 chromium/third_party/angle/tools/flex-bison/third_party/m4sugar/LICENSE \
42 chromium/third_party/angle/tools/flex-bison/third_party/skeletons/LICENSE \
[all …]

123