Skip to content
Snippets Groups Projects
Commit d4da9eb2 authored by Megan Henning's avatar Megan Henning Committed by GitHub
Browse files

Merge pull request #376 from scitran/race-ethnicity

Add race and ethnicity to subjects
parents 80ba842b 0969ea03
No related branches found
No related tags found
No related merge requests found
......@@ -7,11 +7,15 @@
"lastname": { "type": "string", "maxLength": 64 },
"firstname_hash": { "type": ["string", "null"] },
"lastname_hash": { "type": ["string", "null"] },
"age": { "type": ["number", "null"] },
"sex": { "enum": ["male", "female", "other", "unknown", null] },
"race": { "enum": ["American Indian or Alaska Native", "Asian", "Native Hawaiian or Other Pacific Islander", "Black or African American", "White", "More Than One Race", "Unknown or Not Reported", null] },
"ethnicity": { "enum": ["Not Hispanic or Latino", "Hispanic or Latino", "Unknown or Not Reported", null] },
"code": { "type": "string", "maxLength": 64 },
"tags": { "type": "array", "items": {"type": "string"} },
"metadata": { "type": "object" },
"age": { "type": ["number", "null"] }
"metadata": { "type": "object" }
},
"additionalProperties": false
}
......@@ -7,11 +7,15 @@
"lastname": { "type": "string" },
"firstname_hash": { "type": "string" },
"lastname_hash": { "type": "string" },
"age": { "type": ["number", "null"] },
"sex": { "enum": ["male", "female", "other", "unknown", null] },
"race": { "enum": ["American Indian or Alaska Native", "Asian", "Native Hawaiian or Other Pacific Islander", "Black or African American", "White", "More Than One Race", "Unknown or Not Reported", null] },
"ethnicity": { "enum": ["Not Hispanic or Latino", "Hispanic or Latino", "Unknown or Not Reported", null] },
"code": { "type": "string" },
"tags": { "type": "array", "items": {"type": "string"} },
"metadata": { "type": "object" },
"age": { "type": ["number", "null"] }
"metadata": { "type": "object" }
},
"additionalProperties": false
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment