-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c31a085
commit 596e1c0
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
53 changes: 53 additions & 0 deletions
53
editor.planx.uk/src/@planx/components/List/schemas/GLA/ExistingAndProposedUses.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
import { Schema } from "@planx/components/List/model"; | ||
|
||
export const ExistingAndProposedUsesGLA: Schema = { | ||
type: "Existing and proposed uses", | ||
fields: [ | ||
{ | ||
type: "question", | ||
data: { | ||
title: "What is the use class?", | ||
fn: "useClass", | ||
options: [ | ||
{ id: "bTwo", data: { text: "B2 - General industry", val: "bTwo" } }, | ||
{ id: "bEight", data: { text: "B8 - Storage and distribution", val: "bEight" } }, | ||
{ id: "cOne", data: { text: "C1 - Hotels", val: "cOne" } }, | ||
{ id: "cTwo", data: { text: "C2 - Residential institutions", val: "cTwo" } }, | ||
{ id: "cTwoA", data: { text: "C2a - Secure residential institutions", val: "cTwoA" } }, | ||
{ id: "cThree", data: { text: "C3 - Dwellinghouses", val: "cThree" } }, | ||
{ id: "cFour", data: { text: "C4 - Houses in multiple occupation", val: "cFour" } }, | ||
{ id: "e", data: { text: "E - Commercial, business and service", val: "e" } }, | ||
{ id: "fOne", data: { text: "Learning and non-residential institutions", val: "fOne" } }, | ||
{ id: "fTwo", data: { text: "Local community uses", val: "fTwo" } }, | ||
{ id: "SG", data: { text: "Sui generis", val: "SG" } }, | ||
{ id: "unknown", data: { text: "Unknown", val: "unknown" } }, | ||
], | ||
}, | ||
}, | ||
{ | ||
type: "number", | ||
data: { | ||
title: "What is the existing gross internal floor area (in square metres)?", | ||
fn: "GIAExisting", | ||
allowNegatives: false, | ||
}, | ||
}, | ||
{ | ||
type: "number", | ||
data: { | ||
title: "What is the gross internal floor area lost (in square metres)?", | ||
fn: "GIALost", | ||
allowNegatives: false, | ||
}, | ||
}, | ||
{ | ||
type: "number", | ||
data: { | ||
title: "What is the gross internal floor area gained (in square metres)?", | ||
fn: "GIAGained", | ||
allowNegatives: false, | ||
}, | ||
}, | ||
], | ||
min: 1, | ||
} as const; |