Skip to content

Commit

Permalink
Modify schema to allow EWFC-B code
Browse files Browse the repository at this point in the history
  • Loading branch information
dragon-dxw committed Jan 2, 2024
1 parent 1723923 commit 7a9727a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ds_caselaw_utils/data/court_names.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion src/ds_caselaw_utils/data/schema/courts.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7a9727a

Please sign in to comment.