Skip to content

Commit

Permalink
Update schema for metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
msrb committed Mar 18, 2019
1 parent adc6253 commit d2e5c37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion f8a_worker/workers/schemas/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Options(object):
name = jsl.StringField()
version = jsl.StringField()
specification = jsl.OneOfField([jsl.StringField(), jsl.NullField()])
resolved = jsl.OneOfField([jsl.StringField(), jsl.NullField()])
resolved = jsl.OneOfField([jsl.StringField(), jsl.NullField(), jsl.BooleanField()])
dependencies = jsl.ArrayField(jsl.DocumentField(jsl.RECURSIVE_REFERENCE_CONSTANT, as_ref=True))
# go glide
subpackages = jsl.ArrayField(jsl.StringField())
Expand Down
3 changes: 3 additions & 0 deletions tests/data/schemas/metadata-v4-0-0.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,9 @@
},
{
"type": "null"
},
{
"type": "boolean"
}
]
},
Expand Down

0 comments on commit d2e5c37

Please sign in to comment.