We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0db1275 + fe63fc3 commit a8aa93eCopy full SHA for a8aa93e
2 files changed
schema/config-schema.json
@@ -1,6 +1,6 @@
1
{
2
"description": "Model Artifact Configuration Schema",
3
- "$schema": "http://json-schema.org/draft-04/schema#",
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
4
"$id": "https://github.com/modelpack/model-spec/config",
5
"type": "object",
6
"properties": {
schema/validator.go
@@ -58,6 +58,7 @@ func (v Validator) validateSchema(src io.Reader) error {
58
}
59
60
c := jsonschema.NewCompiler()
61
+ c.AssertFormat = true
62
63
// load the schema files from the embedded FS
64
dir, err := specFS.ReadDir(".")
0 commit comments