Skip to content

Commit

Permalink
feat: write a prototypeApplication schema with definitions based on…
Browse files Browse the repository at this point in the history
… primary application type (#236)

Co-authored-by: Dafydd Llŷr Pearson <[email protected]>
  • Loading branch information
jessicamcinchak and DafyddLlyr authored Sep 19, 2024
1 parent 81ad720 commit 610f2f7
Show file tree
Hide file tree
Showing 72 changed files with 51,196 additions and 2,512 deletions.
2 changes: 1 addition & 1 deletion examples/application/data/landDrainageConsent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,6 @@ export const landDrainageConsent: Application = {
payable: [],
},
},
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schema.json`,
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schemas/application.json`,
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -1306,6 +1306,6 @@ export const lawfulDevelopmentCertificateExisting: Application = {
},
},
submittedAt: '2023-10-02t00:00:00z',
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schema.json`,
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schemas/application.json`,
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -899,6 +899,6 @@ export const lawfulDevelopmentCertificateProposed: Application = {
},
},
submittedAt: '2023-10-02T00:00:00+01:00',
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schema.json`,
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schemas/application.json`,
},
};
2 changes: 1 addition & 1 deletion examples/application/data/listedBuildingConsent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1188,6 +1188,6 @@ export const listedBuildingConsent: Application = {
notApplicable: true,
},
},
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schema.json`,
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schemas/application.json`,
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -1217,6 +1217,6 @@ export const planningPermissionFullHouseholder: Application = {
},
},
submittedAt: '2023-10-02T00:00:00.00Z',
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schema.json`,
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schemas/application.json`,
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -1336,6 +1336,6 @@ export const planningPermissionFullHouseholderInConservationArea: Application =
},
},
submittedAt: '2023-10-02T00:00:00.00Z',
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schema.json`,
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schemas/application.json`,
},
};
2 changes: 1 addition & 1 deletion examples/application/data/planningPermission/major.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2191,6 +2191,6 @@ export const planningPermissionMajor: Application = {
payable: [],
},
},
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schema.json`,
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schemas/application.json`,
},
};
2 changes: 1 addition & 1 deletion examples/application/data/planningPermission/minor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1704,6 +1704,6 @@ export const planningPermissionMinor: Application = {
},
},
},
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schema.json`,
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schemas/application.json`,
},
};
2 changes: 1 addition & 1 deletion examples/application/data/priorApproval/buildHomes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1838,6 +1838,6 @@ export const priorApprovalBuildHomes: Application = {
],
},
},
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schema.json`,
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schemas/application.json`,
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -1626,6 +1626,6 @@ export const priorApprovalConvertCommercialToHome: Application = {
],
},
},
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schema.json`,
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schemas/application.json`,
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -1797,6 +1797,6 @@ export const priorApprovalExtendUniversity: Application = {
],
},
},
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schema.json`,
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schemas/application.json`,
},
};
2 changes: 1 addition & 1 deletion examples/application/data/priorApproval/largerExtension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1541,6 +1541,6 @@ export const priorApprovalLargerExtension: Application = {
],
},
},
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schema.json`,
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schemas/application.json`,
},
};
2 changes: 1 addition & 1 deletion examples/application/data/priorApproval/solarPanels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1344,6 +1344,6 @@ export const priorApprovalSolarPanels: Application = {
],
},
},
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schema.json`,
schema: `https://theopensystemslab.github.io/digital-planning-data-schemas/${version}/schemas/application.json`,
},
};
2 changes: 1 addition & 1 deletion examples/application/landDrainageConsent.json
Original file line number Diff line number Diff line change
Expand Up @@ -1138,6 +1138,6 @@
"payable": []
}
},
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schema.json"
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schemas/application.json"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1921,6 +1921,6 @@
}
},
"submittedAt": "2023-10-02t00:00:00z",
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schema.json"
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schemas/application.json"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1273,6 +1273,6 @@
}
},
"submittedAt": "2023-10-02T00:00:00+01:00",
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schema.json"
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schemas/application.json"
}
}
2 changes: 1 addition & 1 deletion examples/application/listedBuildingConsent.json
Original file line number Diff line number Diff line change
Expand Up @@ -1221,6 +1221,6 @@
"notApplicable": true
}
},
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schema.json"
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schemas/application.json"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1723,6 +1723,6 @@
}
},
"submittedAt": "2023-10-02T00:00:00.00Z",
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schema.json"
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schemas/application.json"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1885,6 +1885,6 @@
}
},
"submittedAt": "2023-10-02T00:00:00.00Z",
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schema.json"
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schemas/application.json"
}
}
2 changes: 1 addition & 1 deletion examples/application/planningPermission/major.json
Original file line number Diff line number Diff line change
Expand Up @@ -2433,6 +2433,6 @@
"payable": []
}
},
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schema.json"
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schemas/application.json"
}
}
2 changes: 1 addition & 1 deletion examples/application/planningPermission/minor.json
Original file line number Diff line number Diff line change
Expand Up @@ -1693,6 +1693,6 @@
}
}
},
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schema.json"
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schemas/application.json"
}
}
2 changes: 1 addition & 1 deletion examples/application/priorApproval/buildHomes.json
Original file line number Diff line number Diff line change
Expand Up @@ -1905,6 +1905,6 @@
]
}
},
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schema.json"
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schemas/application.json"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1681,6 +1681,6 @@
]
}
},
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schema.json"
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schemas/application.json"
}
}
2 changes: 1 addition & 1 deletion examples/application/priorApproval/extendUniversity.json
Original file line number Diff line number Diff line change
Expand Up @@ -1814,6 +1814,6 @@
]
}
},
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schema.json"
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schemas/application.json"
}
}
2 changes: 1 addition & 1 deletion examples/application/priorApproval/largerExtension.json
Original file line number Diff line number Diff line change
Expand Up @@ -1567,6 +1567,6 @@
]
}
},
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schema.json"
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schemas/application.json"
}
}
2 changes: 1 addition & 1 deletion examples/application/priorApproval/solarPanels.json
Original file line number Diff line number Diff line change
Expand Up @@ -1523,6 +1523,6 @@
]
}
},
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schema.json"
"schema": "https://theopensystemslab.github.io/digital-planning-data-schemas/@next/schemas/application.json"
}
}
Loading

0 comments on commit 610f2f7

Please sign in to comment.