From afdb1afb7cd285da9425ee5f86519d927a31d638 Mon Sep 17 00:00:00 2001 From: Tim Cowlishaw Date: Wed, 29 Nov 2023 11:58:21 +0100 Subject: [PATCH] Add a UKAIT court to the yaml file The editor UI (via the api client) relies on this to validate that the inputted court code is correct, so UKAIT needs its own section even though it's not ever displayed in the public UI (selectable and listable are both `false`). --- src/ds_caselaw_utils/data/court_names.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/ds_caselaw_utils/data/court_names.yaml b/src/ds_caselaw_utils/data/court_names.yaml index da7ac30..eb9907f 100644 --- a/src/ds_caselaw_utils/data/court_names.yaml +++ b/src/ds_caselaw_utils/data/court_names.yaml @@ -385,6 +385,15 @@ extra_params: ["ukait"] start_year: 2003 end_year: 2022 + - code: UKAIT + selectable: false + listable: false + param: "ukait" + name: Asylum & Immigration Tribunal + link: https://www.gov.uk/courts-tribunals/upper-tribunal-immigration-and-asylum-chamber + ncn: \[(\d{4})\] (UKAIT) (\d+) + start_year: 2003 + end_year: 2010 - code: UKUT-LC grouped_name: Lands Chamber name: Upper Tribunal (Lands Chamber)