-
-
Save jasminemoore-verses/0753a2cad8433f84706932b764f9e8c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-07/schema", | |
"$id": "http://json-schema.org/draft-07/schema", | |
"title": "Core schema meta-schema", | |
"definitions": { | |
"schemaArray": { | |
"type": "array", | |
"minItems": 1, | |
"items": { "$ref": "#" } | |
}, | |
"nonNegativeInteger": { | |
"type": "integer", | |
"minimum": 0 | |
}, | |
"nonNegativeIntegerDefault0": { | |
"allOf": [ | |
{ "$ref": "#/definitions/nonNegativeInteger" }, | |
{ "default": 0 } | |
] | |
}, | |
"simpleTypes": { | |
"enum": [ | |
"array", | |
"boolean", | |
"integer", | |
"null", | |
"number", | |
"object", | |
"string" | |
] | |
}, | |
"stringArray": { | |
"type": "array", | |
"items": { "type": "string" }, | |
"uniqueItems": true, | |
"default": [] | |
} | |
}, | |
"type": ["object", "boolean"], | |
"properties": { | |
"$id": { | |
"type": "string", | |
"format": "uri-reference" | |
}, | |
"$schema": { | |
"type": "string", | |
"format": "uri" | |
}, | |
"$ref": { | |
"type": "string", | |
"format": "uri-reference" | |
}, | |
"$comment": { | |
"type": "string" | |
}, | |
"title": { | |
"type": "string" | |
}, | |
"description": { | |
"type": "string" | |
}, | |
"default": true, | |
"readOnly": { | |
"type": "boolean", | |
"default": false | |
}, | |
"examples": { | |
"type": "array", | |
"items": true | |
}, | |
"multipleOf": { | |
"type": "number", | |
"exclusiveMinimum": 0 | |
}, | |
"maximum": { | |
"type": "number" | |
}, | |
"exclusiveMaximum": { | |
"type": "number" | |
}, | |
"minimum": { | |
"type": "number" | |
}, | |
"exclusiveMinimum": { | |
"type": "number" | |
}, | |
"maxLength": { "$ref": "#/definitions/nonNegativeInteger" }, | |
"minLength": { "$ref": "#/definitions/nonNegativeIntegerDefault0" }, | |
"pattern": { | |
"type": "string", | |
"format": "regex" | |
}, | |
"additionalItems": { "$ref": "#" }, | |
"items": { | |
"anyOf": [ | |
{ "$ref": "#" }, | |
{ "$ref": "#/definitions/schemaArray" } | |
], | |
"default": true | |
}, | |
"maxItems": { "$ref": "#/definitions/nonNegativeInteger" }, | |
"minItems": { "$ref": "#/definitions/nonNegativeIntegerDefault0" }, | |
"uniqueItems": { | |
"type": "boolean", | |
"default": false | |
}, | |
"contains": { "$ref": "#" }, | |
"maxProperties": { "$ref": "#/definitions/nonNegativeInteger" }, | |
"minProperties": { "$ref": "#/definitions/nonNegativeIntegerDefault0" }, | |
"required": { "$ref": "#/definitions/stringArray" }, | |
"additionalProperties": { "$ref": "#" }, | |
"definitions": { | |
"type": "object", | |
"additionalProperties": { "$ref": "#" }, | |
"default": {} | |
}, | |
"properties": { | |
"type": "object", | |
"additionalProperties": { "$ref": "#" }, | |
"default": {} | |
}, | |
"patternProperties": { | |
"type": "object", | |
"additionalProperties": { "$ref": "#" }, | |
"propertyNames": { "format": "regex" }, | |
"default": {} | |
}, | |
"dependencies": { | |
"type": "object", | |
"additionalProperties": { | |
"anyOf": [ | |
{ "$ref": "#" }, | |
{ "$ref": "#/definitions/stringArray" } | |
] | |
} | |
}, | |
"propertyNames": { "$ref": "#" }, | |
"const": true, | |
"enum": { | |
"type": "array", | |
"items": true, | |
"minItems": 1, | |
"uniqueItems": true | |
}, | |
"type": { | |
"anyOf": [ | |
{ "$ref": "#/definitions/simpleTypes" }, | |
{ | |
"type": "array", | |
"items": { "$ref": "#/definitions/simpleTypes" }, | |
"minItems": 1, | |
"uniqueItems": true | |
} | |
] | |
}, | |
"format": { "type": "string" }, | |
"contentMediaType": { "type": "string" }, | |
"contentEncoding": { "type": "string" }, | |
"if": {"$ref": "#"}, | |
"then": {"$ref": "#"}, | |
"else": {"$ref": "#"}, | |
"allOf": { "$ref": "#/definitions/schemaArray" }, | |
"anyOf": { "$ref": "#/definitions/schemaArray" }, | |
"oneOf": { "$ref": "#/definitions/schemaArray" }, | |
"not": { "$ref": "#" } | |
}, | |
"default": true | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
u64 0 0 | |
The application panicked (crashed). | |
Message: key # is missing | |
Location: /home/jasmine/.cargo/registry/src/github.com-1ecc6299db9ec823/typify-impl-0.0.12/src/convert.rs:967 | |
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | |
⋮ 8 frames hidden ⋮ | |
9: core::panicking::panic_display::ha103dd28e5023b08 | |
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/core/src/panicking.rs:147 | |
10: core::panicking::panic_str::h940bf021f492dc8c | |
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/core/src/panicking.rs:131 | |
11: core::option::expect_failed::h09b982639336e7ea | |
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/core/src/option.rs:2045 | |
12: typify_impl::convert::<impl typify_impl::TypeSpace>::convert_schema_object::h957da6479f64f0ec | |
at <unknown source file>:<unknown line> | |
13: typify_impl::convert::<impl typify_impl::TypeSpace>::convert_schema::h56b1419f7cecb650 | |
at <unknown source file>:<unknown line> | |
14: typify_impl::TypeSpace::id_for_schema::h240b665d9deb0c83 | |
at <unknown source file>:<unknown line> | |
15: typify_impl::convert::<impl typify_impl::TypeSpace>::convert_array::he61b2244119a11f5 | |
at <unknown source file>:<unknown line> | |
16: typify_impl::convert::<impl typify_impl::TypeSpace>::convert_schema_object::h957da6479f64f0ec | |
at <unknown source file>:<unknown line> | |
17: typify_impl::convert::<impl typify_impl::TypeSpace>::convert_schema::h56b1419f7cecb650 | |
at <unknown source file>:<unknown line> | |
18: typify_impl::TypeSpace::convert_ref_type::haf938f8e34266c5b | |
at <unknown source file>:<unknown line> | |
19: typify_impl::TypeSpace::add_root_schema::h28023613a4dcd574 | |
at <unknown source file>:<unknown line> | |
20: cargo_typify::convert::h81710023083cfcf2 | |
at <unknown source file>:<unknown line> | |
21: cargo_typify::main::h8c2226fc31303b06 | |
at <unknown source file>:<unknown line> | |
22: std::sys_common::backtrace::__rust_begin_short_backtrace::h5dfac1a935fbfcb1 | |
at <unknown source file>:<unknown line> | |
23: std::rt::lang_start::{{closure}}::hcf46c7b58019965b | |
at <unknown source file>:<unknown line> | |
24: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hd6efcd3bec896f2c | |
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/core/src/ops/function.rs:287 | |
25: std::panicking::try::do_call::hce04e543bb1f4cbb | |
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/panicking.rs:487 | |
26: std::panicking::try::h3342dd4e1f680968 | |
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/panicking.rs:451 | |
27: std::panic::catch_unwind::h148ce1e59ac0cee7 | |
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/panic.rs:140 | |
28: std::rt::lang_start_internal::{{closure}}::h25f9dda2057a67fe | |
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/rt.rs:148 | |
29: std::panicking::try::do_call::h7caaaeaf9401650b | |
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/panicking.rs:487 | |
30: std::panicking::try::he7d15285746cbbc2 | |
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/panicking.rs:451 | |
31: std::panic::catch_unwind::h89fb4f50c0301fe0 | |
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/panic.rs:140 | |
32: std::rt::lang_start_internal::h078acd489417d3c1 | |
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/rt.rs:148 | |
33: main<unknown> | |
at <unknown source file>:<unknown line> | |
34: __libc_start_main<unknown> | |
at ./csu/../csu/libc-start.c:308 | |
35: _start<unknown> | |
at <unknown source file>:<unknown line> | |
Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering. | |
Run with RUST_BACKTRACE=full to include source snippets. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment