Skip to content

Commit

Permalink
add existing & proposed materials
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicamcinchak committed Mar 12, 2024
1 parent 3c0f977 commit 68770e3
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 0 deletions.
42 changes: 42 additions & 0 deletions schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -4098,6 +4098,10 @@
},
"type": "array"
},
"materials": {
"$ref": "#/definitions/Materials",
"description": "Details about the existing materials"
},
"planning": {
"additionalProperties": false,
"description": "Planning constraints and policies that intersect with this site and may impact or restrict development",
Expand Down Expand Up @@ -4192,6 +4196,36 @@
],
"type": "object"
},
"Materials": {
"additionalProperties": false,
"properties": {
"boundary": {
"type": "string"
},
"door": {
"type": "string"
},
"lighting": {
"type": "string"
},
"other": {
"type": "string"
},
"roof": {
"type": "string"
},
"surface": {
"type": "string"
},
"wall": {
"type": "string"
},
"window": {
"type": "string"
}
},
"type": "object"
},
"Metadata": {
"$id": "#DigitalPlanningMetadata",
"anyOf": [
Expand Down Expand Up @@ -20980,6 +21014,10 @@
"details": {
"$ref": "#/definitions/ProposalDetails"
},
"materials": {
"$ref": "#/definitions/Materials",
"description": "Details about the proposed materials"
},
"projectType": {
"items": {
"$ref": "#/definitions/ProjectType"
Expand Down Expand Up @@ -21837,6 +21875,10 @@
},
"type": "array"
},
"materials": {
"$ref": "#/definitions/Materials",
"description": "Details about the existing materials"
},
"planning": {
"additionalProperties": false,
"description": "Planning constraints and policies that intersect with this site and may impact or restrict development",
Expand Down
5 changes: 5 additions & 0 deletions types/schema/data/Property.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import {GeoJSON} from 'geojson';
import {PlanningDesignations} from '../../enums/PlanningConstraints';
import {PropertyTypes} from '../../enums/PropertyTypes';
import {Area, URL} from '../../utils';
import {Materials} from './shared';

/**
* @id #Property
Expand Down Expand Up @@ -59,6 +60,10 @@ export interface UKProperty {
neighbourhood: PlanningConstraint[];
};
};
/**
* @description Details about the existing materials
*/
materials?: Materials;
}

/**
Expand Down
5 changes: 5 additions & 0 deletions types/schema/data/Proposal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import {GeoJSON} from 'geojson';
import {ProjectTypes} from '../../enums/ProjectTypes';
import {VehicleParking} from '../../enums/VehicleParking';
import {Area, Date} from '../../utils';
import {Materials} from './shared';

/**
* @id #Proposal
Expand All @@ -19,6 +20,10 @@ export interface Proposal {
};
date?: ProposalDates;
details?: ProposalDetails;
/**
* @description Details about the proposed materials
*/
materials?: Materials;
}

/**
Expand Down
10 changes: 10 additions & 0 deletions types/schema/data/shared.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export type Materials = {
boundary?: string;
door?: string;
lighting?: string;
roof?: string;
surface?: string;
wall?: string;
window?: string;
other?: string;
};

0 comments on commit 68770e3

Please sign in to comment.