File tree 5 files changed +10
-3
lines changed
5 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1
1
$schema : " https://json-schema.org/draft/2020-12/schema"
2
- $id : " /schemas/structure "
2
+ $id : " /schemas/navigation "
3
3
title : " Wiki Article Schema"
4
4
type : " object"
5
5
required :
Original file line number Diff line number Diff line change 1
1
$schema : " https://json-schema.org/draft/2020-12/schema"
2
- $id : " /schemas/structure "
2
+ $id : " /schemas/navigation "
3
3
title : " Wiki Navigation Schema"
4
4
type : " object"
5
5
Original file line number Diff line number Diff line change 1
1
@ echo off
2
2
3
+ .\tools\yajsv.exe -s schemas/navigation.yaml " wiki/navigation.yaml"
4
+ .\tools\yajsv.exe -s schemas/categories.yaml " wiki/categories.yaml"
5
+
3
6
for /r " functions" %%f in (*.yaml) do (
4
7
.\tools\yajsv.exe -s schemas/function.yaml " %%f "
5
8
)
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 1
1
#! /bin/bash
2
2
3
- tools/yajsv -s schemas/structure .yaml wiki/structure .yaml
3
+ tools/yajsv -s schemas/navigation .yaml wiki/navigation .yaml
4
4
tools/yajsv -s schemas/categories.yaml wiki/categories.yaml
5
5
6
6
find ' 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