Skip to content

Commit

Permalink
tighten langauge
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicamcinchak committed Feb 26, 2024
1 parent 324e235 commit 3f83b70
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion examples/data/ldcE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,7 @@ export const validLDCE: Schema = {
],
optional: [],
},
fees: {
fee: {
calculated: [],
payable: [],
},
Expand Down
6 changes: 3 additions & 3 deletions examples/data/ldcP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const validLDCP: Schema = {
description: 'Lawful Development Certificate - Proposed use',
},
fee: {
calculated: 103,
calculated: 129,
payable: 0,
exemption: {
disability: true,
Expand Down Expand Up @@ -875,7 +875,7 @@ export const validLDCP: Schema = {
recommended: [],
optional: [],
},
fees: {
fee: {
calculated: [
{
description:
Expand All @@ -891,7 +891,7 @@ export const validLDCP: Schema = {
payable: [
{
description:
'If the proposed works (to either a home or within the curtilage of a home) is for the sole purpose of providing either: a means of access to (or within) the dwellinghouse for a disabled resident (current or future); providing facilities that are designed to ensure the disabled persons safety, health or comfort; or providing disabled access to a public building. Then no planning fee will be payable for this application.',
'If the proposed works (to either a home or within the curtilage of a home) is for the sole purpose of - providing either a means of access to (or within) the dwellinghouse for a disabled resident (current or future); providing facilities that are designed to ensure the disabled persons safety, health or comfort; or providing disabled access to a public building - then no planning fee will be payable for this application.',
policyRefs: [
{
text: 'UK Statutory Instruments 2012 No. 2920 Regulation 4',
Expand Down
2 changes: 1 addition & 1 deletion examples/data/planningPermission.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1294,7 +1294,7 @@ export const validPlanningPermission: Schema = {
],
optional: [],
},
fees: {
fee: {
calculated: [],
payable: [],
},
Expand Down
2 changes: 1 addition & 1 deletion examples/data/priorApproval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ export const validPriorApproval: Schema = {
],
optional: [],
},
fees: {
fee: {
calculated: [],
payable: [],
},
Expand Down
10 changes: 5 additions & 5 deletions schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1749,8 +1749,8 @@
],
"type": "object"
},
"FeesExplanation": {
"$id": "#FeesExplanation",
"FeeExplanation": {
"$id": "#FeeExplanation",
"additionalProperties": false,
"description": "An explanation, including policy references, of the calculated and payable fees associated with this application",
"properties": {
Expand Down Expand Up @@ -4478,8 +4478,8 @@
"service": {
"additionalProperties": false,
"properties": {
"fees": {
"$ref": "#/definitions/FeesExplanation"
"fee": {
"$ref": "#/definitions/FeeExplanation"
},
"files": {
"$ref": "#/definitions/RequestedFiles"
Expand All @@ -4495,7 +4495,7 @@
"flowId",
"url",
"files",
"fees"
"fee"
],
"type": "object"
},
Expand Down
6 changes: 3 additions & 3 deletions types/schema/Metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ export interface CalculateMetadata {
}

/**
* @id #FeesExplanation
* @id #FeeExplanation
* @description An explanation, including policy references, of the calculated and payable fees associated with this application
*/
export interface FeesExplanation {
export interface FeeExplanation {
calculated: CalculateMetadata[];
payable: CalculateMetadata[];
}
Expand All @@ -72,6 +72,6 @@ export interface PlanXMetadata extends BaseMetadata {
flowId: UUID;
url: URL;
files: RequestedFiles;
fees: FeesExplanation;
fee: FeeExplanation;
};
}

0 comments on commit 3f83b70

Please sign in to comment.