File tree Expand file tree Collapse file tree 5 files changed +10
-3
lines changed Expand file tree Collapse file tree 5 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 11$schema : " https://json-schema.org/draft/2020-12/schema"
2- $id : " /schemas/structure "
2+ $id : " /schemas/navigation "
33title : " Wiki Article Schema"
44type : " object"
55required :
Original file line number Diff line number Diff line change 11$schema : " https://json-schema.org/draft/2020-12/schema"
2- $id : " /schemas/structure "
2+ $id : " /schemas/navigation "
33title : " Wiki Navigation Schema"
44type : " object"
55
Original file line number Diff line number Diff line change 11@ echo off
22
3+ .\tools\yajsv.exe -s schemas/navigation.yaml " wiki/navigation.yaml"
4+ .\tools\yajsv.exe -s schemas/categories.yaml " wiki/categories.yaml"
5+
36for /r " functions" %%f in (*.yaml) do (
47 .\tools\yajsv.exe -s schemas/function.yaml " %%f "
58)
9+
10+ for /r " articles" %%f in (*.yaml) do (
11+ .\tools\yajsv.exe -s schemas/article.yaml " %%f "
12+ )
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- tools/yajsv -s schemas/structure .yaml wiki/structure .yaml
3+ tools/yajsv -s schemas/navigation .yaml wiki/navigation .yaml
44tools/yajsv -s schemas/categories.yaml wiki/categories.yaml
55
66find ' functions/' -name ' *.yaml' -type f -print0 | xargs -0 -I {} tools/yajsv -s schemas/function.yaml {}
File renamed without changes.
You can’t perform that action at this time.
0 commit comments