drnikki / open-demographics

Open Demographics Initiative: An open standard for collecting identity/demographic data in open source communities.
http://open-demographics.com
Creative Commons Attribution Share Alike 4.0 International
107 stars 33 forks source link

Long versus Short version of question options #43

Open drnikki opened 6 years ago

drnikki commented 6 years ago

Problem: Some questions like age have a long and short version of their options.

Note: there's a lot of work to do on this, and the scope of this issue is only how to distinguish between the long and short set. Other parts of the schema are reviewed in other issues.

Proposed solution:

         ... more stuff up here
           "id-of-this-single-question-in-this-category" : {
             "type":"select-one",
             "self-identify": "false",
             "prompt": "How old are you?",
             "choices": {
                "fullset": [
                   { "id": "019", "value": "0-19", "label": "0 - 19" },
                   { "id": "2039", "value": "20-39", "label": "20 - 39" },
                   { "id": "4059", "value": "40-59", "label": "40 - 59" },
                   { "id": "age-decline", "value": "decline", "label": "Prefer not to answer" }
               ],
             "shortset": [
               { "id": "019", "value": "0-19", "label": "0 - 19" },
               { "id": "2039", "value": "20-39", "label": "20 - 39" },
               { "id": "age-decline", "value": "decline", "label": "Prefer not to answer" }
             ]
          }
       }
 .... more stuff down here