opendata / Hunting-and-Fishing

Rendering hunting and fishing regulations as open data. [RETIRED]
MIT License
17 stars 3 forks source link

Identify the best practice for JSON array naming #10

Closed waldoj closed 10 years ago

waldoj commented 10 years ago

We do this:

"methods": [
    {"method": "Special restrictions apply to archery tackle use during this season.”"},
    {"method": "Archery tackle (including crossbows) only."},
    {"method": "Broadhead widths must be at least 7/8-inch wide."},
    {"method": "Bows must be capable of propelling a broadhead arrow at least 125 yards."},
    {"method": "It is unlawful to use explosive head arrows"},
    {"method": "Dogs may be used to track wounded or dead bear."},
    {"method": "It is unlawful to have a firearm in possession, except that a muzzleloading firearm"}
]

I'm not confident that methods->method is the best storage construct.