diff --git a/docs/appeal-has.md b/docs/appeal-has.md index c261a026..6310cc26 100644 --- a/docs/appeal-has.md +++ b/docs/appeal-has.md @@ -44,7 +44,6 @@ any of | [lpaQuestionnaireValidationOutcome](#lpaquestionnairevalidationoutcome) | `string` | Required | can be null | [Appeal HAS Case](appeal-has-properties-lpaquestionnairevalidationoutcome.md "appeal-has.schema.json#/properties/lpaQuestionnaireValidationOutcome") | | [lpaQuestionnaireValidationOutcomeDate](#lpaquestionnairevalidationoutcomedate) | `string` | Required | can be null | [Appeal HAS Case](appeal-has-properties-lpaquestionnairevalidationoutcomedate.md "appeal-has.schema.json#/properties/lpaQuestionnaireValidationOutcomeDate") | | [lpaQuestionnaireValidationDetails](#lpaquestionnairevalidationdetails) | `array` | Required | can be null | [Appeal HAS Case](appeal-has-properties-lpaquestionnairevalidationdetails.md "appeal-has.schema.json#/properties/lpaQuestionnaireValidationDetails") | -| [lpaStatement](#lpastatement) | `string` | Required | can be null | [Appeal HAS Case](appeal-has-properties-lpastatement.md "appeal-has.schema.json#/properties/lpaStatement") | | [caseWithdrawnDate](#casewithdrawndate) | `string` | Required | can be null | [Appeal HAS Case](appeal-has-properties-casewithdrawndate.md "appeal-has.schema.json#/properties/caseWithdrawnDate") | | [caseTransferredDate](#casetransferreddate) | `string` | Required | can be null | [Appeal HAS Case](appeal-has-properties-casetransferreddate.md "appeal-has.schema.json#/properties/caseTransferredDate") | | [transferredCaseClosedDate](#transferredcasecloseddate) | `string` | Required | can be null | [Appeal HAS Case](appeal-has-properties-transferredcasecloseddate.md "appeal-has.schema.json#/properties/transferredCaseClosedDate") | @@ -82,7 +81,6 @@ any of | [lpaProcedurePreference](#lpaprocedurepreference) | `string` | Optional | can be null | [Appeal HAS Case](appeal-has-properties-lpaprocedurepreference.md "appeal-has.schema.json#/properties/lpaProcedurePreference") | | [lpaProcedurePreferenceDetails](#lpaprocedurepreferencedetails) | `string` | Optional | can be null | [Appeal HAS Case](appeal-has-properties-lpaprocedurepreferencedetails.md "appeal-has.schema.json#/properties/lpaProcedurePreferenceDetails") | | [lpaProcedurePreferenceDuration](#lpaprocedurepreferenceduration) | `number` | Optional | can be null | [Appeal HAS Case](appeal-has-properties-lpaprocedurepreferenceduration.md "appeal-has.schema.json#/properties/lpaProcedurePreferenceDuration") | -| [caseworkReason](#caseworkreason) | `string` | Optional | can be null | [Appeal HAS Case](appeal-has-properties-caseworkreason.md "appeal-has.schema.json#/properties/caseworkReason") | | [importantInformation](#importantinformation) | `string` | Optional | can be null | [Appeal HAS Case](appeal-has-properties-importantinformation.md "appeal-has.schema.json#/properties/importantInformation") | | [jurisdiction](#jurisdiction) | `string` | Optional | can be null | [Appeal HAS Case](appeal-has-properties-jurisdiction.md "appeal-has.schema.json#/properties/jurisdiction") | | [redeterminedIndicator](#redeterminedindicator) | `boolean` | Optional | can be null | [Appeal HAS Case](appeal-has-properties-redeterminedindicator.md "appeal-has.schema.json#/properties/redeterminedIndicator") | @@ -90,7 +88,6 @@ any of | [dateNotRecoveredOrDerecovered](#datenotrecoveredorderecovered) | `string` | Optional | can be null | [Appeal HAS Case](appeal-has-properties-datenotrecoveredorderecovered.md "appeal-has.schema.json#/properties/dateNotRecoveredOrDerecovered") | | [dateRecovered](#daterecovered) | `string` | Optional | can be null | [Appeal HAS Case](appeal-has-properties-daterecovered.md "appeal-has.schema.json#/properties/dateRecovered") | | [originalCaseDecisionDate](#originalcasedecisiondate) | `string` | Optional | can be null | [Appeal HAS Case](appeal-has-properties-originalcasedecisiondate.md "appeal-has.schema.json#/properties/originalCaseDecisionDate") | -| [targetDate](#targetdate) | `string` | Optional | can be null | [Appeal HAS Case](appeal-has-properties-targetdate.md "appeal-has.schema.json#/properties/targetDate") | | [ownsAllLand](#ownsallland) | `boolean` | Required | can be null | [Appeal HAS Case](appeal-has-properties-ownsallland.md "appeal-has.schema.json#/properties/ownsAllLand") | | [ownsSomeLand](#ownssomeland) | `boolean` | Required | can be null | [Appeal HAS Case](appeal-has-properties-ownssomeland.md "appeal-has.schema.json#/properties/ownsSomeLand") | | [knowsOtherOwners](#knowsotherowners) | `string` | Required | can be null | [Appeal HAS Case](appeal-has-properties-knowsotherowners.md "appeal-has.schema.json#/properties/knowsOtherOwners") | @@ -996,30 +993,6 @@ A list of reasons why the questionnaire is incomplete `string[]` -## lpaStatement - -A statement provided by the LPA - -`lpaStatement` - -* is required - -* Type: `string` - -* can be null - -* defined in: [Appeal HAS Case](appeal-has-properties-lpastatement.md "appeal-has.schema.json#/properties/lpaStatement") - -### lpaStatement Type - -`string` - -### lpaStatement Examples - -```json -"We refused the application because of ..." -``` - ## caseWithdrawnDate The date the appeal was withdrawn by the appellant @@ -1879,24 +1852,6 @@ The duration of enquiry indicated by the LPA `number` -## caseworkReason - -TBC - -`caseworkReason` - -* is optional - -* Type: `string` - -* can be null - -* defined in: [Appeal HAS Case](appeal-has-properties-caseworkreason.md "appeal-has.schema.json#/properties/caseworkReason") - -### caseworkReason Type - -`string` - ## importantInformation Information relevant to case... @@ -2063,34 +2018,6 @@ The original case decision date "2023-07-27T20:30:00.000Z" ``` -## targetDate - -The target date for case completion - -`targetDate` - -* is optional - -* Type: `string` - -* can be null - -* defined in: [Appeal HAS Case](appeal-has-properties-targetdate.md "appeal-has.schema.json#/properties/targetDate") - -### targetDate Type - -`string` - -### targetDate Constraints - -**date time**: the string must be a date time string, according to [RFC 3339, section 5.6](https://tools.ietf.org/html/rfc3339 "check the specification") - -### targetDate Examples - -```json -"2023-07-27T20:30:00.000Z" -``` - ## ownsAllLand Indicates if the appellant has complete ownership of the site diff --git a/docs/appeal-s78.md b/docs/appeal-s78.md index 699f7aac..6493068b 100644 --- a/docs/appeal-s78.md +++ b/docs/appeal-s78.md @@ -44,7 +44,6 @@ any of | [lpaQuestionnaireValidationOutcome](#lpaquestionnairevalidationoutcome) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-lpaquestionnairevalidationoutcome.md "appeal-s78.schema.json#/properties/lpaQuestionnaireValidationOutcome") | | [lpaQuestionnaireValidationOutcomeDate](#lpaquestionnairevalidationoutcomedate) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-lpaquestionnairevalidationoutcomedate.md "appeal-s78.schema.json#/properties/lpaQuestionnaireValidationOutcomeDate") | | [lpaQuestionnaireValidationDetails](#lpaquestionnairevalidationdetails) | `array` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-lpaquestionnairevalidationdetails.md "appeal-s78.schema.json#/properties/lpaQuestionnaireValidationDetails") | -| [lpaStatement](#lpastatement) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-lpastatement.md "appeal-s78.schema.json#/properties/lpaStatement") | | [caseWithdrawnDate](#casewithdrawndate) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-casewithdrawndate.md "appeal-s78.schema.json#/properties/caseWithdrawnDate") | | [caseTransferredDate](#casetransferreddate) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-casetransferreddate.md "appeal-s78.schema.json#/properties/caseTransferredDate") | | [transferredCaseClosedDate](#transferredcasecloseddate) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-transferredcasecloseddate.md "appeal-s78.schema.json#/properties/transferredCaseClosedDate") | @@ -86,7 +85,6 @@ any of | [affectedListedBuildingNumbers](#affectedlistedbuildingnumbers) | `array` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-affectedlistedbuildingnumbers.md "appeal-s78.schema.json#/properties/affectedListedBuildingNumbers") | | [changedListedBuildingNumbers](#changedlistedbuildingnumbers) | `array` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-changedlistedbuildingnumbers.md "appeal-s78.schema.json#/properties/changedListedBuildingNumbers") | | [preserveGrantLoan](#preservegrantloan) | `boolean` | Optional | can be null | [Appeal S78 Case](appeal-s78-properties-preservegrantloan.md "appeal-s78.schema.json#/properties/preserveGrantLoan") | -| [consultHistoricEngland](#consulthistoricengland) | `boolean` | Optional | can be null | [Appeal S78 Case](appeal-s78-properties-consulthistoricengland.md "appeal-s78.schema.json#/properties/consultHistoricEngland") | | [appellantCostsAppliedFor](#appellantcostsappliedfor) | `boolean` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-appellantcostsappliedfor.md "appeal-s78.schema.json#/properties/appellantCostsAppliedFor") | | [lpaCostsAppliedFor](#lpacostsappliedfor) | `boolean` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-lpacostsappliedfor.md "appeal-s78.schema.json#/properties/lpaCostsAppliedFor") | | [agriculturalHolding](#agriculturalholding) | `boolean` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-agriculturalholding.md "appeal-s78.schema.json#/properties/agriculturalHolding") | @@ -120,7 +118,6 @@ any of | [lpaProcedurePreference](#lpaprocedurepreference) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-lpaprocedurepreference.md "appeal-s78.schema.json#/properties/lpaProcedurePreference") | | [lpaProcedurePreferenceDetails](#lpaprocedurepreferencedetails) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-lpaprocedurepreferencedetails.md "appeal-s78.schema.json#/properties/lpaProcedurePreferenceDetails") | | [lpaProcedurePreferenceDuration](#lpaprocedurepreferenceduration) | `number` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-lpaprocedurepreferenceduration.md "appeal-s78.schema.json#/properties/lpaProcedurePreferenceDuration") | -| [caseworkReason](#caseworkreason) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-caseworkreason.md "appeal-s78.schema.json#/properties/caseworkReason") | | [importantInformation](#importantinformation) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-importantinformation.md "appeal-s78.schema.json#/properties/importantInformation") | | [jurisdiction](#jurisdiction) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-jurisdiction.md "appeal-s78.schema.json#/properties/jurisdiction") | | [redeterminedIndicator](#redeterminedindicator) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-redeterminedindicator.md "appeal-s78.schema.json#/properties/redeterminedIndicator") | @@ -128,7 +125,6 @@ any of | [dateNotRecoveredOrDerecovered](#datenotrecoveredorderecovered) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-datenotrecoveredorderecovered.md "appeal-s78.schema.json#/properties/dateNotRecoveredOrDerecovered") | | [dateRecovered](#daterecovered) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-daterecovered.md "appeal-s78.schema.json#/properties/dateRecovered") | | [originalCaseDecisionDate](#originalcasedecisiondate) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-originalcasedecisiondate.md "appeal-s78.schema.json#/properties/originalCaseDecisionDate") | -| [targetDate](#targetdate) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-targetdate.md "appeal-s78.schema.json#/properties/targetDate") | | [appellantCommentsSubmittedDate](#appellantcommentssubmitteddate) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-appellantcommentssubmitteddate.md "appeal-s78.schema.json#/properties/appellantCommentsSubmittedDate") | | [appellantStatementSubmittedDate](#appellantstatementsubmitteddate) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-appellantstatementsubmitteddate.md "appeal-s78.schema.json#/properties/appellantStatementSubmittedDate") | | [appellantProofsSubmittedDate](#appellantproofssubmitteddate) | `string` | Required | can be null | [Appeal S78 Case](appeal-s78-properties-appellantproofssubmitteddate.md "appeal-s78.schema.json#/properties/appellantProofsSubmittedDate") | @@ -1090,32 +1086,6 @@ A list of reasons why the questionnaire is incomplete `string[]` -## lpaStatement - -A statement provided by the LPA - -> Also available on HAS cases - -`lpaStatement` - -* is required - -* Type: `string` - -* can be null - -* defined in: [Appeal S78 Case](appeal-s78-properties-lpastatement.md "appeal-s78.schema.json#/properties/lpaStatement") - -### lpaStatement Type - -`string` - -### lpaStatement Examples - -```json -"We refused the application because of ..." -``` - ## caseWithdrawnDate The date the appeal was withdrawn by the appellant @@ -2135,26 +2105,6 @@ A grant or loan has been made to preserve the listed building `boolean` -## consultHistoricEngland - -Are Historic England to be consulted? - -> Only available in S20 cases - -`consultHistoricEngland` - -* is optional - -* Type: `boolean` - -* can be null - -* defined in: [Appeal S78 Case](appeal-s78-properties-consulthistoricengland.md "appeal-s78.schema.json#/properties/consultHistoricEngland") - -### consultHistoricEngland Type - -`boolean` - ## appellantCostsAppliedFor Indicates if the appellant has applied for costs @@ -2826,24 +2776,6 @@ The duration of enquiry indicated by the LPA `number` -## caseworkReason - - - -`caseworkReason` - -* is required - -* Type: `string` - -* can be null - -* defined in: [Appeal S78 Case](appeal-s78-properties-caseworkreason.md "appeal-s78.schema.json#/properties/caseworkReason") - -### caseworkReason Type - -`string` - ## importantInformation @@ -3010,34 +2942,6 @@ The date of the cost report "2023-07-27T20:30:00.000Z" ``` -## targetDate - - - -`targetDate` - -* is required - -* Type: `string` - -* can be null - -* defined in: [Appeal S78 Case](appeal-s78-properties-targetdate.md "appeal-s78.schema.json#/properties/targetDate") - -### targetDate Type - -`string` - -### targetDate Constraints - -**date time**: the string must be a date time string, according to [RFC 3339, section 5.6](https://tools.ietf.org/html/rfc3339 "check the specification") - -### targetDate Examples - -```json -"2023-07-27T20:30:00.000Z" -``` - ## appellantCommentsSubmittedDate diff --git a/pins_data_model/models/model_appeal_has.py b/pins_data_model/models/model_appeal_has.py index b20d975a..f7ddc771 100644 --- a/pins_data_model/models/model_appeal_has.py +++ b/pins_data_model/models/model_appeal_has.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: appeal-has.schema.json -# timestamp: 2025-11-07T15:19:29+00:00 +# timestamp: 2025-11-11T13:29:41+00:00 from __future__ import annotations @@ -424,12 +424,6 @@ class AppealHasCase1(BaseModel): """ A list of reasons why the questionnaire is incomplete """ - lpaStatement: str | None = Field( - ..., examples=["We refused the application because of ..."] - ) - """ - A statement provided by the LPA - """ caseWithdrawnDate: AwareDatetime | None = Field( ..., examples=["2023-07-27T20:30:00.000Z"] ) @@ -598,10 +592,6 @@ class AppealHasCase1(BaseModel): """ The duration of enquiry indicated by the LPA """ - caseworkReason: str | None = None - """ - TBC - """ importantInformation: str | None = None """ Information relevant to case... @@ -638,12 +628,6 @@ class AppealHasCase1(BaseModel): """ The original case decision date """ - targetDate: AwareDatetime | None = Field( - None, examples=["2023-07-27T20:30:00.000Z"] - ) - """ - The target date for case completion - """ ownsAllLand: bool | None = None """ Indicates if the appellant has complete ownership of the site @@ -919,12 +903,6 @@ class AppealHasCase2(BaseModel): """ A list of reasons why the questionnaire is incomplete """ - lpaStatement: str | None = Field( - ..., examples=["We refused the application because of ..."] - ) - """ - A statement provided by the LPA - """ caseWithdrawnDate: AwareDatetime | None = Field( ..., examples=["2023-07-27T20:30:00.000Z"] ) @@ -1093,10 +1071,6 @@ class AppealHasCase2(BaseModel): """ The duration of enquiry indicated by the LPA """ - caseworkReason: str | None = None - """ - TBC - """ importantInformation: str | None = None """ Information relevant to case... @@ -1133,12 +1107,6 @@ class AppealHasCase2(BaseModel): """ The original case decision date """ - targetDate: AwareDatetime | None = Field( - None, examples=["2023-07-27T20:30:00.000Z"] - ) - """ - The target date for case completion - """ ownsAllLand: bool | None = None """ Indicates if the appellant has complete ownership of the site diff --git a/pins_data_model/models/model_appeal_s78.py b/pins_data_model/models/model_appeal_s78.py index bb9023b6..faad263d 100644 --- a/pins_data_model/models/model_appeal_s78.py +++ b/pins_data_model/models/model_appeal_s78.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: appeal-s78.schema.json -# timestamp: 2025-11-07T15:19:29+00:00 +# timestamp: 2025-11-11T13:29:41+00:00 from __future__ import annotations @@ -490,12 +490,6 @@ class AppealS78Case1(BaseModel): """ A list of reasons why the questionnaire is incomplete """ - lpaStatement: str | None = Field( - ..., examples=["We refused the application because of ..."] - ) - """ - A statement provided by the LPA - """ caseWithdrawnDate: AwareDatetime | None = Field( ..., examples=["2023-07-27T20:30:00.000Z"] ) @@ -683,10 +677,6 @@ class AppealS78Case1(BaseModel): """ A grant or loan has been made to preserve the listed building """ - consultHistoricEngland: bool | None = None - """ - Are Historic England to be consulted? - """ appellantCostsAppliedFor: bool | None = None """ Indicates if the appellant has applied for costs @@ -823,7 +813,6 @@ class AppealS78Case1(BaseModel): """ The duration of enquiry indicated by the LPA """ - caseworkReason: str | None = None importantInformation: str | None = None jurisdiction: str | None = None redeterminedIndicator: str | None = None @@ -842,7 +831,6 @@ class AppealS78Case1(BaseModel): originalCaseDecisionDate: AwareDatetime | None = Field( ..., examples=["2023-07-27T20:30:00.000Z"] ) - targetDate: AwareDatetime | None = Field(..., examples=["2023-07-27T20:30:00.000Z"]) appellantCommentsSubmittedDate: AwareDatetime | None = Field( ..., examples=["2023-07-27T20:30:00.000Z"] ) @@ -1093,12 +1081,6 @@ class AppealS78Case2(BaseModel): """ A list of reasons why the questionnaire is incomplete """ - lpaStatement: str | None = Field( - ..., examples=["We refused the application because of ..."] - ) - """ - A statement provided by the LPA - """ caseWithdrawnDate: AwareDatetime | None = Field( ..., examples=["2023-07-27T20:30:00.000Z"] ) @@ -1286,10 +1268,6 @@ class AppealS78Case2(BaseModel): """ A grant or loan has been made to preserve the listed building """ - consultHistoricEngland: bool | None = None - """ - Are Historic England to be consulted? - """ appellantCostsAppliedFor: bool | None = None """ Indicates if the appellant has applied for costs @@ -1426,7 +1404,6 @@ class AppealS78Case2(BaseModel): """ The duration of enquiry indicated by the LPA """ - caseworkReason: str | None = None importantInformation: str | None = None jurisdiction: str | None = None redeterminedIndicator: str | None = None @@ -1445,7 +1422,6 @@ class AppealS78Case2(BaseModel): originalCaseDecisionDate: AwareDatetime | None = Field( ..., examples=["2023-07-27T20:30:00.000Z"] ) - targetDate: AwareDatetime | None = Field(..., examples=["2023-07-27T20:30:00.000Z"]) appellantCommentsSubmittedDate: AwareDatetime | None = Field( ..., examples=["2023-07-27T20:30:00.000Z"] ) diff --git a/schemas/appeal-has.schema.json b/schemas/appeal-has.schema.json index c3790224..176a472d 100644 --- a/schemas/appeal-has.schema.json +++ b/schemas/appeal-has.schema.json @@ -37,7 +37,6 @@ "lpaQuestionnaireValidationOutcome", "lpaQuestionnaireValidationOutcomeDate", "lpaQuestionnaireValidationDetails", - "lpaStatement", "caseWithdrawnDate", "caseTransferredDate", "transferredCaseClosedDate", @@ -307,11 +306,6 @@ "description": "A list of reasons why the questionnaire is incomplete", "$comment": "The list will contain items only if the lpaQuestionnaireValidationOutcome is incomplete" }, - "lpaStatement": { - "type": ["string", "null"], - "examples": ["We refused the application because of ..."], - "description": "A statement provided by the LPA" - }, "caseWithdrawnDate": { "type": ["string", "null"], "format": "date-time", @@ -508,10 +502,6 @@ "description": "The duration of enquiry indicated by the LPA", "$comment": "Required for CAS Advert cases" }, - "caseworkReason": { - "type": ["string", "null"], - "description": "TBC" - }, "importantInformation": { "type": ["string", "null"], "description": "Information relevant to case..." @@ -548,12 +538,6 @@ "examples": ["2023-07-27T20:30:00.000Z"], "description": "The original case decision date" }, - "targetDate": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2023-07-27T20:30:00.000Z"], - "description": "The target date for case completion" - }, "ownsAllLand": { "type": ["boolean", "null"], "description": "Indicates if the appellant has complete ownership of the site" diff --git a/schemas/appeal-s78.schema.json b/schemas/appeal-s78.schema.json index 71580598..6d6c3097 100644 --- a/schemas/appeal-s78.schema.json +++ b/schemas/appeal-s78.schema.json @@ -37,7 +37,6 @@ "lpaQuestionnaireValidationOutcome", "lpaQuestionnaireValidationOutcomeDate", "lpaQuestionnaireValidationDetails", - "lpaStatement", "caseWithdrawnDate", "caseTransferredDate", "transferredCaseClosedDate", @@ -105,7 +104,6 @@ "lpaProcedurePreference", "lpaProcedurePreferenceDetails", "lpaProcedurePreferenceDuration", - "caseworkReason", "developmentType", "importantInformation", "jurisdiction", @@ -114,7 +112,6 @@ "dateNotRecoveredOrDerecovered", "dateRecovered", "originalCaseDecisionDate", - "targetDate", "appellantCommentsSubmittedDate", "appellantStatementSubmittedDate", "appellantProofsSubmittedDate", @@ -394,12 +391,6 @@ "description": "A list of reasons why the questionnaire is incomplete", "$comment": "Also available on HAS cases" }, - "lpaStatement": { - "type": ["string", "null"], - "examples": ["We refused the application because of ..."], - "description": "A statement provided by the LPA", - "$comment": "Also available on HAS cases" - }, "caseWithdrawnDate": { "type": ["string", "null"], "format": "date-time", @@ -708,11 +699,6 @@ "description": "A grant or loan has been made to preserve the listed building", "$comment": "Only available in S20 cases" }, - "consultHistoricEngland": { - "type": ["boolean", "null"], - "description": "Are Historic England to be consulted?", - "$comment": "Only available in S20 cases" - }, "appellantCostsAppliedFor": { "type": ["boolean", "null"], "description": "Indicates if the appellant has applied for costs", @@ -874,9 +860,6 @@ "type": ["number", "null"], "description": "The duration of enquiry indicated by the LPA" }, - "caseworkReason": { - "type": ["string", "null"] - }, "importantInformation": { "type": ["string", "null"] }, @@ -907,11 +890,6 @@ "format": "date-time", "examples": ["2023-07-27T20:30:00.000Z"] }, - "targetDate": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2023-07-27T20:30:00.000Z"] - }, "appellantCommentsSubmittedDate": { "type": ["string", "null"], "format": "date-time", diff --git a/schemas/commands/appeals-components/lpa-questionnaire-has.schema.json b/schemas/commands/appeals-components/lpa-questionnaire-has.schema.json index 282b1bd6..5825441f 100644 --- a/schemas/commands/appeals-components/lpa-questionnaire-has.schema.json +++ b/schemas/commands/appeals-components/lpa-questionnaire-has.schema.json @@ -12,8 +12,7 @@ "inConservationArea", "newConditionDetails", "notificationMethod", - "lpaCostsAppliedFor", - "lpaStatement" + "lpaCostsAppliedFor" ], "allOf": [ { @@ -56,11 +55,6 @@ "lpaCostsAppliedFor": { "type": ["boolean", "null"], "description": "Indicates if the LPA has applied for costs" - }, - "lpaStatement": { - "type": ["string", "null"], - "examples": ["We refused the application because of ..."], - "description": "A statement provided by the LPA, unused?" } } } diff --git a/schemas/commands/appeals-components/lpa-questionnaire-s78.schema.json b/schemas/commands/appeals-components/lpa-questionnaire-s78.schema.json index 11d723bd..71850b7b 100644 --- a/schemas/commands/appeals-components/lpa-questionnaire-s78.schema.json +++ b/schemas/commands/appeals-components/lpa-questionnaire-s78.schema.json @@ -48,11 +48,6 @@ "description": "A grant or loan has been made to preserve the listed building", "$comment": "Only available in S20 cases" }, - "consultHistoricEngland": { - "type": ["boolean", "null"], - "description": "Are Historic England to be consulted?", - "$comment": "Only available in S20 cases" - }, "affectsScheduledMonument": { "type": ["boolean", "null"], "description": "Indicates that a scheduled monument is affected", diff --git a/src/schemas.d.ts b/src/schemas.d.ts index 55dfc0b2..1b628064 100644 --- a/src/schemas.d.ts +++ b/src/schemas.d.ts @@ -455,10 +455,6 @@ export type AppealHASCase = ( * A list of reasons why the questionnaire is incomplete */ lpaQuestionnaireValidationDetails: string[] | null; - /** - * A statement provided by the LPA - */ - lpaStatement: string | null; /** * The date the appeal was withdrawn by the appellant */ @@ -607,10 +603,6 @@ export type AppealHASCase = ( * The duration of enquiry indicated by the LPA */ lpaProcedurePreferenceDuration?: number | null; - /** - * TBC - */ - caseworkReason?: string | null; /** * Information relevant to case... */ @@ -639,10 +631,6 @@ export type AppealHASCase = ( * The original case decision date */ originalCaseDecisionDate?: string | null; - /** - * The target date for case completion - */ - targetDate?: string | null; /** * Indicates if the appellant has complete ownership of the site */ @@ -1047,10 +1035,6 @@ export type AppealS78Case = ( * A list of reasons why the questionnaire is incomplete */ lpaQuestionnaireValidationDetails: string[] | null; - /** - * A statement provided by the LPA - */ - lpaStatement: string | null; /** * The date the appeal was withdrawn by the appellant */ @@ -1247,10 +1231,6 @@ export type AppealS78Case = ( * A grant or loan has been made to preserve the listed building */ preserveGrantLoan?: boolean | null; - /** - * Are Historic England to be consulted? - */ - consultHistoricEngland?: boolean | null; /** * Indicates if the appellant has applied for costs */ @@ -1397,7 +1377,6 @@ export type AppealS78Case = ( * The duration of enquiry indicated by the LPA */ lpaProcedurePreferenceDuration: number | null; - caseworkReason: string | null; importantInformation: string | null; jurisdiction: string | null; redeterminedIndicator: string | null; @@ -1408,7 +1387,6 @@ export type AppealS78Case = ( dateNotRecoveredOrDerecovered: string | null; dateRecovered: string | null; originalCaseDecisionDate: string | null; - targetDate: string | null; appellantCommentsSubmittedDate: string | null; appellantStatementSubmittedDate: string | null; appellantProofsSubmittedDate: string | null; @@ -3786,10 +3764,6 @@ export type LPAQHASSubmissionProperties = { * Indicates if the LPA has applied for costs */ lpaCostsAppliedFor?: boolean | null; - /** - * A statement provided by the LPA, unused? - */ - lpaStatement?: string | null; }; /** * Schema defining any S78 specific properties for LPAQ submissions @@ -3803,10 +3777,6 @@ export type LPAQS78SubmissionProperties = { * A grant or loan has been made to preserve the listed building */ preserveGrantLoan?: boolean | null; - /** - * Are Historic England to be consulted? - */ - consultHistoricEngland?: boolean | null; /** * Indicates that a scheduled monument is affected */ diff --git a/tests/appeals/appeal-has.test.js b/tests/appeals/appeal-has.test.js index 26a4835b..4f2426ee 100644 --- a/tests/appeals/appeal-has.test.js +++ b/tests/appeals/appeal-has.test.js @@ -45,7 +45,6 @@ const appealHas = { lpaQuestionnaireValidationOutcome: 'incomplete', lpaQuestionnaireValidationOutcomeDate: '1927-05-30T20:34:18.0Z', lpaQuestionnaireValidationDetails: ['dolore cillum in anim adipisicing'], - lpaStatement: 'Ut ipsum et', caseWithdrawnDate: '1926-02-11T13:40:53.0Z', caseTransferredDate: '1923-01-28T02:09:32.0Z', transferredCaseClosedDate: '1893-02-13T14:37:27.0Z', @@ -88,7 +87,6 @@ const appealHas = { lpaProcedurePreference: null, lpaProcedurePreferenceDetails: null, lpaProcedurePreferenceDuration: -42778389.82228377, - caseworkReason: 'elit reprehenderit', importantInformation: null, jurisdiction: null, redeterminedIndicator: null, @@ -96,7 +94,6 @@ const appealHas = { dateNotRecoveredOrDerecovered: '1950-02-18T19:15:57.0Z', dateRecovered: '1962-01-16T13:45:38.0Z', originalCaseDecisionDate: null, - targetDate: null, ownsAllLand: true, ownsSomeLand: null, knowsOtherOwners: 'Some', diff --git a/tests/appeals/appeal-s78.test.js b/tests/appeals/appeal-s78.test.js index 1a2c529f..a017564a 100644 --- a/tests/appeals/appeal-s78.test.js +++ b/tests/appeals/appeal-s78.test.js @@ -39,7 +39,6 @@ const appealS78 = { lpaQuestionnaireValidationOutcome: null, lpaQuestionnaireValidationOutcomeDate: null, lpaQuestionnaireValidationDetails: ['cupidatat dolore in', 'officia in nostrud non', 'eu amet velit labore aute'], - lpaStatement: 'ipsum consectetur labore pariatur', caseWithdrawnDate: '1941-07-27T04:17:40.0Z', caseTransferredDate: null, transferredCaseClosedDate: null, @@ -91,7 +90,6 @@ const appealS78 = { affectedListedBuildingNumbers: ['tempor adipisicing in'], changedListedBuildingNumbers: null, preserveGrantLoan: true, - consultHistoricEngland: false, appellantCostsAppliedFor: null, lpaCostsAppliedFor: null, agriculturalHolding: null, @@ -125,7 +123,6 @@ const appealS78 = { lpaProcedurePreference: null, lpaProcedurePreferenceDetails: null, lpaProcedurePreferenceDuration: 43495666.11228904, - caseworkReason: 'sit ipsum', importantInformation: null, jurisdiction: null, redeterminedIndicator: null, @@ -133,7 +130,6 @@ const appealS78 = { dateNotRecoveredOrDerecovered: '1965-01-28T14:22:43.0Z', dateRecovered: null, originalCaseDecisionDate: '1969-03-09T16:29:08.0Z', - targetDate: null, appellantCommentsSubmittedDate: '1907-11-20T13:42:48.0Z', appellantStatementSubmittedDate: null, appellantProofsSubmittedDate: '1940-11-26T21:04:12.0Z', diff --git a/tests/appeals/commands/adverts-questionnaire.test.js b/tests/appeals/commands/adverts-questionnaire.test.js index 7ac1ed36..e102898a 100644 --- a/tests/appeals/commands/adverts-questionnaire.test.js +++ b/tests/appeals/commands/adverts-questionnaire.test.js @@ -22,7 +22,6 @@ const exampleAdvertQuestionnaireSchema = { caseType: 'H', caseReference: 'nisi incididunt cillum', lpaQuestionnaireSubmittedDate: null, - lpaStatement: 'consequat ex', siteAccessDetails: null, siteSafetyDetails: null, isCorrectAppealType: null, diff --git a/tests/appeals/commands/cas-adverts-questionnaire.test.js b/tests/appeals/commands/cas-adverts-questionnaire.test.js index 4e425e5d..d7aabab6 100644 --- a/tests/appeals/commands/cas-adverts-questionnaire.test.js +++ b/tests/appeals/commands/cas-adverts-questionnaire.test.js @@ -22,7 +22,6 @@ const exampleCasAdvertQuestionnaireSchema = { caseType: 'ZA', caseReference: 'nisi incididunt cillum', lpaQuestionnaireSubmittedDate: null, - lpaStatement: 'consequat ex', siteAccessDetails: null, siteSafetyDetails: null, isCorrectAppealType: null, diff --git a/tests/appeals/commands/has-questionnaire.test.js b/tests/appeals/commands/has-questionnaire.test.js index 00a469a9..b79453ad 100644 --- a/tests/appeals/commands/has-questionnaire.test.js +++ b/tests/appeals/commands/has-questionnaire.test.js @@ -22,7 +22,6 @@ const exampleHasQuestionnaireSchema = { caseType: 'D', caseReference: 'nisi incididunt cillum', lpaQuestionnaireSubmittedDate: null, - lpaStatement: 'consequat ex', siteAccessDetails: null, siteSafetyDetails: null, isCorrectAppealType: null, diff --git a/tests/appeals/commands/s78-questionnaire.test.js b/tests/appeals/commands/s78-questionnaire.test.js index 97a70689..7b928627 100644 --- a/tests/appeals/commands/s78-questionnaire.test.js +++ b/tests/appeals/commands/s78-questionnaire.test.js @@ -33,7 +33,6 @@ const exampleS78QuestionnaireSchema = { newConditionDetails: null, notificationMethod: ['irure', 'cillum tempor incididunt labore in'], lpaCostsAppliedFor: true, - lpaStatement: 'ex laborum cupidatat', changedListedBuildingNumbers: null, affectsScheduledMonument: true, hasProtectedSpecies: false,