Skip to content

Commit

Permalink
Update schema.yml (#6)
Browse files Browse the repository at this point in the history
* Update schema.yml

* Update schema.yml

* Update schema.yml

* Update schema.yml

* Update schema.yml

* Update validate_yaml.yml

* Update schema.yml

* Testnest

* uncomment shcema

* Update schema.yml

* Update schema.yml

* Update schema.yml

* Update schema.yml

* Recomment shcmea

* Update te_reo.yaml
  • Loading branch information
CallumWalley authored May 14, 2024
1 parent 3c2321a commit cbb7446
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/validate_yaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ jobs:
uses: GrantBirki/json-yaml-validate@v2.7.1
with:
comment: True
yaml_schema: schemas/schema.yml
# yaml_schema: schemas/schema.yml # Does not support root level checking.
# TODO: nest dictionaries one deep.
base_dir: dic
32 changes: 16 additions & 16 deletions schemas/schema.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
---
- long:
type: string
short:
type: string
checkcase:
type: boolean
plural:
type: boolean
possessive:
type: boolean
outputs:
- type: string
enum: [spellcheck, snippet, glossary]


words:
match: /^[\w\-]+$/,
long:
type: string
short:
type: string
checkcase:
type: boolean
plural:
type: boolean
possessive:
type: boolean
outputs:
- type: string
enum: [spellcheck, snippet, glossary]

0 comments on commit cbb7446

Please sign in to comment.