Skip to content

Question with the abstract fields #28

@CB2

Description

@CB2

Submitted via NIEM.gov/contactus:

I'm trying to use the Movement Tool and create a JSON representation of the following fields below.

My question is with the abstract fields i.e. PersonSSNIdentification, PersonStateIdentification. After generating the JSON schema, this doesn't show up and I can't add this, only the fields of the inherited type nc:IdentificationType i.e. IdentificationID.

What am I missing?

Field

FirstName

LastName

MiddleName

Race

Gender

SSNNumber

StateId

CustodyDate

SentenceDate

MittNumber

County

OffenceDate

SentenceCount

Months

Years

Days

TruthInSentencing

OffenseCity

Mittimus

CcCs

AoicCode

Class

OffenseCodeShort

{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"properties": {
"j:PersonRaceCode": {
"description": "A classification of a person based on factors such as geographical locations and genetics.",
"$ref": "#/definitions/ncic:RACECodeType"
},
"j:PersonSexCode": {
"description": "A gender or sex of a person.",
"$ref": "#/definitions/ncic:SEXCodeType"
},
"nc:IdentificationID": {
"description": "An identifier.",
"type": "string"
},
"nc:PersonGivenName": {
"description": "A first name of a person.",
"$ref": "#/definitions/nc:PersonNameTextType"
},
"nc:PersonMiddleName": {
"description": "A middle name of a person.",
"$ref": "#/definitions/nc:PersonNameTextType"
},
"nc:PersonRaceText": {
"description": "A classification of a person based on factors such as geographical locations and genetics.",
"$ref": "#/definitions/nc:TextType"
},
"nc:PersonSexText": {
"description": "A gender or sex of a person.",
"$ref": "#/definitions/nc:TextType"
},
"nc:PersonSurName": {
"description": "A last name or family name of a person.",
"$ref": "#/definitions/nc:PersonNameTextType"
},
"nc:StatusDescriptionText": {
"description": "A description of a status or condition of something or someone.",
"$ref": "#/definitions/nc:TextType"
}
},
"definitions": {
"nc:TextType": {
"description": "A data type for a character string.",
"type": "string"
},
"ncic:RACECodeSimpleType": {
"description": "A data type for 3 - Race (RAC), Protected Person Race (PPR), and Person with Information Race (PIR) Field Codes",
"enum": [
"A",
"B",
"I",
"U",
"W"
]
},
"ncic:RACECodeType": {
"description": "A data type for 3 - Race (RAC), Protected Person Race (PPR), and Person with Information Race (PIR) Field Codes",
"allOf": [
{
"$ref": "#/definitions/ncic:RACECodeSimpleType"
}
]
},
"ncic:SEXCodeSimpleType": {
"description": "A data type for 2 - Sex, Sex of Victim (SOV), and Protected Person Sex (PSX) Field Codes",
"enum": [
"F",
"M",
"U"
]
},
"ncic:SEXCodeType": {
"description": "A data type for 2 - Sex, Sex of Victim (SOV), and Protected Person Sex (PSX) Field Codes",
"allOf": [
{
"$ref": "#/definitions/ncic:SEXCodeSimpleType"
}
]
},
"nc:ProperNameTextType": {
"description": "A data type for a word or phrase by which a person or thing is known, referred, or addressed.",
"allOf": [
{
"$ref": "#/definitions/nc:TextType"
}
]
},
"nc:PersonNameTextType": {
"description": "A data type for a name by which a person is known, referred, or addressed.",
"allOf": [
{
"$ref": "#/definitions/nc:ProperNameTextType"
}
]
}
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions