Skip to content

Commit 753d3fd

Browse files
committed
Added 2nd copy of schema.json as shipped to npx and used by validator
1 parent 4330a01 commit 753d3fd

File tree

1 file changed

+25
-21
lines changed

1 file changed

+25
-21
lines changed

docs/standards/index.md

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -21,61 +21,65 @@ config:
2121
layout: dagre
2222
---
2323
flowchart TB
24-
subgraph bids-specification-repo["<a href=https://github.com/bids-standard/bids-specification>bids-standard/bids-specification</a>"]
24+
subgraph s6["<a href=https://github.com/bids-standard/bids-specification>bids-standard/bids-specification</a>"]
2525
markdown@{ label: "<a href='https://github.com/bids-standard/bids-specification/tree/v1.10.0/src'>src/</a><br>markdown" }
2626
bidsschematools@{ label: "<a href='https://github.com/bids-standard/bids-specification/tree/v1.10.0/tools/schemacode'>tools/schemacode/</a><br/>bidsschematools" }
2727
schema@{ label: "<a href='https://github.com/bids-standard/bids-specification/tree/v1.10.0/src/schema'>src/schema/</a><br>YAMLs" }
28-
end
29-
subgraph s2["<a href=https://bids-specification.readthedocs.io>bids-specification.readthedocs.io</a>"]
28+
end
29+
subgraph s2["<a href=https://bids-specification.readthedocs.io>bids-specification.readthedocs.io</a>"]
3030
specification["specification html"]
3131
schema.json@{ label: "<a href='https://bids-specification.readthedocs.io/en/v1.10.0/schema.json'>schema.json</a>" }
32-
end
33-
subgraph s5["<a href=https://bids.neuroimaging.io>bids.neuroimaging.io</a>"]
32+
end
33+
subgraph s_jsr["<a href=https://jsr.io/@bids/schema>https://jsr.io/@bids/schema</a>"]
34+
schema.json-jsr["schema.json"]
35+
end
36+
subgraph s5["<a href=https://bids.neuroimaging.io>bids.neuroimaging.io</a>"]
3437
s2
35-
end
36-
subgraph subGraph5["legacy-validator @ v1.15.1"]
38+
end
39+
subgraph subGraph5["legacy-validator @ v1.15.1"]
3740
Node.js["Node.js"]
3841
regex["filename patterns"]
3942
web1@{ label: "<a href=\"https://bids-standard.github.io/legacy-validator/\">web</a>" }
4043
cli1["cli"]
41-
end
42-
subgraph subGraph6["bids-validator ≥ v2.0"]
44+
end
45+
subgraph subGraph6["bids-validator ≥ v2.0"]
4346
web@{ label: "<a href=\"https://bids-standard.github.io/bids-validator/\">web</a>" }
4447
deno["deno"]
4548
cli["cli"]
46-
end
47-
subgraph subGraph7["python-validator ≥ v1.14.7"]
49+
end
50+
subgraph subGraph7["python-validator ≥ v1.14.7"]
4851
python["python"]
4952
library["library"]
5053
cli3["cli"]
51-
end
52-
54+
end
5355
schema -. is interpreted by .-> bidsschematools
5456
markdown -- is interpreted by --> mkdocs@{ label: "<a href=''>mkdocs</a>" }
5557
bidsschematools -- provides MACROS for --> mkdocs
5658
mkdocs -- renders HTML --> specification
57-
schema -- is instance of --> bids-schema["<a href=https://bids-website.readthedocs.io/en/latest/standards/schema/index.html>BIDS Schema</a>"]
59+
schema -- is instance of --> bids-schema@{ label: "<a href=\"https://bids-website.readthedocs.io/en/latest/standards/schema/index.html\">BIDS Schema</a>" }
5860
bids-schema -. is implemented by .-> deno & bidsschematools & python
5961
bids-schema -. is reflected in .-> metaschema.json@{ label: "<a href='https://github.com/bids-standard/bids-specification/blob/master/src/metaschema.json'>metaschema.json</a><br/>JSON Schema" }
6062
schema.json -- is instance of --> bids-schema & metaschema.json
61-
bidsschematools -- compiles YAMLs as --> schema.json
63+
schema.json-jsr -- is instance of --> bids-schema & metaschema.json
64+
bidsschematools -- compiles YAMLs as --> schema.json & schema.json-jsr
6265
regex --> Node.js
6366
Node.js --> web1 & cli1
6467
deno --> web & cli
6568
python --> library & cli3
6669
specification -. is interpreted by .-> regex
67-
schema.json -. is interpreted by .-> deno
70+
schema.json-jsr -. is interpreted by .-> deno
6871
bidsschematools -- is used by --> python
69-
7072
markdown@{ shape: docs}
71-
schema@{ shape: docs}
7273
bidsschematools@{ shape: proc}
73-
mkdocs@{ shape: proc}
74-
deno@{ shape: subproc}
75-
metaschema.json@{ shape: doc}
74+
schema@{ shape: docs}
7675
schema.json@{ shape: doc}
76+
schema.json-jsr@{ shape: doc}
7777
Node.js@{ shape: subproc}
7878
web1@{ shape: rect}
7979
web@{ shape: rect}
80+
deno@{ shape: subproc}
8081
python@{ shape: subproc}
82+
mkdocs@{ shape: proc}
83+
bids-schema@{ shape: rect}
84+
metaschema.json@{ shape: doc}
8185
```

0 commit comments

Comments
 (0)