jsonschema: use more specific schema identifiers
The latest version of `jsonschema` fails if we're not specific about which schema draft specification we're using. Update all of them to use the latest one (draft-07).
This commit is contained in:
parent
7703043195
commit
bfc69f0e4b
16 changed files with 16 additions and 16 deletions
|
@ -39,7 +39,7 @@
|
|||
|
||||
#: Full schema with metadata
|
||||
schema = {
|
||||
'$schema': 'http://json-schema.org/schema#',
|
||||
'$schema': 'http://json-schema.org/draft-07/schema#',
|
||||
'title': 'Spack bootstrap configuration file schema',
|
||||
'type': 'object',
|
||||
'additionalProperties': False,
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
import spack.schema.spec
|
||||
|
||||
schema = {
|
||||
'$schema': 'http://json-schema.org/schema#',
|
||||
'$schema': 'http://json-schema.org/draft-07/schema#',
|
||||
'title': 'Spack buildcache specfile schema',
|
||||
'type': 'object',
|
||||
'additionalProperties': False,
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
#: Full schema with metadata
|
||||
schema = {
|
||||
'$schema': 'http://json-schema.org/schema#',
|
||||
'$schema': 'http://json-schema.org/draft-07/schema#',
|
||||
'title': 'Spack cdash configuration file schema',
|
||||
'type': 'object',
|
||||
'additionalProperties': False,
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
|
||||
#: Full schema with metadata
|
||||
schema = {
|
||||
'$schema': 'http://json-schema.org/schema#',
|
||||
'$schema': 'http://json-schema.org/draft-07/schema#',
|
||||
'title': 'Spack compiler configuration file schema',
|
||||
'type': 'object',
|
||||
'additionalProperties': False,
|
||||
|
|
|
@ -110,7 +110,7 @@
|
|||
|
||||
#: Full schema with metadata
|
||||
schema = {
|
||||
'$schema': 'http://json-schema.org/schema#',
|
||||
'$schema': 'http://json-schema.org/draft-07/schema#',
|
||||
'title': 'Spack core configuration file schema',
|
||||
'type': 'object',
|
||||
'additionalProperties': False,
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
#: Full schema with metadata
|
||||
schema = {
|
||||
'$schema': 'http://json-schema.org/schema#',
|
||||
'$schema': 'http://json-schema.org/draft-07/schema#',
|
||||
'title': 'Spack spec schema',
|
||||
'type': 'object',
|
||||
'required': ['database'],
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
projections_scheme = spack.schema.projections.properties['projections']
|
||||
|
||||
schema = {
|
||||
'$schema': 'http://json-schema.org/schema#',
|
||||
'$schema': 'http://json-schema.org/draft-07/schema#',
|
||||
'title': 'Spack environment file schema',
|
||||
'type': 'object',
|
||||
'additionalProperties': False,
|
||||
|
|
|
@ -153,7 +153,7 @@
|
|||
|
||||
#: Full schema with metadata
|
||||
schema = {
|
||||
'$schema': 'http://json-schema.org/schema#',
|
||||
'$schema': 'http://json-schema.org/draft-07/schema#',
|
||||
'title': 'Spack gitlab-ci configuration file schema',
|
||||
'type': 'object',
|
||||
'additionalProperties': False,
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
#: Full schema with metadata
|
||||
schema = {
|
||||
'$schema': 'http://json-schema.org/schema#',
|
||||
'$schema': 'http://json-schema.org/draft-07/schema#',
|
||||
'title': 'Spack merged configuration file schema',
|
||||
'type': 'object',
|
||||
'additionalProperties': False,
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
#: Full schema with metadata
|
||||
schema = {
|
||||
'$schema': 'http://json-schema.org/schema#',
|
||||
'$schema': 'http://json-schema.org/draft-07/schema#',
|
||||
'title': 'Spack mirror configuration file schema',
|
||||
'type': 'object',
|
||||
'additionalProperties': False,
|
||||
|
|
|
@ -219,7 +219,7 @@
|
|||
|
||||
#: Full schema with metadata
|
||||
schema = {
|
||||
'$schema': 'http://json-schema.org/schema#',
|
||||
'$schema': 'http://json-schema.org/draft-07/schema#',
|
||||
'title': 'Spack module file configuration file schema',
|
||||
'type': 'object',
|
||||
'additionalProperties': False,
|
||||
|
|
|
@ -154,7 +154,7 @@ def deprecate_paths_and_modules(instance, deprecated_properties):
|
|||
|
||||
#: Full schema with metadata
|
||||
schema = {
|
||||
'$schema': 'http://json-schema.org/schema#',
|
||||
'$schema': 'http://json-schema.org/draft-07/schema#',
|
||||
'title': 'Spack package configuration file schema',
|
||||
'type': 'object',
|
||||
'additionalProperties': False,
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#: Full schema with metadata
|
||||
schema = {
|
||||
'$schema': 'http://json-schema.org/schema#',
|
||||
'$schema': 'http://json-schema.org/draft-07/schema#',
|
||||
'title': 'Spack view projection configuration file schema',
|
||||
'type': 'object',
|
||||
'additionalProperties': False,
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#: Full schema with metadata
|
||||
schema = {
|
||||
'$schema': 'http://json-schema.org/schema#',
|
||||
'$schema': 'http://json-schema.org/draft-07/schema#',
|
||||
'title': 'Spack repository configuration file schema',
|
||||
'type': 'object',
|
||||
'additionalProperties': False,
|
||||
|
|
|
@ -192,7 +192,7 @@
|
|||
|
||||
#: Full schema with metadata
|
||||
schema = {
|
||||
'$schema': 'http://json-schema.org/schema#',
|
||||
'$schema': 'http://json-schema.org/draft-07/schema#',
|
||||
'title': 'Spack spec schema',
|
||||
'type': 'object',
|
||||
'additionalProperties': False,
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
#: Full schema with metadata
|
||||
schema = {
|
||||
'$schema': 'http://json-schema.org/schema#',
|
||||
'$schema': 'http://json-schema.org/draft-07/schema#',
|
||||
'title': 'Spack core configuration file schema',
|
||||
'type': 'object',
|
||||
'additionalProperties': False,
|
||||
|
|
Loading…
Reference in a new issue