From 57b4470802b8051eee3ab91a4651f12ff59bba54 Mon Sep 17 00:00:00 2001 From: Calum Macdonald Date: Fri, 20 Sep 2024 11:58:40 +0100 Subject: [PATCH] revert --- hdr_schemata/models/HDRUK/v3_0_0/Access.py | 41 ++++++++-------------- 1 file changed, 14 insertions(+), 27 deletions(-) diff --git a/hdr_schemata/models/HDRUK/v3_0_0/Access.py b/hdr_schemata/models/HDRUK/v3_0_0/Access.py index 192cc4f..b72b98a 100644 --- a/hdr_schemata/models/HDRUK/v3_0_0/Access.py +++ b/hdr_schemata/models/HDRUK/v3_0_0/Access.py @@ -12,49 +12,36 @@ class Config: extra = "forbid" accessRights: LongDescription = Field( - ..., - **an.accessRights.__dict__, - json_schema_extra={"guidance": an.accessRights.guidance} + ..., **an.accessRights.__dict__, json_schema_extra={"guidance": an.accessRights.guidance} ) accessServiceCategory: Optional[AccessService] = Field( - None, - **an.accessServiceCategory.__dict__, + None, + **an.accessServiceCategory.__dict__, json_schema_extra={"guidance": an.accessServiceCategory.guidance} ) accessService: Optional[LongDescription] = Field( - None, - **an.accessService.__dict__, - json_schema_extra={"guidance": an.accessService.guidance} + None, **an.accessService.__dict__, json_schema_extra={"guidance": an.accessService.guidance} ) - + accessRequestCost: Optional[LongDescription] = Field( - None, - **an.accessRequestCost.__dict__, - json_schema_extra={"guidance": an.accessRequestCost.guidance} + None, **an.accessRequestCost.__dict__, json_schema_extra={"guidance": an.accessRequestCost.guidance} ) - + deliveryLeadTime: Optional[DeliveryLeadTimeV2] = Field( - None, - **an.deliveryLeadTime.__dict__, - json_schema_extra={"guidance": an.deliveryLeadTime.guidance} + None, **an.deliveryLeadTime.__dict__, json_schema_extra={"guidance": an.deliveryLeadTime.guidance} ) jurisdiction: Optional[List[Isocountrycode]] = Field( - None, - **an.jurisdiction.__dict__, - json_schema_extra={"guidance": an.jurisdiction.guidance} + None, **an.jurisdiction.__dict__, json_schema_extra={"guidance": an.jurisdiction.guidance} ) - + dataController: Optional[LongDescription] = Field( - None, - **an.dataController.__dict__, - json_schema_extra={"guidance": an.dataController.guidance} + None, **an.dataController.__dict__, json_schema_extra={"guidance": an.dataController.guidance} ) - + dataProcessor: Optional[LongDescription] = Field( - None, - **an.dataProcessor.__dict__, - json_schema_extra={"guidance": an.dataProcessor.guidance} + None, **an.dataProcessor.__dict__, json_schema_extra={"guidance": an.dataProcessor.guidance} ) + \ No newline at end of file