Property-Data-Trust-Framework / schemas

Open data schema for digital residential property data exchange
MIT License
12 stars 11 forks source link

Explicitly declare "No" in fields that are arrays such as `accessibilityAndAdaptations`and `parkingArrangements` #197

Open jacknely opened 3 months ago

jacknely commented 3 months ago

In order to make it clear that there are no accessibilityAndAdaptations or parkingArrangements at a property, we should add a yesNo question before.

Another option is that we agree that an empty array is a claim that that none of these are present - I need to check if that can work with JSON Schema Definition.

accessibilityAndAdaptations https://github.com/Property-Data-Trust-Framework/schemas/blob/56b212d64025488446caa1ed6b61d6b7943064d4/src/schemas/v3/pdtf-transaction.json#L7730C14-L7730C41

parkingArrangements https://github.com/Property-Data-Trust-Framework/schemas/blob/56b212d64025488446caa1ed6b61d6b7943064d4/src/schemas/v3/pdtf-transaction.json#L7312

jacknely commented 3 months ago

Proposal to add "No Parking Available" to parkingArrangements array

jacknely commented 3 months ago

Proposal to add "No Accessibility Adaptations" to accessibilityAndAdaptations