Generation - Parent Interchange Data
- Jason Hoekstra
Owned by Jason Hoekstra
This section outlines the Parent Interchange generation rules.
Input & Precursors
This document is dependent on the data generated for the Students interchange.
Entities & Elements
Interchange-Parent.xsd contains the following entities:
- Parent
- StudentParentAssociation
Path | Element | Rules | Notes |
---|---|---|---|
Parent | id | "PRNT_{ParentUniqueId}" where ParentUniqueId is defined as below | All student will have at least 1 and at most 2 parents defined. |
ParentUniqueId | Â A sequential 6-digit number based starting from 000001 at the time the program begins. | ||
Address | The "primary" parent always has an address to match the student (or, no address if the student is homeless). The generator simulates divorced parents – in the case of divorced parents living apart, the second parent will have an address different from that of the student. | ||
EmailAddress | "{LoginId}@example.com" where LoginId is defined as below | ||
LoginId | "{FirstName}.{LastName}{id}" where Id is a sequential number (starting from 1) in case multiple parents are randomly assigned the same pair of {FirstName, LastName} | ||
Name | Randomly generated. If the parent in question is on the paternal side of the family or the biological parents are still married, the LastName of the parent will match that of the student. Otherwise, the LastName of the parent is not guaranteed to match the student. In case of step-parents, the paternal last name will always be "retained" but the student. | ||
Sex | Determined from RelationType | ||
Telephone | Randomly generated based on the LocationInfo configuration element under which the student is generated. Will always be of type "mobile" | ||
StudentParentAssociation | ContactPriority | 1 if the parent is the "primary parent", 2 otherwise | |
EmergencyContactStatus | Always true | ||
LivesWith | True if the parent is the "primary parent". For the secondary parent, this is true if the primary parent is remarried and false otherwise. | ||
ParentReference | Reference to Parent previously generated by Parent generator | ||
PrimaryContactStatus | True if the parent is the "primary parent", false otherwise | ||
RelationType | One of {Mother, Father, Step Mother, Step Father, Aunt, Uncle, Grandmother, Grandfather, Court Appointed Guardian, Foster Parent } | Family structure of student is determined based on the statistics found at https://www.census.gov/newsroom/press-releases/2016/cb16-192.html. RelationType is then derived from Family structure after factoring in a divorce rate of 50%. | |
StudentReference | Reference to student previously generated by Student generator |