Specify JSONSchema spec

Since JSONSchema is still in a draft state as of this commit, we need to
specify a particular version of the JSONSchema spec

Signed-off-by: Ian Howell <ian.howell0@gmail.com>
pull/5350/head
Ian Howell 7 years ago
parent 9d2bd248a5
commit 304f1c4684

@ -1,3 +1,4 @@
$schema: http://json-schema.org/draft-07/schema#
title: Values title: Values
type: object type: object
properties: properties:

@ -1,3 +1,4 @@
$schema: http://json-schema.org/draft-07/schema#
title: Values title: Values
type: object type: object
properties: properties:

@ -772,6 +772,7 @@ schema is the yaml representation of a [JSON Schema](https://json-schema.org/).
It might look something like this: It might look something like this:
```yaml ```yaml
$schema: http://json-schema.org/draft-07/schema#
title: Values title: Values
type: object type: object
properties: properties:

@ -1,3 +1,4 @@
$schema: http://json-schema.org/draft-07/schema#
title: Values title: Values
type: object type: object
properties: properties:

@ -492,6 +492,7 @@ chapter:
func TestReadSchema(t *testing.T) { func TestReadSchema(t *testing.T) {
schemaTest := `# Test YAML parse schemaTest := `# Test YAML parse
$schema: http://json-schema.org/draft-07/schema#
title: Values title: Values
type: object type: object
properties: properties:

Loading…
Cancel
Save