toml-spec: compliant $id in schema
This commit is contained in:
parent
a2e21cb926
commit
e0786c2e94
2 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"$id": "jay_toml_schema",
|
||||
"$id": "urn:jay_toml_schema",
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$ref": "#/$defs/Config",
|
||||
"$defs": {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ pub fn generate_json_schema(
|
|||
}
|
||||
|
||||
let json = json!({
|
||||
"$id": "jay_toml_schema",
|
||||
"$id": "urn:jay_toml_schema",
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$ref": "#/$defs/Config",
|
||||
"$defs": types,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue