@@ -12,3 +12,39 @@ repos:
1212 - id : check-merge-conflict
1313 args : ["--assume-in-merge"]
1414 exclude : \.adoc$ # sections titles Level 6 "=======" get flagged otherwise
15+
16+ - repo : https://github.com/python-jsonschema/check-jsonschema
17+ rev : 0.29.4
18+ hooks :
19+ - id : check-jsonschema
20+ alias : check-jsonschema-inst
21+ files : ^arch/inst/.*\.(yaml|yml)$
22+ args : ["--schemafile", "schemas/inst_schema.json"]
23+ - id : check-jsonschema
24+ alias : check-jsonschema-csr
25+ files : ^arch/csr/.*\.(yaml|yml)$
26+ args : ["--schemafile", "schemas/csr_schema.json"]
27+ - id : check-jsonschema
28+ alias : check-jsonschema-ext
29+ files : ^arch/ext/.*\.(yaml|yml)$
30+ args : ["--schemafile", "schemas/ext_schema.json"]
31+ - id : check-jsonschema
32+ alias : check-jsonschema-cert-model
33+ files : ^arch/certificate_model/.*\.(yaml|yml)$
34+ args : ["--schemafile", "schemas/cert_model_schema.json"]
35+ - id : check-jsonschema
36+ alias : check-jsonschema-cert-class
37+ files : ^arch/certificate_class/.*\.(yaml|yml)$
38+ args : ["--schemafile", "schemas/cert_class_schema.json"]
39+ # Commenting because throwing errors and not sure this is complete yet
40+ # - id: check-jsonschema
41+ # alias: check-jsonschema-manual-version
42+ # files: ^arch/manual/.*\.(yaml|yml)$
43+ # args: ["--schemafile", "schemas/manual_version_schema.json"]
44+
45+ - repo : https://github.com/rbubley/mirrors-prettier
46+ rev : v3.3.3
47+ hooks :
48+ - id : prettier
49+ files : \.json$
50+ exclude : schemas/json-schema-draft-07.json
0 commit comments