Skip to content

Commit

Permalink
Adding Measurement Qualifiers, offenderAge and victimAge for the FBI …
Browse files Browse the repository at this point in the history
…Hate Crime import

PiperOrigin-RevId: 415992047
  • Loading branch information
Abilityguy authored and copybara-github committed Dec 13, 2021
1 parent dae96e5 commit 1c9bffa
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
12 changes: 12 additions & 0 deletions core/dcschema.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,18 @@ typeOf: schema:Property
domainIncludes: dcs:CriminalActivities, dcs:CriminalIncidents
rangeIncludes: dcs:EthnicityEnum

Node: dcid:offenderAge
name: "offenderAge"
typeOf: schema:Property
domainIncludes: dcs:CriminalIncidents
rangeIncludes: dcs:QuantityRange

Node: dcid:victimAge
name: "victimAge"
typeOf: schema:Property
domainIncludes: dcs:CriminalIncidents
rangeIncludes: dcs:QuantityRange

Node: dcid:targetedRace
name: "targetedRace"
typeOf: schema:Property
Expand Down
6 changes: 6 additions & 0 deletions core/dcschema_enum_classes.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -395,3 +395,9 @@ Node: dcid:EthnicityEnum
typeOf: schema:Class
subClassOf: schema:Enumeration
name: "EthnicityEnum"

Node: dcid:FBI_MeasurementQualifierEnum
typeOf: schema:Class
subClassOf: schema:Enumeration
description: "Qualifiers to represent offenses, offenders and victims in Hate Crime data from FBI"
name: "FBI_MeasurementQualifierEnum"
12 changes: 12 additions & 0 deletions core/dcschema_enum_instances.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -1876,3 +1876,15 @@ typeOf: dcs:EthnicityEnum
Node: dcid:UCR_MultipleEthnicity
name: "UCR_MultipleEthnicity"
typeOf: dcs:EthnicityEnum

Node: dcid:Offense
name: "Offense"
typeOf: dcs:FBI_MeasurementQualifierEnum

Node: dcid:Offender
name: "Offender"
typeOf: dcs:FBI_MeasurementQualifierEnum

Node: dcid:Victim
name: "Victim"
typeOf: dcs:FBI_MeasurementQualifierEnum

0 comments on commit 1c9bffa

Please sign in to comment.