-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First pass at a complete JSON version of the open demographics questions #48
base: json-standard
Are you sure you want to change the base?
Conversation
…at questions and answers.
… json, and generated schema-correct json based on the current rules proposed on the open-demographics-initiatve project
@sparklingrobots - I'd be curious to know if you find this useful for the gender module |
Hi! I didn't see an email for this come through so I'm sorry about the delay, but will take a look this weekend. Thanks so much for doing this!! |
No problem! Let me know if you see anything that needs tweaking. |
Just wanted to ping a reminder about this pull request. Dhanya on our team is about to open a new project to start a Drupal module that can consume the JSON feed. Is it looking like this can be merged? |
How should deprecation be handled? If an option or question is removed, I imagine implementors will want to know this, and either discard or archive data. |
I’m on vacation this week, and without a laptop. It looks like a good first
pass to me but I’d like to hear from @sparklingrobots or @alexmccabe before
merging.
…On Mon, Aug 6, 2018 at 10:59 AM Neil Drumm ***@***.***> wrote:
How should deprecation be handled? If an option or question is removed, I
imagine implementors will want to know this, and either discard or archive
data.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#48 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAPj25jZ3ewukNhHfUvn8FT8QbrHL_4dks5uOIQXgaJpZM4UysOx>
.
|
@drnikki I'm assuming you've got the wrong Alex McCabe here, I've no idea what this is. |
probably meant to tag @alexdmccabe 😅 |
Couple of issues: I think the short description and long description seem redundant, e.g.:
There's a Use of
The thing that is catching me is actually the question IDs (like "transgender-identity"), because I'm trying to base column names on them, which is causing issues with MySQL. It's
vs
I don't know how you generated this JSON file, or if you did it by hand, but it would super handy to use All of that said, I can take a crack at actually making these changes. I'm not super familiar with GitHub workflow, but I think I'd be making a PR to your branch that has a PR open to Nikki's branch? |
I think the notion behind the short and long description was that the short could be displayed as inline help text on field display, and the long description could perhaps be hidden behind a help link to provide more context. Agree that it might be unnecessary or redundant for many use cases though. Nice catch on the null Agree with swapping - for _ It was just hand edited in SublimeText so a find-replace operation is probably the way to go. Re: GitHub workflows, yes, I think you have to run a PR to my branch, and then we can hopefully run it through the pachinko machine back to Nikki's project. |
I've taken a first pass at putting all of the questions into a JSON schema, based on the example in /docs-source/references/example.json and the discussions in these issues:
I know this risks having to redo a lot of work if the standard for the format continues to evolve, but I simply found it easier to just attempt to make a go of it with what we had so far. I think this would also allows us to begin experiment with consuming the machine readable version and identify any additional issues with the data model.
For the most part I think things worked very well! I have opened a couple of new issues based on doing this exercise:
I hope this is helpful.