Skip to content

Commit

Permalink
Merge pull request #108 from nationalarchives/chore/ewfc-b
Browse files Browse the repository at this point in the history
EWFC B
  • Loading branch information
jacksonj04 authored Jan 2, 2024
2 parents cf2ca53 + 7a9727a commit 92d8c93
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
13 changes: 12 additions & 1 deletion src/ds_caselaw_utils/data/court_names.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- code: UKPC
name: Privy Council
link: https://www.jcpc.uk/
ncn: \[(\d{4})\] (UKPC) \d+
ncn: \[(\d{4})\] (UKPC) (\d+)
param: "ukpc"
start_year: 2014
end_year: 2022
Expand Down Expand Up @@ -347,6 +347,17 @@
end_year: 2022
selectable: true
listable: true
- 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/
ncn: \[(\d{4})\] (EWFC) (B) (\d+)
param: "ewfc"
start_year: 2009
end_year: 2022
selectable: false
listable: false

- name: employment_appeal_tribunal
display_name: ~
is_tribunal: true
Expand Down
2 changes: 2 additions & 0 deletions src/ds_caselaw_utils/data/neutral_citation_regex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@
['^\[(\d{4})\] (EAT) (\d+)$', [2, 1, 3]],
['^\[(\d{4})\] (UKFTT) (\d+) \((TC|GRC)\)$', [2, 4, 1, 3]],
['^\[(\d{4})\] (UKAIT) (\d+)$', [2, 1, 3]],
['^\[(\d{4})\] (EWFC) (\d+)$', [2, 1, 3]],
['^\[(\d{4})\] (EWFC) (\d+) \((B)\)$', [2, 4, 1, 3]],
]
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 92d8c93

Please sign in to comment.