diff --git a/schema/schema.json b/schema/schema.json index eae228fd..3eb5a89a 100644 --- a/schema/schema.json +++ b/schema/schema.json @@ -4331,11 +4331,9 @@ } }, "required": [ - "EPC", "address", "localAuthorityDistrict", "region", - "titleNumber", "type" ], "type": "object" diff --git a/types/schema/data/Property.ts b/types/schema/data/Property.ts index e5d109d7..3b707bc4 100644 --- a/types/schema/data/Property.ts +++ b/types/schema/data/Property.ts @@ -69,14 +69,14 @@ export interface UKProperty { */ export interface LondonProperty extends UKProperty { region: Extract; - titleNumber: { + titleNumber?: { known: 'Yes' | 'No'; number?: string; }; /** * @title Energy Performance Certificate */ - EPC: { + EPC?: { known: | 'Yes' | 'Yes, but only some of the properties have one'