Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

19263 remove authorityName #166

Merged
merged 2 commits into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading