From f5cb0472d37373c7cf1d576660d1de2da558d69e Mon Sep 17 00:00:00 2001 From: Branwen Snelling Date: Fri, 23 Aug 2024 13:22:10 +0100 Subject: [PATCH] udpate keywords type --- hdr_schemata/models/HDRUK/3.0.0/schema.json | 3 --- hdr_schemata/models/HDRUK/v3_0_0/Summary.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/hdr_schemata/models/HDRUK/3.0.0/schema.json b/hdr_schemata/models/HDRUK/3.0.0/schema.json index 3245b29..8c8c7da 100644 --- a/hdr_schemata/models/HDRUK/3.0.0/schema.json +++ b/hdr_schemata/models/HDRUK/3.0.0/schema.json @@ -2141,9 +2141,6 @@ }, "type": "array" }, - { - "$ref": "#/$defs/CommaSeparatedValues" - }, { "type": "null" } diff --git a/hdr_schemata/models/HDRUK/v3_0_0/Summary.py b/hdr_schemata/models/HDRUK/v3_0_0/Summary.py index e8d591a..894f7e0 100644 --- a/hdr_schemata/models/HDRUK/v3_0_0/Summary.py +++ b/hdr_schemata/models/HDRUK/v3_0_0/Summary.py @@ -29,7 +29,7 @@ class Config: ..., **an.populationSize.__dict__, json_schema_extra={"guidance": an.populationSize.guidance} ) - keywords: Optional[Union[List[OneHundredFiftyCharacters], CommaSeparatedValues]] = Field( + keywords: Optional[List[OneHundredFiftyCharacters]] = Field( None, **an.keywords.__dict__, json_schema_extra={"guidance": an.keywords.guidance} )