From 1d3a02df61a377b803d0cdd4ce5d4c1c8d555c26 Mon Sep 17 00:00:00 2001 From: Garewal Date: Mon, 23 Oct 2023 14:50:09 -0700 Subject: [PATCH] fixed build error and added isFirstAgm property --- src/registry_schemas/example_data/schema_data.py | 2 +- src/registry_schemas/schemas/agm_extension.json | 4 ++++ tests/unit/test_agm_extension.py | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/registry_schemas/example_data/schema_data.py b/src/registry_schemas/example_data/schema_data.py index adff8a0..416a454 100644 --- a/src/registry_schemas/example_data/schema_data.py +++ b/src/registry_schemas/example_data/schema_data.py @@ -2715,7 +2715,7 @@ } AGM_EXTENSION = { - 'year' = '2023' + 'year': = '2023' } # build complete list of filings with names, for use in the generic test_valid_filing() test diff --git a/src/registry_schemas/schemas/agm_extension.json b/src/registry_schemas/schemas/agm_extension.json index 42f48b4..ebe9262 100644 --- a/src/registry_schemas/schemas/agm_extension.json +++ b/src/registry_schemas/schemas/agm_extension.json @@ -17,6 +17,10 @@ "year": { "type": "string", "description": "Year of AGM Extension Request, longest extension granted at one time is six months." + }, + "isFirstAgm": { + "type": "boolean", + "title": "Is this the first AGM?" } } } diff --git a/tests/unit/test_agm_extension.py b/tests/unit/test_agm_extension.py index 54d199c..a1b0810 100644 --- a/tests/unit/test_agm_extension.py +++ b/tests/unit/test_agm_extension.py @@ -46,3 +46,4 @@ def test_validate_no_agm_year(): print(errors) assert not is_valid +