Skip to content

Commit

Permalink
19263 remove authorityName (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
vysakh-menon-aot authored May 27, 2024
1 parent 92d132e commit 51970ca
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion src/registry_schemas/example_data/schema_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -2366,7 +2366,6 @@
'fileName': 'file 2.pdf'
}
],
'authorityName': 'name of authority',
'date': '2020-01-01',
'expiryDate': '2020-06-01'
},
Expand Down
5 changes: 0 additions & 5 deletions src/registry_schemas/schemas/continuation_in.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
"type": "object",
"required": [
"files",
"authorityName",
"date"
],
"properties": {
Expand All @@ -91,10 +90,6 @@
}
}
},
"authorityName": {
"type": "string",
"title": "The authority name"
},
"date": {
"type": "string",
"format": "date",
Expand Down
2 changes: 1 addition & 1 deletion src/registry_schemas/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
"""


__version__ = '2.18.26' # pylint: disable=invalid-name
__version__ = '2.18.27' # pylint: disable=invalid-name
1 change: 0 additions & 1 deletion tests/unit/test_continuation_in.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ def test_continuation_in_invalid_authorization():
"""Assert that the JSONSchema is validating authorization."""
legal_filing = {'continuationIn': copy.deepcopy(CONTINUATION_IN)}
legal_filing['continuationIn']['authorization']['files'] = None
legal_filing['continuationIn']['authorization']['authorityName'] = None
legal_filing['continuationIn']['authorization']['date'] = None

is_valid, errors = validate(legal_filing, 'continuation_in')
Expand Down

0 comments on commit 51970ca

Please sign in to comment.