Skip to content

Commit 16e5385

Browse files
rebase and update LandUses
2 parents d73cf72 + d1ae2fc commit 16e5385

20 files changed

+4606
-4723
lines changed

.github/workflows/publish.yml

-8
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,6 @@ jobs:
4646
mkdir -p "$GITHUB_WORKSPACE/v${{ steps.version_check.outputs.version }}/examples"
4747
mv examples/*.json "$GITHUB_WORKSPACE/v${{ steps.version_check.outputs.version }}/examples"
4848
49-
- name: Find and Replace @next with VERSION in /examples
50-
uses: jacobtomlinson/gha-find-replace@v3
51-
with:
52-
find: "@next"
53-
replace: "v${{ steps.version_check.outputs.version }}"
54-
include: "$GITHUB_WORKSPACE/v${{ steps.version_check.outputs.version }}/examples"
55-
regex: false
56-
5749
- name: Checkout Dist Branch
5850
if: steps.version_check.outputs.changed == 'true'
5951
run: |

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
The minor version will be incremented upon a breaking change and the patch version will be
1010
incremented for features.
1111

12+
## [0.4.1] - 2024-03-15
13+
14+
### Added
15+
- Added `service.metadata.fees` to communicate how the application fees were calculated, including policy references ([#124](https://github.com/theopensystemslab/digital-planning-data-schemas/pull/124))
16+
- Added a number of new `FileTypes` ([#137](https://github.com/theopensystemslab/digital-planning-data-schemas/pull/137), [#133](https://github.com/theopensystemslab/digital-planning-data-schemas/pull/133), [#128](https://github.com/theopensystemslab/digital-planning-data-schemas/pull/128))
17+
- Added type definitons to describe `CommunityInfrastructureLevy` planning charges on applicable applications ([#135](https://github.com/theopensystemslab/digital-planning-data-schemas/pull/135))
18+
- Added type definitions to describe existing & proposed `Materials` for applicable project types ([#134](https://github.com/theopensystemslab/digital-planning-data-schemas/pull/134))
19+
20+
### Fixed
21+
- Improved GitHub Action & CI workflows to ensure schema.json and examples are building as expected on `main` and in `dist` releases ([#132](https://github.com/theopensystemslab/digital-planning-data-schemas/pull/132), [#131](https://github.com/theopensystemslab/digital-planning-data-schemas/pull/131))
22+
- Updated expired file URLs in example payloads ([#139](https://github.com/theopensystemslab/digital-planning-data-schemas/pull/139))
23+
1224
## [0.4.0] - 2024-02-28
1325

1426
### Breaking

examples/data/ldcE.ts

+3-18
Original file line numberDiff line numberDiff line change
@@ -1178,43 +1178,28 @@ export const validLDCE: Schema = {
11781178
],
11791179
files: [
11801180
{
1181-
name: 'https://api.editor.planx.dev/file/private/r34zxe3x/RoaldDahlHut.jpg',
1181+
name: 'https://api.editor.planx.dev/file/private/tbp4kiba/myPlans.pdf',
11821182
type: [
11831183
{
11841184
value: 'photographs.proposed',
11851185
description: 'Photographs - proposed',
11861186
},
1187-
],
1188-
},
1189-
{
1190-
name: 'https://api.editor.planx.dev/file/private/kopklkj9/Site%20plan.pdf',
1191-
type: [
11921187
{
11931188
value: 'sitePlan.proposed',
11941189
description: 'Site plan - proposed',
11951190
},
1196-
],
1197-
},
1198-
{
1199-
name: 'https://api.editor.planx.dev/file/private/u2vjw69h/Elevations.pdf',
1200-
type: [
12011191
{
12021192
value: 'elevations.proposed',
12031193
description: 'Elevations - proposed',
12041194
},
1205-
],
1206-
},
1207-
{
1208-
name: 'https://api.editor.planx.dev/file/private/gbaur05c/Plan.pdf',
1209-
type: [
12101195
{
12111196
value: 'floorPlan.proposed',
12121197
description: 'Floor plan - proposed',
12131198
},
12141199
],
12151200
},
12161201
{
1217-
name: 'https://api.editor.planx.dev/file/private/4vhzu4c5/Roald-Dahl-letter-one-use.pdf',
1202+
name: 'https://api.editor.planx.dev/file/private/vyyogkcf/correspondence.pdf',
12181203
type: [
12191204
{
12201205
value: 'otherEvidence',
@@ -1224,7 +1209,7 @@ export const validLDCE: Schema = {
12241209
description: 'Nothing really, this is just a test. ',
12251210
},
12261211
{
1227-
name: 'https://api.editor.planx.dev/file/private/uz72iu40/Test%20document.pdf',
1212+
name: 'https://api.editor.planx.dev/file/private/97ltnrxr/invoice.pdf',
12281213
type: [
12291214
{
12301215
value: 'constructionInvoice',

examples/data/ldcP.ts

+13-45
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,9 @@ export const validLDCP: Schema = {
239239
},
240240
},
241241
date: {},
242-
details: {
243-
extend: {
244-
area: {
245-
squareMetres: 24,
246-
},
242+
extend: {
243+
area: {
244+
squareMetres: 24,
247245
},
248246
},
249247
},
@@ -760,71 +758,41 @@ export const validLDCP: Schema = {
760758
],
761759
files: [
762760
{
763-
name: 'https://api.editor.planx.dev/file/private/ha2qdn2z/RoofPlan.pdf',
761+
name: 'https://api.editor.planx.dev/file/private/tbp4kiba/myPlans.pdf',
764762
type: [
765763
{
766764
value: 'roofPlan.existing',
767765
description: 'Roof plan - existing',
768766
},
769-
],
770-
},
771-
{
772-
name: 'https://api.editor.planx.dev/file/private/3u00rjyw/Site%20plan.pdf',
773-
type: [
774-
{
775-
value: 'sitePlan.existing',
776-
description: 'Site plan - existing',
777-
},
778-
],
779-
},
780-
{
781-
name: 'https://api.editor.planx.dev/file/private/g92g9w65/RoofPlan.pdf',
782-
type: [
783767
{
784768
value: 'roofPlan.proposed',
785769
description: 'Roof plan - proposed',
786770
},
787-
],
788-
},
789-
{
790-
name: 'https://api.editor.planx.dev/file/private/i7tag96k/Site%20plan.pdf',
791-
type: [
771+
{
772+
value: 'sitePlan.existing',
773+
description: 'Site plan - existing',
774+
},
792775
{
793776
value: 'sitePlan.proposed',
794777
description: 'Site plan - proposed',
795778
},
796-
],
797-
},
798-
{
799-
name: 'https://api.editor.planx.dev/file/private/tw50m88n/Elevations.pdf',
800-
type: [
801779
{
802780
value: 'elevations.existing',
803781
description: 'Elevations - existing',
804782
},
805-
],
806-
},
807-
{
808-
name: 'https://api.editor.planx.dev/file/private/diahn9ft/Plan.pdf',
809-
type: [
810-
{
811-
value: 'floorPlan.existing',
812-
description: 'Floor plan - existing',
813-
},
814-
],
815-
},
816-
{
817-
name: 'https://api.editor.planx.dev/file/private/0rpf43jj/Elevations.pdf',
818-
type: [
819783
{
820784
value: 'elevations.proposed',
821785
description: 'Elevations - proposed',
822786
},
823787
],
824788
},
825789
{
826-
name: 'https://api.editor.planx.dev/file/private/iio7ok5g/Plan.pdf',
790+
name: 'https://api.editor.planx.dev/file/private/311w2id6/floor_plans.pdf',
827791
type: [
792+
{
793+
value: 'floorPlan.existing',
794+
description: 'Floor plan - existing',
795+
},
828796
{
829797
value: 'floorPlan.proposed',
830798
description: 'Floor plan - proposed',

0 commit comments

Comments
 (0)