option for a null granularity

Former-commit-id: 7ef31b53b077ba0f3909558d88a029de4d1dcbd0
This commit is contained in:
Michael T. Kelbaugh
2020-02-28 11:07:47 -05:00
parent c0204c6c00
commit 2dcafe8174
3 changed files with 4 additions and 4 deletions

View File

@@ -188,7 +188,7 @@ class OuterWrapper(ABC):
' ".*": {'
' "type": "object", '
' "properties": {'
' "data": {"type": "object"}, "granularity": {"type": "string"}'
' "data": {"type": "object"}, "granularity": {"type": ["string", "null"]}'
' },'
' "required": ["data", "granularity"]'
' }'