From 20c80d83e51ac6a015ed920cc2b0fa6736ff7366 Mon Sep 17 00:00:00 2001 From: David McKee Date: Thu, 26 Sep 2024 16:06:13 +0100 Subject: [PATCH] Make schema require full Jurisdiction metadata --- src/ds_caselaw_utils/data/schema/courts.schema.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ds_caselaw_utils/data/schema/courts.schema.json b/src/ds_caselaw_utils/data/schema/courts.schema.json index 4fbbb58..a90d2d3 100644 --- a/src/ds_caselaw_utils/data/schema/courts.schema.json +++ b/src/ds_caselaw_utils/data/schema/courts.schema.json @@ -76,7 +76,9 @@ "code": { "type": "string" } - } + }, + "required": ["prefix", "name", "code"], + "additionalProperties": false } } },