Gists don't let me upload binary files directly. To get the output.bin binary file, run:
echo "0x03 0x01 0x01 0x66 0x6f 0x6f 0xfa 0x01" | xxd -r > output.binGists don't let me upload binary files directly. To get the output.bin binary file, run:
echo "0x03 0x01 0x01 0x66 0x6f 0x6f 0xfa 0x01" | xxd -r > output.binTo bundle, run the following from the root of https://github.com/krakend/krakend-schema:
$ jsonschema bundle krakend.json --resolve v2.6| { | |
| "data": true, | |
| "strategy": true, | |
| "@extra_comment": "here" | |
| } |
| import re | |
| import sys | |
| from collections import defaultdict | |
| def split_and_group_errors(input_path): | |
| # Regex to detect the start of an error block and capture the diagnostic name | |
| start_pattern = re.compile( | |
| r'^(?P<file>.+?):(?P<line>\d+):(?P<col>\d+): error: .* \[(?P<diag>[^\]]+)\]' | |
| ) | |
| groups = defaultdict(list) |
| { | |
| "$schema": "https://json-schema.org/draft/2020-12/schema", | |
| "$ref": "https://movielabs.com/omc/json/schema/v2.6#/$defs/MediaCreationContext/properties/Character/properties/characterType", | |
| "$defs": { | |
| "schema": { | |
| "$schema": "https://json-schema.org/draft/2019-09/schema", | |
| "$id": "https://movielabs.com/omc/json/schema/v2.6", | |
| "title": "OMC-JSON Schema v2.6", | |
| "$comment": "Copyright 2021-2024 Motion Picture Laboratories, Inc.\nSPDX-License-Identifier: APACHE-2.0", | |
| "oneOf": [ |
| true |