Skip to content

Commit

Permalink
correct metadata file requirement enums
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicamcinchak committed Sep 18, 2024
1 parent 5ccaad1 commit 7bc00b4
Show file tree
Hide file tree
Showing 28 changed files with 375 additions and 2,803 deletions.
16 changes: 2 additions & 14 deletions examples/prototypeApplication/data/landDrainageConsent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -646,20 +646,8 @@ export const landDrainageConsentPrototype: PrototypeApplication = {
flowId: '5aab3466-8fb0-4e73-b51d-347d61ad5547',
url: 'https://editor.planx.dev/medway/apply-for-land-drainage-consent-copy/published',
files: {
required: [
{
value: 'necessaryInformation',
description:
'Information the authority considers necessary for the application',
},
],
recommended: [
{
value: 'relevantInformation',
description:
'Information the applicant considers relevant to the application',
},
],
required: ['necessaryInformation'],
recommended: ['relevantInformation'],
optional: [],
},
fee: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1182,37 +1182,12 @@ export const lawfulDevelopmentCertificateExistingPrototype: PrototypeApplication
url: 'https://www.editor.planx.dev/buckinghamshire/apply-for-a-lawful-development-certificate/preview',
files: {
required: [
{
value: 'photographs.proposed',
description: 'Photographs - proposed',
},
{
value: 'sitePlan.proposed',
description: 'Site plan - proposed',
},
{
value: 'elevations.proposed',
description: 'Elevations - proposed',
},
{
value: 'floorPlan.proposed',
description: 'Floor plan - proposed',
},
{
value: 'floorPlan.proposed',
description: 'Floor plan - proposed',
},
],
recommended: [
{
value: 'otherEvidence',
description: 'Other - evidence or correspondence',
},
{
value: 'constructionInvoice',
description: 'Construction invoice',
},
'photographs.proposed',
'sitePlan.proposed',
'elevations.proposed',
'floorPlan.proposed',
],
recommended: ['otherEvidence', 'constructionInvoice'],
optional: [],
},
fee: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -756,38 +756,14 @@ export const lawfulDevelopmentCertificateProposedPrototype: PrototypeApplication
url: 'https://www.editor.planx.dev/buckinghamshire/apply-for-a-lawful-development-certificate/preview',
files: {
required: [
{
value: 'roofPlan.existing',
description: 'Roof plan - existing',
},
{
value: 'sitePlan.existing',
description: 'Site plan - existing',
},
{
value: 'roofPlan.proposed',
description: 'Roof plan - proposed',
},
{
value: 'sitePlan.proposed',
description: 'Site plan - proposed',
},
{
value: 'elevations.existing',
description: 'Elevations - existing',
},
{
value: 'floorPlan.existing',
description: 'Floor plan - existing',
},
{
value: 'elevations.proposed',
description: 'Elevations - proposed',
},
{
value: 'floorPlan.proposed',
description: 'Floor plan - proposed',
},
'roofPlan.existing',
'sitePlan.existing',
'roofPlan.proposed',
'sitePlan.proposed',
'elevations.existing',
'floorPlan.existing',
'elevations.proposed',
'floorPlan.proposed',
],
recommended: [],
optional: [],
Expand Down
65 changes: 14 additions & 51 deletions examples/prototypeApplication/data/listedBuildingConsent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1050,61 +1050,24 @@ export const listedBuildingConsentPrototype: PrototypeApplication = {
source: 'PlanX',
service: {
flowId: '2677568c-00d2-4391-98ea-f34a4e743437',
url: 'https://www.editor.planx.uk/camden/apply-for-listed-building-consent/published',
url: 'https://www.editor.planx.dev/camden/apply-for-listed-building-consent/published',
files: {
required: [
{
value: 'sitePlan.existing',
description: 'Site plan - existing',
},
{
value: 'sitePlan.proposed',
description: 'Site plan - proposed',
},
{
value: 'elevations.existing',
description: 'Elevations - existing',
},
{
value: 'elevations.proposed',
description: 'Elevations - proposed',
},
{
value: 'floorPlan.existing',
description: 'Floor plan - existing',
},
{
value: 'floorPlan.proposed',
description: 'Floor plan - proposed',
},
{
value: 'joinerySections',
description: 'Joinery section report',
},
],
recommended: [
{
value: 'heritageStatement',
description: 'Heritage Statement',
},
'sitePlan.existing',
'sitePlan.proposed',
'elevations.existing',
'elevations.proposed',
'floorPlan.existing',
'floorPlan.proposed',
'joinerySections',
],
recommended: ['heritageStatement'],
optional: [
{
value: 'photographs.existing',
description: 'Photographs - existing',
},
{
value: 'otherDrawing',
description: 'Other - drawing',
},
{
value: 'otherDocument',
description: 'Other - document',
},
{
value: 'visualisations',
description: 'Visualisations',
},
'photographs.existing',
'photographs.proposed',
'otherDrawing',
'otherDocument',
'visualisations',
],
},
fee: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1076,41 +1076,14 @@ export const planningPermissionFullHouseholderPrototype: PrototypeApplication =
url: 'https://www.editor.planx.dev/lambeth/apply-for-planning-permission/preview',
files: {
required: [
{
value: 'roofPlan.existing',
description: 'Roof plan - existing',
},
{
value: 'roofPlan.proposed',
description: 'Roof plan - proposed',
},
{
value: 'sitePlan.existing',
description: 'Site plan - existing',
},
{
value: 'sitePlan.proposed',
description: 'Site plan - proposed',
},
{
value: 'elevations.existing',
description: 'Elevations - existing',
},
{
value: 'elevations.proposed',
description: 'Elevations - proposed',
},
],
recommended: [
{
value: 'floorPlan.existing',
description: 'Floor plan - existing',
},
{
value: 'floorPlan.proposed',
description: 'Floor plan - proposed',
},
'roofPlan.existing',
'roofPlan.proposed',
'sitePlan.existing',
'sitePlan.proposed',
'elevations.existing',
'elevations.proposed',
],
recommended: ['floorPlan.existing', 'floorPlan.proposed'],
optional: [],
},
fee: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1149,56 +1149,23 @@ export const planningPermissionFullHouseholderInConservationAreaPrototype: Proto
source: 'PlanX',
service: {
flowId: 'bba306e7-15c8-438f-a71e-a1e5d3a99caf',
url: 'https://editor.planx.uk/southwark/apply-for-planning-permission/published',
url: 'https://editor.planx.dev/southwark/apply-for-planning-permission/published',
files: {
required: [
{
value: 'sitePlan.existing',
description: 'Site plan - existing',
},
{
value: 'sitePlan.proposed',
description: 'Site plan - proposed',
},
{
value: 'elevations.existing',
description: 'Elevations - existing',
},
{
value: 'elevations.proposed',
description: 'Elevations - proposed',
},
{
value: 'floorPlan.existing',
description: 'Floor plan - existing',
},
{
value: 'floorPlan.proposed',
description: 'Floor plan - proposed',
},
{
value: 'heritageStatement',
description: 'Heritage Statement',
},
'sitePlan.existing',
'sitePlan.proposed',
'elevations.existing',
'elevations.proposed',
'floorPlan.existing',
'floorPlan.proposed',
'heritageStatement',
],
recommended: [],
optional: [
{
value: 'photographs.existing',
description: 'Photographs - existing',
},
{
value: 'otherDrawing',
description: 'Other - drawing',
},
{
value: 'otherDocument',
description: 'Other - document',
},
{
value: 'visualisations',
description: 'Visualisations',
},
'photographs.existing',
'otherDocument',
'otherDrawing',
'visualisations',
],
},
fee: {
Expand Down
16 changes: 2 additions & 14 deletions examples/prototypeApplication/data/planningPermission/major.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2095,20 +2095,8 @@ export const planningPermissionMajorPrototype: PrototypeApplication = {
flowId: '28e258a7-812f-4390-b520-7c00e7f5cd77',
url: 'https://editor.planx.dev/buckinghamshire/apply-for-planning-permission/published',
files: {
required: [
{
value: 'necessaryInformation',
description:
'Information the authority considers necessary for the application',
},
],
recommended: [
{
value: 'relevantInformation',
description:
'Information the applicant considers relevant to the application',
},
],
required: ['necessaryInformation'],
recommended: ['relevantInformation'],
optional: [],
},
fee: {
Expand Down
16 changes: 2 additions & 14 deletions examples/prototypeApplication/data/planningPermission/minor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1591,20 +1591,8 @@ export const planningPermissionMinorPrototype: PrototypeApplication = {
flowId: '28e258a7-812f-4390-b520-7c00e7f5cd77',
url: 'https://editor.planx.dev/buckinghamshire/apply-for-planning-permission/published',
files: {
required: [
{
value: 'necessaryInformation',
description:
'Information the authority considers necessary for the application',
},
],
recommended: [
{
value: 'relevantInformation',
description:
'Information the applicant considers relevant to the application',
},
],
required: ['necessaryInformation'],
recommended: ['relevantInformation'],
optional: [],
},
fee: {
Expand Down
Loading

0 comments on commit 7bc00b4

Please sign in to comment.