Skip to content

Commit 744c582

Browse files
authored
Merge pull request #155 from RTIInternational/auto-update-schema
Auto-update generated JSON schema
2 parents d46747b + 085fc5f commit 744c582

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

generated/bdchm.schema.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@
317317
},
318318
"ethnicity": {
319319
"$ref": "#/$defs/EthnicityEnum",
320-
"description": "An individual's self-described social and cultural grouping, specifically whether an individual describes themselves as Hispanic or Latino. The provided values are based on the categories defined by the U.S. Office of Management and Business and used by the U.S. Census Bureau"
320+
"description": "A sociopolitically constructed system for classifying human beings according to claims of shared heritage often based on perceived cultural similarities (e.g., language, religion, beliefs); the system varies globally. The provided values are based on the categories defined by the U.S. Office of Management and Business and used by the U.S. Census Bureau and include only the options \u201cHispanic or Latino\u201d and \u201cNot Hispanic or Latino.\u201d"
321321
},
322322
"id": {
323323
"description": "The 'logical' identifier of the entity within the system of record. The simple value of this attribute stands for an identifier of this data object within the system, it can be used as a reference from other objects within the same system (i.e. primary and foreign keys), and it should be unique per type of object. The same data object copied to a different system will likely have a different \"id\" in the new system since \"id\" values are system specific and do not represent persistent business identifiers. Business identifiers are assigned outside the information system and are captured in the \"identifier\" field. The \"id\" field is more likely to be a serially or randomly generated value that is assigned to the data object as it is created in a system.",
@@ -334,12 +334,18 @@
334334
]
335335
},
336336
"race": {
337-
"$ref": "#/$defs/RaceEnum",
338-
"description": "An arbitrary classification of a taxonomic group that is a division of a species. It usually arises as a consequence of geographical isolation within a species and is characterized by shared heredity, physical attributes and behavior, and in the case of humans, by common history, nationality, or geographic distribution. The provided values are based on the categories defined by the U.S. Office of Management and Business and used by the U.S. Census Bureau."
337+
"description": "A sociopolitically constructed system for classifying human beings according to subjective beliefs about shared ancestry based on perceived innate biological similarities; the system varies globally. The provided values are based on the categories defined by the U.S. Office of Management and Business and used by the U.S. Census Bureau.",
338+
"items": {
339+
"$ref": "#/$defs/RaceEnum"
340+
},
341+
"type": [
342+
"array",
343+
"null"
344+
]
339345
},
340346
"sex": {
341347
"$ref": "#/$defs/SexEnum",
342-
"description": "The biologic character or quality that distinguishes male and female from one another as expressed by analysis of the person's gonadal, morphologic (internal and external), chromosomal, and hormonal characteristics."
348+
"description": "The biologic character or quality that distinguishes male and female from one another as expressed by analysis of the person's gonadal, morphologic (internal and external), chromosomal, and hormonal characteristics. Individuals where these characteristics do not all clearly align with either male or female are often considered intersex."
343349
}
344350
},
345351
"required": [

generated/bdchm.schema.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1727,11 +1727,11 @@ export interface Demography extends Entity {
17271727
associated_participant?: ParticipantId,
17281728
/** A reference to the Visit that is associated with this record. */
17291729
associated_visit?: VisitId,
1730-
/** The biologic character or quality that distinguishes male and female from one another as expressed by analysis of the person's gonadal, morphologic (internal and external), chromosomal, and hormonal characteristics. */
1730+
/** The biologic character or quality that distinguishes male and female from one another as expressed by analysis of the person's gonadal, morphologic (internal and external), chromosomal, and hormonal characteristics. Individuals where these characteristics do not all clearly align with either male or female are often considered intersex. */
17311731
sex?: string,
1732-
/** An individual's self-described social and cultural grouping, specifically whether an individual describes themselves as Hispanic or Latino. The provided values are based on the categories defined by the U.S. Office of Management and Business and used by the U.S. Census Bureau */
1732+
/** A sociopolitically constructed system for classifying human beings according to claims of shared heritage often based on perceived cultural similarities (e.g., language, religion, beliefs); the system varies globally. The provided values are based on the categories defined by the U.S. Office of Management and Business and used by the U.S. Census Bureau and include only the options “Hispanic or Latino” and “Not Hispanic or Latino.” */
17331733
ethnicity?: string,
1734-
/** An arbitrary classification of a taxonomic group that is a division of a species. It usually arises as a consequence of geographical isolation within a species and is characterized by shared heredity, physical attributes and behavior, and in the case of humans, by common history, nationality, or geographic distribution. The provided values are based on the categories defined by the U.S. Office of Management and Business and used by the U.S. Census Bureau. */
1734+
/** A sociopolitically constructed system for classifying human beings according to subjective beliefs about shared ancestry based on perceived innate biological similarities; the system varies globally. The provided values are based on the categories defined by the U.S. Office of Management and Business and used by the U.S. Census Bureau. */
17351735
race?: string,
17361736
}
17371737

0 commit comments

Comments
 (0)