diff --git a/src/ds_caselaw_utils/data/court_names.yaml b/src/ds_caselaw_utils/data/court_names.yaml index c9b6303..32b68ea 100644 --- a/src/ds_caselaw_utils/data/court_names.yaml +++ b/src/ds_caselaw_utils/data/court_names.yaml @@ -347,7 +347,7 @@ end_year: 2022 selectable: true listable: true - - code: "EWFC-BX" + - code: "EWFC-B" name: Family Court (B) # This is an artifact of how the Family Court creates tiers of importance. link: https://www.judiciary.uk/you-and-the-judiciary/going-to-court/family-law-courts/ diff --git a/src/ds_caselaw_utils/data/schema/courts.schema.json b/src/ds_caselaw_utils/data/schema/courts.schema.json index 9c4efc6..23e7f80 100644 --- a/src/ds_caselaw_utils/data/schema/courts.schema.json +++ b/src/ds_caselaw_utils/data/schema/courts.schema.json @@ -23,7 +23,7 @@ "properties": { "code": { "type": "string", - "pattern": "^[A-Za-z]{2,}(-[A-Za-z]{2,})*$" + "pattern": "^[A-Za-z]{2,}(-[A-Za-z]{1,})*$" }, "name": { "type": "string"