Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

Convert rural features into a dictionary #15

@PureKrome

Description

@PureKrome

REA Xml =>

<ruralFeatures>
            <fencing>Boundary and internal fencing all in good condition</fencing>
            <annualRainfall>250 mm per annum</annualRainfall>
            <soilTypes>red basalt</soilTypes>
            <improvements>Shearing shed, barn and machinery shed.</improvements>
            <councilRates>$2,200 per annum</councilRates>
            <irrigation>Electric pump from dam and bore.</irrigation>
            <carryingCapacity>400 Deer or 100 head of breeding Cattle</carryingCapacity>
            <services>Power, telephone, airstrip, school bus, mail.</services>
        </ruralFeatures>

Suggested answer:

"ruralFeatures": [
   "fencing": "..."
   ....
]

This way, we are not limited to the number and type of rural features. it's open-ended.

From a UI perspective, we can just loop through each key and display the key/value.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions