diff --git a/api/Gopkg.lock b/api/Gopkg.lock index a9b0cfbf0..4b5f21906 100644 --- a/api/Gopkg.lock +++ b/api/Gopkg.lock @@ -28,6 +28,12 @@ packages = ["."] revision = "077bca4d2caaf391ee780136adae00f59153dcd2" +[[projects]] + branch = "master" + name = "github.com/benbjohnson/clock" + packages = ["."] + revision = "7dc76406b6d3c05b5f71a86293cbcf3c4ea03b19" + [[projects]] name = "github.com/cloudfoundry-community/go-cfenv" packages = ["."] @@ -184,6 +190,6 @@ [solve-meta] analyzer-name = "dep" analyzer-version = 1 - inputs-digest = "bc249c5c15cec503ae3a3cbdfba74ed9fc94f7fd922b07344b0d2fe58bfad4ac" + inputs-digest = "5e347fdaca74b603908898c8b19aae45e8e28db32a99ae14154d964778fb9d48" solver-name = "gps-cdcl" solver-version = 1 diff --git a/api/Gopkg.toml b/api/Gopkg.toml index 645501296..2a19f06f6 100644 --- a/api/Gopkg.toml +++ b/api/Gopkg.toml @@ -69,6 +69,10 @@ branch = "master" name = "github.com/antchfx/xmlquery" +[[constraint]] + branch = "master" + name = "github.com/benbjohnson/clock" + [prune] go-tests = true unused-packages = true diff --git a/api/cmd/server/main.go b/api/cmd/server/main.go index 97b35041f..828e0f86a 100644 --- a/api/cmd/server/main.go +++ b/api/cmd/server/main.go @@ -16,6 +16,7 @@ import ( "github.com/18F/e-QIP-prototype/api/saml" "github.com/18F/e-QIP-prototype/api/usps" "github.com/18F/e-QIP-prototype/api/xml" + "github.com/benbjohnson/clock" "github.com/gorilla/mux" ) @@ -26,12 +27,13 @@ var ( func main() { cloudfoundry.Configure() logger := &log.Service{Log: log.NewLogger()} + localClock := clock.New() settings := env.Native{} settings.Configure() database := &postgresql.Service{Log: logger, Env: settings} database.Configure() token := jwt.Service{Env: settings} - xmlsvc := xml.Service{Log: logger} + xmlsvc := xml.Service{Log: logger, Clock: localClock} pdfsvc := pdf.Service{Log: logger, Env: settings} samlsvc := &saml.Service{Log: logger, Env: settings} api.Geocode = usps.Geocoder{Log: logger, Env: settings} diff --git a/api/location.go b/api/location.go index 5373a2347..d741671bd 100644 --- a/api/location.go +++ b/api/location.go @@ -23,6 +23,12 @@ const ( LayoutStreetCity = "Street, City" ) +// Special layout flags for e-QIP integration for Country elements with CountriesNoUS type +const ( + LayoutBirthPlaceWithoutCountyNoUS = "Birthplace without County CountriesNoUS" + LayoutBirthPlaceNoUS = "Birthplace CountriesNoUS" +) + // Location is a basic input. type Location struct { ID int `json:"-"` diff --git a/api/templates/application.xml b/api/templates/application.xml index 1fc9ea36e..cb5c4c33d 100644 --- a/api/templates/application.xml +++ b/api/templates/application.xml @@ -9,7 +9,6 @@ 2017-07 - {{$name.first}} {{$name.middle}} {{$name.last}} {{if $ssn.notApplicable}} {{else}} @@ -17,8 +16,9 @@ {{end}} - + + Yes @@ -30,6 +30,8 @@ + + {{tmpl "identification.xml" .}} @@ -51,6 +53,7 @@ + {{now}} diff --git a/api/templates/citizenship-multiple.xml b/api/templates/citizenship-multiple.xml index fba07db31..eeeb25805 100644 --- a/api/templates/citizenship-multiple.xml +++ b/api/templates/citizenship-multiple.xml @@ -2,7 +2,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{country $Item.Country}} {{countryComments $Item.Country}} diff --git a/api/templates/citizenship-status.xml b/api/templates/citizenship-status.xml index e1f0c5ff4..ea819f7d3 100644 --- a/api/templates/citizenship-status.xml +++ b/api/templates/citizenship-status.xml @@ -30,7 +30,7 @@ {{range $cindex, $country := $citizenship.PriorCitizenship.props.value}} - + {{$country}} {{end}} diff --git a/api/templates/financial-bankruptcy.xml b/api/templates/financial-bankruptcy.xml index d7e7349fe..80d445c06 100644 --- a/api/templates/financial-bankruptcy.xml +++ b/api/templates/financial-bankruptcy.xml @@ -2,7 +2,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{text $Item.CourtNumber}} {{number $Item.TotalAmount}} @@ -37,10 +37,6 @@ {{end}} {{end}} - - {{- if branch .props.HasBankruptcy | eq "Yes"}} - {{branch .props.List.props.branch}} - {{end}} {{branch .props.HasBankruptcy}} diff --git a/api/templates/financial-card.xml b/api/templates/financial-card.xml index 33e15910a..a8ad1c4d3 100644 --- a/api/templates/financial-card.xml +++ b/api/templates/financial-card.xml @@ -4,7 +4,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{textarea $Item.Description}}
{{location $Item.Address}}
diff --git a/api/templates/financial-credit.xml b/api/templates/financial-credit.xml index 72f5d706e..a901d36d9 100644 --- a/api/templates/financial-credit.xml +++ b/api/templates/financial-credit.xml @@ -4,7 +4,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{textarea $Item.Description}} {{textarea $Item.Explanation}} diff --git a/api/templates/financial-delinquent.xml b/api/templates/financial-delinquent.xml index 43d97d872..64bb01797 100644 --- a/api/templates/financial-delinquent.xml +++ b/api/templates/financial-delinquent.xml @@ -4,7 +4,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{text $Item.AccountNumber}} {{text $Item.Name}} @@ -28,12 +28,13 @@ {{textarea $Item.Description}} {{if checkbox $Item.Infractions}}Yes{{else}}No{{end}} + {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{textarea $Item.Actions}} {{number $Item.Losses}} diff --git a/api/templates/financial-nonpayment.xml b/api/templates/financial-nonpayment.xml index 5e5082b45..44874a520 100644 --- a/api/templates/financial-nonpayment.xml +++ b/api/templates/financial-nonpayment.xml @@ -4,7 +4,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{text $Item.AccountNumber}} {{text $Item.Name}} diff --git a/api/templates/financial-taxes.xml b/api/templates/financial-taxes.xml index bc05bed68..d756b6c46 100644 --- a/api/templates/financial-taxes.xml +++ b/api/templates/financial-taxes.xml @@ -4,7 +4,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{textarea $Item.Description}} {{text $Item.Agency}} {{number $Item.Amount}} diff --git a/api/templates/foreign-business-consultancies.xml b/api/templates/foreign-business-consultancies.xml index fadc1d416..20df83450 100644 --- a/api/templates/foreign-business-consultancies.xml +++ b/api/templates/foreign-business-consultancies.xml @@ -4,7 +4,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{country $Item.Country}} {{text $Item.Agency}} diff --git a/api/templates/foreign-business-government-contacts.xml b/api/templates/foreign-business-government-contacts.xml index 671a675ed..dda7bbc90 100644 --- a/api/templates/foreign-business-government-contacts.xml +++ b/api/templates/foreign-business-government-contacts.xml @@ -4,11 +4,11 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{text $Item.Purpose}} {{range $cindex, $country := $Item.Governments.props.value}} - + {{$country}} {{end}} @@ -28,12 +28,12 @@ - {{branchcollectionHas $Item.SubsequentContacts.props.List}} + {{branchcollectionHas $Item.SubsequentContacts}} - {{range $sindex, $contact := $Item.SubsequentContacts.props.List.props.items}} + {{range $sindex, $contact := $Item.SubsequentContacts.props.items}} {{with $Contact := $contact.Item}} {{- if branch $Contact.Has | eq "Yes"}} - + {{date $Contact.Recent}} diff --git a/api/templates/foreign-business-job-offers.xml b/api/templates/foreign-business-job-offers.xml index 8bf8eafe7..fdf8f2583 100644 --- a/api/templates/foreign-business-job-offers.xml +++ b/api/templates/foreign-business-job-offers.xml @@ -10,7 +10,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{text $Item.Accepted}} {{text $Item.Explanation}} diff --git a/api/templates/foreign-business-meetings.xml b/api/templates/foreign-business-meetings.xml index 0ba64ccb8..95aed7035 100644 --- a/api/templates/foreign-business-meetings.xml +++ b/api/templates/foreign-business-meetings.xml @@ -4,7 +4,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{monthYearDaterange $Item.Dates}} @@ -22,7 +22,7 @@ {{range $cindex, $contact := $Item.Contacts.props.List.props.items}} {{with $Contact := $contact.Item}} {{if branch $Contact.Has | eq "Yes"}} - + {{text $Contact.Explanation}} diff --git a/api/templates/foreign-business-other-employment.xml b/api/templates/foreign-business-other-employment.xml index cae47cc33..e161b46d7 100644 --- a/api/templates/foreign-business-other-employment.xml +++ b/api/templates/foreign-business-other-employment.xml @@ -10,7 +10,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{text $Item.Compensation}} {{monthYearDaterange $Item.Dates}} @@ -23,7 +23,7 @@ {{range $cindex, $country := $Item.Citizenship.props.value}} - + {{$country}} {{end}} diff --git a/api/templates/foreign-business-political-office.xml b/api/templates/foreign-business-political-office.xml index 2bb9ed686..b70a0e92b 100644 --- a/api/templates/foreign-business-political-office.xml +++ b/api/templates/foreign-business-political-office.xml @@ -6,7 +6,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{country $Item.Country}} {{text $Item.Eligibility}} diff --git a/api/templates/foreign-business-sponsored-visits.xml b/api/templates/foreign-business-sponsored-visits.xml index 1c2bb2350..bf652ae86 100644 --- a/api/templates/foreign-business-sponsored-visits.xml +++ b/api/templates/foreign-business-sponsored-visits.xml @@ -4,10 +4,10 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - +
- {{location $Item.Address}} + {{location $Item.Residence}}
@@ -27,14 +27,14 @@ {{range $cindex, $country := $Item.Citizenship.props.value}} - + {{$country}} {{end}}
- {{location $Item.Residence}} + {{location $Item.Address}}
{{monthYearDaterange $Item.Dates}} diff --git a/api/templates/foreign-business-support-activities.xml b/api/templates/foreign-business-support-activities.xml index f3260d53b..b972e0ba3 100644 --- a/api/templates/foreign-business-support-activities.xml +++ b/api/templates/foreign-business-support-activities.xml @@ -8,7 +8,7 @@ {{end}} {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{country $Item.Country}} {{monthYearDaterange $Item.Dates}} {{text $Item.Compensation}} diff --git a/api/templates/foreign-business-voted.xml b/api/templates/foreign-business-voted.xml index 723e7d5c2..25ffc9637 100644 --- a/api/templates/foreign-business-voted.xml +++ b/api/templates/foreign-business-voted.xml @@ -9,7 +9,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{country $Item.Country}} {{text $Item.Eligibility}} diff --git a/api/templates/foreign-contacts.xml b/api/templates/foreign-contacts.xml index 4bea81b88..ec8e74ad6 100644 --- a/api/templates/foreign-contacts.xml +++ b/api/templates/foreign-contacts.xml @@ -1,4 +1,4 @@ - + {{branch .props.HasForeignContacts}} @@ -6,14 +6,23 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{if locationIsPostOffice $Item.Address}}
{{location $Item.Address}}
{{else}} -
{{location $Item.Address}}
+
+ {{location $Item.Address}} +
+ + {{- $usAddress := addressIn $Item.Address "United States" }} + {{if and (not $usAddress) (notApplicable $Item.AddressNotApplicable | eq "False")}} + + No + + {{end}} {{end}} @@ -25,7 +34,7 @@ {{range $index, $country := $Item.Citizenship.props.value}} - + {{$country}} {{end}} @@ -104,7 +113,7 @@ {{range $oindex, $othername := $Item.Aliases.props.items}} {{with $Alias := $othername.Item}} {{- if branch $Alias.Has | eq "Yes"}} - + {{name $Alias.Alias}} diff --git a/api/templates/foreign-direct-interests.xml b/api/templates/foreign-direct-interests.xml index 37db1c213..3fe1c7a83 100644 --- a/api/templates/foreign-direct-interests.xml +++ b/api/templates/foreign-direct-interests.xml @@ -6,7 +6,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{branchcollectionHas $Item.CoOwners.props.List}} @@ -15,14 +15,14 @@ {{range $cindex, $coowner := $Item.CoOwners.props.List.props.items}} {{with $Coowner := $coowner.Item}} {{if branch $Coowner.Has | eq "Yes"}} - +
{{location $Coowner.Address}}
{{range $index, $country := $Coowner.Countries.props.value}} - + {{$country}} {{end}} diff --git a/api/templates/foreign-financial-benefits.xml b/api/templates/foreign-financial-benefits.xml index bf30c647c..6ca19f359 100644 --- a/api/templates/foreign-financial-benefits.xml +++ b/api/templates/foreign-financial-benefits.xml @@ -3,7 +3,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{with $first := text $Item.Firstname}} @@ -20,14 +20,14 @@ {{range $cindex, $coowner := $Item.CoOwners.props.List.props.items}} {{with $Coowner := $coowner.Item}} {{if branch $Coowner.Has | eq "Yes"}} - +
{{location $Coowner.Address}}
{{range $ccindex, $country := $Coowner.Countries.props.value}} - + {{$country}} {{end}} @@ -53,7 +53,7 @@ {{else}} {{date $Item.Sold}} - > + {{end}} {{text $Item.HowAcquired}} {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - +
{{location $Item.Address}}
@@ -11,7 +11,7 @@ {{range $cindex, $country := $Item.Citizenship.props.value}} - + {{$country}} {{end}} diff --git a/api/templates/foreign-passports.xml b/api/templates/foreign-passports.xml index 68e121e2f..000865888 100644 --- a/api/templates/foreign-passports.xml +++ b/api/templates/foreign-passports.xml @@ -4,12 +4,12 @@ {{- range $index, $item := .props.Passports.props.items}} {{- with $Item := $item.Item}} {{- if branch $Item.Has | eq "Yes"}} - + {{if branch $Item.Used | eq "Yes"}} {{range $tindex, $travel := $Item.Countries.props.items}} {{with $Travel := $travel.Item}} - + {{country $Travel.Country}} {{monthYearDaterange $Travel.Dates}} diff --git a/api/templates/foreign-realestate-holdings.xml b/api/templates/foreign-realestate-holdings.xml index 75a9706e9..bb1ccff77 100644 --- a/api/templates/foreign-realestate-holdings.xml +++ b/api/templates/foreign-realestate-holdings.xml @@ -3,7 +3,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + @@ -13,14 +13,14 @@ {{range $cindex, $coowner := $Item.CoOwners.props.List.props.items}} {{with $Coowner := $coowner.Item}} {{if branch $Coowner.Has | eq "Yes"}} - +
{{location $Coowner.Address}}
{{range $ccindex, $country := $Coowner.Countries.props.value}} - + {{$country}} {{end}} @@ -41,6 +41,11 @@ {{date $Item.Acquired}} + {{if notApplicable $Item.SoldNotApplicable | eq "False"}} + + {{date $Item.Sold}} + + {{end}} {{text $Item.HowAcquired}}
diff --git a/api/templates/foreign-travel.xml b/api/templates/foreign-travel.xml index a75cad211..dd5d7bc02 100644 --- a/api/templates/foreign-travel.xml +++ b/api/templates/foreign-travel.xml @@ -1,4 +1,4 @@ - + {{branch .props.HasForeignTravelOutside}} @@ -14,7 +14,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{branch $Item.Contacted}} {{text $Item.ContactedExplanation}} diff --git a/api/templates/history-education.xml b/api/templates/history-education.xml index cf5986b2a..166bf52fc 100644 --- a/api/templates/history-education.xml +++ b/api/templates/history-education.xml @@ -1,4 +1,4 @@ - + {{branch .props.HasAttended}} {{if or (branch .props.HasAttended | eq "Yes") (branch .props.HasDegree10 | eq "Yes")}} @@ -15,7 +15,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{monthYearDaterange $Item.Dates}} {{radio $Item.Type | schoolType}} {{text $Item.Name}} @@ -30,7 +30,7 @@ {{- range $dindex, $diploma := $Item.Diplomas.props.items}} {{- with $Diploma := $diploma.Item}} {{- if branch $Diploma.Has | eq "Yes"}} - + {{monthYear $Diploma.Date}} diff --git a/api/templates/history-employment.xml b/api/templates/history-employment.xml index cf143eb15..b2d129dfd 100644 --- a/api/templates/history-employment.xml +++ b/api/templates/history-employment.xml @@ -3,7 +3,7 @@ {{- range $index, $item := .props.List.props.items}} {{- with $Item := $item.Item}} {{- $isPresent := $Item.Dates.props.present}} - + {{- monthYearDaterange $Item.Dates}} {{radio $Item.EmploymentActivity | employmentType}} {{$Item.EmploymentActivity.props.otherExplanation}} @@ -59,8 +59,8 @@ {{range $eindex, $additional := $Item.Additional.props.items}} {{with $Previous := $additional.Item}} {{- if branch $Previous.Has | eq "Yes"}} - - {{daterange $Previous.DatesEmployed}} + + {{monthYearDaterange $Previous.DatesEmployed}} {{text $Previous.Position}} {{text $Previous.Supervisor}} @@ -96,16 +96,16 @@ {{- end}} {{- end}} - {{- if not $isPresent}} + {{- if and (not $isPresent) (radio $Item.EmploymentActivity | ne "Unemployment")}} {{branchcollectionHas $Item.ReasonLeft.props.Reasons}} {{- range $lindex, $left := $Item.ReasonLeft.props.Reasons.props.items}} {{- with $Dismissal := $left.Item}} {{- if eq (branch $Dismissal.Has) "Yes"}} - + {{monthYear $Dismissal.Date}} {{textarea $Item.ReasonLeft.props.ReasonDescription}} - {{radio $Dismissal.Reason}} + {{radio $Dismissal.Reason | severanceType}} {{textarea $Dismissal.Text}} @@ -120,12 +120,13 @@ {{end}} + {{- if radio $Item.EmploymentActivity | ne "Unemployment"}} {{branchcollectionHas $Item.Reprimand}} {{- range $rindex, $reprimand := $Item.Reprimand.props.items}} {{- with $Reprimand := $reprimand.Item}} {{- if eq (branch $Reprimand.Has) "Yes"}} - + {{monthYear $Reprimand.Date}} {{textarea $Reprimand.Text}} @@ -139,8 +140,9 @@ {{end}} + {{end}} - {{- if radio $Item.EmploymentActivity | ne "ActiveMilitary"}} + {{- if and (radio $Item.EmploymentActivity | ne "ActiveMilitary") (radio $Item.EmploymentActivity | ne "Unemployment") (radio $Item.EmploymentActivity | ne "NationalGuard") (radio $Item.EmploymentActivity | ne "USPHS")}} {{branch $Item.PhysicalAddress.props.HasDifferentAddress}} @@ -152,7 +154,7 @@ {{- end}} - {{- if not $isPresent}} + {{- if and (not $isPresent) (radio $Item.EmploymentActivity | ne "Unemployment")}} {{textarea $Item.ReasonLeft.props.Comments}} {{textarea $Item.ReasonLeft.props.ReasonDescription}} diff --git a/api/templates/history-federal.xml b/api/templates/history-federal.xml index d4172bbc7..c4f35c9d6 100644 --- a/api/templates/history-federal.xml +++ b/api/templates/history-federal.xml @@ -1,11 +1,11 @@ - + {{branch .props.HasFederalService}} {{- range $index, $item := .props.List.props.items}} {{- with $Item := $item.Item}} - + {{location $Item.Address}} {{text $Item.Name}} diff --git a/api/templates/history-residence.xml b/api/templates/history-residence.xml index 44625e58e..b4e14670d 100644 --- a/api/templates/history-residence.xml +++ b/api/templates/history-residence.xml @@ -1,8 +1,8 @@ - + {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{if locationIsPostOffice $Item.Address}}
{{location $Item.Address}}
@@ -44,10 +44,10 @@ {{if eq (checkboxHas $Item.ReferenceRelationship "Friend") "True"}} Friend="True" {{end}} - {{if eq (checkboxHas $Item.ReferenceRelationship "Schoolmate") "True"}} - Schoolmate="True" + {{if eq (checkboxHas $Item.ReferenceRelationship "Landlord") "True"}} + Landlord="True" {{end}} - {{if eq (checkboxHas $Item.ReferenceRelationship "WorkAssociate") "True"}} + {{if eq (checkboxHas $Item.ReferenceRelationship "Business") "True"}} WorkAssociate="True" {{end}} {{if eq (checkboxHas $Item.ReferenceRelationship "Other") "True"}} @@ -55,9 +55,9 @@ {{end}} /> - {{telephone $Item.ReferencePhoneDay}} - {{telephone $Item.ReferencePhoneEvening}} - {{telephone $Item.ReferencePhoneMobile}} + {{telephoneNoTimeOfDay $Item.ReferencePhoneDay}} + {{telephoneNoTimeOfDay $Item.ReferencePhoneEvening}} + {{telephoneNoTimeOfDay $Item.ReferencePhoneMobile}} {{end}} diff --git a/api/templates/identification-othernames.xml b/api/templates/identification-othernames.xml index 0cef0d92b..1d80159eb 100644 --- a/api/templates/identification-othernames.xml +++ b/api/templates/identification-othernames.xml @@ -5,7 +5,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{name $Item.Name}} {{monthYearDaterange $Item.DatesUsed}} {{branch $Item.MaidenName}} diff --git a/api/templates/legal-associations-activities-to-overthrow.xml b/api/templates/legal-associations-activities-to-overthrow.xml index 835cdb40a..6bc67e3e0 100644 --- a/api/templates/legal-associations-activities-to-overthrow.xml +++ b/api/templates/legal-associations-activities-to-overthrow.xml @@ -2,9 +2,9 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + - {{daterange $Item.Dates}} + {{monthYearDaterange $Item.Dates}} {{text $Item.Reasons}} {{end}} diff --git a/api/templates/legal-associations-advocating.xml b/api/templates/legal-associations-advocating.xml index bc286b150..4e129b8b9 100644 --- a/api/templates/legal-associations-advocating.xml +++ b/api/templates/legal-associations-advocating.xml @@ -4,10 +4,10 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + - {{daterange $Item.Dates}} - {{text $Item.Reason}} + {{monthYearDaterange $Item.Dates}} + {{text $Item.Reasons}} {{end}} {{end}} diff --git a/api/templates/legal-associations-engaged-in-terrorism.xml b/api/templates/legal-associations-engaged-in-terrorism.xml index ae92f60fe..5460b2efc 100644 --- a/api/templates/legal-associations-engaged-in-terrorism.xml +++ b/api/templates/legal-associations-engaged-in-terrorism.xml @@ -4,9 +4,9 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + - {{daterange $Item.Dates}} + {{monthYearDaterange $Item.Dates}} {{text $Item.Reasons}} {{end}} diff --git a/api/templates/legal-associations-membership-overthrow.xml b/api/templates/legal-associations-membership-overthrow.xml index 6352bb97d..fcd3c4c85 100644 --- a/api/templates/legal-associations-membership-overthrow.xml +++ b/api/templates/legal-associations-membership-overthrow.xml @@ -4,16 +4,22 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - +
{{location $Item.Address}}
{{text $Item.Contributions}} - {{daterange $Item.Dates}} - {{text $Item.Reason}} + {{monthYearDaterange $Item.Dates}} + {{text $Item.Reasons}} {{text $Item.Organization}} - {{text $Item.Position}} + {{if notApplicable $Item.PositionsNotApplicable | eq "True"}} + + {{else}} + + {{text $Item.Positions}} + + {{end}}
{{end}} {{end}} diff --git a/api/templates/legal-associations-membership-violence-or-force.xml b/api/templates/legal-associations-membership-violence-or-force.xml index 306746ff9..be1cd321f 100644 --- a/api/templates/legal-associations-membership-violence-or-force.xml +++ b/api/templates/legal-associations-membership-violence-or-force.xml @@ -4,7 +4,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - +
{{location $Item.Address}}
@@ -12,7 +12,7 @@ {{text $Item.Contributions}} - {{daterange $Item.Dates}} + {{monthYearDaterange $Item.Dates}} {{text $Item.Reasons}} {{text $Item.Organization}} diff --git a/api/templates/legal-associations-terrorist-organization.xml b/api/templates/legal-associations-terrorist-organization.xml index 106ed888f..11f73f738 100644 --- a/api/templates/legal-associations-terrorist-organization.xml +++ b/api/templates/legal-associations-terrorist-organization.xml @@ -4,7 +4,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - +
{{location $Item.Address}}
@@ -12,12 +12,16 @@ {{text $Item.Contributions}} - {{daterange $Item.Dates}} + {{monthYearDaterange $Item.Dates}} {{text $Item.Reasons}} {{text $Item.Organization}} - + {{if notApplicable $Item.PositionsNotApplicable | eq "True"}} + + {{else}} + {{text $Item.Positions}} + {{end}}
{{end}} {{end}} diff --git a/api/templates/legal-court.xml b/api/templates/legal-court.xml index e02f03b2c..d99c5aff9 100644 --- a/api/templates/legal-court.xml +++ b/api/templates/legal-court.xml @@ -6,7 +6,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - +
{{location $Item.CourtAddress}} diff --git a/api/templates/legal-investigations-debarment.xml b/api/templates/legal-investigations-debarment.xml index 35d8c4d6c..0967dd4c1 100644 --- a/api/templates/legal-investigations-debarment.xml +++ b/api/templates/legal-investigations-debarment.xml @@ -10,7 +10,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{text $Item.Agency}} diff --git a/api/templates/legal-investigations-denied.xml b/api/templates/legal-investigations-denied.xml index 9c21304fd..755a8048a 100644 --- a/api/templates/legal-investigations-denied.xml +++ b/api/templates/legal-investigations-denied.xml @@ -2,7 +2,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{text $Item.Agency}} {{text $Item.Explanation}} diff --git a/api/templates/legal-investigations-investigated.xml b/api/templates/legal-investigations-investigated.xml index 7779c83e9..a86b6f68c 100644 --- a/api/templates/legal-investigations-investigated.xml +++ b/api/templates/legal-investigations-investigated.xml @@ -3,9 +3,9 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - - {{text $Item.Agency}} - {{text $Item.Clearance}} + + {{radio $Item.Agency | agencyType}} + {{radio $Item.ClearanceLevel.props.Level | clearanceType}} @@ -20,7 +20,7 @@ {{text $Item.Issued}} - + {{text $Item.ClearanceLevel.props.Explanation}}{{text $Item.AgencyExplanation}} {{end}} diff --git a/api/templates/legal-police-additional-offenses.xml b/api/templates/legal-police-additional-offenses.xml index fce6aa52f..fdec10fd2 100644 --- a/api/templates/legal-police-additional-offenses.xml +++ b/api/templates/legal-police-additional-offenses.xml @@ -4,7 +4,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{branch $Item.AwaitingTrial}} @@ -24,7 +24,13 @@ - {{location $Item.CourtAddress}} + + {{- $usAddress := addressIn $Item.CourtAddress "United States" }} + {{if $usAddress}} + {{locationOverrideLayout $Item.CourtAddress "US City, State, Zipcode International city"}} + {{else}} + {{locationOverrideLayout $Item.CourtAddress "City, Country"}} + {{end}} {{text $Item.CourtName}} @@ -37,9 +43,15 @@ {{text $Item.Description}} {{branch $Item.WasSentenced}} @@ -66,13 +78,14 @@ {{end}} + {{if branch $Item.WasSentenced | eq "Yes"}} - {{branch $sentence.Incarcerated}} + {{branchToAnswer $sentence.Incarcerated}} - {{branch $sentence.ExceedsYear}} + {{branchToAnswer $sentence.ExceedsYear}} {{if notApplicable $sentence.ProbationDatesNA | eq "True"}} @@ -93,6 +106,7 @@ {{end}} {{end}} + {{end}} {{end}} diff --git a/api/templates/legal-police-domestic-violence.xml b/api/templates/legal-police-domestic-violence.xml index 1b97cecc8..287d4cd18 100644 --- a/api/templates/legal-police-domestic-violence.xml +++ b/api/templates/legal-police-domestic-violence.xml @@ -3,12 +3,18 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + - {{location $Item.CourtAddress}} + + {{- $usAddress := addressIn $Item.CourtAddress "United States" }} + {{if $usAddress}} + {{locationOverrideLayout $Item.CourtAddress "US City, State, Zipcode International city"}} + {{else}} + {{locationOverrideLayout $Item.CourtAddress "City, Country"}} + {{end}} {{text $Item.CourtName}} diff --git a/api/templates/legal-police-offenses.xml b/api/templates/legal-police-offenses.xml index 20f322c13..9e00425aa 100644 --- a/api/templates/legal-police-offenses.xml +++ b/api/templates/legal-police-offenses.xml @@ -4,10 +4,11 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + - {{branch $Item.WasCharged}} + {{branchToAnswer $Item.WasCharged}} + {{if branchToAnswer $Item.WasCharged | eq "Yes"}} {{text $Item.CourtCharge}} @@ -22,7 +23,13 @@ - {{location $Item.CourtAddress}} + + {{- $usAddress := addressIn $Item.CourtAddress "United States" }} + {{if $usAddress}} + {{locationOverrideLayout $Item.CourtAddress "US City, State, Zipcode International city"}} + {{else}} + {{locationOverrideLayout $Item.CourtAddress "City, Country"}} + {{end}} {{text $Item.CourtName}} @@ -52,13 +59,14 @@ {{end}} + {{if branch $Item.WasSentenced | eq "Yes"}} - {{branch $sentence.Incarcerated}} + {{branchToAnswer $sentence.Incarcerated}} - {{branch $sentence.ExceedsYear}} + {{branchToAnswer $sentence.ExceedsYear}} {{if notApplicable $sentence.ProbationDatesNA | eq "True"}} @@ -79,7 +87,9 @@ {{end}} {{end}} + {{end}} + {{end}} {{branch $Item.WasCited}} @@ -88,16 +98,24 @@ - {{location $Item.AgencyAddress}} + + {{- $usAddress := addressIn $Item.AgencyAddress "United States" }} + {{if $usAddress}} + {{locationOverrideLayout $Item.AgencyAddress "US City, State, Zipcode International city"}} + {{else}} + {{locationOverrideLayout $Item.AgencyAddress "City, Country"}} + {{end}} {{text $Item.CitedBy}} + {{if and (branchToAnswer $Item.WasCharged | eq "Yes") (branch $Item.WasSentenced | ne "Yes")}} - {{branch $Item.AwaitingTrial}} + {{branchToAnswer $Item.AwaitingTrial}} {{text $Item.AwaitingTrialExplanation}} + {{end}} {{monthYear $Item.Date}} @@ -106,7 +124,13 @@ - {{location $Item.Address}} + + {{- $usAddress := addressIn $Item.Address "United States" }} + {{if $usAddress}} + {{locationOverrideLayout $Item.Address "US City, State, Zipcode International city"}} + {{else}} + {{locationOverrideLayout $Item.Address "City, Country"}} + {{end}} @@ -116,9 +140,15 @@ {{text $Item.Description}} {{end}} diff --git a/api/templates/legal-technology-manipulating.xml b/api/templates/legal-technology-manipulating.xml index 193477181..f73cef93e 100644 --- a/api/templates/legal-technology-manipulating.xml +++ b/api/templates/legal-technology-manipulating.xml @@ -4,7 +4,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{text $Item.Action}}
{{location $Item.Location}} diff --git a/api/templates/legal-technology-unauthorized.xml b/api/templates/legal-technology-unauthorized.xml index 4c8e2dc6c..fe7e9007b 100644 --- a/api/templates/legal-technology-unauthorized.xml +++ b/api/templates/legal-technology-unauthorized.xml @@ -4,7 +4,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{text $Item.Action}}
{{location $Item.Location}} diff --git a/api/templates/legal-technology-unlawful.xml b/api/templates/legal-technology-unlawful.xml index 5f16c021b..cc1d691dc 100644 --- a/api/templates/legal-technology-unlawful.xml +++ b/api/templates/legal-technology-unlawful.xml @@ -4,7 +4,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{text $Item.Action}}
{{location $Item.Location}} diff --git a/api/templates/location-city-state-county-no-country.xml b/api/templates/location-city-state-county-no-country.xml new file mode 100644 index 000000000..b4360d3f8 --- /dev/null +++ b/api/templates/location-city-state-county-no-country.xml @@ -0,0 +1,3 @@ +{{.props.city}} +{{toUpper .props.state}} +{{.props.county}} diff --git a/api/templates/location-city-state-no-country.xml b/api/templates/location-city-state-no-country.xml new file mode 100644 index 000000000..6c9e92bca --- /dev/null +++ b/api/templates/location-city-state-no-country.xml @@ -0,0 +1,2 @@ +{{.props.city}} +{{toUpper .props.state}} diff --git a/api/templates/military-disciplinary.xml b/api/templates/military-disciplinary.xml index 51a92f4dd..40149b46d 100644 --- a/api/templates/military-disciplinary.xml +++ b/api/templates/military-disciplinary.xml @@ -4,7 +4,7 @@ {{branch .Disciplinary.props.HasDisciplinary}} {{range $index, $item := .Disciplinary.props.List.props.items}} {{with $Item := $item.Item}} - + {{textarea $Item.Court}} {{monthYear $Item.Date}} diff --git a/api/templates/military-foreign.xml b/api/templates/military-foreign.xml index 1ac6688f9..08232e243 100644 --- a/api/templates/military-foreign.xml +++ b/api/templates/military-foreign.xml @@ -5,7 +5,7 @@ {{- range $index, $item := .props.List.props.items}} {{- with $Item := $item.Item}} {{- if branch $Item.Has | eq "Yes"}} - + {{textarea $Item.Circumstances}} {{text $Item.Division}} {{country $Item.Country}} @@ -20,7 +20,7 @@ {{range $cindex, $citem := $Item.List.props.items}} {{with $Contact := $citem.Item}} - +
{{location $Contact.Address}}
{{monthYearDaterange $Contact.Dates}} diff --git a/api/templates/military-history.xml b/api/templates/military-history.xml index cc37f189e..dad92b35d 100644 --- a/api/templates/military-history.xml +++ b/api/templates/military-history.xml @@ -3,7 +3,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{radio $Item.Service}} {{monthYearDaterange $Item.Dates}} diff --git a/api/templates/personal-references.xml b/api/templates/personal-references.xml index aa00db0bc..39b907722 100644 --- a/api/templates/personal-references.xml +++ b/api/templates/personal-references.xml @@ -1,10 +1,10 @@ - + {{branch .props.List.props.branch}} {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - +
{{location $Item.Address}}
diff --git a/api/templates/psychological-competence.xml b/api/templates/psychological-competence.xml index 24c2ac1d4..e264b7fb1 100644 --- a/api/templates/psychological-competence.xml +++ b/api/templates/psychological-competence.xml @@ -3,20 +3,20 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{text $Item.CourtName}}
{{location $Item.CourtAddress}}
{{monthYear $Item.Occurred}} - {{branchcollectionHas $Item.Appeals.props.List}} + {{branchcollectionHas $Item.Appeals}} - {{ if branchcollectionHas $Item.Appeals.props.List | eq "Yes"}} + {{ if branchcollectionHas $Item.Appeals | eq "Yes"}} {{range $aindex, $appeal := $Item.Appeals.props.items}} {{with $Appeal := $appeal.Item}} {{if branch $Appeal.Has | eq "Yes"}} - + {{text $Appeal.CourtName}}
{{location $Appeal.CourtAddress}}
@@ -25,10 +25,10 @@
{{end}} - No - {{end}} {{end}} + No + {{end}}
diff --git a/api/templates/psychological-conditions.xml b/api/templates/psychological-conditions.xml index 27c1faee0..67e0dfb62 100644 --- a/api/templates/psychological-conditions.xml +++ b/api/templates/psychological-conditions.xml @@ -13,7 +13,7 @@ {{end}} {{range $index, $item := .props.TreatmentList.props.items}} {{with $Item := $item.Item}} - + {{radio $Item.Condition}} {{daterange $Item.Diagnosed}} {{treatment $Item.Treatment.props}} diff --git a/api/templates/psychological-consultations.xml b/api/templates/psychological-consultations.xml index 94d56c94c..6d490b139 100644 --- a/api/templates/psychological-consultations.xml +++ b/api/templates/psychological-consultations.xml @@ -3,7 +3,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{text $Item.CourtName}}
{{location $Item.CourtAddress}}
@@ -17,7 +17,7 @@ {{range $aindex, $appeal := $Item.Appeals.props.items}} {{with $Appeal := $appeal.Item}} {{if branch $Appeal.Has | eq "Yes"}} - + {{text $Appeal.CourtName}}
{{location $Appeal.CourtAddress}}
diff --git a/api/templates/psychological-diagnoses.xml b/api/templates/psychological-diagnoses.xml index 5ebc06800..529c35506 100644 --- a/api/templates/psychological-diagnoses.xml +++ b/api/templates/psychological-diagnoses.xml @@ -3,7 +3,7 @@ {{range $index, $item := .props.DiagnosisList.props.items}} {{with $Item := $item.Item}} - + {{radio $Item.Condition | diagnosisType }} {{monthYearDaterange $Item.Diagnosed}} {{treatment $Item.Treatment.props}} @@ -29,7 +29,7 @@ {{range $index, $item := .props.TreatmentList.props.items}} {{with $Item := $item.Item}} - + {{treatment $Item}} {{end}} diff --git a/api/templates/psychological-hospitalizations.xml b/api/templates/psychological-hospitalizations.xml index 4d44295fe..58d8c7fcd 100644 --- a/api/templates/psychological-hospitalizations.xml +++ b/api/templates/psychological-hospitalizations.xml @@ -3,7 +3,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{radio $Item.Admission}} {{monthYearDaterange $Item.TreatmentDate}} diff --git a/api/templates/relatives-and-associates.xml b/api/templates/relatives-and-associates.xml index 66efc48f1..92b066652 100644 --- a/api/templates/relatives-and-associates.xml +++ b/api/templates/relatives-and-associates.xml @@ -1,4 +1,4 @@ - + {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{- $deceased := eq (branch $Item.IsDeceased) "Yes" }} {{if not $deceased }} {{if locationIsPostOffice $Item.Address}} @@ -66,6 +66,13 @@ {{else}}
{{location $Item.Address}}
+ + {{- $usAddress := addressIn $Item.Address "United States" }} + {{if not $usAddress}} + + No + + {{end}} {{end}} {{end}} @@ -95,7 +102,11 @@ {{text $Item.CourtName}}
+ {{- if text $Item.Document }} {{text $Item.Document | relativeForeignDocType}} + {{else if text $Item.CitizenshipDocumentation}} + {{text $Item.CitizenshipDocumentation | relativeForeignDocType}} + {{end}} {{text $Item.DocumentComments}} @@ -103,7 +114,7 @@ {{- range $index, $country := $Item.Citizenship.props.value}} - + {{ $country }} {{- end}} @@ -146,11 +157,21 @@ {{monthYear $Item.LastContact}} {{text $Item.MethodsComments}} @@ -163,7 +184,7 @@ - {{- if eq (branchToBool $Item.MaidenSameAsListed.props) "True"}} + {{- if eq (branchToBool $Item.MaidenSameAsListed) "True"}} {{- else }} @@ -181,9 +202,9 @@ {{- range $oindex, $othername := $Item.Aliases.props.items}} {{- with $Alias := $othername.Item}} {{- if eq (branch $Alias.Has) "Yes" }} - + - {{ daterange $Alias.Dates }} + {{monthYearDaterange $Alias.Dates }} {{ name $Alias.Name }} diff --git a/api/templates/spouse-cohabitants.xml b/api/templates/spouse-cohabitants.xml index c947e86be..7af331050 100644 --- a/api/templates/spouse-cohabitants.xml +++ b/api/templates/spouse-cohabitants.xml @@ -2,7 +2,7 @@ {{branch .props.HasCohabitant}} {{range $index, $item := .props.CohabitantList.props.items}} {{with $Item := $item.Item}} - + {{ date $Item.Birthdate }} @@ -35,14 +35,14 @@ {{- end}} {{- end}} - - {{date $Item.Birthdate}} + + {{date $Item.CohabitationBegan}} {{range $cindex, $country := $Item.Citizenship.props.value}} - + {{$country}} {{end}} @@ -58,7 +58,7 @@ {{- range $oindex, $othername := $Item.OtherNames.props.items}} {{- with $other := $othername.Item}} {{- if branch $other.Has | eq "Yes"}} - + {{monthYearDaterange $other.DatesUsed}} {{name $other.OtherName}} diff --git a/api/templates/spouse-former.xml b/api/templates/spouse-former.xml index 20faf709e..3ffe1501d 100644 --- a/api/templates/spouse-former.xml +++ b/api/templates/spouse-former.xml @@ -3,7 +3,7 @@ {{range $index, $item := .props.items}} {{with $Item := $item.Item}} - +
{{location $Item.Address}}
@@ -17,7 +17,7 @@
{{range $cindex, $country := $Item.Citizenship.value}} - + {{$country}} {{end}} diff --git a/api/templates/spouse-present-marriage.xml b/api/templates/spouse-present-marriage.xml index 8cd7c0101..fee008b22 100644 --- a/api/templates/spouse-present-marriage.xml +++ b/api/templates/spouse-present-marriage.xml @@ -1,7 +1,7 @@ {{if text .props.Status | ne "NeverMarried"}} {{with $Item := .props.CivilUnion.props}} - + {{if locationIsPostOffice $Item.Address}}
{{location $Item.Address}}
@@ -44,7 +44,7 @@ {{range $cindex, $country := $Item.Citizenship.props.value}} - + {{$country}} {{end}} @@ -59,7 +59,7 @@ {{date $Item.EnteredCivilUnion}} - {{location $Item.Location}} + {{locationOverrideLayout $Item.Location "Birthplace CountriesNoUS"}} {{ if eq (branchcollectionHas $Item.OtherNames) "No" }} @@ -69,10 +69,10 @@ {{range $oindex, $othername := $Item.OtherNames.props.items}} {{with $other := $othername.Item}} {{- if branch $other.Has | eq "Yes"}} - - {{daterange $other.DatesUsed}} + + {{monthYearDaterange $other.DatesUsed}} - {{name $other.OtherName}} + {{name $other.Name}} {{if branch $other.MaidenName | eq "Yes"}}True{{else}}False{{end}} @@ -82,33 +82,37 @@ {{end}} {{with $ssn := $Item.SSN}} - - - {{ $ssn.props.first }} - - - {{ $ssn.props.middle }} - - - {{ $ssn.props.last }} - + {{if $ssn.props.notApplicable }} + + {{else}} + + {{ $ssn.props.first }} + {{ $ssn.props.middle }} + {{ $ssn.props.last }} {{end}} + {{end}} {{branch $Item.Separated}} + {{if branch $Item.Separated | eq "Yes"}} {{date $Item.DateSeparated}} - + {{if notApplicable $Item.AddressSeparatedNotApplicable | eq "True"}} + + {{else}} + {{location $Item.AddressSeparated}} + {{end}} + {{end}} {{telephone $Item.Telephone}} diff --git a/api/templates/substance-alcohol-additional.xml b/api/templates/substance-alcohol-additional.xml index 1aa7ede2a..dfb111280 100644 --- a/api/templates/substance-alcohol-additional.xml +++ b/api/templates/substance-alcohol-additional.xml @@ -4,9 +4,13 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + -
{{location $Item.AgencyAddress}}
+ {{if branch $Item.UseSameAddress | eq "Yes"}} +
+ {{else}} +
{{location $Item.AgencyAddress}}
+ {{end}} {{text $Item.AgencyName}} {{monthYear $Item.TreatmentBeganDate}} diff --git a/api/templates/substance-alcohol-negative.xml b/api/templates/substance-alcohol-negative.xml index 5c0ba5d45..0bac504cb 100644 --- a/api/templates/substance-alcohol-negative.xml +++ b/api/templates/substance-alcohol-negative.xml @@ -4,7 +4,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{monthYear $Item.Occurred}} {{textarea $Item.Circumstances}} {{textarea $Item.NegativeImpact}} diff --git a/api/templates/substance-alcohol-ordered.xml b/api/templates/substance-alcohol-ordered.xml index 790daee83..26d2b31bd 100644 --- a/api/templates/substance-alcohol-ordered.xml +++ b/api/templates/substance-alcohol-ordered.xml @@ -4,7 +4,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{branch $Item.ActionTaken}} @@ -26,22 +26,27 @@ {{if (checkboxHas $Item.Seekers "MentalHealthProfessional") | eq "True"}} MentalHealthProfessional="True" {{end}} - {{if (checkboxHas $Item.Seekers "Judge") | eq "True"}} + {{if (checkboxHas $Item.Seekers "CourtOfficial") | eq "True"}} Court="True" {{end}} - {{if (checkboxHas $Item.Seekers "None") | eq "True"}} + {{if (checkboxHas $Item.Seekers "NotOrdered") | eq "True"}} None="True" {{end}} + {{if (checkboxHas $Item.Seekers "Other") | eq "True"}} + Other="True" + {{end}} /> {{text $Item.OtherSeeker}} + {{if branch $Item.ActionTaken | eq "Yes" }} {{monthYearDaterange $Item.CounselingDates}} {{text $Item.TreatmentProviderName}}
{{location $Item.TreatmentProviderAddress}}
{{telephone $Item.TreatmentProviderTelephone}}
+ {{end}}
{{end}} diff --git a/api/templates/substance-alcohol-voluntary.xml b/api/templates/substance-alcohol-voluntary.xml index d78d60f1c..72165d80e 100644 --- a/api/templates/substance-alcohol-voluntary.xml +++ b/api/templates/substance-alcohol-voluntary.xml @@ -4,7 +4,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{monthYearDaterange $Item.CounselingDates}} {{text $Item.TreatmentProviderName}} diff --git a/api/templates/substance-drug-clearance.xml b/api/templates/substance-drug-clearance.xml index e6f61b959..95673bf1f 100644 --- a/api/templates/substance-drug-clearance.xml +++ b/api/templates/substance-drug-clearance.xml @@ -4,7 +4,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{textarea $Item.Description}} {{monthYearDaterange $Item.InvolvementDates}} {{text $Item.EstimatedUse}} diff --git a/api/templates/substance-drug-misuse.xml b/api/templates/substance-drug-misuse.xml index 7a588e030..1e692b23e 100644 --- a/api/templates/substance-drug-misuse.xml +++ b/api/templates/substance-drug-misuse.xml @@ -4,7 +4,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{text $Item.PrescriptionName}} {{monthYearDaterange $Item.InvolvementDates}} {{textarea $Item.Reason}} diff --git a/api/templates/substance-drug-ordered.xml b/api/templates/substance-drug-ordered.xml index 803232472..adf95f4e9 100644 --- a/api/templates/substance-drug-ordered.xml +++ b/api/templates/substance-drug-ordered.xml @@ -4,7 +4,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{branch $Item.ActionTaken}} @@ -37,6 +37,7 @@ {{radio $Item.DrugType}} + {{if branch $Item.ActionTaken | eq "Yes"}} {{doctorLastName $Item.TreatmentProvider}} @@ -46,6 +47,7 @@ {{telephone $Item.TreatmentProviderTelephone}} {{monthYearDaterange $Item.TreatmentDates}} + {{end}} {{branch $Item.TreatmentCompleted}} diff --git a/api/templates/substance-drug-publicsafety.xml b/api/templates/substance-drug-publicsafety.xml index 7eae3c68c..1acce5285 100644 --- a/api/templates/substance-drug-publicsafety.xml +++ b/api/templates/substance-drug-publicsafety.xml @@ -4,7 +4,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{textarea $Item.Description}} {{monthYearDaterange $Item.InvolvementDates}} {{text $Item.EstimatedUse}} diff --git a/api/templates/substance-drug-purchase.xml b/api/templates/substance-drug-purchase.xml index 18464e66c..e15f546a4 100644 --- a/api/templates/substance-drug-purchase.xml +++ b/api/templates/substance-drug-purchase.xml @@ -4,7 +4,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{radio $Item.DrugType}} diff --git a/api/templates/substance-drug-usage.xml b/api/templates/substance-drug-usage.xml index 577e89318..17f9e6725 100644 --- a/api/templates/substance-drug-usage.xml +++ b/api/templates/substance-drug-usage.xml @@ -4,7 +4,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{radio $Item.DrugType}} diff --git a/api/templates/substance-drug-voluntary.xml b/api/templates/substance-drug-voluntary.xml index fa39bdc32..15ed95826 100644 --- a/api/templates/substance-drug-voluntary.xml +++ b/api/templates/substance-drug-voluntary.xml @@ -4,7 +4,7 @@ {{range $index, $item := .props.List.props.items}} {{with $Item := $item.Item}} - + {{radio $Item.DrugType}} diff --git a/api/templates/telephone-no-time-of-day.xml b/api/templates/telephone-no-time-of-day.xml new file mode 100644 index 000000000..f31d14d7d --- /dev/null +++ b/api/templates/telephone-no-time-of-day.xml @@ -0,0 +1,24 @@ + +{{- if .props.type | eq "International"}} +International +{{- end}} +{{.props.number}} +{{- if ne .props.extension ""}} +{{.props.extension}} +{{- end}} diff --git a/api/testdata/complete-scenarios/test1.xml b/api/testdata/complete-scenarios/test1.xml index beb03d78f..671dddd81 100644 --- a/api/testdata/complete-scenarios/test1.xml +++ b/api/testdata/complete-scenarios/test1.xml @@ -8,11 +8,12 @@ 2017-07 - Heinrich Ernest Mendosa 323939103 + + Yes @@ -24,6 +25,7 @@ + @@ -83,10 +85,10 @@ - + No - +
123 1st St. Monterey @@ -125,7 +127,7 @@ </Reference> - <Reference ID="1"> + <Reference ID="2"> <Address> <Street>89 9th St. </Street> <City>Monterey</City> @@ -164,7 +166,7 @@ </Telephone> <Title NotApplicable="True"/> </Reference> - <Reference ID="2"> + <Reference ID="3"> <Address> <Street>78 32nd St. </Street> <City>Monterey</City> @@ -205,11 +207,11 @@ </Reference> </References> </PersonalReferences> - <RelativesAndAssociates> + <RelativesAndAssociates Version="1" Type="Pooled"> <ApplicableRelativeTypes Mother01="True" Father02="True"/> <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> <Relatives> - <Relative ID="0"> + <Relative ID="1"> <Birth> <Date> <Month>02</Month> @@ -223,7 +225,7 @@ </Place> </Birth> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>United States</Country> </Citizenship> </CountriesOfCitizenship> @@ -245,7 +247,7 @@ </OtherNamesUsed> <Type>01Mother</Type> </Relative> - <Relative ID="1"> + <Relative ID="2"> <Birth> <Date> <Month>03</Month> @@ -259,7 +261,7 @@ </Place> </Birth> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>United States</Country> </Citizenship> </CountriesOfCitizenship> @@ -284,9 +286,9 @@ </Cohabitants> <MaritalStatus>NeverMarried</MaritalStatus> </Spouse> - <ResidenceHistory> + <ResidenceHistory Version="1" Type="Pooled"> <Residencies> - <Residency ID="0"> + <Residency ID="1"> <Address> <Street>418 English Ave. </Street> <City>Monterey</City> @@ -328,15 +330,12 @@ <Telephone> <Day> <Number>8311239382</Number> - <Time>Day</Time> </Day> <Evening> <Number>8311239381</Number> - <Time>Night</Time> </Evening> <Mobile> <Number>8311231223</Number> - <Time>Both</Time> </Mobile> </Telephone> </Verifier> @@ -346,7 +345,7 @@ </ResidenceHistory> <EmploymentActivities Type="Pooled" Version="1"> <Employments> - <Employment ID="0"> + <Employment ID="1"> <DateRange> <From> <Date> @@ -407,7 +406,7 @@ <Answer>No</Answer> </Fired> </EmploymentRecord> - <Education> + <Education Version="1" Type="Pooled"> <AttendedAnySchools> <Answer>No</Answer> </AttendedAnySchools> @@ -418,7 +417,7 @@ </SchoolsAttended> </Education> - <FormerFederalServiceActivities> + <FormerFederalServiceActivities Version="1" Type="Pooled"> <HadFormerFederalCivilianEmployment> <Answer>No</Answer> </HadFormerFederalCivilianEmployment> @@ -514,7 +513,7 @@ </Incidents> </UnpaidTaxes> </FinancialRecord> - <ForeignContacts> + <ForeignContacts Version="1" Type="Pooled"> <ContactWithForeignNationalBoundByAffectionInfluenceObligation> <Answer>No</Answer> </ContactWithForeignNationalBoundByAffectionInfluenceObligation> @@ -583,7 +582,7 @@ </VotedInForeignElections> </ForeignBusinessActivities> - <ForeignTravels> + <ForeignTravels Version="1" Type="Pooled"> <CountriesVisited> <Answer>No</Answer> </CountriesVisited> @@ -780,6 +779,7 @@ </Responses> </Request> </RequestInfo> + <DateSubmitted>2018-09-10</DateSubmitted> </SubmittedRequestInfo> <AgencyUsageBlock> <TypeOfInvestigation> diff --git a/api/testdata/complete-scenarios/test2.json b/api/testdata/complete-scenarios/test2.json index cae1c675e..3a2c2d400 100644 --- a/api/testdata/complete-scenarios/test2.json +++ b/api/testdata/complete-scenarios/test2.json @@ -624,10 +624,10 @@ "props": { "layout": "Address", "street": "22 elm st", - "city": "APO", - "state": "AA", - "zipcode": "34052", - "country": "POSTOFFICE", + "city": "Pacific Grove", + "state": "CA", + "zipcode": "93950", + "country": "United States", "validated": true } }, diff --git a/api/testdata/complete-scenarios/test2.xml b/api/testdata/complete-scenarios/test2.xml index c2f6c98b7..f50ef7d49 100644 --- a/api/testdata/complete-scenarios/test2.xml +++ b/api/testdata/complete-scenarios/test2.xml @@ -8,11 +8,12 @@ <Version>2017-07</Version> </Form> <Applicant> - <Name>Aretha Louise Franklin</Name> <SSN>555555544</SSN> </Applicant> <Responses> + <AgencyInstructionsForApplicant/> <FormInstanceSpecific> + <AgencyInstructionsForApplicant/> <ESigCertificationResponses Version="1" Type="Pooled" LastSummaryID="201" LastDynamicListID="201"> <UserFinalizedCert> <Answer>Yes</Answer> @@ -24,6 +25,7 @@ <UserPreferences Version="1" Type="Pooled" LastSummaryID="201" LastDynamicListID="201"> <DisplayNavigation/> </UserPreferences> + <ValidationResponses Version="1" Type="FormInstanceSpecific"/> </FormInstanceSpecific> <Pooled> <IdentifyingInformation Type="Pooled" Version="1"> @@ -77,10 +79,10 @@ </Telephone> </HomeTelephone> </ContactInformation> - <PersonalReferences> + <PersonalReferences Version="1" Type="Pooled"> <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> <References> - <Reference ID="0"> + <Reference ID="1"> <Address> <Street>100 E MAIN ST </Street> <City>LOUISVILLE</City> @@ -119,7 +121,7 @@ </Telephone> <Title NotApplicable="True"/> </Reference> - <Reference ID="1"> + <Reference ID="2"> <Address> <Street>567 E BURNETT AVE </Street> <City>LOUISVILLE</City> @@ -158,7 +160,7 @@ </Telephone> <Title NotApplicable="True"/> </Reference> - <Reference ID="2"> + <Reference ID="3"> <Address> <Street>33 S MAIN ST </Street> <City>MEMPHIS</City> @@ -199,11 +201,11 @@ </Reference> </References> </PersonalReferences> - <RelativesAndAssociates> + <RelativesAndAssociates Version="1" Type="Pooled"> <ApplicableRelativeTypes Mother01="True" Father02="True"/> <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> <Relatives> - <Relative ID="0"> + <Relative ID="1"> <Address> <Street>33 Salem st </Street> <City>Salem</City> @@ -223,7 +225,7 @@ </Place> </Birth> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>United States</Country> </Citizenship> </CountriesOfCitizenship> @@ -240,7 +242,7 @@ </OtherNamesUsed> <Type>02Father</Type> </Relative> - <Relative ID="1"> + <Relative ID="2"> <Birth> <Date Type="Estimated"> <Month>05</Month> @@ -254,7 +256,7 @@ </Place> </Birth> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>United States</Country> </Citizenship> </CountriesOfCitizenship> @@ -284,9 +286,9 @@ </Cohabitants> <MaritalStatus>NeverMarried</MaritalStatus> </Spouse> - <ResidenceHistory> + <ResidenceHistory Version="1" Type="Pooled"> <Residencies> - <Residency ID="0"> + <Residency ID="1"> <Address> <Street>22 elm st </Street> <City>Memphis</City> @@ -328,15 +330,12 @@ <Telephone> <Day> <Number>5554442134</Number> - <Time>Both</Time> </Day> <Evening> <Number>5677554321</Number> - <Time>Both</Time> </Evening> <Mobile DoNotKnow="True"> - </Mobile> </Telephone> </Verifier> @@ -346,7 +345,7 @@ </ResidenceHistory> <EmploymentActivities Type="Pooled" Version="1"> <Employments> - <Employment ID="0"> + <Employment ID="1"> <DateRange> <From> <Date> @@ -407,7 +406,7 @@ <Answer>No</Answer> </Fired> </EmploymentRecord> - <Education> + <Education Version="1" Type="Pooled"> <AttendedAnySchools> <Answer>No</Answer> </AttendedAnySchools> @@ -418,7 +417,7 @@ </SchoolsAttended> </Education> - <FormerFederalServiceActivities> + <FormerFederalServiceActivities Version="1" Type="Pooled"> <HadFormerFederalCivilianEmployment> <Answer>No</Answer> </HadFormerFederalCivilianEmployment> @@ -473,7 +472,7 @@ <FinancialRecord Type="Pooled" Version="1"> <Bankruptcy> <Activities> - <Activity ID="0"> + <Activity ID="1"> <AccountNumber>55543435</AccountNumber> <Amount>500000</Amount> <Authority> @@ -506,7 +505,7 @@ </Record> <Type>Chapter12</Type> </Activity> - <Activity ID="1"> + <Activity ID="2"> <AccountNumber>32e534657687</AccountNumber> <Amount>42257</Amount> <Authority> @@ -539,7 +538,6 @@ </Record> <Type>Chapter7</Type> </Activity> - <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> </Activities> <Answer>Yes</Answer> <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> @@ -547,7 +545,7 @@ <ViolatedCorporateCardAgreement> <Answer>Yes</Answer> <Incidents> - <Incident ID="0"> + <Incident ID="1"> <Actions>getting help</Actions> <Agency> <Address> @@ -558,25 +556,25 @@ </Address> <Name>helpers</Name> </Agency> - <Amount Estimated="false">4322</Amount> + <Amount>4322</Amount> <Date> <Month>03</Month> <Year>1999</Year> </Date> <Reason>needed it</Reason> </Incident> - <Incident ID="1"> + <Incident ID="2"> <Actions>getting more help</Actions> <Agency> <Address> <Street>22 elm st </Street> - <City>APO</City> - <State>AA</State> - <ZipCode>34052</ZipCode> + <City>Pacific Grove</City> + <State>CA</State> + <ZipCode>93950</ZipCode> </Address> <Name>path</Name> </Agency> - <Amount Estimated="false">3333</Amount> + <Amount>3333</Amount> <Date> <Month>05</Month> <Year>1990</Year> @@ -589,7 +587,7 @@ <UtilizingOrSeekingCreditCounseling> <Answer>Yes</Answer> <Incidents> - <Incident ID="0"> + <Incident ID="1"> <Actions>getting credit help</Actions> <Explanation>too many credit cards</Explanation> <Organization> @@ -604,7 +602,7 @@ </Telephone> </Organization> </Incident> - <Incident ID="1"> + <Incident ID="2"> <Actions>OK i needed help with my credit</Actions> <Explanation>getting the help</Explanation> <Organization> @@ -625,12 +623,12 @@ <DelinquencyInvolvingEnforcement> <Answer>Yes</Answer> <Incidents> - <Incident ID="0"> + <Incident ID="1"> <AccountNumber>234234</AccountNumber> <Agency> <Name>Dr. Bob</Name> </Agency> - <Amount Estimated="false">23424</Amount> + <Amount>23424</Amount> <Court> <Address> <Street>110 Main ST. </Street> @@ -651,18 +649,18 @@ <Description>working on it</Description> <IssueType> <Answer>Yes</Answer> - <Options Alimony="True" Lien="True"/> + <Options Alimony="True" Judgment="True" Lien="True"/> </IssueType> <PropertyType>Home</PropertyType> <Reason> gamblin'</Reason> <Status>still in trouble</Status> </Incident> - <Incident ID="1"> + <Incident ID="2"> <AccountNumber>4355</AccountNumber> <Agency> <Name>OK school</Name> </Agency> - <Amount Estimated="false">333</Amount> + <Amount>333</Amount> <Court> <Address> <Street>222 elm street </Street> @@ -695,7 +693,7 @@ <ProblemsDueToGambling> <Answer>Yes</Answer> <Incidents> - <Incident ID="0"> + <Incident ID="1"> <Actions>nope</Actions> <Amount>5655</Amount> <DateRange> @@ -714,7 +712,7 @@ </DateRange> <Description>missed rent</Description> </Incident> - <Incident ID="1"> + <Incident ID="2"> <Actions>not yet... maybe soon</Actions> <Amount>78000</Amount> <DateRange> @@ -739,12 +737,12 @@ <DelinquencyInvolvingRoutineAccounts> <Answer>Yes</Answer> <Incidents> - <Incident ID="0"> + <Incident ID="1"> <AccountNumber>234234</AccountNumber> <Agency> <Name>Dr. Bob</Name> </Agency> - <Amount Estimated="false">234234</Amount> + <Amount>234234</Amount> <DateBegan Type="Estimated"> <Month>05</Month> <Year>1990</Year> @@ -761,12 +759,12 @@ <Reason>lost a bet</Reason> <Status>unresolved</Status> </Incident> - <Incident ID="1"> + <Incident ID="2"> <AccountNumber>3456777</AccountNumber> <Agency> <Name>Dr. Bob</Name> </Agency> - <Amount Estimated="false">34647</Amount> + <Amount>34647</Amount> <DateBegan Type="Estimated"> <Month>06</Month> <Year>1965</Year> @@ -789,10 +787,10 @@ <UnpaidTaxes> <Answer>Yes</Answer> <Incidents> - <Incident ID="0"> + <Incident ID="1"> <Actions>paid it</Actions> <Agency>state</Agency> - <Amount Estimated="false">5699</Amount> + <Amount>5699</Amount> <DateFailedToPay> <Year>1979</Year> </DateFailedToPay> @@ -804,10 +802,10 @@ <TaxType>all of them</TaxType> <Type>Both</Type> </Incident> - <Incident ID="1"> + <Incident ID="2"> <Actions>ok ok</Actions> <Agency>local</Agency> - <Amount Estimated="false">345</Amount> + <Amount>345</Amount> <DateFailedToPay> <Year>1999</Year> </DateFailedToPay> @@ -820,7 +818,7 @@ <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> </UnpaidTaxes> </FinancialRecord> - <ForeignContacts> + <ForeignContacts Version="1" Type="Pooled"> <ContactWithForeignNationalBoundByAffectionInfluenceObligation> <Answer>No</Answer> </ContactWithForeignNationalBoundByAffectionInfluenceObligation> @@ -889,7 +887,7 @@ </VotedInForeignElections> </ForeignBusinessActivities> - <ForeignTravels> + <ForeignTravels Version="1" Type="Pooled"> <CountriesVisited> <Answer>No</Answer> </CountriesVisited> @@ -898,11 +896,9 @@ <EverReceivedCounseling> <Answer>Yes</Answer> <Consultations> - <Consultation ID="0"> + <Consultation ID="1"> <Agency> - <Address SameAsAbove="True"> - <Street> </Street> - </Address> + <Address SameAsAbove="True"/> <Name>OK</Name> </Agency> <BeginDate> @@ -927,9 +923,9 @@ </EndDate> <Explanation>ok ok ok </Explanation> </Consultation> - <Consultation ID="1"> + <Consultation ID="2"> <Agency> - <Address SameAsAbove="False"> + <Address> <Street>324 crazy Rd. </Street> <City>Salem</City> <State>FL</State> @@ -965,7 +961,7 @@ <NegativeImpact> <Answer>Yes</Answer> <Incidents> - <Incident ID="0"> + <Incident ID="1"> <Date> <Month>06</Month> <Year>1990</Year> @@ -987,7 +983,7 @@ </To> </DateRange> </Incident> - <Incident ID="1"> + <Incident ID="2"> <Date Type="Estimated"> <Month>05</Month> <Year>1979</Year> @@ -1015,7 +1011,7 @@ <OrderedAdvisedOrAskedToSeekCounseling> <Answer>Yes</Answer> <Consultations> - <Consultation ID="0"> + <Consultation ID="1"> <ActionToSeekCounselingTaken> <Answer>Yes</Answer> </ActionToSeekCounselingTaken> @@ -1023,7 +1019,7 @@ <Answer>Yes</Answer> </CompletedTreatmentProgram> <CounselingOrderedBy> - <Answer Employer="True"/> + <Answer Employer="True" Court="True"/> </CounselingOrderedBy> <DateRange> <From> @@ -1053,7 +1049,7 @@ </Telephone> </Doctor> </Consultation> - <Consultation ID="1"> + <Consultation ID="2"> <ActionToSeekCounselingTaken> <Answer>Yes</Answer> </ActionToSeekCounselingTaken> @@ -1097,7 +1093,7 @@ <SoughtCounseling> <Answer>Yes</Answer> <Consultations> - <Consultation ID="0"> + <Consultation ID="1"> <DateRange> <From> <Date> @@ -1129,7 +1125,7 @@ <Answer>Yes</Answer> </CompletedTreatmentProgram> </Consultation> - <Consultation ID="1"> + <Consultation ID="2"> <DateRange> <From> <Date> @@ -1169,7 +1165,7 @@ <InvolvementWhilePossessingASecurityClearance> <Answer>Yes</Answer> <Involvements> - <Involvement ID="0"> + <Involvement ID="1"> <Description>high level involvement</Description> <DateRange> <From> @@ -1187,7 +1183,7 @@ </DateRange> <NumberOfTimesUsed>4</NumberOfTimesUsed> </Involvement> - <Involvement ID="1"> + <Involvement ID="2"> <Description>not very</Description> <DateRange> <From> @@ -1211,7 +1207,7 @@ <MisuseOfPrescriptionDrugs> <Answer>Yes</Answer> <Instances> - <Instance ID="0"> + <Instance ID="1"> <DrugsUsed>pain pills</DrugsUsed> <DateRange> <From> @@ -1235,7 +1231,7 @@ <Answer>Yes</Answer> </InvolvementWhilePossessingASecurityClearance> </Instance> - <Instance ID="1"> + <Instance ID="2"> <DrugsUsed>oxy</DrugsUsed> <DateRange> <From> @@ -1265,7 +1261,7 @@ <OrderedAdvisedOrAskedToSeekCounseling> <Answer>Yes</Answer> <Consultations> - <Consultation ID="0"> + <Consultation ID="1"> <ActionToSeekCounselingTaken> <Answer>Yes</Answer> </ActionToSeekCounselingTaken> @@ -1317,7 +1313,7 @@ <Explanation>Got kicket out</Explanation> </UnsuccessfulTreatment> </Consultation> - <Consultation ID="1"> + <Consultation ID="2"> <ActionToSeekCounselingTaken> <Answer>Yes</Answer> </ActionToSeekCounselingTaken> @@ -1376,7 +1372,7 @@ <InvolvementWhileEmployedAsLawEnforcement> <Answer>Yes</Answer> <Involvements> - <Involvement ID="0"> + <Involvement ID="1"> <Description>heroin weekly</Description> <DateRange> <From> @@ -1394,7 +1390,7 @@ </DateRange> <NumberOfTimes>88</NumberOfTimes> </Involvement> - <Involvement ID="1"> + <Involvement ID="2"> <Description>pills</Description> <DateRange> <From> @@ -1418,7 +1414,7 @@ <IllegalDrugActivity> <Answer>Yes</Answer> <Activities> - <Activity ID="0"> + <Activity ID="1"> <Drug> <Type>Cocaine</Type> </Drug> @@ -1443,7 +1439,7 @@ </IntendToEngageInFutureActivities> <Reason>make money</Reason> </Activity> - <Activity ID="1"> + <Activity ID="2"> <Drug> <Type>THC</Type> </Drug> @@ -1474,7 +1470,7 @@ <IllegalUse> <Answer>Yes</Answer> <Instances> - <Instance ID="0"> + <Instance ID="1"> <DrugUsed> <Type>Narcotics</Type> </DrugUsed> @@ -1498,7 +1494,7 @@ <Explanation>it's bad</Explanation> </IntendToUseInFuture> </Instance> - <Instance ID="1"> + <Instance ID="2"> <DrugUsed> <Type>Hallucinogenic</Type> </DrugUsed> @@ -1528,7 +1524,7 @@ <VoluntaryTreatment> <Answer>Yes</Answer> <Consultations> - <Consultation ID="0"> + <Consultation ID="1"> <Drug> <Type>Cocaine</Type> </Drug> @@ -1570,7 +1566,7 @@ </UnsuccessfulTreatment> </Consultation> - <Consultation ID="1"> + <Consultation ID="2"> <Drug> <Type>Depressants</Type> </Drug> @@ -1715,7 +1711,7 @@ <MedicalRecord2 Version="1" Type="Pooled"> <DeclaredAsMentallyIncompetent> <Answer>Yes</Answer> - <DeclaredAsMentallyIncompetentOccurrence ID="0"> + <DeclaredAsMentallyIncompetentOccurrence ID="1"> <Court> <Name>Place 1</Name> <Address> @@ -1730,10 +1726,35 @@ <Year>1990</Year> </Date> <Appealed> - <Answer>No</Answer> + <Answer>Yes</Answer> + <Appeal ID="1"> + <Court> + <Name>Super court</Name> + <Address> + <Street>667 Main St </Street> + <City>Asheville</City> + <State>NC</State> + <ZipCode>27007</ZipCode> + </Address> + </Court> + <FinalDisposition>Final disposition info</FinalDisposition> + </Appeal> + <Appeal ID="2"> + <Court> + <Name>mega court</Name> + <Address> + <Street>111 main st </Street> + <City>Akron</City> + <State>OH</State> + <ZipCode>45777</ZipCode> + </Address> + </Court> + <FinalDisposition>final final disp</FinalDisposition> + </Appeal> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> </Appealed> </DeclaredAsMentallyIncompetentOccurrence> - <DeclaredAsMentallyIncompetentOccurrence ID="1"> + <DeclaredAsMentallyIncompetentOccurrence ID="2"> <Court> <Name>dfa</Name> <Address> @@ -1755,7 +1776,7 @@ </DeclaredAsMentallyIncompetent> <OrderedToConsult> <Answer>Yes</Answer> - <OrderedToConsultOccurrence ID="0"> + <OrderedToConsultOccurrence ID="1"> <Court> <Name>name</Name> <Address> @@ -1774,7 +1795,7 @@ <Answer>No</Answer> </Appealed> </OrderedToConsultOccurrence> - <OrderedToConsultOccurrence ID="1"> + <OrderedToConsultOccurrence ID="2"> <Court> <Name>Place 2</Name> <Address> @@ -1797,7 +1818,7 @@ </OrderedToConsult> <Hospitalized> <Answer>Yes</Answer> - <HospitalizedOccurrence ID="0"> + <HospitalizedOccurrence ID="1"> <AdmissionType>Voluntary</AdmissionType> <DateRange> <From> @@ -1824,7 +1845,7 @@ </Facility> <Explanation>Explanation here</Explanation> </HospitalizedOccurrence> - <HospitalizedOccurrence ID="1"> + <HospitalizedOccurrence ID="2"> <AdmissionType>Involuntary</AdmissionType> <DateRange> <From> @@ -1855,7 +1876,7 @@ </Hospitalized> <Diagnosed> <Answer>Yes</Answer> - <DiagnosedOccurrence ID="0"> + <DiagnosedOccurrence ID="1"> <Diagnosis>PsychoticDisorder</Diagnosis> <DateRange> <From> @@ -1901,7 +1922,7 @@ <Answer>Yes</Answer> </TreatmentEffective> </DiagnosedOccurrence> - <DiagnosedOccurrence ID="1"> + <DiagnosedOccurrence ID="2"> <Diagnosis>Schizophrenia</Diagnosis> <DateRange> <From> @@ -1951,7 +1972,7 @@ </Diagnosed> <CurrentlyInTreatment> <Answer>Yes</Answer> - <TreatmentOccurrence ID="0"> + <TreatmentOccurrence ID="1"> <HealthCareProfessional> <Name>Dr. Bob</Name> <Telephone> @@ -1966,7 +1987,7 @@ </Address> </HealthCareProfessional> </TreatmentOccurrence> - <TreatmentOccurrence ID="1"> + <TreatmentOccurrence ID="2"> <HealthCareProfessional> <Name>Dr. Bob</Name> <Telephone> @@ -1996,6 +2017,7 @@ </Responses> </Request> </RequestInfo> + <DateSubmitted>2018-09-10</DateSubmitted> </SubmittedRequestInfo> <AgencyUsageBlock> <TypeOfInvestigation> diff --git a/api/testdata/complete-scenarios/test3.json b/api/testdata/complete-scenarios/test3.json index 77ea0b51a..42a424f39 100644 --- a/api/testdata/complete-scenarios/test3.json +++ b/api/testdata/complete-scenarios/test3.json @@ -4437,7 +4437,9 @@ "layout": "Address", "street": "123 Seasame Street", "city": "New York", - "country": "Jamaica" + "state": "NY", + "zipcode": "10005", + "country": "United States" } }, "Sponsorship": { @@ -6934,7 +6936,7 @@ "CohabitationBegan": { "type": "datecontrol", "props": { - "month": "01", + "month": "04", "day": "12", "year": "2000", "estimated": false @@ -7060,9 +7062,9 @@ "SSN": { "type": "ssn", "props": { - "first": "111", + "first": "511", "middle": "11", - "last": "1111", + "last": "1511", "notApplicable": false } } @@ -7099,7 +7101,7 @@ "CohabitationBegan": { "type": "datecontrol", "props": { - "month": "01", + "month": "09", "day": "12", "year": "2000", "estimated": false @@ -7388,9 +7390,9 @@ "type": "location", "props": { "layout": "Birthplace", - "city": "10 causeway st", - "state": "ma", - "county": "boston", + "city": "Random Town", + "state": "MA", + "county": "Boston", "country": "United States" } }, @@ -7475,9 +7477,9 @@ "SSN": { "type": "ssn", "props": { - "first": "111", - "middle": "11", - "last": "1111", + "first": "311", + "middle": "31", + "last": "1311", "notApplicable": false } }, diff --git a/api/testdata/complete-scenarios/test3.xml b/api/testdata/complete-scenarios/test3.xml index 38d89b452..d6127d865 100644 --- a/api/testdata/complete-scenarios/test3.xml +++ b/api/testdata/complete-scenarios/test3.xml @@ -8,11 +8,12 @@ <Version>2017-07</Version> </Form> <Applicant> - <Name>Xavier James Thompson</Name> <SSN>312458912</SSN> </Applicant> <Responses> + <AgencyInstructionsForApplicant/> <FormInstanceSpecific> + <AgencyInstructionsForApplicant/> <ESigCertificationResponses Version="1" Type="Pooled" LastSummaryID="201" LastDynamicListID="201"> <UserFinalizedCert> <Answer>Yes</Answer> @@ -24,6 +25,7 @@ <UserPreferences Version="1" Type="Pooled" LastSummaryID="201" LastDynamicListID="201"> <DisplayNavigation/> </UserPreferences> + <ValidationResponses Version="1" Type="FormInstanceSpecific"/> </FormInstanceSpecific> <Pooled> <IdentifyingInformation Type="Pooled" Version="1"> @@ -78,10 +80,10 @@ </Telephone> </HomeTelephone> </ContactInformation> - <PersonalReferences> + <PersonalReferences Version="1" Type="Pooled"> <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> <References> - <Reference ID="0"> + <Reference ID="1"> <Address> <Street>1600 pennsulvenia Ave </Street> <City>jamaica plain</City> @@ -118,7 +120,7 @@ </Telephone> <Title NotApplicable="True"/> </Reference> - <Reference ID="1"> + <Reference ID="2"> <Address> <Street>800 New Street </Street> <City>New York</City> @@ -157,7 +159,7 @@ </Telephone> <Title NotApplicable="True"/> </Reference> - <Reference ID="2"> + <Reference ID="3"> <Address> <Street>800 New Street </Street> <City>New York</City> @@ -199,11 +201,11 @@ </Reference> </References> </PersonalReferences> - <RelativesAndAssociates> + <RelativesAndAssociates Version="1" Type="Pooled"> <ApplicableRelativeTypes Mother01="True" Father02="True" Stepsister11="True" FatherInLaw14="True" MotherInLaw15="True"/> <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> <Relatives> - <Relative ID="0"> + <Relative ID="1"> <Address> <Street>800 New Street </Street> <City>New York</City> @@ -223,7 +225,7 @@ </Place> </Birth> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>United States</Country> </Citizenship> </CountriesOfCitizenship> @@ -246,7 +248,7 @@ </OtherNamesUsed> <Type>01Mother</Type> </Relative> - <Relative ID="1"> + <Relative ID="2"> <Address> <Street>65 DEER ST </Street> <City>BOSTON</City> @@ -266,7 +268,7 @@ </Place> </Birth> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>United States</Country> </Citizenship> </CountriesOfCitizenship> @@ -284,7 +286,7 @@ </OtherNamesUsed> <Type>02Father</Type> </Relative> - <Relative ID="2"> + <Relative ID="3"> <Address> <Street>65 DEER ST </Street> <City>BOSTON</City> @@ -304,7 +306,7 @@ </Place> </Birth> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>United States</Country> </Citizenship> </CountriesOfCitizenship> @@ -322,7 +324,7 @@ </OtherNamesUsed> <Type>11Stepsister</Type> </Relative> - <Relative ID="3"> + <Relative ID="4"> <Birth> <Date> <Month>03</Month> @@ -336,7 +338,7 @@ </Place> </Birth> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>United States</Country> </Citizenship> </CountriesOfCitizenship> @@ -350,7 +352,7 @@ </LegalName> <Type>15MotherInLaw</Type> </Relative> - <Relative ID="4"> + <Relative ID="5"> <Birth> <Date> <Month>09</Month> @@ -364,7 +366,7 @@ </Place> </Birth> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>United States</Country> </Citizenship> </CountriesOfCitizenship> @@ -383,7 +385,7 @@ <Spouse Version="1" Type="Pooled"> <Cohabitants> <Answer>Yes</Answer> - <Cohabitant ID="0"> + <Cohabitant ID="1"> <Birth> <Date> <Month>03</Month> @@ -398,13 +400,13 @@ </Birth> <CohabitationDate> <Date> - <Month>03</Month> + <Month>04</Month> <Day>12</Day> <Year>2000</Year> </Date> </CohabitationDate> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>United States</Country> </Citizenship> </CountriesOfCitizenship> @@ -416,12 +418,12 @@ </LegalName> <OtherNamesUsed NotApplicable="True"/> <SSN> - <FirstThree>111</FirstThree> + <FirstThree>511</FirstThree> <NextTwo>11</NextTwo> - <LastFour>1111</LastFour> + <LastFour>1511</LastFour> </SSN> </Cohabitant> - <Cohabitant ID="1"> + <Cohabitant ID="2"> <Birth> <Date> <Month>08</Month> @@ -436,13 +438,13 @@ </Birth> <CohabitationDate> <Date> - <Month>08</Month> + <Month>09</Month> <Day>12</Day> <Year>2000</Year> </Date> </CohabitationDate> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>United States</Country> </Citizenship> </CountriesOfCitizenship> @@ -466,7 +468,7 @@ </HaveFormerSpouse> <MaritalStatus>Married</MaritalStatus> <PresentMarriage> - <CurrentSpouse> + <CurrentSpouse ID="1"> <Address UseMyCurrentAddress="False"> <Street>65 DEER ST </Street> <City>BOSTON</City> @@ -487,7 +489,7 @@ </Place> </Birth> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>United States</Country> </Citizenship> </CountriesOfCitizenship> @@ -505,41 +507,20 @@ <Year>2000</Year> </Date> <Place> - <City>10 causeway st</City> + <City>Random Town</City> <State>MA</State> - <County>boston</County> - <Country>United States</Country> + <County>Boston</County> </Place> </Marriage> <OtherNamesUsed NotApplicable="True"/> - <SSN NotApplicable="false"> - <FirstThree> - 111 - </FirstThree> - <NextTwo> - 11 - </NextTwo> - <LastFour> - 1111 - </LastFour> + <SSN> + <FirstThree>311</FirstThree> + <NextTwo>31</NextTwo> + <LastFour>1311</LastFour> </SSN> <Separated> <Answer>No</Answer> </Separated> - <Separation> - <Date> - <Month>02</Month> - <Day>01</Day> - <Year>2000</Year> - </Date> - <LocationOfRecord> - <Place NotApplicable="False"> - <City>jamaica plain</City> - <State>MD</State> - <ZipCode>12345</ZipCode> - </Place> - </LocationOfRecord> - </Separation> <Telephone> <Number>1231231123</Number> <Time>Both</Time> @@ -547,9 +528,9 @@ </CurrentSpouse> </PresentMarriage> </Spouse> - <ResidenceHistory> + <ResidenceHistory Version="1" Type="Pooled"> <Residencies> - <Residency ID="0"> + <Residency ID="1"> <Address> <Street>123 VARICK ST </Street> <City>NEW YORK</City> @@ -588,19 +569,16 @@ <Middle>Criag</Middle> <Suffix>II</Suffix> </LegalName> - <RelationshipTypes Neighbor="True" Friend="True"/> + <RelationshipTypes Neighbor="True" Friend="True" Landlord="True" WorkAssociate="True"/> <Telephone> <Day> <Number>1223444444</Number> - <Time>Night</Time> </Day> <Evening> <Number>2342342344</Number> - <Time>Day</Time> </Evening> <Mobile> <Number>2334333333</Number> - <Time>Both</Time> </Mobile> </Telephone> </Verifier> @@ -610,7 +588,7 @@ </ResidenceHistory> <EmploymentActivities Type="Pooled" Version="1"> <Employments> - <Employment ID="0"> + <Employment ID="1"> <DateRange> <From> <Date> @@ -667,7 +645,7 @@ <Answer>No</Answer> </Fired> </EmploymentRecord> - <Education> + <Education Version="1" Type="Pooled"> <AttendedAnySchools> <Answer>No</Answer> </AttendedAnySchools> @@ -678,7 +656,7 @@ </SchoolsAttended> </Education> - <FormerFederalServiceActivities> + <FormerFederalServiceActivities Version="1" Type="Pooled"> <HadFormerFederalCivilianEmployment> <Answer>No</Answer> </HadFormerFederalCivilianEmployment> @@ -794,12 +772,12 @@ </Incidents> </UnpaidTaxes> </FinancialRecord> - <ForeignContacts> + <ForeignContacts Version="1" Type="Pooled"> <ContactWithForeignNationalBoundByAffectionInfluenceObligation> <Answer>Yes</Answer> </ContactWithForeignNationalBoundByAffectionInfluenceObligation> <Contacts> - <Contact ID="0"> + <Contact ID="1"> <Address> <Street>800 New Street </Street> <City>Boston</City> @@ -816,7 +794,7 @@ </Place> </Birth> <Citizenships> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>France</Country> </Citizenship> </Citizenships> @@ -859,7 +837,7 @@ </LegalName> </FullName> </Contact> - <Contact ID="1"> + <Contact ID="2"> <Address> <Street>800 New Street </Street> <City>Boston</City> @@ -878,7 +856,7 @@ </Place> </Birth> <Citizenships> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>Jamaica</Country> </Citizenship> </Citizenships> @@ -928,10 +906,10 @@ <DirectInterests> <Answer>Yes</Answer> <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> - <DirectInterest ID="0"> + <DirectInterest ID="1"> <Coowners> <Answer>Yes</Answer> - <Coowner ID="0"> + <Coowner ID="1"> <Address> <Street>800 New Street </Street> <City>Boston</City> @@ -939,7 +917,7 @@ <ZipCode>02130</ZipCode> </Address> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>Morocco</Country> </Citizenship> </CountriesOfCitizenship> @@ -951,14 +929,14 @@ </LegalName> <Relationship>natural</Relationship> </Coowner> - <Coowner ID="1"> + <Coowner ID="2"> <Address> <Street>Apple St </Street> <City>Berlin</City> <Country>Germany</Country> </Address> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>Germany</Country> </Citizenship> </CountriesOfCitizenship> @@ -984,7 +962,7 @@ <Members Cohabitant="True" DependentChildren="True"/> <TypeOfFinancialInterest>Money Honey</TypeOfFinancialInterest> </DirectInterest> - <DirectInterest ID="1"> + <DirectInterest ID="2"> <Coowners> <Answer>No</Answer> </Coowners> @@ -1005,10 +983,10 @@ <Members Yourself="True"/> <TypeOfFinancialInterest>gains</TypeOfFinancialInterest> </DirectInterest> - <DirectInterest ID="2"> + <DirectInterest ID="3"> <Coowners> <Answer>Yes</Answer> - <Coowner ID="0"> + <Coowner ID="1"> <Address> <Street>123 Seasame Street </Street> <City>New York</City> @@ -1016,7 +994,7 @@ <ZipCode>10005</ZipCode> </Address> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>United States</Country> </Citizenship> </CountriesOfCitizenship> @@ -1044,10 +1022,56 @@ </DirectInterests> <IndirectInterests> <Answer>Yes</Answer> - <IndirectInterest ID="0"><ControllingParty><LegalName><Last>Hoyel</Last><First>bug</First></LegalName></ControllingParty><Coowners><Answer>Yes</Answer><Coowner ID="0"><Address><Street>123 Seasame Street </Street><City>New York</City><State>NY</State><ZipCode>10005</ZipCode></Address><CountriesOfCitizenship><Citizenship ID="0"><Country>Heard Island and McDonald Islands</Country></Citizenship></CountriesOfCitizenship><LegalName><Last>yellow</Last><First>royal</First><Middle>royale</Middle><Suffix>VII</Suffix></LegalName><Relationship>common</Relationship></Coowner><HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer></Coowners><Cost>8</Cost><CurrentValue>9</CurrentValue><DateAcquired><Month>01</Month><Day>01</Day><Year>1990</Year></DateAcquired><DateSold><Month>01</Month><Day>01</Day><Year>1999</Year></DateSold>> - - <HowAcquired>etc gift purchase</HowAcquired><Members Yourself="True" Spouse="True" DependentChildren="True"/><Relationship>yellow flag</Relationship><SoldExplanation>disposed of gross amount </SoldExplanation><TypeOfFinancialInterest>house</TypeOfFinancialInterest></IndirectInterest> <IndirectInterest ID="1"> + <ControllingParty> + <LegalName> + <Last>Hoyel</Last> + <First>bug</First> + </LegalName> + </ControllingParty> + <Coowners> + <Answer>Yes</Answer> + <Coowner ID="1"> + <Address> + <Street>123 Seasame Street </Street> + <City>New York</City> + <State>NY</State> + <ZipCode>10005</ZipCode> + </Address> + <CountriesOfCitizenship> + <Citizenship ID="1"> + <Country>Heard Island and McDonald Islands</Country> + </Citizenship> + </CountriesOfCitizenship> + <LegalName> + <Last>yellow</Last> + <First>royal</First> + <Middle>royale</Middle> + <Suffix>VII</Suffix> + </LegalName> + <Relationship>common</Relationship> + </Coowner> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </Coowners> + <Cost>8</Cost> + <CurrentValue>9</CurrentValue> + <DateAcquired> + <Month>01</Month> + <Day>01</Day> + <Year>1990</Year> + </DateAcquired> + <DateSold> + <Month>01</Month> + <Day>01</Day> + <Year>1999</Year> + </DateSold> + <HowAcquired>etc gift purchase</HowAcquired> + <Members Yourself="True" Spouse="True" DependentChildren="True"/> + <Relationship>yellow flag</Relationship> + <SoldExplanation>disposed of gross amount </SoldExplanation> + <TypeOfFinancialInterest>house</TypeOfFinancialInterest> + </IndirectInterest> + <IndirectInterest ID="2"> <ControllingParty> <LegalName> <Last>Hoyel</Last> @@ -1074,12 +1098,12 @@ </IndirectInterests> <RealEstateHoldings> <Answer>Yes</Answer> - <RealEstateHolding ID="0"> + <RealEstateHolding ID="1"> <Coowner> </Coowner> <Coowners> <Answer>Yes</Answer> - <Coowner ID="0"> + <Coowner ID="1"> <Address> <Street>800 New Street </Street> <City>New York</City> @@ -1087,7 +1111,7 @@ <ZipCode>10005</ZipCode> </Address> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>France</Country> </Citizenship> </CountriesOfCitizenship> @@ -1098,7 +1122,7 @@ </LegalName> <Relationship>pals</Relationship> </Coowner> - <Coowner ID="1"> + <Coowner ID="2"> <Address> <Street>89 E 42ND ST </Street> <City>NEW YORK</City> @@ -1106,7 +1130,7 @@ <ZipCode>10005</ZipCode> </Address> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>United States</Country> </Citizenship> </CountriesOfCitizenship> @@ -1136,7 +1160,7 @@ <Members Cohabitant="True"/> <Type>home</Type> </RealEstateHolding> - <RealEstateHolding ID="1"> + <RealEstateHolding ID="2"> <Coowner> </Coowner> <Coowners> @@ -1148,6 +1172,11 @@ <Day>12</Day> <Year>2000</Year> </DateAcquired> + <DateSold> + <Month>03</Month> + <Day>12</Day> + <Year>2000</Year> + </DateSold> <HowAcquired>gift</HowAcquired> <Location> <Address> @@ -1163,7 +1192,7 @@ </RealEstateHoldings> <ForeignFinancialBenefits> <Answer>Yes</Answer> - <ForeignFinancialBenefit ID="0"> + <ForeignFinancialBenefit ID="1"> <Members Yourself="True"/> <Country>France</Country> <DateReceived> @@ -1180,7 +1209,7 @@ <Type>Retirement</Type> <Value>5</Value> </ForeignFinancialBenefit> - <ForeignFinancialBenefit ID="1"> + <ForeignFinancialBenefit ID="2"> <Members DependentChildren="True"/> <Country>France</Country> <DateReceived> @@ -1200,7 +1229,7 @@ </ForeignFinancialBenefits> <ForeignNationalsSupported> <Answer>Yes</Answer> - <ForeignNationalSupported ID="0"> + <ForeignNationalSupported ID="1"> <Address> <Street>1600 pennsulvenia Ave </Street> <City>New York</City> @@ -1209,7 +1238,7 @@ </Address> <Amount>98999999</Amount> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>Hungary</Country> </Citizenship> </CountriesOfCitizenship> @@ -1222,7 +1251,7 @@ </LegalName> <Relationship>friends</Relationship> </ForeignNationalSupported> - <ForeignNationalSupported ID="1"> + <ForeignNationalSupported ID="2"> <Address> <Street>1600 pennsulvenia Ave </Street> <City>New York</City> @@ -1231,7 +1260,7 @@ </Address> <Amount>09876</Amount> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>Kazakhstan</Country> </Citizenship> </CountriesOfCitizenship> @@ -1254,7 +1283,7 @@ <SupportActivities> <Answer>Yes</Answer> <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> - <SupportActivity ID="0"> + <SupportActivity ID="1"> <Country>Chile</Country> <DateRange> <From> @@ -1280,7 +1309,7 @@ </LegalName> <Organization>Robert</Organization> </SupportActivity> - <SupportActivity ID="1"> + <SupportActivity ID="2"> <Country>Romania</Country> <DateRange> <From> @@ -1306,7 +1335,7 @@ </SupportActivities> <Consultancies> <Answer>Yes</Answer> - <Consultancy ID="0"> + <Consultancy ID="1"> <Agency> <Country>Gabon</Country> <Name>agency</Name> @@ -1323,7 +1352,7 @@ <Suffix>Sr</Suffix> </LegalName> </Consultancy> - <Consultancy ID="1"> + <Consultancy ID="2"> <Agency> <Country>Denmark</Country> <Name>agency2</Name> @@ -1340,7 +1369,7 @@ <Suffix>VII</Suffix> </LegalName> </Consultancy> - <Consultancy ID="2"> + <Consultancy ID="3"> <Agency> <Country>Haiti</Country> <Name>agency 5</Name> @@ -1364,7 +1393,7 @@ <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> </ForeignJobOffer> <ForeignJobOffers> - <ForeignJobOffer ID="0"> + <ForeignJobOffer ID="1"> <AcceptOffer> <Answer>Yes</Answer> <Explanation>seemed like a good idea</Explanation> @@ -1388,7 +1417,7 @@ </OfferorLegalName> <PositionDescription>its a good one</PositionDescription> </ForeignJobOffer> - <ForeignJobOffer ID="1"> + <ForeignJobOffer ID="2"> <AcceptOffer> <Answer>No</Answer> <Explanation>not good enough!</Explanation> @@ -1411,7 +1440,7 @@ </OfferorLegalName> <PositionDescription>offered</PositionDescription> </ForeignJobOffer> - <ForeignJobOffer ID="2"> + <ForeignJobOffer ID="3"> <AcceptOffer> <Answer>No</Answer> <Explanation>would you</Explanation> @@ -1441,7 +1470,7 @@ <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> </OtherForeignEmployment> <OtherForeignEmployments> - <OtherForeignEmployment ID="0"> + <OtherForeignEmployment ID="1"> <CompensationDescription>apples </CompensationDescription> <DateRange> <From> @@ -1465,7 +1494,7 @@ <ZipCode>10003</ZipCode> </Address> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>Yemen</Country> </Citizenship> </CountriesOfCitizenship> @@ -1480,7 +1509,7 @@ <Relationship>friends</Relationship> <ServiceProvided>guidance</ServiceProvided> </OtherForeignEmployment> - <OtherForeignEmployment ID="1"> + <OtherForeignEmployment ID="2"> <CompensationDescription>all of it </CompensationDescription> <DateRange> <From> @@ -1503,7 +1532,7 @@ <Country>Sweden</Country> </Address> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>Swaziland</Country> </Citizenship> </CountriesOfCitizenship> @@ -1521,7 +1550,7 @@ </OtherForeignEmployments> <Meetings> <Answer>Yes</Answer> - <Meeting ID="0"> + <Meeting ID="1"> <DateRange> <From> <Date> @@ -1547,19 +1576,19 @@ <Purpose>concert for bangladesh</Purpose> <SubsequentForeignContacts> <Answer>Yes</Answer> - <Contact ID="0"> + <Contact ID="1"> <Explanation>we did it twice</Explanation> </Contact> - <Contact ID="1"> + <Contact ID="2"> <Explanation>we got great press</Explanation> </Contact> - <Contact ID="2"> + <Contact ID="3"> <Explanation>got coffee in berlin</Explanation> </Contact> <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> </SubsequentForeignContacts> </Meeting> - <Meeting ID="1"> + <Meeting ID="2"> <DateRange> <From> <Date> @@ -1591,10 +1620,10 @@ </Meetings> <GovernmentContacts> <Answer>Yes</Answer> - <GovernmentContact ID="0"> + <GovernmentContact ID="1"> <Circumstances>it was for profit and fun </Circumstances> <CountriesInvolved> - <CountryInvolved ID="0"> + <CountryInvolved ID="1"> <Country>Bolivia</Country> </CountryInvolved> </CountriesInvolved> @@ -1621,10 +1650,10 @@ <Answer>No</Answer> </SubsequentForeignContacts> </GovernmentContact> - <GovernmentContact ID="1"> + <GovernmentContact ID="2"> <Circumstances>random </Circumstances> <CountriesInvolved> - <CountryInvolved ID="0"> + <CountryInvolved ID="1"> <Country>India</Country> </CountryInvolved> </CountriesInvolved> @@ -1646,17 +1675,27 @@ </Place> </Location> <SubsequentForeignContacts> - <Answer>No</Answer> + <Answer>Yes</Answer> + <Contact ID="1"> + <Date> + <Month>01</Month> + <Day>12</Day> + <Year>1990</Year> + </Date> + <FutureContactPlans>date</FutureContactPlans> + <Purpose>went to school together</Purpose> + </Contact> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> </SubsequentForeignContacts> </GovernmentContact> <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> </GovernmentContacts> <SponsoredVisits> <Answer>Yes</Answer> - <SponsoredVisit ID="0"> + <SponsoredVisit ID="1"> <AddressWhileInUS> <Address> - <Street>1600 pennsulvenia Ave </Street> + <Street>800 New Street </Street> <City>New York</City> <State>NY</State> <ZipCode>10005</ZipCode> @@ -1673,13 +1712,13 @@ </Place> </Birth> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>Iceland</Country> </Citizenship> </CountriesOfCitizenship> <CurrentAddress> <Address> - <Street>800 New Street </Street> + <Street>1600 pennsulvenia Ave </Street> <City>New York</City> <State>NY</State> <ZipCode>10005</ZipCode> @@ -1713,10 +1752,10 @@ <Purpose>hospital</Purpose> <SponsorshipPurpose>support</SponsorshipPurpose> </SponsoredVisit> - <SponsoredVisit ID="1"> + <SponsoredVisit ID="2"> <AddressWhileInUS> <Address> - <Street>800 New Street </Street> + <Street>123 Seasame Street </Street> <City>New York</City> <State>NY</State> <ZipCode>10005</ZipCode> @@ -1735,15 +1774,16 @@ </Place> </Birth> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>Kiribati</Country> </Citizenship> </CountriesOfCitizenship> <CurrentAddress> <Address> - <Street>123 Seasame Street </Street> + <Street>800 New Street </Street> <City>New York</City> - <Country>Jamaica</Country> + <State>NY</State> + <ZipCode>10005</ZipCode> </Address> </CurrentAddress> <DateRange> @@ -1779,7 +1819,7 @@ <Answer>Yes</Answer> </ForeignPoliticalOffice> <ForeignPoliticalOffices> - <ForeignPoliticalOffice ID="0"> + <ForeignPoliticalOffice ID="1"> <Country>Jan Mayen</Country> <CurrentEligibility>eligible</CurrentEligibility> <DateRange> @@ -1799,7 +1839,7 @@ <Position>king</Position> <Reason>activity</Reason> </ForeignPoliticalOffice> - <ForeignPoliticalOffice ID="1"> + <ForeignPoliticalOffice ID="2"> <Country>Lebanon</Country> <CurrentEligibility>not eligible</CurrentEligibility> <DateRange> @@ -1826,7 +1866,7 @@ <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> </VotedInForeignElection> <VotedInForeignElections> - <ForeignElection ID="0"> + <ForeignElection ID="1"> <Country>Nauru</Country> <CurrentVotingEligibility>on Thursdays</CurrentVotingEligibility> <Date> @@ -1835,7 +1875,7 @@ </Date> <Reason>elect the best</Reason> </ForeignElection> - <ForeignElection ID="1"> + <ForeignElection ID="2"> <Country>Macau</Country> <CurrentVotingEligibility>one a week</CurrentVotingEligibility> <Date> @@ -1847,7 +1887,7 @@ <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> </VotedInForeignElections> </ForeignBusinessActivities> - <ForeignTravels> + <ForeignTravels Version="1" Type="Pooled"> <CountriesVisited> <Answer>Yes</Answer> </CountriesVisited> @@ -1855,7 +1895,7 @@ <Answer>No</Answer> </SolelyForUSGovernment> <Travels> - <Travel ID="0"> + <Travel ID="1"> <ContactedByForeignMilitaryOrganization> <Answer>Yes</Answer> <Explanation>got a beer with them</Explanation> @@ -1901,7 +1941,7 @@ <Explanation>bribed</Explanation> </Threatened> </Travel> - <Travel ID="1"> + <Travel ID="2"> <ContactedByForeignMilitaryOrganization> <Answer>Yes</Answer> <Explanation>potato</Explanation> @@ -2139,6 +2179,7 @@ </Responses> </Request> </RequestInfo> + <DateSubmitted>2018-09-10</DateSubmitted> </SubmittedRequestInfo> <AgencyUsageBlock> <TypeOfInvestigation> diff --git a/api/testdata/complete-scenarios/test4.xml b/api/testdata/complete-scenarios/test4.xml index e4ec76efb..e9f334b97 100644 --- a/api/testdata/complete-scenarios/test4.xml +++ b/api/testdata/complete-scenarios/test4.xml @@ -8,11 +8,12 @@ <Version>2017-07</Version> </Form> <Applicant> - <Name>Daniel Craig McCallum</Name> <SSN>124993910</SSN> </Applicant> <Responses> + <AgencyInstructionsForApplicant/> <FormInstanceSpecific> + <AgencyInstructionsForApplicant/> <ESigCertificationResponses Version="1" Type="Pooled" LastSummaryID="201" LastDynamicListID="201"> <UserFinalizedCert> <Answer>Yes</Answer> @@ -24,6 +25,7 @@ <UserPreferences Version="1" Type="Pooled" LastSummaryID="201" LastDynamicListID="201"> <DisplayNavigation/> </UserPreferences> + <ValidationResponses Version="1" Type="FormInstanceSpecific"/> </FormInstanceSpecific> <Pooled> <IdentifyingInformation Type="Pooled" Version="1"> @@ -81,10 +83,10 @@ </Telephone> </HomeTelephone> </ContactInformation> - <PersonalReferences> + <PersonalReferences Version="1" Type="Pooled"> <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> <References> - <Reference ID="0"> + <Reference ID="1"> <Address> <Street>90 West St </Street> <City>New York</City> @@ -123,7 +125,7 @@ </Telephone> <Title NotApplicable="False">Brevet Colonel - +
9019 Main St St. Louis @@ -162,7 +164,7 @@ Commander - +
9013 Park Avenue New York @@ -203,11 +205,11 @@ - + No - + 09 @@ -220,7 +222,7 @@ - + United Kingdom @@ -246,7 +248,7 @@ 01Mother - + 09 @@ -259,7 +261,7 @@ - + United Kingdom @@ -284,9 +286,9 @@ NeverMarried - + - +
12 HENRY ST # 1A BROOKLYN @@ -329,15 +331,12 @@ - 9822843881 - - @@ -347,7 +346,7 @@ - + @@ -408,7 +407,7 @@ No - + No No @@ -417,7 +416,7 @@ Yes - + @@ -444,7 +443,7 @@ Yes - + 05 @@ -457,7 +456,7 @@ - + No @@ -482,7 +481,7 @@ 109201910 - + United Kingdom @@ -522,7 +521,7 @@ - + United Kingdom @@ -546,7 +545,7 @@ I'm proud of my Scottish roots - + Zimbabwe @@ -570,7 +569,7 @@ I've never been there and feel no affiliation to the country. - + China @@ -608,7 +607,7 @@ Yes - + Navy court Guantanamo Bay Cuba @@ -622,7 +621,7 @@ Cuba Captain's mast Guilty, obviously - + A scary building made of stones and gargoyles located in the mystical rainforests of Georgia @@ -640,7 +639,7 @@ Cuba Yes - + I worked as a consultant to the PLA's cybersecurity division working on offensive capabilities. PLA Unit 61398 China @@ -664,7 +663,7 @@ Cuba Computer scientist Yes - +
123 Main St Beijing @@ -690,7 +689,7 @@ Cuba Hacker in chief - +
Kashyyyk Kashyyyk Kashyyyk @@ -724,7 +723,7 @@ Cuba Yes - + Army @@ -751,7 +750,7 @@ Cuba Honorable - + CoastGuard @@ -785,7 +784,7 @@ Cuba the war ended - + Navy @@ -876,7 +875,7 @@ Cuba - + No @@ -904,9 +903,9 @@ Cuba Yes - + - + United States @@ -923,7 +922,7 @@ Cuba - + Saint Barthelemy @@ -972,7 +971,7 @@ Cuba Yes - + 09 @@ -1046,7 +1045,7 @@ Cuba - + No @@ -1149,7 +1148,7 @@ Cuba Yes - + No one caught me!!!! AHHHH HAHAHAHAHA
20 20th St @@ -1163,7 +1162,7 @@ Cuba One time I threw a SQL injection prompt into my local baker's invoicing system so I could drop all my outstanding charges for double mocha frappachinos - + Welllll so the catfisher figured out my phishing technique and called the local sheriff who found me hiding in the bathroom of an internet cafe.
124 Creepwalk @@ -1183,7 +1182,7 @@ Cuba Yes - + Look it was a program that went wild. We were trying to get more votes for Boaty McBoatface to help support our friends in the UK.
7 Grace Hopper Ave. @@ -1197,7 +1196,7 @@ Cuba Raised a botnet to vote for Boaty McBoatface on US government computers - + DOD was like, hey we wont' charge you, you're on our team now buddy.
2901 Ridge St @@ -1217,7 +1216,7 @@ Cuba Yes - + The hotel manager took pity on me because it was, in fact, our honey moon, and didn't call the cops.
91 Beach St @@ -1230,7 +1229,7 @@ Cuba I was on vacation and decided that I wanted an extra night free so I went behind the counter at the hotel and comp'ed myself. - + The catfisher came back this time and I was fed up with it. So I went to their house and accessed their computer without their knowledge and proceeded to delete their OS so they could stop tricking me into talking to them.
145 Main St @@ -1326,6 +1325,7 @@ Cuba + 2018-09-10 diff --git a/api/testdata/complete-scenarios/test5.json b/api/testdata/complete-scenarios/test5.json new file mode 100644 index 000000000..93c5e845e --- /dev/null +++ b/api/testdata/complete-scenarios/test5.json @@ -0,0 +1,20618 @@ +{ + "Citizenship": { + "Comments": { + "type": "citizenship.comments", + "props": { + "Comments": { + "type": "text", + "props": { + "value": "" + } + } + } + }, + "Multiple": { + "type": "citizenship.multiple", + "props": { + "HasMultiple": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Country": { + "type": "country", + "props": { + "value": [ + "Canada" + ] + } + }, + "Current": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "CurrentExplanation": { + "type": "textarea", + "props": { + "value": "Haven't heard back from them." + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "2007", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "02", + "year": "2008", + "estimated": false + } + }, + "present": false + } + }, + "How": { + "type": "textarea", + "props": { + "value": "Special dispensation" + } + }, + "Renounced": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "RenouncedExplanation": { + "type": "textarea", + "props": { + "value": "Filled out a form, paid a fee." + } + } + } + }, + { + "Item": { + "Country": { + "type": "country", + "props": { + "value": [ + "Mexico" + ] + } + }, + "Current": { + "type": "branch", + "props": { + "value": "" + } + }, + "CurrentExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "09", + "day": "01", + "year": "2010", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "8", + "day": "15", + "year": "2018", + "estimated": false + } + }, + "present": true + } + }, + "How": { + "type": "textarea", + "props": { + "value": "Special order by Mexican government" + } + }, + "Renounced": { + "type": "branch", + "props": { + "value": "No" + } + }, + "RenouncedExplanation": { + "type": "textarea", + "props": { + "value": "Nah didn't want to" + } + } + } + } + ] + } + } + } + }, + "Passports": { + "type": "citizenship.passports", + "props": { + "Passports": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Countries": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Country": { + "type": "country", + "props": { + "value": [ + "Cuba" + ] + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "2008", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "02", + "year": "2008", + "estimated": false + } + }, + "present": false + } + } + } + }, + { + "Item": { + "Country": { + "type": "country", + "props": { + "value": [ + "North Korea" + ] + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "03", + "year": "2007", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "04", + "year": "2007", + "estimated": false + } + }, + "present": false + } + } + } + } + ] + } + }, + "Country": { + "type": "country", + "props": { + "value": [ + "Canada" + ] + } + }, + "Expiration": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "2009", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Issued": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "2007", + "estimated": true + } + }, + "Location": { + "type": "location", + "props": { + "layout": "City, Country", + "city": "Victoria", + "country": "Canada" + } + }, + "Name": { + "type": "name", + "props": { + "first": "John", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Smith", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Number": { + "type": "text", + "props": { + "value": "1233043" + } + }, + "Used": { + "type": "branch", + "props": { + "value": "Yes" + } + } + } + }, + { + "Item": { + "Countries": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Country": { + "type": "country", + "props": { + "value": [ + "Iran" + ] + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "01", + "year": "2009", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "06", + "day": "01", + "year": "2009", + "estimated": true + } + }, + "present": false + } + } + } + }, + { + "Item": { + "Country": { + "type": "country", + "props": { + "value": [ + "Jordan" + ] + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "09", + "day": "01", + "year": "2008", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "09", + "day": "02", + "year": "2008", + "estimated": false + } + }, + "present": false + } + } + } + } + ] + } + }, + "Country": { + "type": "country", + "props": { + "value": [ + "Mexico" + ] + } + }, + "Expiration": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "03", + "year": "2009", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Issued": { + "type": "datecontrol", + "props": { + "month": "09", + "day": "01", + "year": "2008", + "estimated": true + } + }, + "Location": { + "type": "location", + "props": { + "layout": "City, Country", + "city": "Monterrey", + "country": "Mexico" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Juan", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Smith", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Number": { + "type": "text", + "props": { + "value": "9934023" + } + }, + "Used": { + "type": "branch", + "props": { + "value": "Yes" + } + } + } + }, + { + "Item": { + "Countries": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [] + } + }, + "Country": { + "type": "country", + "props": { + "value": null + } + }, + "Expiration": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Issued": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Location": { + "type": "location", + "props": { + "layout": "" + } + }, + "Name": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Number": { + "type": "text", + "props": { + "value": "" + } + }, + "Used": { + "type": "branch", + "props": { + "value": "" + } + } + } + } + ] + } + } + } + }, + "Status": { + "type": "citizenship.status", + "props": { + "CitizenshipStatus": { + "type": "radio", + "props": { + "value": "Citizen", + "checked": true + } + }, + "AbroadDocumentation": { + "type": "radio", + "props": { + "value": "" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "DocumentNumber": { + "type": "text", + "props": { + "value": "" + } + }, + "DocumentIssued": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "DocumentName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "DocumentExpiration": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "DocumentType": { + "type": "radio", + "props": { + "value": "" + } + }, + "PlaceIssued": { + "type": "location", + "props": { + "layout": "" + } + }, + "CertificateNumber": { + "type": "text", + "props": { + "value": "" + } + }, + "CertificateIssued": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "CertificateName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "CertificateCourtName": { + "type": "text", + "props": { + "value": "" + } + }, + "CertificateCourtAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "BornOnMilitaryInstallation": { + "type": "branch", + "props": { + "value": "" + } + }, + "MilitaryBase": { + "type": "text", + "props": { + "value": "" + } + }, + "EntryDate": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "EntryLocation": { + "type": "location", + "props": { + "layout": "" + } + }, + "PriorCitizenship": { + "type": "country", + "props": { + "value": null + } + }, + "HasAlienRegistration": { + "type": "branch", + "props": { + "value": "" + } + }, + "AlienRegistrationNumber": { + "type": "text", + "props": { + "value": "" + } + }, + "AlienRegistrationExpiration": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Basis": { + "type": "radio", + "props": { + "value": "" + } + }, + "PermanentResidentCardNumber": { + "type": "text", + "props": { + "value": "" + } + }, + "ResidenceStatus": { + "type": "text", + "props": { + "value": "" + } + } + } + } + }, + "Financial": { + "Bankruptcy": { + "type": "financial.bankruptcy", + "props": { + "HasBankruptcy": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "CourtAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "313 Judge St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "CourtInvolved": { + "type": "text", + "props": { + "value": "Monterey" + } + }, + "CourtNumber": { + "type": "text", + "props": { + "value": "3912" + } + }, + "DateDischarged": { + "type": "datecontrol", + "props": { + "month": "06", + "day": "1", + "year": "2012", + "estimated": false + } + }, + "DateDischargedNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "DateFiled": { + "type": "datecontrol", + "props": { + "month": "04", + "day": "1", + "year": "2012", + "estimated": false + } + }, + "DischargeExplanation": { + "type": "textarea", + "props": { + "value": "I was discharged" + } + }, + "HasDischargeExplanation": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "NameDebt": { + "type": "name", + "props": { + "first": "Kirk", + "firstInitialOnly": false, + "middle": "Enzo", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "Picard", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "PetitionType": { + "type": "radio", + "props": { + "value": "Chapter7", + "checked": true + } + }, + "TotalAmount": { + "type": "number", + "props": { + "value": "9031" + } + }, + "Trustee": { + "type": "text", + "props": { + "value": "" + } + }, + "TrusteeAddress": { + "type": "location", + "props": { + "layout": "" + } + } + } + }, + { + "Item": { + "CourtAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "313 Judge Circle", + "city": "Salinas", + "state": "CA", + "zipcode": "93901", + "country": "United States" + } + }, + "CourtInvolved": { + "type": "text", + "props": { + "value": "Salinas" + } + }, + "CourtNumber": { + "type": "text", + "props": { + "value": "903" + } + }, + "DateDischarged": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "1", + "year": "2017", + "estimated": false + } + }, + "DateDischargedNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "DateFiled": { + "type": "datecontrol", + "props": { + "month": "04", + "day": "1", + "year": "2017", + "estimated": false + } + }, + "DischargeExplanation": { + "type": "textarea", + "props": { + "value": "100% discharged" + } + }, + "HasDischargeExplanation": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "NameDebt": { + "type": "name", + "props": { + "first": "Kirk", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Picard", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "PetitionType": { + "type": "radio", + "props": { + "value": "Chapter11", + "checked": true + } + }, + "TotalAmount": { + "type": "number", + "props": { + "value": "1000" + } + }, + "Trustee": { + "type": "text", + "props": { + "value": "" + } + }, + "TrusteeAddress": { + "type": "location", + "props": { + "layout": "" + } + } + } + } + ] + } + } + } + }, + "Card": { + "type": "financial.card", + "props": { + "HasCardAbuse": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "1800 F Street", + "city": "Washington", + "state": "DC", + "zipcode": "20405", + "country": "United States" + } + }, + "Agency": { + "type": "text", + "props": { + "value": "General Services Administration" + } + }, + "Amount": { + "type": "number", + "props": { + "value": "20" + } + }, + "AmountEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "1", + "year": "2014", + "estimated": false + } + }, + "Description": { + "type": "textarea", + "props": { + "value": "Tried harder" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "I used CC for lunch" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "313 Canyon Del Rey", + "city": "Del Rey Oaks", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Agency": { + "type": "text", + "props": { + "value": "Safeway" + } + }, + "Amount": { + "type": "number", + "props": { + "value": "30" + } + }, + "AmountEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "1", + "year": "2016", + "estimated": false + } + }, + "Description": { + "type": "textarea", + "props": { + "value": "I really tried harder" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "I spent money I shouldn't have" + } + } + } + } + ] + } + } + } + }, + "Comments": { + "type": "financial.comments", + "props": { + "Comments": { + "type": "text", + "props": { + "value": "" + } + } + } + }, + "Credit": { + "type": "financial.credit", + "props": { + "HasCreditCounseling": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Description": { + "type": "textarea", + "props": { + "value": "No action" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "Explanation 1" + } + }, + "Location": { + "type": "location", + "props": { + "layout": "City, State", + "city": "Monterey", + "state": "CA" + } + }, + "Name": { + "type": "text", + "props": { + "value": "Counseling R Us" + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "8313213234", + "extension": "", + "noNumber": false + } + } + } + }, + { + "Item": { + "Description": { + "type": "textarea", + "props": { + "value": "No action 2" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "Explanation 2" + } + }, + "Location": { + "type": "location", + "props": { + "layout": "City, State", + "city": "Salinas", + "state": "CA" + } + }, + "Name": { + "type": "text", + "props": { + "value": "Credit 2 The Max" + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "5552133123", + "extension": "", + "noNumber": false + } + } + } + } + ] + } + } + } + }, + "Delinquent": { + "type": "financial.delinquent", + "props": { + "HasDelinquent": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "AccountNumber": { + "type": "text", + "props": { + "value": "343213" + } + }, + "Amount": { + "type": "number", + "props": { + "value": "55" + } + }, + "AmountEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + }, + "CourtAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "323 7th St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "Video court" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "1", + "year": "2017", + "estimated": false + } + }, + "Description": { + "type": "textarea", + "props": { + "value": "No action." + } + }, + "Infractions": { + "type": "checkboxgroup", + "props": { + "values": [ + "Judgement" + ] + } + }, + "Name": { + "type": "text", + "props": { + "value": "Blockbuster" + } + }, + "PropertyType": { + "type": "text", + "props": { + "value": "VHS tapes" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "Didn't return videos before the store closed down." + } + }, + "Resolved": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "1", + "year": "2018", + "estimated": false + } + }, + "ResolvedNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Status": { + "type": "text", + "props": { + "value": "Resolved" + } + } + } + }, + { + "Item": { + "AccountNumber": { + "type": "text", + "props": { + "value": "32393a" + } + }, + "Amount": { + "type": "number", + "props": { + "value": "9999" + } + }, + "AmountEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + }, + "CourtAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "389 5th Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "EPA Court" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "1", + "year": "2018", + "estimated": false + } + }, + "Description": { + "type": "textarea", + "props": { + "value": "No action for this one." + } + }, + "Infractions": { + "type": "checkboxgroup", + "props": { + "values": [ + "Federal" + ] + } + }, + "Name": { + "type": "text", + "props": { + "value": "EPA" + } + }, + "PropertyType": { + "type": "text", + "props": { + "value": "Fine" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "Was fined for my power plant." + } + }, + "Resolved": { + "type": "datecontrol", + "props": { + "month": "04", + "day": "1", + "year": "2018", + "estimated": false + } + }, + "ResolvedNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Status": { + "type": "text", + "props": { + "value": "Resolved" + } + } + } + } + ] + } + } + } + }, + "Gambling": { + "type": "financial.gambling", + "props": { + "HasGamblingDebt": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Actions": { + "type": "textarea", + "props": { + "value": "I did not take any action" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "2", + "year": "2013", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "02", + "day": "03", + "year": "2013", + "estimated": false + } + }, + "present": false + } + }, + "Description": { + "type": "textarea", + "props": { + "value": "Moderate financial problems" + } + }, + "Losses": { + "type": "number", + "props": { + "value": "500" + } + } + } + }, + { + "Item": { + "Actions": { + "type": "textarea", + "props": { + "value": "No action." + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "11", + "day": "12", + "year": "2017", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "12", + "day": "12", + "year": "2017", + "estimated": false + } + }, + "present": false + } + }, + "Description": { + "type": "textarea", + "props": { + "value": "Slight financial problems" + } + }, + "Losses": { + "type": "number", + "props": { + "value": "9999" + } + } + } + } + ] + } + } + } + }, + "Nonpayment": { + "type": "financial.nonpayment", + "props": { + "HasNonpayment": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "AccountNumber": { + "type": "text", + "props": { + "value": "329333" + } + }, + "Amount": { + "type": "number", + "props": { + "value": "9000" + } + }, + "AmountEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "04", + "day": "1", + "year": "2018", + "estimated": false + } + }, + "Description": { + "type": "textarea", + "props": { + "value": "No action taken." + } + }, + "Infractions": { + "type": "checkboxgroup", + "props": { + "values": [ + "Collections" + ] + } + }, + "Name": { + "type": "text", + "props": { + "value": "James Stewart" + } + }, + "PropertyType": { + "type": "text", + "props": { + "value": "Car" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "Didn't pay what I promised" + } + }, + "Resolved": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "1", + "year": "2018", + "estimated": false + } + }, + "ResolvedNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Status": { + "type": "text", + "props": { + "value": "Resolved" + } + } + } + }, + { + "Item": { + "AccountNumber": { + "type": "text", + "props": { + "value": "3930923" + } + }, + "Amount": { + "type": "number", + "props": { + "value": "10000" + } + }, + "AmountEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "06", + "day": "1", + "year": "2018", + "estimated": false + } + }, + "Description": { + "type": "textarea", + "props": { + "value": "No action taken as of today." + } + }, + "Infractions": { + "type": "checkboxgroup", + "props": { + "values": [ + "Repossession" + ] + } + }, + "Name": { + "type": "text", + "props": { + "value": "Huxley Inc." + } + }, + "PropertyType": { + "type": "text", + "props": { + "value": "Vehicle" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "Didn't pay" + } + }, + "Resolved": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "ResolvedNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "Status": { + "type": "text", + "props": { + "value": "Outstanding" + } + } + } + } + ] + } + } + } + }, + "Taxes": { + "type": "financial.taxes", + "props": { + "HasTaxes": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Agency": { + "type": "text", + "props": { + "value": "IRS" + } + }, + "Amount": { + "type": "number", + "props": { + "value": "9910" + } + }, + "AmountEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "1", + "year": "", + "estimated": false + } + }, + "DateNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "Description": { + "type": "textarea", + "props": { + "value": "Have not tried." + } + }, + "Failure": { + "type": "radio", + "props": { + "value": "File" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "Lost track of time" + } + }, + "TaxType": { + "type": "text", + "props": { + "value": "Income" + } + }, + "Year": { + "type": "number", + "props": { + "value": "2012" + } + }, + "YearEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + } + } + }, + { + "Item": { + "Agency": { + "type": "text", + "props": { + "value": "Board of Equalization" + } + }, + "Amount": { + "type": "number", + "props": { + "value": "90313" + } + }, + "AmountEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "1", + "year": "2014", + "estimated": false + } + }, + "DateNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Description": { + "type": "textarea", + "props": { + "value": "Multiple payments" + } + }, + "Failure": { + "type": "radio", + "props": { + "value": "Both" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "Was injured." + } + }, + "TaxType": { + "type": "text", + "props": { + "value": "Sales" + } + }, + "Year": { + "type": "number", + "props": { + "value": "2013" + } + }, + "YearEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + } + } + } + ] + } + } + } + } + }, + "Foreign": { + "Advice": { + "type": "foreign.business.advice", + "props": { + "HasForeignAdvice": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Compensation": { + "type": "textarea", + "props": { + "value": "Free walkman" + } + }, + "Country": { + "type": "country", + "props": { + "value": [ + "Japan" + ] + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "03", + "year": "2018", + "estimated": false + } + }, + "present": false + } + }, + "Description": { + "type": "text", + "props": { + "value": "How to replace a fence post" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Alfonso", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Gregor", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Organization": { + "type": "text", + "props": { + "value": "Sony" + } + } + } + }, + { + "Item": { + "Compensation": { + "type": "textarea", + "props": { + "value": "Free keychain" + } + }, + "Country": { + "type": "country", + "props": { + "value": [ + "Germany" + ] + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "2017", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "02", + "day": "02", + "year": "2017", + "estimated": false + } + }, + "present": false + } + }, + "Description": { + "type": "text", + "props": { + "value": "How to paint a retaining wall" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Marcus", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Diesfund", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Organization": { + "type": "text", + "props": { + "value": "BMW" + } + } + } + } + ] + } + } + } + }, + "BenefitActivity": { + "type": "foreign.activities.benefits", + "props": { + "HasBenefits": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "BenefitFrequency": { + "type": "radio", + "props": { + "value": "OneTime", + "checked": true + } + }, + "BenefitType": { + "type": "radio", + "props": { + "value": "Educational", + "checked": true + } + }, + "ContinuingBenefit": { + "type": "benefit", + "props": { + "Began": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "End": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Frequency": { + "type": "radio", + "props": { + "value": "" + } + }, + "OtherFrequency": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Received": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Country": { + "type": "country", + "props": { + "value": null + } + }, + "Value": { + "type": "number", + "props": { + "value": "" + } + }, + "ValueEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Obligated": { + "type": "branch", + "props": { + "value": "" + } + }, + "ObligatedExplanation": { + "type": "textarea", + "props": { + "value": "" + } + } + } + }, + "FutureBenefit": { + "type": "benefit", + "props": { + "Began": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "End": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Frequency": { + "type": "radio", + "props": { + "value": "" + } + }, + "OtherFrequency": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Received": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Country": { + "type": "country", + "props": { + "value": null + } + }, + "Value": { + "type": "number", + "props": { + "value": "" + } + }, + "ValueEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Obligated": { + "type": "branch", + "props": { + "value": "" + } + }, + "ObligatedExplanation": { + "type": "textarea", + "props": { + "value": "" + } + } + } + }, + "InterestTypes": { + "type": "checkboxgroup", + "props": { + "values": [ + "Spouse", + "Yourself" + ] + } + }, + "OneTimeBenefit": { + "type": "benefit", + "props": { + "Began": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "End": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Frequency": { + "type": "radio", + "props": { + "value": "" + } + }, + "OtherFrequency": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Received": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "Country": { + "type": "country", + "props": { + "value": [ + "Canada" + ] + } + }, + "Value": { + "type": "number", + "props": { + "value": "900" + } + }, + "ValueEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "Kindness" + } + }, + "Obligated": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "ObligatedExplanation": { + "type": "textarea", + "props": { + "value": "Have to say only good things" + } + } + } + }, + "OtherBenefit": { + "type": "textarea", + "props": { + "value": "" + } + }, + "OtherBenefitType": { + "type": "textarea", + "props": { + "value": "" + } + } + } + }, + { + "Item": { + "BenefitFrequency": { + "type": "radio", + "props": { + "value": "OneTime", + "checked": true + } + }, + "BenefitType": { + "type": "radio", + "props": { + "value": "Medical", + "checked": true + } + }, + "ContinuingBenefit": { + "type": "benefit", + "props": { + "Began": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "End": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Frequency": { + "type": "radio", + "props": { + "value": "" + } + }, + "OtherFrequency": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Received": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Country": { + "type": "country", + "props": { + "value": null + } + }, + "Value": { + "type": "number", + "props": { + "value": "" + } + }, + "ValueEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Obligated": { + "type": "branch", + "props": { + "value": "" + } + }, + "ObligatedExplanation": { + "type": "textarea", + "props": { + "value": "" + } + } + } + }, + "FutureBenefit": { + "type": "benefit", + "props": { + "Began": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "End": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Frequency": { + "type": "radio", + "props": { + "value": "" + } + }, + "OtherFrequency": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Received": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Country": { + "type": "country", + "props": { + "value": null + } + }, + "Value": { + "type": "number", + "props": { + "value": "" + } + }, + "ValueEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Obligated": { + "type": "branch", + "props": { + "value": "" + } + }, + "ObligatedExplanation": { + "type": "textarea", + "props": { + "value": "" + } + } + } + }, + "InterestTypes": { + "type": "checkboxgroup", + "props": { + "values": [ + "Cohabitant" + ] + } + }, + "OneTimeBenefit": { + "type": "benefit", + "props": { + "Began": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "End": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Frequency": { + "type": "radio", + "props": { + "value": "" + } + }, + "OtherFrequency": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Received": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "Country": { + "type": "country", + "props": { + "value": [ + "Canada" + ] + } + }, + "Value": { + "type": "number", + "props": { + "value": "10000" + } + }, + "ValueEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "Had medical emergency" + } + }, + "Obligated": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "ObligatedExplanation": { + "type": "textarea", + "props": { + "value": "Have to say good things" + } + } + } + }, + "OtherBenefit": { + "type": "textarea", + "props": { + "value": "" + } + }, + "OtherBenefitType": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + } + } + }, + "Comments": { + "type": "foreign.comments", + "props": { + "Comments": { + "type": "text", + "props": { + "value": "" + } + } + } + }, + "Conferences": { + "type": "foreign.business.conferences", + "props": { + "HasForeignConferences": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "City": { + "type": "text", + "props": { + "value": "Ottawa" + } + }, + "Contacts": { + "type": "contacts", + "props": { + "List": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Explanation": { + "type": "textarea", + "props": { + "value": "I met Joe Brown, researcher at University of Waterloo. " + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + } + } + }, + { + "Item": { + "Explanation": { + "type": "textarea", + "props": { + "value": "I met Cindy Hartnell, researcher at UVic." + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + } + } + }, + { + "Item": { + "Explanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + } + } + } + ] + } + } + } + }, + "Country": { + "type": "country", + "props": { + "value": [ + "Canada" + ] + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "01", + "year": "2017", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "04", + "year": "2017", + "estimated": false + } + }, + "present": false + } + }, + "Description": { + "type": "textarea", + "props": { + "value": "Integrated Circuits 2017" + } + }, + "Purpose": { + "type": "textarea", + "props": { + "value": "Exchange of ideas" + } + }, + "Sponsor": { + "type": "text", + "props": { + "value": "IEEE" + } + } + } + }, + { + "Item": { + "City": { + "type": "text", + "props": { + "value": "London" + } + }, + "Contacts": { + "type": "contacts", + "props": { + "List": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Explanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + } + } + } + ] + } + } + } + }, + "Country": { + "type": "country", + "props": { + "value": [ + "United Kingdom" + ] + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "02", + "year": "2016", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "07", + "year": "2016", + "estimated": false + } + }, + "present": false + } + }, + "Description": { + "type": "textarea", + "props": { + "value": "Secure Software 2016" + } + }, + "Purpose": { + "type": "textarea", + "props": { + "value": "Exchange of ideas" + } + }, + "Sponsor": { + "type": "text", + "props": { + "value": "ACM" + } + } + } + } + ] + } + } + } + }, + "Contact": { + "type": "foreign.business.contact", + "props": { + "HasForeignContact": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "04", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "Establishment": { + "type": "textarea", + "props": { + "value": "Embassy" + } + }, + "Governments": { + "type": "country", + "props": { + "value": [ + "Canada" + ] + } + }, + "Location": { + "type": "location", + "props": { + "layout": "US City, State, Zipcode International city", + "city": "Del Rey Oaks", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Joanne", + "firstInitialOnly": false, + "middle": "Mary", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "Roderick", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Purpose": { + "type": "textarea", + "props": { + "value": "Just chatting" + } + }, + "Representatives": { + "type": "textarea", + "props": { + "value": "Roger Wilco" + } + }, + "SubsequentContacts": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Future": { + "type": "text", + "props": { + "value": "Weekly" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Recent": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "Subsequent": { + "type": "text", + "props": { + "value": "More chatting" + } + } + } + }, + { + "Item": { + "Future": { + "type": "text", + "props": { + "value": "Weekly" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Recent": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "20", + "year": "2018", + "estimated": false + } + }, + "Subsequent": { + "type": "text", + "props": { + "value": "Exchange notes" + } + } + } + }, + { + "Item": { + "Future": { + "type": "text", + "props": { + "value": "" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Recent": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Subsequent": { + "type": "text", + "props": { + "value": "" + } + } + } + } + ] + } + } + } + }, + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "01", + "year": "2017", + "estimated": false + } + }, + "Establishment": { + "type": "textarea", + "props": { + "value": "Embassy" + } + }, + "Governments": { + "type": "country", + "props": { + "value": [ + "Mexico" + ] + } + }, + "Location": { + "type": "location", + "props": { + "layout": "US City, State, Zipcode International city", + "city": "Vancouver", + "country": "Canada" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Joanne", + "firstInitialOnly": false, + "middle": "Mary", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "Roderick", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Purpose": { + "type": "textarea", + "props": { + "value": "Just to discuss tariffs." + } + }, + "Representatives": { + "type": "textarea", + "props": { + "value": "Jose Sanchez" + } + }, + "SubsequentContacts": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Future": { + "type": "text", + "props": { + "value": "" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Recent": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Subsequent": { + "type": "text", + "props": { + "value": "" + } + } + } + } + ] + } + } + } + } + ] + } + } + } + }, + "Contacts": { + "type": "foreign.contacts", + "props": { + "HasForeignContacts": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "" + } + }, + "AddressNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "Affiliations": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Aliases": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Alias": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + } + } + } + ] + } + }, + "Birthdate": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "BirthdateNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "Birthplace": { + "type": "location", + "props": { + "layout": "City, Country" + } + }, + "BirthplaceNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "Citizenship": { + "type": "country", + "props": { + "value": [ + "Greece" + ] + } + }, + "Employer": { + "type": "text", + "props": { + "value": "7-11" + } + }, + "EmployerAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "13 Freemont St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "EmployerAddressNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "EmployerNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "FirstContact": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "2010", + "estimated": false + } + }, + "Frequency": { + "type": "radio", + "props": { + "value": "Daily", + "checked": true + } + }, + "FrequencyExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "HasAffiliations": { + "type": "branch", + "props": { + "value": "I don't know" + } + }, + "LastContact": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "2015", + "estimated": false + } + }, + "Methods": { + "type": "checkboxgroup", + "props": { + "values": [ + "In person" + ] + } + }, + "MethodsExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Kosta", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Grecco", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "NameExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "NameNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Relationship": { + "type": "checkboxgroup", + "props": { + "values": [ + "Professional" + ] + } + }, + "RelationshipExplanation": { + "type": "textarea", + "props": { + "value": "" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "13432 blanc Ave", + "city": "Paris", + "country": "France" + } + }, + "AddressNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Affiliations": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Aliases": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Alias": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + } + } + } + ] + } + }, + "Birthdate": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "1950", + "estimated": false + } + }, + "BirthdateNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Birthplace": { + "type": "location", + "props": { + "layout": "City, Country", + "city": "Paris", + "country": "France" + } + }, + "BirthplaceNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Citizenship": { + "type": "country", + "props": { + "value": [ + "France" + ] + } + }, + "Employer": { + "type": "text", + "props": { + "value": "Pizza Hut" + } + }, + "EmployerAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "32342 Croissant Ave", + "city": "Paris", + "country": "France" + } + }, + "EmployerAddressNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "EmployerNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "FirstContact": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "2010", + "estimated": false + } + }, + "Frequency": { + "type": "radio", + "props": { + "value": "Daily", + "checked": true + } + }, + "FrequencyExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "HasAffiliations": { + "type": "branch", + "props": { + "value": "No" + } + }, + "LastContact": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "Methods": { + "type": "checkboxgroup", + "props": { + "values": [ + "In person", + "Electronic" + ] + } + }, + "MethodsExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Pierre", + "firstInitialOnly": false, + "middle": "Frances", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "Busshard", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "NameExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "NameNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Relationship": { + "type": "checkboxgroup", + "props": { + "values": [ + "Personal" + ] + } + }, + "RelationshipExplanation": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + } + } + }, + "DirectActivity": { + "type": "foreign.activities.direct", + "props": { + "HasInterests": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Acquired": { + "type": "datecontrol", + "props": { + "month": "07", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "CoOwners": { + "type": "coowners", + "props": { + "List": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "89 1st St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Countries": { + "type": "country", + "props": { + "value": [ + "United States" + ] + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Rex", + "firstInitialOnly": false, + "middle": "Tim", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "Umbro", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "RelationshipNature": { + "type": "textarea", + "props": { + "value": "Friend" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "903 4th St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Countries": { + "type": "country", + "props": { + "value": [ + "United States" + ] + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Jane", + "firstInitialOnly": false, + "middle": "Margaret", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "Cho", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "RelationshipNature": { + "type": "textarea", + "props": { + "value": "Friend" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "" + } + }, + "Countries": { + "type": "country", + "props": { + "value": null + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Name": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "RelationshipNature": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + } + } + }, + "Cost": { + "type": "number", + "props": { + "value": "500" + } + }, + "CostEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "HowAcquired": { + "type": "textarea", + "props": { + "value": "Purchase" + } + }, + "InterestType": { + "type": "text", + "props": { + "value": "stocks" + } + }, + "InterestTypes": { + "type": "checkboxgroup", + "props": { + "values": [ + "Yourself" + ] + } + }, + "Relinquished": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "RelinquishedNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "Value": { + "type": "number", + "props": { + "value": "501" + } + }, + "ValueEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + } + } + }, + { + "Item": { + "Acquired": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "CoOwners": { + "type": "coowners", + "props": { + "List": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "" + } + }, + "Countries": { + "type": "country", + "props": { + "value": null + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Name": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "RelationshipNature": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + } + } + }, + "Cost": { + "type": "number", + "props": { + "value": "1000" + } + }, + "CostEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "HowAcquired": { + "type": "textarea", + "props": { + "value": "purchase" + } + }, + "InterestType": { + "type": "text", + "props": { + "value": "investments" + } + }, + "InterestTypes": { + "type": "checkboxgroup", + "props": { + "values": [ + "Yourself" + ] + } + }, + "Relinquished": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "RelinquishedNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "Value": { + "type": "number", + "props": { + "value": "1001" + } + }, + "ValueEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + } + } + } + ] + } + } + } + }, + "Employment": { + "type": "foreign.business.employment", + "props": { + "HasForeignEmployment": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Accepted": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Address": { + "type": "location", + "props": { + "layout": "US City, State, Zipcode International city", + "city": "San Jose", + "state": "CA", + "zipcode": "95002", + "country": "United States" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "06", + "day": "10", + "year": "2018", + "estimated": false + } + }, + "Description": { + "type": "textarea", + "props": { + "value": "Child care provider" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "Sounded like a great opportunity" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Umbe", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Sohoto", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + } + } + }, + { + "Item": { + "Accepted": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Address": { + "type": "location", + "props": { + "layout": "US City, State, Zipcode International city", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "Description": { + "type": "textarea", + "props": { + "value": "Golf cart maintenance technican" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "Always wanted to fix golf carts." + } + }, + "Name": { + "type": "name", + "props": { + "first": "Billy", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Madison", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + } + } + } + ] + } + } + } + }, + "Family": { + "type": "foreign.business.family", + "props": { + "HasForeignFamily": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Agency": { + "type": "text", + "props": { + "value": "Ministry of Magic" + } + }, + "Circumstances": { + "type": "textarea", + "props": { + "value": "There was trouble and they needed help" + } + }, + "Country": { + "type": "country", + "props": { + "value": [ + "United Kingdom" + ] + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "05", + "year": "2017", + "estimated": false + } + }, + "Name": { + "type": "name", + "props": { + "first": "William", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Wallace", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + } + } + }, + { + "Item": { + "Agency": { + "type": "text", + "props": { + "value": "Department of Sanitation" + } + }, + "Circumstances": { + "type": "textarea", + "props": { + "value": "There was a garbage strike and asked for my help to clean up the streets." + } + }, + "Country": { + "type": "country", + "props": { + "value": [ + "Italy" + ] + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "01", + "year": "2017", + "estimated": false + } + }, + "Name": { + "type": "name", + "props": { + "first": "Tony", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Romero", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + } + } + } + ] + } + } + } + }, + "IndirectActivity": { + "type": "foreign.activities.indirect", + "props": { + "HasInterests": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Acquired": { + "type": "datecontrol", + "props": { + "month": "06", + "day": "01", + "year": "2016", + "estimated": false + } + }, + "CoOwners": { + "type": "coowners", + "props": { + "List": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "3322 baker St.", + "city": "London", + "country": "United Kingdom" + } + }, + "Countries": { + "type": "country", + "props": { + "value": [ + "United Kingdom" + ] + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Indy", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Jones", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "RelationshipNature": { + "type": "textarea", + "props": { + "value": "associate" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "123 3rd Circle", + "city": "London", + "country": "United Kingdom" + } + }, + "Countries": { + "type": "country", + "props": { + "value": [ + "United Kingdom" + ] + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Watson", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "James", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "RelationshipNature": { + "type": "textarea", + "props": { + "value": "Associate" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "" + } + }, + "Countries": { + "type": "country", + "props": { + "value": null + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Name": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "RelationshipNature": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + } + } + }, + "Cost": { + "type": "number", + "props": { + "value": "2000" + } + }, + "CostEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Firstname": { + "type": "text", + "props": { + "value": "Fred" + } + }, + "HowAcquired": { + "type": "textarea", + "props": { + "value": "purchase" + } + }, + "InterestType": { + "type": "text", + "props": { + "value": "stocks" + } + }, + "InterestTypes": { + "type": "checkboxgroup", + "props": { + "values": [ + "Yourself" + ] + } + }, + "Lastname": { + "type": "text", + "props": { + "value": "Meyer" + } + }, + "Relationship": { + "type": "textarea", + "props": { + "value": "Associate" + } + }, + "Sold": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "SoldNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "Value": { + "type": "number", + "props": { + "value": "2002" + } + }, + "ValueEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + } + } + }, + { + "Item": { + "Acquired": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "2000", + "estimated": false + } + }, + "CoOwners": { + "type": "coowners", + "props": { + "List": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "" + } + }, + "Countries": { + "type": "country", + "props": { + "value": null + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Name": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "RelationshipNature": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + } + } + }, + "Cost": { + "type": "number", + "props": { + "value": "2000" + } + }, + "CostEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Firstname": { + "type": "text", + "props": { + "value": "James" + } + }, + "HowAcquired": { + "type": "textarea", + "props": { + "value": "gift" + } + }, + "InterestType": { + "type": "text", + "props": { + "value": "stocks" + } + }, + "InterestTypes": { + "type": "checkboxgroup", + "props": { + "values": [ + "Yourself" + ] + } + }, + "Lastname": { + "type": "text", + "props": { + "value": "Trollel" + } + }, + "Relationship": { + "type": "textarea", + "props": { + "value": "Associate" + } + }, + "Sold": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "SoldNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "Value": { + "type": "number", + "props": { + "value": "2009" + } + }, + "ValueEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + } + } + } + ] + } + } + } + }, + "Passport": { + "type": "foreign.passport", + "props": { + "HasPassports": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Kirk", + "firstInitialOnly": false, + "middle": "Enzo", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "Riker", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Card": { + "type": "radio", + "props": { + "value": "Book" + } + }, + "Number": { + "type": "text", + "props": { + "value": "A34232342" + } + }, + "Issued": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "20", + "year": "2000", + "estimated": false + } + }, + "Expiration": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "20", + "year": "2020", + "estimated": false + } + }, + "Comments": { + "type": "textarea", + "props": { + "value": "" + } + } + } + }, + "Political": { + "type": "foreign.business.political", + "props": { + "HasForeignPolitical": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Country": { + "type": "country", + "props": { + "value": [ + "Canada" + ] + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "09", + "year": "2015", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "10", + "year": "2016", + "estimated": false + } + }, + "present": false + } + }, + "Eligibility": { + "type": "textarea", + "props": { + "value": "I am no longer eligible" + } + }, + "Position": { + "type": "text", + "props": { + "value": "Comptroller" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "Pleasure" + } + } + } + }, + { + "Item": { + "Country": { + "type": "country", + "props": { + "value": [ + "Canada" + ] + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "02", + "day": "01", + "year": "2014", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "02", + "day": "03", + "year": "2015", + "estimated": false + } + }, + "present": false + } + }, + "Eligibility": { + "type": "textarea", + "props": { + "value": "No longer elligble" + } + }, + "Position": { + "type": "text", + "props": { + "value": "Mayor" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "Personal interest" + } + } + } + } + ] + } + } + } + }, + "RealEstateActivity": { + "type": "foreign.activities.realestate", + "props": { + "HasInterests": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Acquired": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Street, City, Country", + "street": "3431 Fort St.", + "city": "Victoria", + "country": "Canada" + } + }, + "CoOwners": { + "type": "coowners", + "props": { + "List": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "31 Johnson St.", + "city": "Victoria", + "country": "Canada" + } + }, + "Countries": { + "type": "country", + "props": { + "value": [ + "Canada" + ] + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Charlie", + "firstInitialOnly": false, + "middle": "Rosen", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "Harcourt", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "RelationshipNature": { + "type": "textarea", + "props": { + "value": "Associate" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "381 Central Ave.", + "city": "Victoria", + "country": "Canada" + } + }, + "Countries": { + "type": "country", + "props": { + "value": [ + "Canada" + ] + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Mike", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Sihota", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "RelationshipNature": { + "type": "textarea", + "props": { + "value": "Associate" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "" + } + }, + "Countries": { + "type": "country", + "props": { + "value": null + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Name": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "RelationshipNature": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + } + } + }, + "Cost": { + "type": "number", + "props": { + "value": "100000" + } + }, + "CostEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + }, + "HowAcquired": { + "type": "textarea", + "props": { + "value": "Purchase" + } + }, + "InterestTypes": { + "type": "checkboxgroup", + "props": { + "values": [ + "Yourself" + ] + } + }, + "RealEstateType": { + "type": "text", + "props": { + "value": "Home" + } + }, + "Sold": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "09", + "year": "2018", + "estimated": false + } + }, + "SoldNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Value": { + "type": "number", + "props": { + "value": "" + } + }, + "ValueEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + } + } + }, + { + "Item": { + "Acquired": { + "type": "datecontrol", + "props": { + "month": "04", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Street, City, Country", + "street": "9831 Wilson St.", + "city": "Victoria", + "country": "Canada" + } + }, + "CoOwners": { + "type": "coowners", + "props": { + "List": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "" + } + }, + "Countries": { + "type": "country", + "props": { + "value": null + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Name": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "RelationshipNature": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + } + } + }, + "Cost": { + "type": "number", + "props": { + "value": "300000" + } + }, + "CostEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + }, + "HowAcquired": { + "type": "textarea", + "props": { + "value": "Purchase" + } + }, + "InterestTypes": { + "type": "checkboxgroup", + "props": { + "values": [ + "Yourself" + ] + } + }, + "RealEstateType": { + "type": "text", + "props": { + "value": "Home" + } + }, + "Sold": { + "type": "datecontrol", + "props": { + "month": "04", + "day": "02", + "year": "2018", + "estimated": false + } + }, + "SoldNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Value": { + "type": "number", + "props": { + "value": "" + } + }, + "ValueEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + } + } + } + ] + } + } + } + }, + "Sponsorship": { + "type": "foreign.business.sponsorship", + "props": { + "HasForeignSponsorship": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "32 3rd St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Birthdate": { + "type": "datecontrol", + "props": { + "month": "07", + "day": "21", + "year": "1993", + "estimated": false + } + }, + "BirthdateNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Birthplace": { + "type": "location", + "props": { + "layout": "US City, State, Zipcode International city", + "city": "Winnipeg", + "country": "Canada" + } + }, + "Citizenship": { + "type": "country", + "props": { + "value": [ + "Canada" + ] + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "06", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "present": false + } + }, + "Name": { + "type": "name", + "props": { + "first": "Journey", + "firstInitialOnly": false, + "middle": "Margaret", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "Campbell", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Organization": { + "type": "text", + "props": { + "value": "Students in America" + } + }, + "OrganizationAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "32 5th St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "OrganizationAddressNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "OrganizationNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Residence": { + "type": "location", + "props": { + "layout": "Address", + "street": "90 Monticito St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Sponsorship": { + "type": "textarea", + "props": { + "value": "Teach about the U.S." + } + }, + "Stay": { + "type": "textarea", + "props": { + "value": "Learn about the U.S." + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "332 3rd St.", + "street2": "A", + "city": "Sooke", + "country": "Canada" + } + }, + "Birthdate": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "03", + "year": "2003", + "estimated": false + } + }, + "BirthdateNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Birthplace": { + "type": "location", + "props": { + "layout": "US City, State, Zipcode International city", + "city": "Sooke", + "country": "Canada" + } + }, + "Citizenship": { + "type": "country", + "props": { + "value": [ + "Canada" + ] + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "01", + "year": "2017", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "01", + "year": "2017", + "estimated": false + } + }, + "present": false + } + }, + "Name": { + "type": "name", + "props": { + "first": "Naiomi", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Langford", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Organization": { + "type": "text", + "props": { + "value": "Students in California" + } + }, + "OrganizationAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "332 Fremont st.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "OrganizationAddressNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "OrganizationNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Residence": { + "type": "location", + "props": { + "layout": "Address", + "street": "390 1st St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Sponsorship": { + "type": "textarea", + "props": { + "value": "Educate about California" + } + }, + "Stay": { + "type": "textarea", + "props": { + "value": "Learn about California" + } + } + } + } + ] + } + } + } + }, + "Support": { + "type": "foreign.activities.support", + "props": { + "HasForeignSupport": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "314 9th St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Amount": { + "type": "number", + "props": { + "value": "390091" + } + }, + "AmountEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + }, + "Citizenship": { + "type": "country", + "props": { + "value": [ + "Zimbabwe" + ] + } + }, + "Frequency": { + "type": "text", + "props": { + "value": "Once" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Joan", + "firstInitialOnly": false, + "middle": "Mary", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "Ventura", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Relationship": { + "type": "textarea", + "props": { + "value": "Associate" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "3423 11th St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Amount": { + "type": "number", + "props": { + "value": "9092" + } + }, + "AmountEstimated": { + "type": "checkbox", + "props": { + "value": "" + } + }, + "Citizenship": { + "type": "country", + "props": { + "value": [ + "Germany" + ] + } + }, + "Frequency": { + "type": "text", + "props": { + "value": "Once" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Joe", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Brown", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Relationship": { + "type": "textarea", + "props": { + "value": "Customer" + } + } + } + } + ] + } + } + } + }, + "Travel": { + "type": "foreign.travel", + "props": { + "HasForeignTravelOutside": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "HasForeignTravelOfficial": { + "type": "branch", + "props": { + "value": "No" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Contacted": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "ContactedExplanation": { + "type": "textarea", + "props": { + "value": "I was contacted by a suspect." + } + }, + "Counter": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "CounterExplanation": { + "type": "textarea", + "props": { + "value": "I was involved in counterintelligence." + } + }, + "Country": { + "type": "country", + "props": { + "value": [ + "Greece" + ] + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "09", + "day": "10", + "year": "2017", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "09", + "day": "17", + "year": "2017", + "estimated": false + } + }, + "present": false + } + }, + "Days": { + "type": "checkboxgroup", + "props": { + "values": [ + "6-10" + ] + } + }, + "Encounter": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "EncounterExplanation": { + "type": "textarea", + "props": { + "value": "I encountered the police." + } + }, + "Interest": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "InterestExplanation": { + "type": "textarea", + "props": { + "value": "I was contacted by someone interested in my job." + } + }, + "Purpose": { + "type": "checkboxgroup", + "props": { + "values": [ + "Tourism" + ] + } + }, + "Questioned": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "QuestionedExplanation": { + "type": "textarea", + "props": { + "value": "I was questioned." + } + }, + "Sensitive": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "SensitiveExplanation": { + "type": "textarea", + "props": { + "value": "I was contacted by someone who wanted FOUO information." + } + }, + "Threatened": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "ThreatenedExplanation": { + "type": "textarea", + "props": { + "value": "I was coerced." + } + } + } + }, + { + "Item": { + "Contacted": { + "type": "branch", + "props": { + "value": "No" + } + }, + "ContactedExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Counter": { + "type": "branch", + "props": { + "value": "No" + } + }, + "CounterExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Country": { + "type": "country", + "props": { + "value": [ + "Vatican City" + ] + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "02", + "day": "03", + "year": "2016", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "02", + "day": "09", + "year": "2016", + "estimated": false + } + }, + "present": false + } + }, + "Days": { + "type": "checkboxgroup", + "props": { + "values": [ + "6-10" + ] + } + }, + "Encounter": { + "type": "branch", + "props": { + "value": "No" + } + }, + "EncounterExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Interest": { + "type": "branch", + "props": { + "value": "No" + } + }, + "InterestExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Purpose": { + "type": "checkboxgroup", + "props": { + "values": [ + "Volunteer" + ] + } + }, + "Questioned": { + "type": "branch", + "props": { + "value": "No" + } + }, + "QuestionedExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Sensitive": { + "type": "branch", + "props": { + "value": "No" + } + }, + "SensitiveExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Threatened": { + "type": "branch", + "props": { + "value": "No" + } + }, + "ThreatenedExplanation": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + } + } + }, + "Ventures": { + "type": "foreign.business.ventures", + "props": { + "HasForeignVentures": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "9031 Ocean Ave.", + "city": "Victoria", + "country": "Canada" + } + }, + "Association": { + "type": "textarea", + "props": { + "value": "A good nature" + } + }, + "Citizenship": { + "type": "country", + "props": { + "value": [ + "Canada" + ] + } + }, + "Compensation": { + "type": "textarea", + "props": { + "value": "As above" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "03", + "year": "2017", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "03", + "year": "2018", + "estimated": false + } + }, + "present": false + } + }, + "Description": { + "type": "textarea", + "props": { + "value": "A great venture" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Ezekiel", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Roman", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Position": { + "type": "text", + "props": { + "value": "Advisor" + } + }, + "Relationship": { + "type": "textarea", + "props": { + "value": "Associate" + } + }, + "Service": { + "type": "text", + "props": { + "value": "Advice" + } + }, + "Support": { + "type": "text", + "props": { + "value": "1000 per month" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "2121 Abott Dr.", + "city": "Glasgow", + "country": "United Kingdom" + } + }, + "Association": { + "type": "textarea", + "props": { + "value": "Not bad nature." + } + }, + "Citizenship": { + "type": "country", + "props": { + "value": [ + "United Kingdom" + ] + } + }, + "Compensation": { + "type": "textarea", + "props": { + "value": "Cash currency" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "06", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "present": false + } + }, + "Description": { + "type": "textarea", + "props": { + "value": "To sell widgets" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Luc", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Garcias", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Position": { + "type": "text", + "props": { + "value": "Bowler" + } + }, + "Relationship": { + "type": "textarea", + "props": { + "value": "Associate" + } + }, + "Service": { + "type": "text", + "props": { + "value": "Bowled balls" + } + }, + "Support": { + "type": "text", + "props": { + "value": "3000 per week" + } + } + } + } + ] + } + } + } + }, + "Voting": { + "type": "foreign.business.voting", + "props": { + "HasForeignVoting": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Country": { + "type": "country", + "props": { + "value": [ + "Canada" + ] + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "02", + "year": "2013", + "estimated": false + } + }, + "Eligibility": { + "type": "text", + "props": { + "value": "No longer elligible" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "Forced to vote" + } + } + } + }, + { + "Item": { + "Country": { + "type": "country", + "props": { + "value": [ + "Japan" + ] + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "03", + "year": "2012", + "estimated": false + } + }, + "Eligibility": { + "type": "text", + "props": { + "value": "No longer elligble" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": " Asked to vote as honorary voter" + } + } + } + } + ] + } + } + } + } + }, + "History": { + "Comments": { + "type": "history.comments", + "props": { + "Comments": { + "type": "text", + "props": { + "value": "" + } + } + } + }, + "Education": { + "type": "history.education", + "props": { + "HasAttended": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "HasDegree10": { + "type": "branch", + "props": { + "value": "" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "101 Herrmann Dr", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Comments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "09", + "day": "01", + "year": "2004", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "18", + "year": "2008", + "estimated": false + } + }, + "present": false + } + }, + "Diplomas": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "1", + "year": "2008", + "estimated": false + } + }, + "Diploma": { + "type": "radio", + "props": { + "value": "High School Diploma", + "checked": true + } + }, + "DiplomaOther": { + "type": "text", + "props": { + "value": "" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + } + } + }, + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Diploma": { + "type": "radio", + "props": { + "value": "" + } + }, + "DiplomaOther": { + "type": "text", + "props": { + "value": "" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + } + } + } + ] + } + }, + "Name": { + "type": "text", + "props": { + "value": "Monterey High School" + } + }, + "ReferenceAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "ReferenceEmail": { + "type": "email", + "props": { + "value": "" + } + }, + "ReferenceEmailNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "ReferenceName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "ReferenceNameNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "ReferencePhone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + }, + "Type": { + "type": "radio", + "props": { + "value": "High School", + "checked": true + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "980 Fremont St", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Comments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "09", + "day": "01", + "year": "2008", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "10", + "day": "01", + "year": "2010", + "estimated": false + } + }, + "present": false + } + }, + "Diplomas": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "11", + "day": "1", + "year": "2010", + "estimated": false + } + }, + "Diploma": { + "type": "radio", + "props": { + "value": "Associate", + "checked": true + } + }, + "DiplomaOther": { + "type": "text", + "props": { + "value": "" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + } + } + }, + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Diploma": { + "type": "radio", + "props": { + "value": "" + } + }, + "DiplomaOther": { + "type": "text", + "props": { + "value": "" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + } + } + } + ] + } + }, + "Name": { + "type": "text", + "props": { + "value": "Monterey Peninsula College" + } + }, + "ReferenceAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "ReferenceEmail": { + "type": "email", + "props": { + "value": "" + } + }, + "ReferenceEmailNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "ReferenceName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "ReferenceNameNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "ReferencePhone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + }, + "Type": { + "type": "radio", + "props": { + "value": "College", + "checked": true + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "200 Fred Kane Dr", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Comments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "12", + "day": "01", + "year": "2010", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "04", + "day": "04", + "year": "2011", + "estimated": false + } + }, + "present": false + } + }, + "Diplomas": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Diploma": { + "type": "radio", + "props": { + "value": "" + } + }, + "DiplomaOther": { + "type": "text", + "props": { + "value": "" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + } + } + } + ] + } + }, + "Name": { + "type": "text", + "props": { + "value": "Monterey Flyers" + } + }, + "ReferenceAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "ReferenceEmail": { + "type": "email", + "props": { + "value": "" + } + }, + "ReferenceEmailNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "ReferenceName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "ReferenceNameNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "ReferencePhone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + }, + "Type": { + "type": "radio", + "props": { + "value": "Vocational", + "checked": true + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "Iowa State University", + "city": "Ames", + "state": "IA", + "zipcode": "50011", + "country": "United States" + } + }, + "Comments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "02", + "year": "2014", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "02", + "year": "2018", + "estimated": false + } + }, + "present": false + } + }, + "Diplomas": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "04", + "day": "1", + "year": "2018", + "estimated": false + } + }, + "Diploma": { + "type": "radio", + "props": { + "value": "Master", + "checked": true + } + }, + "DiplomaOther": { + "type": "text", + "props": { + "value": "" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + } + } + }, + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Diploma": { + "type": "radio", + "props": { + "value": "" + } + }, + "DiplomaOther": { + "type": "text", + "props": { + "value": "" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + } + } + } + ] + } + }, + "Name": { + "type": "text", + "props": { + "value": "Iowa State University" + } + }, + "ReferenceAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "200 Hawkins Drive", + "city": "Iowa City", + "state": "IA", + "zipcode": "52242", + "country": "United States" + } + }, + "ReferenceEmail": { + "type": "email", + "props": { + "value": "timothy@example.com" + } + }, + "ReferenceEmailNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "ReferenceName": { + "type": "name", + "props": { + "first": "Timothy", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Bronston", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "ReferenceNameNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "ReferencePhone": { + "type": "telephone", + "props": { + "timeOfDay": "Both", + "type": "Domestic", + "numberType": "Cell", + "number": "1247181232", + "extension": "", + "noNumber": false + } + }, + "Type": { + "type": "radio", + "props": { + "value": "Correspondence", + "checked": true + } + } + } + } + ] + } + } + } + }, + "Employment": { + "type": "history.employment", + "props": { + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Additional": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "DatesEmployed": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "present": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Position": { + "type": "text", + "props": { + "value": "" + } + }, + "Supervisor": { + "type": "text", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "950 E Blanco Rd #202", + "city": "salinas", + "state": "CA", + "zipcode": "93901", + "country": "United States" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "12", + "day": "09", + "year": "2012", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "11", + "year": "2013", + "estimated": false + } + }, + "present": false + } + }, + "DutyStation": { + "type": "text", + "props": { + "value": "" + } + }, + "Employment": { + "type": "text", + "props": { + "value": "Equalization Board" + } + }, + "EmploymentActivity": { + "type": "employmentactivity", + "props": { + "value": "StateGovernment" + } + }, + "PhysicalAddress": { + "type": "physicaladdress", + "props": { + "HasDifferentAddress": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Address": { + "type": "location", + "props": { + "layout": "" + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + } + } + }, + "ReasonLeft": { + "type": "reasonleft", + "props": { + "Comments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Reasons": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "ReasonDescription": { + "type": "textarea", + "props": { + "value": "Because 5" + } + } + } + }, + "ReferenceAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "ReferenceName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "ReferencePhone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + }, + "Reprimand": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "Status": { + "type": "radio", + "props": { + "value": "FullTime" + } + }, + "Supervisor": { + "type": "supervisor", + "props": { + "SupervisorName": { + "type": "text", + "props": { + "value": "Wendy Cho" + } + }, + "Title": { + "type": "text", + "props": { + "value": "Tax Specialist" + } + }, + "Email": { + "type": "email", + "props": { + "value": "wendy@example.com" + } + }, + "EmailNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "580 Pacific St", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "7778311113", + "extension": "", + "noNumber": false + } + } + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "8318318831", + "extension": "", + "noNumber": false + } + }, + "Title": { + "type": "text", + "props": { + "value": "Tax Auditor" + } + } + } + }, + { + "Item": { + "Additional": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "DatesEmployed": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "present": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Position": { + "type": "text", + "props": { + "value": "" + } + }, + "Supervisor": { + "type": "text", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "1410 Del Monte Center", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "11", + "day": "10", + "year": "2012", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "12", + "day": "08", + "year": "2012", + "estimated": false + } + }, + "present": false + } + }, + "DutyStation": { + "type": "text", + "props": { + "value": "" + } + }, + "Employment": { + "type": "text", + "props": { + "value": "General Services Administration" + } + }, + "EmploymentActivity": { + "type": "employmentactivity", + "props": { + "value": "OtherFederal" + } + }, + "PhysicalAddress": { + "type": "physicaladdress", + "props": { + "HasDifferentAddress": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Address": { + "type": "location", + "props": { + "layout": "" + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + } + } + }, + "ReasonLeft": { + "type": "reasonleft", + "props": { + "Comments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Reasons": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "ReasonDescription": { + "type": "textarea", + "props": { + "value": "Because 4" + } + } + } + }, + "ReferenceAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "ReferenceName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "ReferencePhone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + }, + "Reprimand": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "Status": { + "type": "radio", + "props": { + "value": "FullTime" + } + }, + "Supervisor": { + "type": "supervisor", + "props": { + "SupervisorName": { + "type": "text", + "props": { + "value": "Allain Estair" + } + }, + "Title": { + "type": "text", + "props": { + "value": "IT Specialist" + } + }, + "Email": { + "type": "email", + "props": { + "value": "allain@example.com" + } + }, + "EmailNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "580 Pacific St", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "7778311113", + "extension": "", + "noNumber": false + } + } + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "8313333333", + "extension": "", + "noNumber": false + } + }, + "Title": { + "type": "text", + "props": { + "value": "Innovation Specialist" + } + } + } + }, + { + "Item": { + "Additional": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [] + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "23625 Holman Hwy", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "09", + "day": "05", + "year": "2012", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "11", + "day": "30", + "year": "2012", + "estimated": false + } + }, + "present": false + } + }, + "DutyStation": { + "type": "text", + "props": { + "value": "Community Hospital of the Monterey Penninsula" + } + }, + "Employment": { + "type": "text", + "props": { + "value": "" + } + }, + "EmploymentActivity": { + "type": "employmentactivity", + "props": { + "value": "USPHS" + } + }, + "PhysicalAddress": { + "type": "physicaladdress", + "props": { + "HasDifferentAddress": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Address": { + "type": "location", + "props": { + "layout": "" + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + } + } + }, + "ReasonLeft": { + "type": "reasonleft", + "props": { + "Comments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Reasons": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "ReasonDescription": { + "type": "textarea", + "props": { + "value": "Because 3" + } + } + } + }, + "ReferenceAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "ReferenceName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "ReferencePhone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + }, + "Reprimand": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "Status": { + "type": "radio", + "props": { + "value": "FullTime" + } + }, + "Supervisor": { + "type": "supervisor", + "props": { + "SupervisorName": { + "type": "text", + "props": { + "value": "Gregor Legain" + } + }, + "Title": { + "type": "text", + "props": { + "value": "Manager" + } + }, + "Email": { + "type": "email", + "props": { + "value": "gregor@example.com" + } + }, + "EmailNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "580 Pacific St", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "7778311113", + "extension": "", + "noNumber": false + } + } + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "8316662331", + "extension": "", + "noNumber": false + } + }, + "Title": { + "type": "text", + "props": { + "value": "CDR" + } + } + } + }, + { + "Item": { + "Additional": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [] + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "1 University Circle", + "city": "Monterey", + "state": "CA", + "zipcode": "93943", + "country": "United States" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "03", + "year": "2012", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "09", + "day": "04", + "year": "2012", + "estimated": false + } + }, + "present": false + } + }, + "DutyStation": { + "type": "text", + "props": { + "value": "NPS" + } + }, + "Employment": { + "type": "text", + "props": { + "value": "" + } + }, + "EmploymentActivity": { + "type": "employmentactivity", + "props": { + "value": "NationalGuard" + } + }, + "PhysicalAddress": { + "type": "physicaladdress", + "props": { + "HasDifferentAddress": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Address": { + "type": "location", + "props": { + "layout": "" + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + } + } + }, + "ReasonLeft": { + "type": "reasonleft", + "props": { + "Comments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Reasons": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "ReasonDescription": { + "type": "textarea", + "props": { + "value": "Because 2" + } + } + } + }, + "ReferenceAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "ReferenceName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "ReferencePhone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + }, + "Reprimand": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "Status": { + "type": "radio", + "props": { + "value": "FullTime" + } + }, + "Supervisor": { + "type": "supervisor", + "props": { + "SupervisorName": { + "type": "text", + "props": { + "value": "Warren Chrisoff" + } + }, + "Title": { + "type": "text", + "props": { + "value": "Chief Learning Officer" + } + }, + "Email": { + "type": "email", + "props": { + "value": "warren@example.com" + } + }, + "EmailNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "580 Pacific St", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "7778311113", + "extension": "", + "noNumber": false + } + } + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "8316561234", + "extension": "", + "noNumber": false + } + }, + "Title": { + "type": "text", + "props": { + "value": "LT" + } + } + } + }, + { + "Item": { + "Additional": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [] + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "7 Grace Hopper Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93943", + "country": "United States" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "01", + "year": "2007", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "02", + "year": "2012", + "estimated": false + } + }, + "present": false + } + }, + "DutyStation": { + "type": "text", + "props": { + "value": "FLENUMMETOCCEN" + } + }, + "Employment": { + "type": "text", + "props": { + "value": "" + } + }, + "EmploymentActivity": { + "type": "employmentactivity", + "props": { + "value": "ActiveMilitary" + } + }, + "PhysicalAddress": { + "type": "physicaladdress", + "props": { + "HasDifferentAddress": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Address": { + "type": "location", + "props": { + "layout": "" + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + } + } + }, + "ReasonLeft": { + "type": "reasonleft", + "props": { + "Comments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Reasons": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "ReasonDescription": { + "type": "textarea", + "props": { + "value": "Because 1" + } + } + } + }, + "ReferenceAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "ReferenceName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "ReferencePhone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + }, + "Reprimand": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "Status": { + "type": "radio", + "props": { + "value": "FullTime" + } + }, + "Supervisor": { + "type": "supervisor", + "props": { + "SupervisorName": { + "type": "text", + "props": { + "value": "Grace Hopper" + } + }, + "Title": { + "type": "text", + "props": { + "value": "Chief Computer Scientist" + } + }, + "Email": { + "type": "email", + "props": { + "value": "grace@example.com" + } + }, + "EmailNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "580 Pacific St", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "7778311113", + "extension": "", + "noNumber": false + } + } + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "8316565555", + "extension": "", + "noNumber": false + } + }, + "Title": { + "type": "text", + "props": { + "value": "ENS" + } + } + } + }, + { + "Item": { + "Additional": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "DatesEmployed": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "present": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Position": { + "type": "text", + "props": { + "value": "" + } + }, + "Supervisor": { + "type": "text", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "7 Grace Hopper Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "15", + "year": "2014", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "15", + "year": "2015", + "estimated": false + } + }, + "present": false + } + }, + "DutyStation": { + "type": "text", + "props": { + "value": "" + } + }, + "Employment": { + "type": "text", + "props": { + "value": "Raytheon" + } + }, + "EmploymentActivity": { + "type": "employmentactivity", + "props": { + "value": "FederalContractor" + } + }, + "PhysicalAddress": { + "type": "physicaladdress", + "props": { + "HasDifferentAddress": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Address": { + "type": "location", + "props": { + "layout": "" + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + } + } + }, + "ReasonLeft": { + "type": "reasonleft", + "props": { + "Comments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Reasons": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "ReasonDescription": { + "type": "textarea", + "props": { + "value": "Because 8" + } + } + } + }, + "ReferenceAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "ReferenceName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "ReferencePhone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + }, + "Reprimand": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "Status": { + "type": "radio", + "props": { + "value": "FullTime" + } + }, + "Supervisor": { + "type": "supervisor", + "props": { + "SupervisorName": { + "type": "text", + "props": { + "value": "Jay Sprocket" + } + }, + "Title": { + "type": "text", + "props": { + "value": "Senior Manager" + } + }, + "Email": { + "type": "email", + "props": { + "value": "jay@example.com" + } + }, + "EmailNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "580 Pacific St", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "7778311113", + "extension": "", + "noNumber": false + } + } + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "8311117777", + "extension": "", + "noNumber": false + } + }, + "Title": { + "type": "text", + "props": { + "value": "IT Specialist" + } + } + } + }, + { + "Item": { + "Additional": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "DatesEmployed": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "01", + "year": "2009", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "06", + "day": "01", + "year": "2009", + "estimated": false + } + }, + "present": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Position": { + "type": "text", + "props": { + "value": "Bag boy" + } + }, + "Supervisor": { + "type": "text", + "props": { + "value": "Walter Kronkite" + } + } + } + }, + { + "Item": { + "DatesEmployed": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "01", + "year": "2009", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "04", + "day": "01", + "year": "2009", + "estimated": false + } + }, + "present": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Position": { + "type": "text", + "props": { + "value": "Senior Bag boy" + } + }, + "Supervisor": { + "type": "text", + "props": { + "value": "Jane Goodall" + } + } + } + }, + { + "Item": { + "DatesEmployed": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "present": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Position": { + "type": "text", + "props": { + "value": "" + } + }, + "Supervisor": { + "type": "text", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "815 Canyon Del Rey Blvd", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "16", + "year": "2015", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "16", + "year": "2016", + "estimated": false + } + }, + "present": false + } + }, + "DutyStation": { + "type": "text", + "props": { + "value": "" + } + }, + "Employment": { + "type": "text", + "props": { + "value": "Safeway" + } + }, + "EmploymentActivity": { + "type": "employmentactivity", + "props": { + "value": "NonGovernment" + } + }, + "PhysicalAddress": { + "type": "physicaladdress", + "props": { + "HasDifferentAddress": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Address": { + "type": "location", + "props": { + "layout": "" + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + } + } + }, + "ReasonLeft": { + "type": "reasonleft", + "props": { + "Comments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Reasons": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "04", + "day": "01", + "year": "2009", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "Quit" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "Reason 9 for quitting" + } + } + } + }, + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "06", + "day": "01", + "year": "2009", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "Charges" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "Reason 9 for Misconduct" + } + } + } + }, + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "ReasonDescription": { + "type": "textarea", + "props": { + "value": "Because 9" + } + } + } + }, + "ReferenceAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "ReferenceName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "ReferencePhone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + }, + "Reprimand": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "09", + "day": "1", + "year": "2015", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "Texting all the time" + } + } + } + }, + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "07", + "day": "1", + "year": "2016", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "Snapchatting" + } + } + } + }, + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "Status": { + "type": "radio", + "props": { + "value": "FullTime" + } + }, + "Supervisor": { + "type": "supervisor", + "props": { + "SupervisorName": { + "type": "text", + "props": { + "value": "Chong Smith" + } + }, + "Title": { + "type": "text", + "props": { + "value": "Head Cashier" + } + }, + "Email": { + "type": "email", + "props": { + "value": "chong@example.com" + } + }, + "EmailNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "580 Pacific St", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "7778311113", + "extension": "", + "noNumber": false + } + } + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "8311433421", + "extension": "", + "noNumber": false + } + }, + "Title": { + "type": "text", + "props": { + "value": "Cashier" + } + } + } + }, + { + "Item": { + "Additional": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "DatesEmployed": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "present": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Position": { + "type": "text", + "props": { + "value": "" + } + }, + "Supervisor": { + "type": "text", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "580 Pacific St", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "17", + "year": "2016", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "8", + "day": "14", + "year": "2018", + "estimated": false + } + }, + "present": true + } + }, + "DutyStation": { + "type": "text", + "props": { + "value": "" + } + }, + "Employment": { + "type": "text", + "props": { + "value": "City of Monterey" + } + }, + "EmploymentActivity": { + "type": "employmentactivity", + "props": { + "value": "Other", + "otherExplanation": "No City Government category" + } + }, + "PhysicalAddress": { + "type": "physicaladdress", + "props": { + "HasDifferentAddress": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Address": { + "type": "location", + "props": { + "layout": "" + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + } + } + }, + "ReasonLeft": { + "type": "reasonleft", + "props": { + "Comments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Reasons": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "ReasonDescription": { + "type": "textarea", + "props": { + "value": "" + } + } + } + }, + "ReferenceAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "ReferenceName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "ReferencePhone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + }, + "Reprimand": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "Status": { + "type": "radio", + "props": { + "value": "FullTime" + } + }, + "Supervisor": { + "type": "supervisor", + "props": { + "SupervisorName": { + "type": "text", + "props": { + "value": "Dan WhatsUp Morgan" + } + }, + "Title": { + "type": "text", + "props": { + "value": "Mayor" + } + }, + "Email": { + "type": "email", + "props": { + "value": "dan@example.com" + } + }, + "EmailNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "580 Pacific St", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "7778311113", + "extension": "", + "noNumber": false + } + } + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "4325555531", + "extension": "", + "noNumber": false + } + }, + "Title": { + "type": "text", + "props": { + "value": "Groundskeeper" + } + } + } + }, + { + "Item": { + "Additional": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [] + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "132 Via Gayuba", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "02", + "day": "12", + "year": "2013", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "13", + "year": "2013", + "estimated": false + } + }, + "present": false + } + }, + "DutyStation": { + "type": "text", + "props": { + "value": "" + } + }, + "Employment": { + "type": "text", + "props": { + "value": "Kirk's Painting" + } + }, + "EmploymentActivity": { + "type": "employmentactivity", + "props": { + "value": "SelfEmployment" + } + }, + "PhysicalAddress": { + "type": "physicaladdress", + "props": { + "HasDifferentAddress": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Address": { + "type": "location", + "props": { + "layout": "" + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + } + } + }, + "ReasonLeft": { + "type": "reasonleft", + "props": { + "Comments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Reasons": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "ReasonDescription": { + "type": "textarea", + "props": { + "value": "Because 6" + } + } + } + }, + "ReferenceAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "128 Via Gayuba", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "ReferenceName": { + "type": "name", + "props": { + "first": "Dennis", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Mitchell", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "ReferencePhone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "8314444444", + "extension": "4", + "noNumber": false + } + }, + "Reprimand": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "Status": { + "type": "radio", + "props": { + "value": "FullTime" + } + }, + "Supervisor": { + "type": "supervisor", + "props": { + "SupervisorName": { + "type": "text", + "props": { + "value": "Dan FooBar Morgan" + } + }, + "Title": { + "type": "text", + "props": { + "value": "Mayor" + } + }, + "Email": { + "type": "email", + "props": { + "value": "dan@example.com" + } + }, + "EmailNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "580 Pacific St", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "7778311113", + "extension": "", + "noNumber": false + } + } + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "8311112222", + "extension": "2", + "noNumber": false + } + }, + "Title": { + "type": "text", + "props": { + "value": "Proprietor" + } + } + } + }, + { + "Item": { + "Additional": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [] + } + }, + "Address": { + "type": "location", + "props": { + "layout": "" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "14", + "year": "2013", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "14", + "year": "2014", + "estimated": false + } + }, + "present": false + } + }, + "DutyStation": { + "type": "text", + "props": { + "value": "" + } + }, + "Employment": { + "type": "text", + "props": { + "value": "" + } + }, + "EmploymentActivity": { + "type": "employmentactivity", + "props": { + "value": "Unemployment" + } + }, + "PhysicalAddress": { + "type": "physicaladdress", + "props": { + "HasDifferentAddress": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Address": { + "type": "location", + "props": { + "layout": "" + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + } + } + }, + "ReasonLeft": { + "type": "reasonleft", + "props": { + "Comments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Reasons": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "ReasonDescription": { + "type": "textarea", + "props": { + "value": "Because 7" + } + } + } + }, + "ReferenceAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "422 English Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "ReferenceName": { + "type": "name", + "props": { + "first": "Cliff", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Claven", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "ReferencePhone": { + "type": "telephone", + "props": { + "timeOfDay": "Both", + "type": "Domestic", + "numberType": "Cell", + "number": "5033331111", + "extension": "", + "noNumber": false + } + }, + "Reprimand": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Date": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Text": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "Status": { + "type": "radio", + "props": { + "value": "" + } + }, + "Supervisor": { + "type": "supervisor", + "props": { + "SupervisorName": { + "type": "text", + "props": { + "value": "Dan FooBar Morgan" + } + }, + "Title": { + "type": "text", + "props": { + "value": "Mayor" + } + }, + "Email": { + "type": "email", + "props": { + "value": "dan@example.com" + } + }, + "EmailNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "580 Pacific St", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "7778311113", + "extension": "", + "noNumber": false + } + } + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + }, + "Title": { + "type": "text", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "EmploymentRecord": { + "type": "branch", + "props": { + "value": "No" + } + } + } + }, + "Federal": { + "type": "history.federal", + "props": { + "HasFederalService": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "7 Grace Hopper Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93943", + "country": "United States" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "2001", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "06", + "day": "01", + "year": "2001", + "estimated": false + } + }, + "present": false + } + }, + "Name": { + "type": "text", + "props": { + "value": "Department of Navy" + } + }, + "Position": { + "type": "text", + "props": { + "value": "Food Services Specialist" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "400 Gigling Rd", + "city": "Seaside", + "state": "CA", + "zipcode": "93955", + "country": "United States" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "2005", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "06", + "day": "01", + "year": "2005", + "estimated": false + } + }, + "present": false + } + }, + "Name": { + "type": "text", + "props": { + "value": "DMDC" + } + }, + "Position": { + "type": "text", + "props": { + "value": "Food Services Specialist" + } + } + } + } + ] + } + } + } + }, + "Residence": { + "type": "history.residence", + "props": { + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "424 Montecito Ave", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Comments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "15", + "year": "2007", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "15", + "year": "2009", + "estimated": false + } + }, + "present": false + } + }, + "ReferenceAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "ReferenceEmail": { + "type": "email", + "props": { + "value": "" + } + }, + "ReferenceEmailNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "ReferenceLastContact": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "ReferenceName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "ReferencePhoneDay": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + }, + "ReferencePhoneEvening": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + }, + "ReferencePhoneMobile": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + }, + "ReferenceRelationship": { + "type": "checkboxgroup", + "props": { + "values": null + } + }, + "ReferenceRelationshipComments": { + "type": "checkboxgroup", + "props": { + "values": null + } + }, + "ReferenceRelationshipOther": { + "type": "text", + "props": { + "value": "" + } + }, + "Role": { + "type": "radio", + "props": { + "value": "Own", + "checked": true + } + }, + "RoleOther": { + "type": "text", + "props": { + "value": "" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "370 Ocean Ave", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Comments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "16", + "year": "2009", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "16", + "year": "2010", + "estimated": false + } + }, + "present": false + } + }, + "ReferenceAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "ReferenceEmail": { + "type": "email", + "props": { + "value": "" + } + }, + "ReferenceEmailNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "ReferenceLastContact": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "ReferenceName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "ReferencePhoneDay": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + }, + "ReferencePhoneEvening": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + }, + "ReferencePhoneMobile": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + }, + "ReferenceRelationship": { + "type": "checkboxgroup", + "props": { + "values": null + } + }, + "ReferenceRelationshipComments": { + "type": "checkboxgroup", + "props": { + "values": null + } + }, + "ReferenceRelationshipOther": { + "type": "text", + "props": { + "value": "" + } + }, + "Role": { + "type": "radio", + "props": { + "value": "MilitaryHousing", + "checked": true + } + }, + "RoleOther": { + "type": "text", + "props": { + "value": "This is what is avaialb.e" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "1280 1st St", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Comments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "17", + "year": "2010", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "17", + "year": "2011", + "estimated": false + } + }, + "present": false + } + }, + "ReferenceAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "ReferenceEmail": { + "type": "email", + "props": { + "value": "" + } + }, + "ReferenceEmailNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "ReferenceLastContact": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "ReferenceName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "ReferencePhoneDay": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + }, + "ReferencePhoneEvening": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + }, + "ReferencePhoneMobile": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + }, + "ReferenceRelationship": { + "type": "checkboxgroup", + "props": { + "values": null + } + }, + "ReferenceRelationshipComments": { + "type": "checkboxgroup", + "props": { + "values": null + } + }, + "ReferenceRelationshipOther": { + "type": "text", + "props": { + "value": "" + } + }, + "Role": { + "type": "radio", + "props": { + "value": "Other", + "checked": true + } + }, + "RoleOther": { + "type": "text", + "props": { + "value": "Free lodging in exchange for dog care" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "132 Via Gayuba", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Comments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "18", + "year": "2011", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "8", + "day": "14", + "year": "2018", + "estimated": false + } + }, + "present": true + } + }, + "ReferenceAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "130 Via Gayuba", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "ReferenceEmail": { + "type": "email", + "props": { + "value": "bob@example.com" + } + }, + "ReferenceEmailNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "ReferenceLastContact": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "14", + "year": "2018", + "estimated": true + } + }, + "ReferenceName": { + "type": "name", + "props": { + "first": "Bob", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Newheart", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "ReferencePhoneDay": { + "type": "telephone", + "props": { + "timeOfDay": "Both", + "type": "Domestic", + "numberType": "Cell", + "number": "8315550555", + "extension": "", + "noNumber": false + } + }, + "ReferencePhoneEvening": { + "type": "telephone", + "props": { + "timeOfDay": "Both", + "type": "Domestic", + "numberType": "Cell", + "number": "8315550555", + "extension": "", + "noNumber": false + } + }, + "ReferencePhoneMobile": { + "type": "telephone", + "props": { + "timeOfDay": "Both", + "type": "Domestic", + "numberType": "Cell", + "number": "8315550555", + "extension": "", + "noNumber": false + } + }, + "ReferenceRelationship": { + "type": "checkboxgroup", + "props": { + "values": [ + "Neighbor" + ] + } + }, + "ReferenceRelationshipComments": { + "type": "checkboxgroup", + "props": { + "values": null + } + }, + "ReferenceRelationshipOther": { + "type": "text", + "props": { + "value": "" + } + }, + "Role": { + "type": "radio", + "props": { + "value": "Rent", + "checked": true + } + }, + "RoleOther": { + "type": "text", + "props": { + "value": "" + } + } + } + } + ] + } + } + } + } + }, + "Identification": { + "ApplicantBirthDate": { + "type": "identification.birthdate", + "props": { + "Date": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "1992", + "estimated": false + } + }, + "Confirmed": { + "type": "checkbox", + "props": { + "value": "" + } + } + } + }, + "ApplicantBirthPlace": { + "type": "identification.birthplace", + "props": { + "Location": { + "type": "location", + "props": { + "layout": "Birthplace", + "city": "San Jose", + "state": "CA", + "county": "Santa Clara", + "country": "United States" + } + } + } + }, + "ApplicantName": { + "type": "identification.name", + "props": { + "Name": { + "type": "name", + "props": { + "first": "Kirk", + "firstInitialOnly": false, + "middle": "Enzo", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "Picard", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + } + } + }, + "ApplicantSSN": { + "type": "identification.ssn", + "props": { + "ssn": { + "type": "ssn", + "props": { + "first": "123", + "middle": "55", + "last": "3589", + "notApplicable": false + } + }, + "verified": true + } + }, + "Comments": { + "type": "identification.comments", + "props": { + "Comments": { + "type": "text", + "props": { + "value": "" + } + } + } + }, + "Contacts": { + "type": "identification.contacts", + "props": { + "Emails": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Email": { + "type": "email", + "props": { + "value": "kirk1@example.com" + } + } + } + }, + { + "Item": { + "Email": { + "type": "email", + "props": { + "value": "kirk2@example.com" + } + } + } + } + ] + } + }, + "PhoneNumbers": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Both", + "type": "Domestic", + "numberType": "Cell", + "number": "5555555551", + "extension": "", + "noNumber": false + } + } + } + }, + { + "Item": { + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Night", + "type": "Domestic", + "numberType": "Home", + "number": "5555555552", + "extension": "", + "noNumber": false + } + } + } + } + ] + } + } + } + }, + "OtherNames": { + "type": "identification.othernames", + "props": { + "HasOtherNames": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "DatesUsed": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "02", + "year": "1992", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "1993", + "estimated": false + } + }, + "present": false + } + }, + "MaidenName": { + "type": "radio", + "props": { + "value": "No" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Kirk", + "firstInitialOnly": false, + "middle": "Enzo", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "James", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "For a good reason." + } + } + } + }, + { + "Item": { + "DatesUsed": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "1996", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "1997", + "estimated": false + } + }, + "present": false + } + }, + "MaidenName": { + "type": "radio", + "props": { + "value": "No" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Kirk", + "firstInitialOnly": false, + "middle": "Enzo", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "Riker", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "Another good reason." + } + } + } + } + ] + } + } + } + }, + "Physical": { + "type": "identification.physical", + "props": { + "Comments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "EyeColor": { + "type": "text", + "props": { + "value": "Brown" + } + }, + "HairColor": { + "type": "text", + "props": { + "value": "Black" + } + }, + "Height": { + "type": "height", + "props": { + "feet": 5, + "inches": 11 + } + }, + "Sex": { + "type": "text", + "props": { + "value": "Male" + } + }, + "Weight": { + "type": "number", + "props": { + "value": "180" + } + } + } + } + }, + "Legal": { + "ActivitiesToOverthrow": { + "type": "legal.associations.activities-to-overthrow", + "props": { + "HasActivities": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "07", + "day": "04", + "year": "2006", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "07", + "day": "02", + "year": "2007", + "estimated": false + } + }, + "present": false + } + }, + "Reasons": { + "type": "textarea", + "props": { + "value": "Taxes on Tea" + } + } + } + }, + { + "Item": { + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "07", + "day": "04", + "year": "2008", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "07", + "day": "04", + "year": "2009", + "estimated": false + } + }, + "present": false + } + }, + "Reasons": { + "type": "textarea", + "props": { + "value": "Taxes on Coffee" + } + } + } + } + ] + } + } + } + }, + "Advocating": { + "type": "legal.associations.advocating", + "props": { + "HasAdvocated": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "04", + "day": "03", + "year": "2018", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "04", + "day": "05", + "year": "2018", + "estimated": false + } + }, + "present": false + } + }, + "Reasons": { + "type": "textarea", + "props": { + "value": "Advocacy Reason 1" + } + } + } + }, + { + "Item": { + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "03", + "year": "2001", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "04", + "year": "2001", + "estimated": false + } + }, + "present": false + } + }, + "Reasons": { + "type": "textarea", + "props": { + "value": "Advocacy Reason 2" + } + } + } + } + ] + } + } + } + }, + "Comments": { + "type": "legal.comments", + "props": { + "Comments": { + "type": "text", + "props": { + "value": "" + } + } + } + }, + "Debarred": { + "type": "legal.investigations.debarred", + "props": { + "HasDebarment": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Agency": { + "type": "text", + "props": { + "value": "General Services Administration" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "07", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "Good Explanation 1" + } + } + } + }, + { + "Item": { + "Agency": { + "type": "text", + "props": { + "value": "Environmental Protection Agency" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "20", + "year": "2005", + "estimated": false + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "Good Explanation 2" + } + } + } + } + ] + } + } + } + }, + "EngagedInTerrorism": { + "type": "legal.associations.engaged-in-terrorism", + "props": { + "HasEngaged": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "01", + "year": "2000", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "02", + "year": "2000", + "estimated": false + } + }, + "present": false + } + }, + "Reasons": { + "type": "textarea", + "props": { + "value": "Terrorist Activity One " + } + } + } + }, + { + "Item": { + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "04", + "day": "01", + "year": "2000", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "04", + "day": "20", + "year": "2000", + "estimated": false + } + }, + "present": false + } + }, + "Reasons": { + "type": "textarea", + "props": { + "value": "Terrorist Activity Two" + } + } + } + } + ] + } + } + } + }, + "History": { + "type": "legal.investigations.history", + "props": { + "HasHistory": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Agency": { + "type": "radio", + "props": { + "value": "U.S. Department of Defense", + "checked": true + } + }, + "AgencyExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "AgencyNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "ClearanceLevel": { + "type": "clearancelevel", + "props": { + "Level": { + "type": "radio", + "props": { + "value": "Top Secret", + "checked": true + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "" + } + } + } + }, + "ClearanceLevelNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Completed": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "01", + "year": "2017", + "estimated": false + } + }, + "CompletedNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Granted": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "02", + "year": "2017", + "estimated": false + } + }, + "GrantedNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Issued": { + "type": "text", + "props": { + "value": "Department of Navy" + } + } + } + }, + { + "Item": { + "Agency": { + "type": "radio", + "props": { + "value": "Foreign government", + "checked": true + } + }, + "AgencyExplanation": { + "type": "textarea", + "props": { + "value": "Ministry of Forests, Canada" + } + }, + "AgencyNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "ClearanceLevel": { + "type": "clearancelevel", + "props": { + "Level": { + "type": "radio", + "props": { + "value": "Issued by foreign country", + "checked": true + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "" + } + } + } + }, + "ClearanceLevelNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Completed": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "02", + "year": "2018", + "estimated": false + } + }, + "CompletedNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Granted": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "03", + "year": "2018", + "estimated": false + } + }, + "GrantedNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Issued": { + "type": "text", + "props": { + "value": "Different Agency" + } + } + } + } + ] + } + } + } + }, + "Manipulating": { + "type": "legal.technology.manipulating", + "props": { + "HasManipulating": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Action": { + "type": "textarea", + "props": { + "value": "No Action 1" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "04", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "Incident": { + "type": "textarea", + "props": { + "value": "Manipulated access 1" + } + }, + "Location": { + "type": "location", + "props": { + "layout": "Address", + "street": "3792 3rd Ave.", + "city": "London", + "country": "United Kingdom" + } + } + } + }, + { + "Item": { + "Action": { + "type": "textarea", + "props": { + "value": "Action 2" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "Incident": { + "type": "textarea", + "props": { + "value": "Manipulated access 2" + } + }, + "Location": { + "type": "location", + "props": { + "layout": "Address", + "street": "98 Munras Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + } + } + } + ] + } + } + } + }, + "MembershipOverthrow": { + "type": "legal.associations.membership-overthrow", + "props": { + "HasOverthrow": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "89 Roma Ave.", + "city": "Berlin", + "country": "Germany" + } + }, + "Contributions": { + "type": "text", + "props": { + "value": "3000" + } + }, + "ContributionsNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "23", + "year": "2014", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "24", + "year": "2015", + "estimated": false + } + }, + "present": false + } + }, + "Organization": { + "type": "text", + "props": { + "value": "MAD" + } + }, + "Positions": { + "type": "text", + "props": { + "value": "Cat watcher" + } + }, + "PositionsNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Reasons": { + "type": "textarea", + "props": { + "value": "Nature and Reason 1" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "903 Arctic Lane", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Contributions": { + "type": "text", + "props": { + "value": "" + } + }, + "ContributionsNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "07", + "day": "01", + "year": "2017", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "07", + "day": "02", + "year": "2017", + "estimated": false + } + }, + "present": false + } + }, + "Organization": { + "type": "text", + "props": { + "value": "ZZZ" + } + }, + "Positions": { + "type": "text", + "props": { + "value": "" + } + }, + "PositionsNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "Reasons": { + "type": "textarea", + "props": { + "value": "Nature and Reason 2" + } + } + } + } + ] + } + } + } + }, + "MembershipViolence": { + "type": "legal.associations.membership-violence-or-force", + "props": { + "HasViolence": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "90 Bad Lane", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Contributions": { + "type": "text", + "props": { + "value": "50" + } + }, + "ContributionsNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "2003", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "05", + "year": "2003", + "estimated": false + } + }, + "present": false + } + }, + "Organization": { + "type": "text", + "props": { + "value": "Bad Dudes" + } + }, + "Positions": { + "type": "text", + "props": { + "value": "Sketch artist" + } + }, + "PositionsNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Reasons": { + "type": "textarea", + "props": { + "value": "Nature and Reason 3" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "903 223rd Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Contributions": { + "type": "text", + "props": { + "value": "3234" + } + }, + "ContributionsNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "01", + "year": "2014", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "31", + "year": "2015", + "estimated": false + } + }, + "present": false + } + }, + "Organization": { + "type": "text", + "props": { + "value": "Bad Folks" + } + }, + "Positions": { + "type": "text", + "props": { + "value": "Secretary" + } + }, + "PositionsNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Reasons": { + "type": "textarea", + "props": { + "value": "Nature and Reason X" + } + } + } + } + ] + } + } + } + }, + "NonCriminalCourtActions": { + "type": "legal.court", + "props": { + "HasCourtActions": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "CivilActionDate": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "01", + "year": "2009", + "estimated": false + } + }, + "CourtAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "313 Judy Lane", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "Judy Court" + } + }, + "NatureOfAction": { + "type": "textarea", + "props": { + "value": "Non-criminal 1" + } + }, + "PrincipalPartyNames": { + "type": "textarea", + "props": { + "value": "Party 1" + } + }, + "ResultsOfAction": { + "type": "textarea", + "props": { + "value": "Results 1" + } + } + } + }, + { + "Item": { + "CivilActionDate": { + "type": "datecontrol", + "props": { + "month": "09", + "day": "10", + "year": "2009", + "estimated": false + } + }, + "CourtAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "77 Wapner Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "Wapner Court" + } + }, + "NatureOfAction": { + "type": "textarea", + "props": { + "value": "Detail 2" + } + }, + "PrincipalPartyNames": { + "type": "textarea", + "props": { + "value": "Party 2" + } + }, + "ResultsOfAction": { + "type": "textarea", + "props": { + "value": "Result 2" + } + } + } + } + ] + } + } + } + }, + "PoliceDomesticViolence": { + "type": "legal.police.domesticviolence", + "props": { + "HasDomesticViolence": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "CourtAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "32 Court Circle", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "Monterey Restraining Court" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "1 Restraining Order " + } + }, + "Issued": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "1", + "year": "2018", + "estimated": false + } + } + } + }, + { + "Item": { + "CourtAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "9889 99th Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "Salinas Court" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "2 Restraining Order" + } + }, + "Issued": { + "type": "datecontrol", + "props": { + "month": "07", + "day": "1", + "year": "2018", + "estimated": false + } + } + } + } + ] + } + } + } + }, + "PoliceOffenses": { + "type": "legal.police.offenses", + "props": { + "HasOffenses": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "342 Alvarado St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "AgencyAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "323 Pacific Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "AwaitingTrial": { + "type": "branch", + "props": { + "value": "" + } + }, + "AwaitingTrialExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "ChargeType": { + "type": "radio", + "props": { + "value": "Felony", + "checked": true + } + }, + "CitedBy": { + "type": "text", + "props": { + "value": "Monterey Police Department" + } + }, + "CourtAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "32 Court Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "CourtCharge": { + "type": "text", + "props": { + "value": "Battery" + } + }, + "CourtDate": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "1", + "year": "2016", + "estimated": false + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "Monterey Criminal Court" + } + }, + "CourtOutcome": { + "type": "text", + "props": { + "value": "Guilty" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "15", + "year": "2015", + "estimated": false + } + }, + "Description": { + "type": "textarea", + "props": { + "value": "Violet act 1" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "InvolvedFirearms": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "InvolvedSubstances": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "InvolvedViolence": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Sentence": { + "type": "sentence", + "props": { + "Description": { + "type": "textarea", + "props": { + "value": "1 year" + } + }, + "ExceedsYear": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Incarcerated": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "IncarcerationDates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "02", + "day": "01", + "year": "2016", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "02", + "day": "01", + "year": "2017", + "estimated": false + } + }, + "present": false + } + }, + "IncarcerationDatesNA": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "ProbationDates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "04", + "day": "01", + "year": "2016", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "01", + "year": "2016", + "estimated": false + } + }, + "present": false + } + }, + "ProbationDatesNA": { + "type": "notapplicable", + "props": { + "applicable": true + } + } + } + }, + "WasCharged": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "WasCited": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "WasSentenced": { + "type": "branch", + "props": { + "value": "Yes" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "392 Cross St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "AgencyAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "3173 1st St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "AwaitingTrial": { + "type": "branch", + "props": { + "value": "" + } + }, + "AwaitingTrialExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "ChargeType": { + "type": "radio", + "props": { + "value": "" + } + }, + "CitedBy": { + "type": "text", + "props": { + "value": "California Highway Patrol" + } + }, + "CourtAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "CourtCharge": { + "type": "text", + "props": { + "value": "" + } + }, + "CourtDate": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "" + } + }, + "CourtOutcome": { + "type": "text", + "props": { + "value": "" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "27", + "year": "2018", + "estimated": false + } + }, + "Description": { + "type": "textarea", + "props": { + "value": "Violent Act 2" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "Charges dropped." + } + }, + "InvolvedFirearms": { + "type": "branch", + "props": { + "value": "No" + } + }, + "InvolvedSubstances": { + "type": "branch", + "props": { + "value": "No" + } + }, + "InvolvedViolence": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Sentence": { + "type": "sentence", + "props": { + "Description": { + "type": "textarea", + "props": { + "value": "" + } + }, + "ExceedsYear": { + "type": "branch", + "props": { + "value": "" + } + }, + "Incarcerated": { + "type": "branch", + "props": { + "value": "" + } + }, + "IncarcerationDates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "present": false + } + }, + "IncarcerationDatesNA": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "ProbationDates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "present": false + } + }, + "ProbationDatesNA": { + "type": "notapplicable", + "props": { + "applicable": false + } + } + } + }, + "WasCharged": { + "type": "branch", + "props": { + "value": "No" + } + }, + "WasCited": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "WasSentenced": { + "type": "branch", + "props": { + "value": "" + } + } + } + } + ] + } + } + } + }, + "PoliceOtherOffenses": { + "type": "legal.police.additionaloffenses", + "props": { + "HasOtherOffenses": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "AwaitingTrial": { + "type": "branch", + "props": { + "value": "No" + } + }, + "AwaitingTrialExplanation": { + "type": "textarea", + "props": { + "value": "It's all done." + } + }, + "ChargeType": { + "type": "radio", + "props": { + "value": "Misdemeanor", + "checked": true + } + }, + "CourtAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "323 3rd St.", + "city": "San Jose", + "state": "CA", + "zipcode": "95002", + "country": "United States" + } + }, + "CourtCharge": { + "type": "text", + "props": { + "value": "Break and Enter" + } + }, + "CourtDate": { + "type": "datecontrol", + "props": { + "month": "02", + "day": "1", + "year": "2000", + "estimated": false + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "San Jose Court" + } + }, + "CourtOutcome": { + "type": "text", + "props": { + "value": "Not Guilty" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "20", + "year": "2000", + "estimated": false + } + }, + "Description": { + "type": "textarea", + "props": { + "value": "Offensive Act 1" + } + }, + "InvolvedFirearms": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "InvolvedSubstances": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "InvolvedViolence": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Sentence": { + "type": "sentence", + "props": { + "Description": { + "type": "textarea", + "props": { + "value": "" + } + }, + "ExceedsYear": { + "type": "branch", + "props": { + "value": "" + } + }, + "Incarcerated": { + "type": "branch", + "props": { + "value": "" + } + }, + "IncarcerationDates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "present": false + } + }, + "IncarcerationDatesNA": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "ProbationDates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "present": false + } + }, + "ProbationDatesNA": { + "type": "notapplicable", + "props": { + "applicable": false + } + } + } + }, + "WasSentenced": { + "type": "branch", + "props": { + "value": "No" + } + } + } + } + ] + } + } + } + }, + "Revoked": { + "type": "legal.investigations.revoked", + "props": { + "HasRevocations": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Agency": { + "type": "text", + "props": { + "value": "Department of Defense" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "They had a personal grudge. " + } + } + } + }, + { + "Item": { + "Agency": { + "type": "text", + "props": { + "value": "Department of Energy" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "04", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "They didn't like me." + } + } + } + } + ] + } + } + } + }, + "TerrorismAssociation": { + "type": "legal.associations.terrorism-association", + "props": { + "HasTerrorism": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "Explanation 1" + } + } + } + }, + "TerroristOrganization": { + "type": "legal.associations.terrorist-organization", + "props": { + "HasTerrorist": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "389 Kaos Ave.", + "city": "Madrid", + "country": "Spain" + } + }, + "Contributions": { + "type": "text", + "props": { + "value": "" + } + }, + "ContributionsNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "8", + "day": "28", + "year": "2018", + "estimated": false + } + }, + "present": true + } + }, + "Organization": { + "type": "text", + "props": { + "value": "KAOS" + } + }, + "Positions": { + "type": "text", + "props": { + "value": "Chief American" + } + }, + "PositionsNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Reasons": { + "type": "textarea", + "props": { + "value": "On a whim." + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "392 Signora Ave.", + "city": "Rome", + "country": "Italy" + } + }, + "Contributions": { + "type": "text", + "props": { + "value": "Intelligence" + } + }, + "ContributionsNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "01", + "year": "2017", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "03", + "year": "2017", + "estimated": false + } + }, + "present": false + } + }, + "Organization": { + "type": "text", + "props": { + "value": "Cobra Command" + } + }, + "Positions": { + "type": "text", + "props": { + "value": "" + } + }, + "PositionsNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "Reasons": { + "type": "textarea", + "props": { + "value": "Coerced" + } + } + } + } + ] + } + } + } + }, + "Unauthorized": { + "type": "legal.technology.unauthorized", + "props": { + "HasUnauthorized": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Action": { + "type": "textarea", + "props": { + "value": "No action. " + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "04", + "day": "01", + "year": "2017", + "estimated": false + } + }, + "Incident": { + "type": "textarea", + "props": { + "value": "Accessed Target credit card database" + } + }, + "Location": { + "type": "location", + "props": { + "layout": "Address", + "street": "3213 Target Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + } + } + }, + { + "Item": { + "Action": { + "type": "textarea", + "props": { + "value": "No action 2" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "01", + "year": "2014", + "estimated": false + } + }, + "Incident": { + "type": "textarea", + "props": { + "value": "Denial of service attack on Department of Energy" + } + }, + "Location": { + "type": "location", + "props": { + "layout": "Address", + "street": "392 45th St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + } + } + } + ] + } + } + } + }, + "Unlawful": { + "type": "legal.technology.unlawful", + "props": { + "HasUnlawful": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Action": { + "type": "textarea", + "props": { + "value": "No action for skimmer" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "06", + "day": "03", + "year": "2018", + "estimated": false + } + }, + "Incident": { + "type": "textarea", + "props": { + "value": "Added ATM skimmer" + } + }, + "Location": { + "type": "location", + "props": { + "layout": "Address", + "street": "893 Alvarado Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + } + } + }, + { + "Item": { + "Action": { + "type": "textarea", + "props": { + "value": "Administrative action" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "07", + "day": "20", + "year": "2018", + "estimated": false + } + }, + "Incident": { + "type": "textarea", + "props": { + "value": "Removed tape media" + } + }, + "Location": { + "type": "location", + "props": { + "layout": "Address", + "street": "7 Grace Hopper Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93943", + "country": "United States" + } + } + } + } + ] + } + } + } + } + }, + "Military": { + "Comments": { + "type": "military.comments", + "props": { + "Comments": { + "type": "text", + "props": { + "value": "" + } + } + } + }, + "Disciplinary": { + "type": "military.disciplinary", + "props": { + "HasDisciplinary": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Court": { + "type": "textarea", + "props": { + "value": "Judge Wapner's court" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "02", + "day": "1", + "year": "2012", + "estimated": false + } + }, + "Name": { + "type": "text", + "props": { + "value": "Captain's mast is the best mast." + } + }, + "Offenses": { + "type": "textarea", + "props": { + "value": "Did that bad thing." + } + }, + "Outcome": { + "type": "textarea", + "props": { + "value": "Reduction in rank" + } + } + } + }, + { + "Item": { + "Court": { + "type": "textarea", + "props": { + "value": "Judge Judy's court" + } + }, + "Date": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "1", + "year": "2013", + "estimated": false + } + }, + "Name": { + "type": "text", + "props": { + "value": "Captain's mast again" + } + }, + "Offenses": { + "type": "textarea", + "props": { + "value": "Did another bad thing" + } + }, + "Outcome": { + "type": "textarea", + "props": { + "value": "Reduction in rank" + } + } + } + } + ] + } + } + } + }, + "Foreign": { + "type": "military.foreign", + "props": { + "List": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Circumstances": { + "type": "textarea", + "props": { + "value": "I decrypted documents " + } + }, + "Country": { + "type": "country", + "props": { + "value": [ + "Canada" + ] + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "01", + "year": "2013", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "07", + "year": "2013", + "estimated": false + } + }, + "present": false + } + }, + "Division": { + "type": "text", + "props": { + "value": "Crypto" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "123 Medanna St.", + "city": "Victoria", + "country": "Canada" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "2013", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "8", + "day": "15", + "year": "2018", + "estimated": false + } + }, + "present": true + } + }, + "Frequency": { + "type": "text", + "props": { + "value": "Once in a blue moon" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Rick", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Green", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Title": { + "type": "text", + "props": { + "value": "Senior Cryptographer" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "123 1st.", + "city": "Ottawa", + "country": "Canada" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "2013", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "02", + "day": "01", + "year": "2013", + "estimated": false + } + }, + "present": false + } + }, + "Frequency": { + "type": "text", + "props": { + "value": "Once a day" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Jean", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Chretien", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Title": { + "type": "text", + "props": { + "value": "Prime Minister" + } + } + } + } + ] + } + }, + "MaintainsContact": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Name": { + "type": "text", + "props": { + "value": "CSEC" + } + }, + "Organization": { + "type": "radio", + "props": { + "value": "Diplomatic", + "checked": true + } + }, + "Rank": { + "type": "text", + "props": { + "value": "Cryptographer" + } + }, + "ReasonLeft": { + "type": "textarea", + "props": { + "value": "Decided it wasn't for me" + } + } + } + }, + { + "Item": { + "Circumstances": { + "type": "textarea", + "props": { + "value": "Took care of the horses" + } + }, + "Country": { + "type": "country", + "props": { + "value": [ + "Canada" + ] + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "07", + "day": "01", + "year": "2014", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "07", + "day": "05", + "year": "2014", + "estimated": false + } + }, + "present": false + } + }, + "Division": { + "type": "text", + "props": { + "value": "Mounted division" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "452 Wilson St.", + "city": "Victoria", + "country": "Canada" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "07", + "day": "01", + "year": "2014", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "01", + "year": "2014", + "estimated": false + } + }, + "present": false + } + }, + "Frequency": { + "type": "text", + "props": { + "value": "Once a week" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Steve", + "firstInitialOnly": false, + "middle": "Brown", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "Canadaer", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Title": { + "type": "text", + "props": { + "value": "Head Mounted Officer" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "331 Wilson St.", + "city": "Victoria", + "country": "Canada" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "07", + "day": "01", + "year": "2014", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "01", + "year": "2014", + "estimated": false + } + }, + "present": false + } + }, + "Frequency": { + "type": "text", + "props": { + "value": "Weekly" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Red", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Green", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Title": { + "type": "text", + "props": { + "value": "Chief Producer" + } + } + } + } + ] + } + }, + "MaintainsContact": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Name": { + "type": "text", + "props": { + "value": "RCMP" + } + }, + "Organization": { + "type": "radio", + "props": { + "value": "Security", + "checked": true + } + }, + "Rank": { + "type": "text", + "props": { + "value": "Master Sergeant" + } + }, + "ReasonLeft": { + "type": "textarea", + "props": { + "value": "Tired of caring for horses" + } + } + } + }, + { + "Item": { + "Circumstances": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Country": { + "type": "country", + "props": { + "value": null + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "present": false + } + }, + "Division": { + "type": "text", + "props": { + "value": "" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "" + } + }, + "items": [] + } + }, + "MaintainsContact": { + "type": "branch", + "props": { + "value": "" + } + }, + "Name": { + "type": "text", + "props": { + "value": "" + } + }, + "Organization": { + "type": "radio", + "props": { + "value": "" + } + }, + "Rank": { + "type": "text", + "props": { + "value": "" + } + }, + "ReasonLeft": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + } + } + }, + "History": { + "type": "military.history", + "props": { + "HasServed": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "2011", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "2012", + "estimated": false + } + }, + "present": false + } + }, + "DischargeDate": { + "type": "datecontrol", + "props": { + "month": "02", + "day": "1", + "year": "2012", + "estimated": false + } + }, + "DischargeReason": { + "type": "textarea", + "props": { + "value": "" + } + }, + "DischargeType": { + "type": "radio", + "props": { + "value": "Honorable", + "checked": true + } + }, + "DischargeTypeOther": { + "type": "text", + "props": { + "value": "" + } + }, + "HasBeenDischarged": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Officer": { + "type": "radio", + "props": { + "value": "Enlisted", + "checked": true + } + }, + "Service": { + "type": "radio", + "props": { + "value": "Navy", + "checked": true + } + }, + "ServiceNumber": { + "type": "text", + "props": { + "value": "555123431" + } + }, + "Status": { + "type": "radio", + "props": { + "value": "InactiveReserve", + "checked": true + } + } + } + }, + { + "Item": { + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "02", + "year": "2013", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "06", + "day": "01", + "year": "2014", + "estimated": false + } + }, + "present": false + } + }, + "DischargeDate": { + "type": "datecontrol", + "props": { + "month": "07", + "day": "1", + "year": "2014", + "estimated": false + } + }, + "DischargeReason": { + "type": "textarea", + "props": { + "value": "" + } + }, + "DischargeType": { + "type": "radio", + "props": { + "value": "Honorable", + "checked": true + } + }, + "DischargeTypeOther": { + "type": "text", + "props": { + "value": "" + } + }, + "HasBeenDischarged": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Officer": { + "type": "radio", + "props": { + "value": "Enlisted", + "checked": true + } + }, + "Service": { + "type": "radio", + "props": { + "value": "Army", + "checked": true + } + }, + "ServiceNumber": { + "type": "text", + "props": { + "value": "2132123" + } + }, + "Status": { + "type": "radio", + "props": { + "value": "InactiveReserve", + "checked": true + } + } + } + } + ] + } + } + } + }, + "Selective": { + "type": "military.selective", + "props": { + "WasBornAfter": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "HasRegistered": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "RegistrationNumber": { + "type": "text", + "props": { + "value": "55555555" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + }, + "Psychological": { + "Comments": { + "type": "psychological.comments", + "props": { + "Comments": { + "type": "text", + "props": { + "value": "" + } + } + } + }, + "Competence": { + "type": "psychological.competence", + "props": { + "IsIncompetent": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Appeals": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "CourtAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "903 12th St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "Appeal Mental Court" + } + }, + "Disposition": { + "type": "text", + "props": { + "value": "Healthy" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + } + } + }, + { + "Item": { + "CourtAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "999 123rd Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "Super Appeal Court" + } + }, + "Disposition": { + "type": "text", + "props": { + "value": "Healthy" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + } + } + }, + { + "Item": { + "CourtAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "7371 3rd Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "Super Squared Appeal Court" + } + }, + "Disposition": { + "type": "text", + "props": { + "value": "Healthy" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + } + } + }, + { + "Item": { + "CourtAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "" + } + }, + "Disposition": { + "type": "text", + "props": { + "value": "" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + } + } + } + ] + } + }, + "CourtAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "391 Court Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "Health Court" + } + }, + "Occurred": { + "type": "datecontrol", + "props": { + "month": "10", + "day": "1", + "year": "2010", + "estimated": false + } + } + } + }, + { + "Item": { + "Appeals": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "CourtAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "" + } + }, + "Disposition": { + "type": "text", + "props": { + "value": "" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + } + } + } + ] + } + }, + "CourtAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "121 Lexington Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "Admin Agency" + } + }, + "Occurred": { + "type": "datecontrol", + "props": { + "month": "11", + "day": "1", + "year": "2011", + "estimated": false + } + } + } + } + ] + } + } + } + }, + "Consultations": { + "type": "psychological.consultations", + "props": { + "Consulted": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Appeals": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "CourtAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "9931 3rd Ave.", + "city": "Salinas", + "state": "CA", + "zipcode": "93902", + "country": "United States" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "Appeal Court" + } + }, + "Disposition": { + "type": "text", + "props": { + "value": "Not Healthy" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + } + } + }, + { + "Item": { + "CourtAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "111 Florence Rd.", + "city": "Salinas", + "state": "CA", + "zipcode": "93901", + "country": "United States" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "Appeal Squared Agency" + } + }, + "Disposition": { + "type": "text", + "props": { + "value": "Healthy" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + } + } + }, + { + "Item": { + "CourtAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "" + } + }, + "Disposition": { + "type": "text", + "props": { + "value": "" + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + } + } + } + ] + } + }, + "CourtAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "391 Main St.", + "city": "Salinas", + "state": "CA", + "zipcode": "93901", + "country": "United States" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "Admin Agency Too" + } + }, + "Disposition": { + "type": "text", + "props": { + "value": "Healthy" + } + }, + "Occurred": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "1", + "year": "2001", + "estimated": false + } + } + } + } + ] + } + } + } + }, + "Diagnoses": { + "type": "psychological.diagnoses", + "props": { + "Diagnosed": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "DidNotConsult": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "DiagnosisList": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Condition": { + "type": "radio", + "props": { + "value": "Schizophrenia", + "checked": true + } + }, + "Diagnosed": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "07", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "07", + "day": "02", + "year": "2018", + "estimated": false + } + }, + "present": false + } + }, + "Effective": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Treatment": { + "type": "psychological.treatment", + "props": { + "Name": { + "type": "text", + "props": { + "value": "Miser, Pamela" + } + }, + "Phone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "2222124313", + "extension": "", + "noNumber": false + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "9830 Simon St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + } + } + }, + "TreatmentFacility": { + "type": "psychological.treatment", + "props": { + "Name": { + "type": "text", + "props": { + "value": "Simon Agency" + } + }, + "Phone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "8313332312", + "extension": "", + "noNumber": false + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "9830 Simon St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + } + } + } + } + }, + { + "Item": { + "Condition": { + "type": "radio", + "props": { + "value": "Psychotic disorder", + "checked": true + } + }, + "Diagnosed": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "26", + "year": "2018", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "27", + "year": "2018", + "estimated": false + } + }, + "present": false + } + }, + "Effective": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "Just didn't work." + } + }, + "Treatment": { + "type": "psychological.treatment", + "props": { + "Name": { + "type": "text", + "props": { + "value": "Doet, Janet" + } + }, + "Phone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "8313313331", + "extension": "", + "noNumber": false + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "7382 Rosa St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + } + } + }, + "TreatmentFacility": { + "type": "psychological.treatment", + "props": { + "Name": { + "type": "text", + "props": { + "value": "Foobar Agency" + } + }, + "Phone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "8313331002", + "extension": "", + "noNumber": false + } + }, + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "45 Canoli Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + } + } + } + } + } + ] + } + }, + "InTreatment": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "TreatmentList": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "939 Hermosa Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Name": { + "type": "text", + "props": { + "value": "Thatcher, Margaret" + } + }, + "Phone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "7833013134", + "extension": "", + "noNumber": false + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "83 Alvin Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Name": { + "type": "text", + "props": { + "value": "Argent, David" + } + }, + "Phone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "Work", + "number": "4443313324", + "extension": "", + "noNumber": false + } + } + } + } + ] + } + } + } + }, + "ExistingConditions": { + "type": "psychological.conditions", + "props": { + "HasCondition": { + "type": "branch", + "props": { + "value": "" + } + }, + "ReceivedTreatment": { + "type": "radio", + "props": { + "value": "" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "TreatmentList": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "" + } + }, + "items": [] + } + }, + "DidNotFollow": { + "type": "branch", + "props": { + "value": "" + } + }, + "DidNotFollowExplanation": { + "type": "textarea", + "props": { + "value": "" + } + } + } + }, + "Hospitalizations": { + "type": "psychological.hospitalizations", + "props": { + "Hospitalized": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Admission": { + "type": "radio", + "props": { + "value": "Voluntary", + "checked": true + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "Hospital 1" + } + }, + "Facility": { + "type": "text", + "props": { + "value": "Community Hospital" + } + }, + "FacilityAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "2342 Garden Rd.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "TreatmentDate": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "09", + "day": "01", + "year": "2008", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "09", + "day": "10", + "year": "2008", + "estimated": false + } + }, + "present": false + } + } + } + }, + { + "Item": { + "Admission": { + "type": "radio", + "props": { + "value": "Involuntary", + "checked": true + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "Explanation 2" + } + }, + "Facility": { + "type": "text", + "props": { + "value": "Natividad" + } + }, + "FacilityAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "333 45th St.", + "city": "Salinas", + "state": "CA", + "zipcode": "93901", + "country": "United States" + } + }, + "TreatmentDate": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "10", + "day": "11", + "year": "2010", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "10", + "day": "12", + "year": "2010", + "estimated": false + } + }, + "present": false + } + } + } + } + ] + } + } + } + } + }, + "Relationships": { + "Cohabitants": { + "type": "relationships.status.cohabitant", + "props": { + "HasCohabitant": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "CohabitantList": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "BirthPlace": { + "type": "location", + "props": { + "layout": "Birthplace without County", + "city": "Victoria", + "country": "Canada" + } + }, + "Birthdate": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "1980", + "estimated": false + } + }, + "Citizenship": { + "type": "country", + "props": { + "value": [ + "Canada", + "United States" + ] + } + }, + "CohabitationBegan": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "03", + "year": "2014", + "estimated": false + } + }, + "ForeignBornDocument": { + "type": "foreignborndocument", + "props": { + "DocumentType": { + "type": "radio", + "props": { + "value": "CertificateOfNaturalization", + "checked": true + } + }, + "OtherExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "DocumentNumber": { + "type": "text", + "props": { + "value": "45671892" + } + }, + "DocumentExpiration": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "01", + "year": "2017", + "estimated": false + } + }, + "DocumentExpirationNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + } + } + }, + "Name": { + "type": "name", + "props": { + "first": "Selena", + "firstInitialOnly": false, + "middle": "Michelle", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "Hayes", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "OtherNames": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "DatesUsed": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "present": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "MaidenName": { + "type": "branch", + "props": { + "value": "" + } + }, + "OtherName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + } + } + } + ] + } + }, + "SSN": { + "type": "ssn", + "props": { + "first": "444", + "middle": "41", + "last": "2321", + "notApplicable": false + } + } + } + }, + { + "Item": { + "BirthPlace": { + "type": "location", + "props": { + "layout": "Birthplace without County", + "city": "Marina", + "state": "CA", + "country": "United States" + } + }, + "Birthdate": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "01", + "year": "1981", + "estimated": false + } + }, + "Citizenship": { + "type": "country", + "props": { + "value": [ + "United States" + ] + } + }, + "CohabitationBegan": { + "type": "datecontrol", + "props": { + "month": "06", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "ForeignBornDocument": { + "type": "foreignborndocument", + "props": { + "DocumentType": { + "type": "radio", + "props": { + "value": "" + } + }, + "OtherExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "DocumentNumber": { + "type": "text", + "props": { + "value": "" + } + }, + "DocumentExpiration": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "DocumentExpirationNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + } + } + }, + "Name": { + "type": "name", + "props": { + "first": "Ian", + "firstInitialOnly": false, + "middle": "Roberts", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "Brown", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "OtherNames": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "DatesUsed": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "04", + "day": "01", + "year": "1992", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "01", + "year": "1993", + "estimated": false + } + }, + "present": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "MaidenName": { + "type": "branch", + "props": { + "value": "No" + } + }, + "OtherName": { + "type": "name", + "props": { + "first": "Bazooka", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Brown", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + } + } + }, + { + "Item": { + "DatesUsed": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "present": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "MaidenName": { + "type": "branch", + "props": { + "value": "" + } + }, + "OtherName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + } + } + } + ] + } + }, + "SSN": { + "type": "ssn", + "props": { + "first": "331", + "middle": "58", + "last": "1213", + "notApplicable": false + } + } + } + } + ] + } + } + } + }, + "Comments": { + "type": "relationships.comments", + "props": { + "Comments": { + "type": "text", + "props": { + "value": "" + } + } + } + }, + "Marital": { + "type": "relationships.status.marital", + "props": { + "Status": { + "type": "radio", + "props": { + "value": "Married", + "checked": true + } + }, + "CivilUnion": { + "type": "civilunion", + "props": { + "Address": { + "type": "location", + "props": { + "layout": "" + } + }, + "AddressSeparated": { + "type": "location", + "props": { + "layout": "US City, State, Zipcode International city", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "AddressSeparatedNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "BirthPlace": { + "type": "location", + "props": { + "layout": "Birthplace", + "city": "Monterey", + "state": "CA", + "county": "Monterey", + "country": "United States" + } + }, + "Birthdate": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "01", + "year": "1992", + "estimated": false + } + }, + "Citizenship": { + "type": "country", + "props": { + "value": [ + "United States" + ] + } + }, + "DateSeparated": { + "type": "datecontrol", + "props": { + "month": "07", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "Divorced": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Email": { + "type": "email", + "props": { + "value": "joan@example.com" + } + }, + "EnteredCivilUnion": { + "type": "datecontrol", + "props": { + "month": "04", + "day": "01", + "year": "2010", + "estimated": false + } + }, + "ForeignBornDocument": { + "type": "foreignborndocument", + "props": { + "DocumentType": { + "type": "radio", + "props": { + "value": "" + } + }, + "OtherExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "DocumentNumber": { + "type": "text", + "props": { + "value": "" + } + }, + "DocumentExpiration": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "DocumentExpirationNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + } + } + }, + "Location": { + "type": "location", + "props": { + "layout": "Birthplace", + "city": "Santa Cruz", + "state": "CA", + "county": "Santa Cruz", + "country": "United States" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Joan", + "firstInitialOnly": false, + "middle": "Mary", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "Rover", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "OtherNames": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "DatesUsed": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "02", + "year": "1992", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "06", + "year": "2010", + "estimated": false + } + }, + "present": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "MaidenName": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Joan", + "firstInitialOnly": false, + "middle": "Mary", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "Ebert", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + } + } + }, + { + "Item": { + "DatesUsed": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "01", + "year": "2000", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "09", + "year": "2001", + "estimated": false + } + }, + "present": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "MaidenName": { + "type": "branch", + "props": { + "value": "No" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Red", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Rover", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + } + } + }, + { + "Item": { + "DatesUsed": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "present": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "MaidenName": { + "type": "branch", + "props": { + "value": "" + } + }, + "Name": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + } + } + } + ] + } + }, + "SSN": { + "type": "ssn", + "props": { + "first": "391", + "middle": "03", + "last": "1431", + "notApplicable": false + } + }, + "Separated": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "Both", + "type": "Domestic", + "numberType": "Cell", + "number": "8313122123", + "extension": "", + "noNumber": false + } + }, + "UseCurrentAddress": { + "type": "notapplicable", + "props": { + "applicable": false + } + } + } + }, + "DivorcedList": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "758 1st St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "BirthPlace": { + "type": "location", + "props": { + "layout": "Birthplace", + "city": "Monterey", + "state": "CA", + "county": "Monterey", + "country": "United States" + } + }, + "Birthdate": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "1990", + "estimated": false + } + }, + "Citizenship": { + "type": "country", + "props": { + "value": [ + "United States" + ] + } + }, + "DateDivorced": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "02", + "year": "2003", + "estimated": false + } + }, + "Deceased": { + "type": "radio", + "props": { + "value": "DK", + "checked": true + } + }, + "DeceasedAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "DeceasedAddressNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "Name": { + "type": "name", + "props": { + "first": "Eileen", + "firstInitialOnly": false, + "middle": "Selena", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "Xan", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Recognized": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "2", + "year": "2002", + "estimated": false + } + }, + "Status": { + "type": "radio", + "props": { + "value": "Divorced", + "checked": true + } + }, + "Telephone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "Domestic", + "numberType": "", + "number": "", + "extension": "", + "noNumber": true + } + } + } + } + ] + } + } + } + }, + "People": { + "type": "relationships.people", + "props": { + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "7 Grace Hopper Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93943", + "country": "United States" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "2011", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "8", + "day": "15", + "year": "2018", + "estimated": false + } + }, + "present": true + } + }, + "Email": { + "type": "email", + "props": { + "value": "tom1@example.com" + } + }, + "EmailNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "MobileTelephone": { + "type": "telephone", + "props": { + "timeOfDay": "Both", + "type": "Domestic", + "numberType": "Cell", + "number": "8311231291", + "extension": "", + "noNumber": false + } + }, + "Name": { + "type": "name", + "props": { + "first": "Tom", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Henrietta", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "OtherTelephone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "Domestic", + "numberType": "", + "number": "", + "extension": "", + "noNumber": true + } + }, + "Rank": { + "type": "text", + "props": { + "value": "Park Ranger" + } + }, + "RankNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Relationship": { + "type": "checkboxgroup", + "props": { + "values": [ + "Neighbor" + ] + } + }, + "RelationshipOther": { + "type": "text", + "props": { + "value": "" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "3333 ocean Ave.", + "city": "Carmel", + "state": "CA", + "zipcode": "93923", + "country": "United States" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "2000", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "8", + "day": "15", + "year": "2018", + "estimated": false + } + }, + "present": true + } + }, + "Email": { + "type": "email", + "props": { + "value": "jane3@example.com" + } + }, + "EmailNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "MobileTelephone": { + "type": "telephone", + "props": { + "timeOfDay": "Both", + "type": "Domestic", + "numberType": "Cell", + "number": "1248889312", + "extension": "", + "noNumber": false + } + }, + "Name": { + "type": "name", + "props": { + "first": "Jane", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Goodall", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "OtherTelephone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "Domestic", + "numberType": "", + "number": "", + "extension": "", + "noNumber": true + } + }, + "Rank": { + "type": "text", + "props": { + "value": "Head Zoologist" + } + }, + "RankNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Relationship": { + "type": "checkboxgroup", + "props": { + "values": [ + "Friend" + ] + } + }, + "RelationshipOther": { + "type": "text", + "props": { + "value": "" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "418 Monticito Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "03", + "year": "2014", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "8", + "day": "15", + "year": "2018", + "estimated": false + } + }, + "present": true + } + }, + "Email": { + "type": "email", + "props": { + "value": "tiny@example.com" + } + }, + "EmailNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "MobileTelephone": { + "type": "telephone", + "props": { + "timeOfDay": "Both", + "type": "Domestic", + "numberType": "Cell", + "number": "1341214444", + "extension": "", + "noNumber": false + } + }, + "Name": { + "type": "name", + "props": { + "first": "Tiny", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Stark", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "OtherTelephone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "Domestic", + "numberType": "", + "number": "", + "extension": "", + "noNumber": true + } + }, + "Rank": { + "type": "text", + "props": { + "value": "" + } + }, + "RankNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "Relationship": { + "type": "checkboxgroup", + "props": { + "values": [ + "Neighbor" + ] + } + }, + "RelationshipOther": { + "type": "text", + "props": { + "value": "" + } + } + } + } + ] + } + } + } + }, + "Relatives": { + "type": "relationships.relatives", + "props": { + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "255 Lerwick Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Aliases": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "present": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "MaidenName": { + "type": "branch", + "props": { + "value": "" + } + }, + "Name": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "Birthdate": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "1951", + "estimated": false + } + }, + "Birthplace": { + "type": "location", + "props": { + "layout": "Birthplace without County", + "city": "Portland", + "state": "OR", + "country": "United States" + } + }, + "Citizenship": { + "type": "country", + "props": { + "value": [ + "United States" + ] + } + }, + "CitizenshipDocumentation": { + "type": "radio", + "props": { + "value": "" + } + }, + "CourtAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "" + } + }, + "Document": { + "type": "radio", + "props": { + "value": "" + } + }, + "DocumentComments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "DocumentNumber": { + "type": "text", + "props": { + "value": "" + } + }, + "Employer": { + "type": "text", + "props": { + "value": "" + } + }, + "EmployerAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "EmployerAddressNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "EmployerNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "EmployerRelationship": { + "type": "textarea", + "props": { + "value": "" + } + }, + "EmployerRelationshipNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Expiration": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "FirstContact": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Frequency": { + "type": "radio", + "props": { + "value": "" + } + }, + "HasAffiliation": { + "type": "branch", + "props": { + "value": "" + } + }, + "IsDeceased": { + "type": "branch", + "props": { + "value": "No" + } + }, + "LastContact": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "MaidenName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "MaidenSameAsListed": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "Methods": { + "type": "checkboxgroup", + "props": { + "values": null + } + }, + "MethodsComments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Joanne", + "firstInitialOnly": false, + "middle": "Mary", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "Roderick", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Relation": { + "type": "radio", + "props": { + "value": "Mother", + "checked": true + } + }, + "ResidenceDocumentNumber": { + "type": "text", + "props": { + "value": "" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "3432 Picadily Lane", + "city": "London", + "country": "United Kingdom" + } + }, + "Aliases": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "present": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "MaidenName": { + "type": "branch", + "props": { + "value": "" + } + }, + "Name": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "Birthdate": { + "type": "datecontrol", + "props": { + "month": "02", + "day": "01", + "year": "1950", + "estimated": false + } + }, + "Birthplace": { + "type": "location", + "props": { + "layout": "Birthplace without County", + "city": "London", + "country": "United Kingdom" + } + }, + "Citizenship": { + "type": "country", + "props": { + "value": [ + "United Kingdom" + ] + } + }, + "CitizenshipDocumentation": { + "type": "radio", + "props": { + "value": "" + } + }, + "CourtAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "" + } + }, + "Document": { + "type": "radio", + "props": { + "value": "" + } + }, + "DocumentComments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "DocumentNumber": { + "type": "text", + "props": { + "value": "" + } + }, + "Employer": { + "type": "text", + "props": { + "value": "Brown's meat market" + } + }, + "EmployerAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "23 Baker St.", + "city": "London", + "country": "United Kingdom" + } + }, + "EmployerAddressNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "EmployerNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "EmployerRelationship": { + "type": "textarea", + "props": { + "value": "" + } + }, + "EmployerRelationshipNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Expiration": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "FirstContact": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "2000", + "estimated": false + } + }, + "Frequency": { + "type": "radio", + "props": { + "value": "Daily", + "checked": true + } + }, + "HasAffiliation": { + "type": "branch", + "props": { + "value": "No" + } + }, + "IsDeceased": { + "type": "branch", + "props": { + "value": "No" + } + }, + "LastContact": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "MaidenName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "MaidenSameAsListed": { + "type": "branch", + "props": { + "value": "" + } + }, + "Methods": { + "type": "checkboxgroup", + "props": { + "values": [ + "Telephone" + ] + } + }, + "MethodsComments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Name": { + "type": "name", + "props": { + "first": "William", + "firstInitialOnly": false, + "middle": "Samuel", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "Hancock", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Relation": { + "type": "radio", + "props": { + "value": "Father", + "checked": true + } + }, + "ResidenceDocumentNumber": { + "type": "text", + "props": { + "value": "" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "134 2nd Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Aliases": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "present": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "MaidenName": { + "type": "branch", + "props": { + "value": "" + } + }, + "Name": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "Birthdate": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "01", + "year": "1970", + "estimated": false + } + }, + "Birthplace": { + "type": "location", + "props": { + "layout": "Birthplace without County", + "city": "London", + "country": "United Kingdom" + } + }, + "Citizenship": { + "type": "country", + "props": { + "value": [ + "United Kingdom", + "United States" + ] + } + }, + "CitizenshipDocumentation": { + "type": "radio", + "props": { + "value": "DerivedCertificate", + "checked": true + } + }, + "CourtAddress": { + "type": "location", + "props": { + "layout": "US Address", + "street": "7 Grace Hopper Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "Judy's court" + } + }, + "Document": { + "type": "radio", + "props": { + "value": "" + } + }, + "DocumentComments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "DocumentNumber": { + "type": "text", + "props": { + "value": "7893142313" + } + }, + "Employer": { + "type": "text", + "props": { + "value": "" + } + }, + "EmployerAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "EmployerAddressNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "EmployerNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "EmployerRelationship": { + "type": "textarea", + "props": { + "value": "" + } + }, + "EmployerRelationshipNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Expiration": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "FirstContact": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Frequency": { + "type": "radio", + "props": { + "value": "" + } + }, + "HasAffiliation": { + "type": "branch", + "props": { + "value": "" + } + }, + "IsDeceased": { + "type": "branch", + "props": { + "value": "No" + } + }, + "LastContact": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "MaidenName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "MaidenSameAsListed": { + "type": "branch", + "props": { + "value": "" + } + }, + "Methods": { + "type": "checkboxgroup", + "props": { + "values": null + } + }, + "MethodsComments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Billy", + "firstInitialOnly": false, + "middle": "Dee", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "Roberts", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Relation": { + "type": "radio", + "props": { + "value": "Brother", + "checked": true + } + }, + "ResidenceDocumentNumber": { + "type": "text", + "props": { + "value": "" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "3432 Main St.", + "city": "Los Angeles", + "state": "CA", + "zipcode": "90001", + "country": "United States" + } + }, + "Aliases": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [] + } + }, + "Birthdate": { + "type": "datecontrol", + "props": { + "month": "09", + "day": "02", + "year": "1952", + "estimated": false + } + }, + "Birthplace": { + "type": "location", + "props": { + "layout": "Birthplace without County", + "city": "Los Angeles", + "state": "CA", + "country": "United States" + } + }, + "Citizenship": { + "type": "country", + "props": { + "value": [ + "United States" + ] + } + }, + "CitizenshipDocumentation": { + "type": "radio", + "props": { + "value": "" + } + }, + "CourtAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "" + } + }, + "Document": { + "type": "radio", + "props": { + "value": "" + } + }, + "DocumentComments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "DocumentNumber": { + "type": "text", + "props": { + "value": "" + } + }, + "Employer": { + "type": "text", + "props": { + "value": "" + } + }, + "EmployerAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "EmployerAddressNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "EmployerNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "EmployerRelationship": { + "type": "textarea", + "props": { + "value": "" + } + }, + "EmployerRelationshipNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Expiration": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "FirstContact": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Frequency": { + "type": "radio", + "props": { + "value": "" + } + }, + "HasAffiliation": { + "type": "branch", + "props": { + "value": "" + } + }, + "IsDeceased": { + "type": "branch", + "props": { + "value": "No" + } + }, + "LastContact": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "MaidenName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "MaidenSameAsListed": { + "type": "branch", + "props": { + "value": "" + } + }, + "Methods": { + "type": "checkboxgroup", + "props": { + "values": null + } + }, + "MethodsComments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Henrietta", + "firstInitialOnly": false, + "middle": "Jane", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "Fretner", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Relation": { + "type": "radio", + "props": { + "value": "Fosterparent", + "checked": true + } + }, + "ResidenceDocumentNumber": { + "type": "text", + "props": { + "value": "" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "Address", + "street": "431 English Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "Aliases": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [ + { + "Item": { + "Dates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "present": false + } + }, + "Has": { + "type": "branch", + "props": { + "value": "No" + } + }, + "MaidenName": { + "type": "branch", + "props": { + "value": "" + } + }, + "Name": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "" + } + } + } + } + ] + } + }, + "Birthdate": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "31", + "year": "2009", + "estimated": false + } + }, + "Birthplace": { + "type": "location", + "props": { + "layout": "Birthplace without County", + "city": "MONTEREY", + "state": "CA", + "country": "United States" + } + }, + "Citizenship": { + "type": "country", + "props": { + "value": [ + "United States" + ] + } + }, + "CitizenshipDocumentation": { + "type": "radio", + "props": { + "value": "" + } + }, + "CourtAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "" + } + }, + "Document": { + "type": "radio", + "props": { + "value": "" + } + }, + "DocumentComments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "DocumentNumber": { + "type": "text", + "props": { + "value": "" + } + }, + "Employer": { + "type": "text", + "props": { + "value": "" + } + }, + "EmployerAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "EmployerAddressNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "EmployerNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "EmployerRelationship": { + "type": "textarea", + "props": { + "value": "" + } + }, + "EmployerRelationshipNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Expiration": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "FirstContact": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Frequency": { + "type": "radio", + "props": { + "value": "" + } + }, + "HasAffiliation": { + "type": "branch", + "props": { + "value": "" + } + }, + "IsDeceased": { + "type": "branch", + "props": { + "value": "No" + } + }, + "LastContact": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "MaidenName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "MaidenSameAsListed": { + "type": "branch", + "props": { + "value": "" + } + }, + "Methods": { + "type": "checkboxgroup", + "props": { + "values": null + } + }, + "MethodsComments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Caleb", + "firstInitialOnly": false, + "middle": "Michael", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "Smith", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Relation": { + "type": "radio", + "props": { + "value": "Child", + "checked": true + } + }, + "ResidenceDocumentNumber": { + "type": "text", + "props": { + "value": "" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "" + } + }, + "Aliases": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [] + } + }, + "Birthdate": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "02", + "year": "1960", + "estimated": false + } + }, + "Birthplace": { + "type": "location", + "props": { + "layout": "Birthplace without County", + "city": "Monterey", + "state": "CA", + "country": "United States" + } + }, + "Citizenship": { + "type": "country", + "props": { + "value": [ + "United States" + ] + } + }, + "CitizenshipDocumentation": { + "type": "radio", + "props": { + "value": "" + } + }, + "CourtAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "" + } + }, + "Document": { + "type": "radio", + "props": { + "value": "" + } + }, + "DocumentComments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "DocumentNumber": { + "type": "text", + "props": { + "value": "" + } + }, + "Employer": { + "type": "text", + "props": { + "value": "" + } + }, + "EmployerAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "EmployerAddressNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "EmployerNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "EmployerRelationship": { + "type": "textarea", + "props": { + "value": "" + } + }, + "EmployerRelationshipNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Expiration": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "FirstContact": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Frequency": { + "type": "radio", + "props": { + "value": "" + } + }, + "HasAffiliation": { + "type": "branch", + "props": { + "value": "" + } + }, + "IsDeceased": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "LastContact": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "MaidenName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "MaidenSameAsListed": { + "type": "branch", + "props": { + "value": "" + } + }, + "Methods": { + "type": "checkboxgroup", + "props": { + "values": null + } + }, + "MethodsComments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Bob", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Joes", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Relation": { + "type": "radio", + "props": { + "value": "Father-in-law", + "checked": true + } + }, + "ResidenceDocumentNumber": { + "type": "text", + "props": { + "value": "" + } + } + } + }, + { + "Item": { + "Address": { + "type": "location", + "props": { + "layout": "" + } + }, + "Aliases": { + "type": "collection", + "props": { + "branch": { + "type": "" + }, + "items": [] + } + }, + "Birthdate": { + "type": "datecontrol", + "props": { + "month": "02", + "day": "02", + "year": "1961", + "estimated": false + } + }, + "Birthplace": { + "type": "location", + "props": { + "layout": "Birthplace without County", + "city": "San Jose", + "state": "CA", + "country": "United States" + } + }, + "Citizenship": { + "type": "country", + "props": { + "value": [ + "United States" + ] + } + }, + "CitizenshipDocumentation": { + "type": "radio", + "props": { + "value": "" + } + }, + "CourtAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "CourtName": { + "type": "text", + "props": { + "value": "" + } + }, + "Document": { + "type": "radio", + "props": { + "value": "" + } + }, + "DocumentComments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "DocumentNumber": { + "type": "text", + "props": { + "value": "" + } + }, + "Employer": { + "type": "text", + "props": { + "value": "" + } + }, + "EmployerAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "EmployerAddressNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "EmployerNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": false + } + }, + "EmployerRelationship": { + "type": "textarea", + "props": { + "value": "" + } + }, + "EmployerRelationshipNotApplicable": { + "type": "notapplicable", + "props": { + "applicable": true + } + }, + "Expiration": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "FirstContact": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "Frequency": { + "type": "radio", + "props": { + "value": "" + } + }, + "HasAffiliation": { + "type": "branch", + "props": { + "value": "" + } + }, + "IsDeceased": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "LastContact": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "MaidenName": { + "type": "name", + "props": { + "first": "", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": false, + "last": "", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "MaidenSameAsListed": { + "type": "branch", + "props": { + "value": "" + } + }, + "Methods": { + "type": "checkboxgroup", + "props": { + "values": null + } + }, + "MethodsComments": { + "type": "textarea", + "props": { + "value": "" + } + }, + "Name": { + "type": "name", + "props": { + "first": "Mary", + "firstInitialOnly": false, + "middle": "", + "middleInitialOnly": false, + "noMiddleName": true, + "last": "Jane", + "lastInitialOnly": false, + "suffix": "", + "suffixOther": "" + } + }, + "Relation": { + "type": "radio", + "props": { + "value": "Mother-in-law", + "checked": true + } + }, + "ResidenceDocumentNumber": { + "type": "text", + "props": { + "value": "" + } + } + } + } + ] + } + } + } + } + }, + "Substance": { + "Comments": { + "type": "substance.comments", + "props": { + "Comments": { + "type": "text", + "props": { + "value": "" + } + } + } + }, + "DrugClearanceUses": { + "type": "substance.drugs.clearance", + "props": { + "UsedDrugs": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Description": { + "type": "textarea", + "props": { + "value": "Illegal drug use 1" + } + }, + "EstimatedUse": { + "type": "text", + "props": { + "value": "20 times" + } + }, + "InvolvementDates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "02", + "year": "2016", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "02", + "day": "03", + "year": "2017", + "estimated": false + } + }, + "present": false + } + } + } + }, + { + "Item": { + "Description": { + "type": "textarea", + "props": { + "value": "2nd illegal druge use" + } + }, + "EstimatedUse": { + "type": "text", + "props": { + "value": "About twice." + } + }, + "InvolvementDates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "21", + "year": "2018", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "22", + "year": "2018", + "estimated": false + } + }, + "present": false + } + } + } + } + ] + } + } + } + }, + "DrugInvolvements": { + "type": "substance.drugs.purchase", + "props": { + "Involved": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "DrugType": { + "type": "radio", + "props": { + "value": "Steroids" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "It provides 50% of my annual income." + } + }, + "FirstInvolvement": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "1", + "year": "2017", + "estimated": false + } + }, + "InvolvementInFuture": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "InvolvementWhileEmployed": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "InvolvementWithClearance": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "NatureOfInvolvement": { + "type": "textarea", + "props": { + "value": "Once in a while" + } + }, + "Reasons": { + "type": "textarea", + "props": { + "value": "It was profitable" + } + }, + "RecentInvolvement": { + "type": "datecontrol", + "props": { + "month": "02", + "day": "1", + "year": "2017", + "estimated": false + } + } + } + }, + { + "Item": { + "DrugType": { + "type": "radio", + "props": { + "value": "Hallucinogenic" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "FirstInvolvement": { + "type": "datecontrol", + "props": { + "month": "09", + "day": "1", + "year": "2017", + "estimated": false + } + }, + "InvolvementInFuture": { + "type": "branch", + "props": { + "value": "No" + } + }, + "InvolvementWhileEmployed": { + "type": "branch", + "props": { + "value": "No" + } + }, + "InvolvementWithClearance": { + "type": "branch", + "props": { + "value": "No" + } + }, + "NatureOfInvolvement": { + "type": "textarea", + "props": { + "value": "Pretty often." + } + }, + "Reasons": { + "type": "textarea", + "props": { + "value": "Family tradition" + } + }, + "RecentInvolvement": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "1", + "year": "2018", + "estimated": false + } + } + } + } + ] + } + } + } + }, + "DrugPublicSafetyUses": { + "type": "substance.drugs.publicsafety", + "props": { + "UsedDrugs": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Description": { + "type": "textarea", + "props": { + "value": "3rd Illegal drug use" + } + }, + "EstimatedUse": { + "type": "text", + "props": { + "value": "About 3 times." + } + }, + "InvolvementDates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "12", + "day": "13", + "year": "2013", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "12", + "day": "14", + "year": "2013", + "estimated": false + } + }, + "present": false + } + } + } + }, + { + "Item": { + "Description": { + "type": "textarea", + "props": { + "value": "4th illegal drug use" + } + }, + "EstimatedUse": { + "type": "text", + "props": { + "value": "about 4 times" + } + }, + "InvolvementDates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "10", + "day": "01", + "year": "2016", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "11", + "day": "01", + "year": "2016", + "estimated": false + } + }, + "present": false + } + } + } + } + ] + } + } + } + }, + "DrugUses": { + "type": "substance.drugs.usage", + "props": { + "UsedDrugs": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "DrugType": { + "type": "radio", + "props": { + "value": "Cocaine" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "This is my explanation." + } + }, + "FirstUse": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "1", + "year": "2018", + "estimated": false + } + }, + "NatureOfUse": { + "type": "textarea", + "props": { + "value": "Lots of times" + } + }, + "RecentUse": { + "type": "datecontrol", + "props": { + "month": "06", + "day": "1", + "year": "2018", + "estimated": false + } + }, + "UseInFuture": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "UseWhileEmployed": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "UseWithClearance": { + "type": "branch", + "props": { + "value": "Yes" + } + } + } + }, + { + "Item": { + "DrugType": { + "type": "radio", + "props": { + "value": "Stimulants" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "I do not intend simply because." + } + }, + "FirstUse": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "1", + "year": "2013", + "estimated": false + } + }, + "NatureOfUse": { + "type": "textarea", + "props": { + "value": "Frequently." + } + }, + "RecentUse": { + "type": "datecontrol", + "props": { + "month": "06", + "day": "1", + "year": "2018", + "estimated": false + } + }, + "UseInFuture": { + "type": "branch", + "props": { + "value": "No" + } + }, + "UseWhileEmployed": { + "type": "branch", + "props": { + "value": "No" + } + }, + "UseWithClearance": { + "type": "branch", + "props": { + "value": "No" + } + } + } + } + ] + } + } + } + }, + "NegativeImpacts": { + "type": "substance.alcohol.negative", + "props": { + "HasImpacts": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "Circumstances": { + "type": "textarea", + "props": { + "value": "Alcohol 1" + } + }, + "NegativeImpact": { + "type": "textarea", + "props": { + "value": "Bad Thing 1" + } + }, + "Occurred": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "1", + "year": "2018", + "estimated": false + } + }, + "Used": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "present": false + } + } + } + }, + { + "Item": { + "Circumstances": { + "type": "textarea", + "props": { + "value": "Alcohol 2" + } + }, + "NegativeImpact": { + "type": "textarea", + "props": { + "value": "Bad Thing 2" + } + }, + "Occurred": { + "type": "datecontrol", + "props": { + "month": "05", + "day": "1", + "year": "2014", + "estimated": false + } + }, + "Used": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "02", + "year": "2014", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "06", + "day": "01", + "year": "2014", + "estimated": false + } + }, + "present": false + } + } + } + } + ] + } + } + } + }, + "OrderedCounselings": { + "type": "substance.alcohol.ordered", + "props": { + "HasBeenOrdered": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "ActionTaken": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "CompletedTreatment": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "CounselingDates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "02", + "year": "2017", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "30", + "year": "2017", + "estimated": false + } + }, + "present": false + } + }, + "NoActionTakenExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "NoCompletedTreatmentExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "OtherSeeker": { + "type": "text", + "props": { + "value": "" + } + }, + "Seekers": { + "type": "checkboxgroup", + "props": { + "values": [ + "MentalHealthProfessional" + ] + } + }, + "TreatmentProviderAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "98 9th St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "TreatmentProviderName": { + "type": "text", + "props": { + "value": "Barren, Trent" + } + }, + "TreatmentProviderTelephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "NA", + "number": "8317777731", + "extension": "", + "noNumber": false + } + } + } + }, + { + "Item": { + "ActionTaken": { + "type": "branch", + "props": { + "value": "No" + } + }, + "CompletedTreatment": { + "type": "branch", + "props": { + "value": "" + } + }, + "CounselingDates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "present": false + } + }, + "NoActionTakenExplanation": { + "type": "textarea", + "props": { + "value": "I didn't want to." + } + }, + "NoCompletedTreatmentExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "OtherSeeker": { + "type": "text", + "props": { + "value": "" + } + }, + "Seekers": { + "type": "checkboxgroup", + "props": { + "values": [ + "CourtOfficial" + ] + } + }, + "TreatmentProviderAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "TreatmentProviderName": { + "type": "text", + "props": { + "value": "" + } + }, + "TreatmentProviderTelephone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + } + } + } + ] + } + } + } + }, + "OrderedTreatments": { + "type": "substance.drugs.ordered", + "props": { + "TreatmentOrdered": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "ActionTaken": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "DrugType": { + "type": "radio", + "props": { + "value": "Stimulants" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "Boss said I needed to get checked out." + } + }, + "NoActionTakenExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "NoTreatmentExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "OrderedBy": { + "type": "checkboxgroup", + "props": { + "values": [ + "Employer" + ] + } + }, + "TreatmentCompleted": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "TreatmentDates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "07", + "day": "01", + "year": "2014", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "07", + "day": "09", + "year": "2014", + "estimated": false + } + }, + "present": false + } + }, + "TreatmentProvider": { + "type": "text", + "props": { + "value": "Brown, Joseph" + } + }, + "TreatmentProviderAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "89 39th St.", + "city": "Pacific Grove", + "state": "CA", + "zipcode": "93950", + "country": "United States" + } + }, + "TreatmentProviderTelephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "NA", + "number": "8313121931", + "extension": "", + "noNumber": false + } + } + } + }, + { + "Item": { + "ActionTaken": { + "type": "branch", + "props": { + "value": "No" + } + }, + "DrugType": { + "type": "radio", + "props": { + "value": "" + } + }, + "Explanation": { + "type": "textarea", + "props": { + "value": "Doctor said I needed to go" + } + }, + "NoActionTakenExplanation": { + "type": "textarea", + "props": { + "value": "I didn't want to." + } + }, + "NoTreatmentExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "OrderedBy": { + "type": "checkboxgroup", + "props": { + "values": [ + "MedicalProfessional" + ] + } + }, + "TreatmentCompleted": { + "type": "branch", + "props": { + "value": "" + } + }, + "TreatmentDates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "", + "day": "", + "year": "", + "estimated": false + } + }, + "present": false + } + }, + "TreatmentProvider": { + "type": "text", + "props": { + "value": "" + } + }, + "TreatmentProviderAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "TreatmentProviderTelephone": { + "type": "telephone", + "props": { + "timeOfDay": "", + "type": "", + "numberType": "", + "number": "", + "extension": "", + "noNumber": false + } + } + } + } + ] + } + } + } + }, + "PrescriptionUses": { + "type": "substance.drugs.misuse", + "props": { + "MisusedDrugs": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "InvolvementDates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "01", + "year": "2013", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "02", + "day": "01", + "year": "2014", + "estimated": false + } + }, + "present": false + } + }, + "PrescriptionName": { + "type": "text", + "props": { + "value": "Zophran" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "Always sick to my stomach" + } + }, + "UseWhileEmployed": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "UseWithClearance": { + "type": "branch", + "props": { + "value": "Yes" + } + } + } + }, + { + "Item": { + "InvolvementDates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "10", + "day": "11", + "year": "2015", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "12", + "day": "31", + "year": "2015", + "estimated": false + } + }, + "present": false + } + }, + "PrescriptionName": { + "type": "text", + "props": { + "value": "Phenegren" + } + }, + "Reason": { + "type": "textarea", + "props": { + "value": "Super nauseated " + } + }, + "UseWhileEmployed": { + "type": "branch", + "props": { + "value": "No" + } + }, + "UseWithClearance": { + "type": "branch", + "props": { + "value": "No" + } + } + } + } + ] + } + } + } + }, + "ReceivedCounselings": { + "type": "substance.alcohol.additional", + "props": { + "ReceivedTreatment": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "AgencyAddress": { + "type": "location", + "props": { + "layout": "" + } + }, + "AgencyName": { + "type": "text", + "props": { + "value": "Best Agency" + } + }, + "CompletedTreatment": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "NoCompletedTreatmentExplanation": { + "type": "textarea", + "props": { + "value": "It was completed." + } + }, + "TreatmentBeganDate": { + "type": "datecontrol", + "props": { + "month": "02", + "day": "03", + "year": "2018", + "estimated": false + } + }, + "TreatmentEndDate": { + "type": "datecontrol", + "props": { + "month": "02", + "day": "04", + "year": "2018", + "estimated": false + } + }, + "TreatmentProviderAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "9031 3rd Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "TreatmentProviderName": { + "type": "text", + "props": { + "value": "Ute, Otto" + } + }, + "UseSameAddress": { + "type": "branch", + "props": { + "value": "Yes" + } + } + } + }, + { + "Item": { + "AgencyAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "389 Agency Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "AgencyName": { + "type": "text", + "props": { + "value": "Second Best Agency" + } + }, + "CompletedTreatment": { + "type": "branch", + "props": { + "value": "No" + } + }, + "NoCompletedTreatmentExplanation": { + "type": "textarea", + "props": { + "value": "Was going on too long." + } + }, + "TreatmentBeganDate": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "03", + "year": "2014", + "estimated": false + } + }, + "TreatmentEndDate": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "03", + "year": "2015", + "estimated": false + } + }, + "TreatmentProviderAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "903 4th St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "TreatmentProviderName": { + "type": "text", + "props": { + "value": "Klemp, Roger" + } + }, + "UseSameAddress": { + "type": "branch", + "props": { + "value": "No" + } + } + } + } + ] + } + } + } + }, + "VoluntaryCounselings": { + "type": "substance.alcohol.voluntary", + "props": { + "SoughtTreatment": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "CompletedTreatment": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "CounselingDates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "08", + "year": "2018", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "08", + "year": "2018", + "estimated": false + } + }, + "present": false + } + }, + "NoCompletedTreatmentExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "TreatmentProviderAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "90 Main St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "TreatmentProviderName": { + "type": "text", + "props": { + "value": "Ross, Bob" + } + }, + "TreatmentProviderTelephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "NA", + "number": "8313212222", + "extension": "", + "noNumber": false + } + } + } + }, + { + "Item": { + "CompletedTreatment": { + "type": "branch", + "props": { + "value": "No" + } + }, + "CounselingDates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "08", + "day": "03", + "year": "2018", + "estimated": false + } + }, + "present": false + } + }, + "NoCompletedTreatmentExplanation": { + "type": "textarea", + "props": { + "value": "Didn't want to go" + } + }, + "TreatmentProviderAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "90 321st St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "TreatmentProviderName": { + "type": "text", + "props": { + "value": "Sandler, Adam" + } + }, + "TreatmentProviderTelephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "NA", + "number": "7169323213", + "extension": "", + "noNumber": false + } + } + } + } + ] + } + } + } + }, + "VoluntaryTreatments": { + "type": "substance.drugs.voluntary", + "props": { + "TreatmentVoluntary": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "List": { + "type": "collection", + "props": { + "branch": { + "type": "branch", + "props": { + "value": "No" + } + }, + "items": [ + { + "Item": { + "DrugType": { + "type": "radio", + "props": { + "value": "Hallucinogenic" + } + }, + "NoTreatmentExplanation": { + "type": "textarea", + "props": { + "value": "" + } + }, + "TreatmentCompleted": { + "type": "branch", + "props": { + "value": "Yes" + } + }, + "TreatmentDates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "02", + "day": "28", + "year": "2014", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "03", + "day": "15", + "year": "2014", + "estimated": false + } + }, + "present": false + } + }, + "TreatmentProvider": { + "type": "text", + "props": { + "value": "Ross, Susie" + } + }, + "TreatmentProviderAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "99 99th St.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "TreatmentProviderTelephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "NA", + "number": "8313939313", + "extension": "", + "noNumber": false + } + } + } + }, + { + "Item": { + "DrugType": { + "type": "radio", + "props": { + "value": "Narcotics" + } + }, + "NoTreatmentExplanation": { + "type": "textarea", + "props": { + "value": "I decided to stop." + } + }, + "TreatmentCompleted": { + "type": "branch", + "props": { + "value": "No" + } + }, + "TreatmentDates": { + "type": "daterange", + "props": { + "from": { + "type": "datecontrol", + "props": { + "month": "01", + "day": "17", + "year": "2018", + "estimated": false + } + }, + "to": { + "type": "datecontrol", + "props": { + "month": "02", + "day": "01", + "year": "2018", + "estimated": false + } + }, + "present": false + } + }, + "TreatmentProvider": { + "type": "text", + "props": { + "value": "Krane, Fraiser" + } + }, + "TreatmentProviderAddress": { + "type": "location", + "props": { + "layout": "Address", + "street": "32 10th Ave.", + "city": "Monterey", + "state": "CA", + "zipcode": "93940", + "country": "United States" + } + }, + "TreatmentProviderTelephone": { + "type": "telephone", + "props": { + "timeOfDay": "Day", + "type": "Domestic", + "numberType": "NA", + "number": "8313213321", + "extension": "", + "noNumber": false + } + } + } + } + ] + } + } + } + } + } +} diff --git a/api/testdata/complete-scenarios/test5.xml b/api/testdata/complete-scenarios/test5.xml new file mode 100644 index 000000000..0b214afcf --- /dev/null +++ b/api/testdata/complete-scenarios/test5.xml @@ -0,0 +1,5625 @@ + + + <SubmittedRequestInfo> + <RequestInfo> + <Request> + <Form> + <Name>SF86</Name> + <Version>2017-07</Version> + </Form> + <Applicant> + <SSN>123553589</SSN> + </Applicant> + <Responses> + <AgencyInstructionsForApplicant/> + <FormInstanceSpecific> + <AgencyInstructionsForApplicant/> + <ESigCertificationResponses Version="1" Type="Pooled" LastSummaryID="201" LastDynamicListID="201"> + <UserFinalizedCert> + <Answer>Yes</Answer> + </UserFinalizedCert> + <UserOptedToESig> + <Answer>Yes</Answer> + </UserOptedToESig> + </ESigCertificationResponses> + <UserPreferences Version="1" Type="Pooled" LastSummaryID="201" LastDynamicListID="201"> + <DisplayNavigation/> + </UserPreferences> + <ValidationResponses Version="1" Type="FormInstanceSpecific"/> + </FormInstanceSpecific> + <Pooled> + <IdentifyingInformation Type="Pooled" Version="1"> + <Birth> + <Date> + <Month>01</Month> + <Day>01</Day> + <Year>1992</Year> + </Date> + <Place> + <City>San Jose</City> + <State>CA</State> + <County>Santa Clara</County> + <Country>United States</Country> + </Place> + </Birth> + <EyeColor>Brown</EyeColor> + <FullName> + <LegalName> + <Last>Picard</Last> + <First>Kirk</First> + <Middle>Enzo</Middle> + </LegalName> + </FullName> + <HairColor>Black</HairColor> + <Height> + <Feet>5</Feet> + <Inches>11</Inches> + </Height> + <OtherNamesUsed> + <Answer>Yes</Answer> + <OtherNames> + <OtherName ID="1"> + <LegalName> + <Last>James</Last> + <First>Kirk</First> + <Middle>Enzo</Middle> + </LegalName> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>1992</Year> + </Date> + </From> + <To> + <Date> + <Month>01</Month> + <Year>1993</Year> + </Date> + </To> + </DateRange> + <Maiden>No</Maiden> + <Reason>For a good reason.</Reason> + </OtherName> + <OtherName ID="2"> + <LegalName> + <Last>Riker</Last> + <First>Kirk</First> + <Middle>Enzo</Middle> + </LegalName> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>1996</Year> + </Date> + </From> + <To> + <Date> + <Month>01</Month> + <Year>1997</Year> + </Date> + </To> + </DateRange> + <Maiden>No</Maiden> + <Reason>Another good reason.</Reason> + </OtherName> + </OtherNames> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </OtherNamesUsed> + <SSN> + <FirstThree>123</FirstThree> + <NextTwo>55</NextTwo> + <LastFour>3589</LastFour> + </SSN> + <Sex>Male</Sex> + <Weight> + <Pounds>180</Pounds> + </Weight> + </IdentifyingInformation> + <ContactInformation Version="1" Type="Pooled"> + <HomeEmail> + <Email>kirk1@example.com</Email> + </HomeEmail> + <HomeEmail> + <Email>kirk2@example.com</Email> + </HomeEmail> + <HomeTelephone> + <Telephone> + <Number>5555555551</Number> + <Time>Both</Time> + </Telephone> + </HomeTelephone> + <HomeTelephone> + <Telephone> + <Number>5555555552</Number> + <Time>Night</Time> + </Telephone> + </HomeTelephone> + </ContactInformation> + <PersonalReferences Version="1" Type="Pooled"> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + <References> + <Reference ID="1"> + <Address> + <Street>7 Grace Hopper Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93943</ZipCode> + </Address> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2011</Year> + </Date> + </From> + <To> + <Date Type="Present"/> + </To> + </DateRange> + <Email>tom1@example.com</Email> + <LegalName> + <Last>Henrietta</Last> + <First>Tom</First> + <Middle Type="NMN"/> + </LegalName> + <RelationshipType Neighbor="True"/> + <Telephone> + <Home> + + + + + </Home> + <Mobile> + <Number>8311231291</Number> + <Time>Both</Time> + </Mobile> + </Telephone> + <Title NotApplicable="False">Park Ranger</Title> + </Reference> + <Reference ID="2"> + <Address> + <Street>3333 ocean Ave. </Street> + <City>Carmel</City> + <State>CA</State> + <ZipCode>93923</ZipCode> + </Address> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2000</Year> + </Date> + </From> + <To> + <Date Type="Present"/> + </To> + </DateRange> + <Email>jane3@example.com</Email> + <LegalName> + <Last>Goodall</Last> + <First>Jane</First> + <Middle Type="NMN"/> + </LegalName> + <RelationshipType Friend="True"/> + <Telephone> + <Home> + + + + + </Home> + <Mobile> + <Number>1248889312</Number> + <Time>Both</Time> + </Mobile> + </Telephone> + <Title NotApplicable="False">Head Zoologist</Title> + </Reference> + <Reference ID="3"> + <Address> + <Street>418 Monticito Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2014</Year> + </Date> + </From> + <To> + <Date Type="Present"/> + </To> + </DateRange> + <Email>tiny@example.com</Email> + <LegalName> + <Last>Stark</Last> + <First>Tiny</First> + <Middle Type="NMN"/> + </LegalName> + <RelationshipType Neighbor="True"/> + <Telephone> + <Home> + + + + + </Home> + <Mobile> + <Number>1341214444</Number> + <Time>Both</Time> + </Mobile> + </Telephone> + <Title NotApplicable="True"/> + </Reference> + </References> + </PersonalReferences> + <RelativesAndAssociates Version="1" Type="Pooled"> + <ApplicableRelativeTypes Mother01="True" Father02="True" FosterParent05="True" Child06="True" Brother08="True" FatherInLaw14="True" MotherInLaw15="True"/> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + <Relatives> + <Relative ID="1"> + <Address> + <Street>255 Lerwick Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Birth> + <Date> + <Month>01</Month> + <Day>01</Day> + <Year>1951</Year> + </Date> + <Place> + <City>Portland</City> + <State>OR</State> + <Country>United States</Country> + </Place> + </Birth> + <CountriesOfCitizenship> + <Citizenship ID="1"> + <Country>United States</Country> + </Citizenship> + </CountriesOfCitizenship> + <Deceased> + <Answer>No</Answer> + </Deceased> + <LegalName> + <Last>Roderick</Last> + <First>Joanne</First> + <Middle>Mary</Middle> + </LegalName> + <MothersMaidenName> + <FullName> + <LegalName SameAsListed="True"/> + </FullName> + </MothersMaidenName> + <OtherNamesUsed> + <Answer>No</Answer> + </OtherNamesUsed> + <Type>01Mother</Type> + </Relative> + <Relative ID="2"> + <Address> + <Street>3432 Picadily Lane </Street> + <City>London</City> + <Country>United Kingdom</Country> + </Address> + <APOFPO> + <Answer>No</Answer> + </APOFPO> + <Birth> + <Date> + <Month>02</Month> + <Day>01</Day> + <Year>1950</Year> + </Date> + <Place> + <City>London</City> + <Country>United Kingdom</Country> + </Place> + </Birth> + <CountriesOfCitizenship> + <Citizenship ID="1"> + <Country>United Kingdom</Country> + </Citizenship> + </CountriesOfCitizenship> + <Deceased> + <Answer>No</Answer> + </Deceased> + <ForeignRelative> + <AffiliatedWithForeignGovernment> + <Answer>No</Answer> + </AffiliatedWithForeignGovernment> + <Employer> + <Address> + <Street>23 Baker St. </Street> + <City>London</City> + <Country>United Kingdom</Country> + </Address> + <Name> + Brown's meat market + </Name> + </Employer> + <FirstContactDate> + <Month>01</Month> + <Year>2000</Year> + </FirstContactDate> + <FrequencyOfContact>Daily</FrequencyOfContact> + <LastContactDate Type="Estimated"> + <Month>08</Month> + <Year>2018</Year> + </LastContactDate> + <MethodsOfContact Telephone="True"/> + </ForeignRelative> + <LegalName> + <Last>Hancock</Last> + <First>William</First> + <Middle>Samuel</Middle> + </LegalName> + <OtherNamesUsed> + <Answer>No</Answer> + </OtherNamesUsed> + <Type>02Father</Type> + </Relative> + <Relative ID="3"> + <Address> + <Street>134 2nd Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Birth> + <Date> + <Month>08</Month> + <Day>01</Day> + <Year>1970</Year> + </Date> + <Place> + <City>London</City> + <Country>United Kingdom</Country> + </Place> + </Birth> + <Citizenship> + <ProofOfStatus> + <DocumentNumber>7893142313</DocumentNumber> + <NaturalizedCertificate> + <Court> + <Address> + <Street>7 Grace Hopper Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Name>Judy's court</Name> + </Court> + </NaturalizedCertificate> + <Type>DerivedCitizenshipCertificate</Type> + </ProofOfStatus> + </Citizenship> + <CountriesOfCitizenship> + <Citizenship ID="1"> + <Country>United Kingdom</Country> + </Citizenship> + <Citizenship ID="2"> + <Country>United States</Country> + </Citizenship> + </CountriesOfCitizenship> + <Deceased> + <Answer>No</Answer> + </Deceased> + <LegalName> + <Last>Roberts</Last> + <First>Billy</First> + <Middle>Dee</Middle> + </LegalName> + <OtherNamesUsed> + <Answer>No</Answer> + </OtherNamesUsed> + <Type>08Brother</Type> + </Relative> + <Relative ID="4"> + <Address> + <Street>3432 Main St. </Street> + <City>Los Angeles</City> + <State>CA</State> + <ZipCode>90001</ZipCode> + </Address> + <Birth> + <Date> + <Month>09</Month> + <Day>02</Day> + <Year>1952</Year> + </Date> + <Place> + <City>Los Angeles</City> + <State>CA</State> + <Country>United States</Country> + </Place> + </Birth> + <CountriesOfCitizenship> + <Citizenship ID="1"> + <Country>United States</Country> + </Citizenship> + </CountriesOfCitizenship> + <Deceased> + <Answer>No</Answer> + </Deceased> + <LegalName> + <Last>Fretner</Last> + <First>Henrietta</First> + <Middle>Jane</Middle> + </LegalName> + <Type>05FosterParent</Type> + </Relative> + <Relative ID="5"> + <Address> + <Street>431 English Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Birth> + <Date> + <Month>01</Month> + <Day>31</Day> + <Year>2009</Year> + </Date> + <Place> + <City>MONTEREY</City> + <State>CA</State> + <Country>United States</Country> + </Place> + </Birth> + <CountriesOfCitizenship> + <Citizenship ID="1"> + <Country>United States</Country> + </Citizenship> + </CountriesOfCitizenship> + <Deceased> + <Answer>No</Answer> + </Deceased> + <LegalName> + <Last>Smith</Last> + <First>Caleb</First> + <Middle>Michael</Middle> + </LegalName> + <OtherNamesUsed> + <Answer>No</Answer> + </OtherNamesUsed> + <Type>06Child</Type> + </Relative> + <Relative ID="6"> + <Birth> + <Date> + <Month>01</Month> + <Day>02</Day> + <Year>1960</Year> + </Date> + <Place> + <City>Monterey</City> + <State>CA</State> + <Country>United States</Country> + </Place> + </Birth> + <CountriesOfCitizenship> + <Citizenship ID="1"> + <Country>United States</Country> + </Citizenship> + </CountriesOfCitizenship> + <Deceased> + <Answer>Yes</Answer> + </Deceased> + <LegalName> + <Last>Joes</Last> + <First>Bob</First> + <Middle Type="NMN"/> + </LegalName> + <Type>14FatherInLaw</Type> + </Relative> + <Relative ID="7"> + <Birth> + <Date> + <Month>02</Month> + <Day>02</Day> + <Year>1961</Year> + </Date> + <Place> + <City>San Jose</City> + <State>CA</State> + <Country>United States</Country> + </Place> + </Birth> + <CountriesOfCitizenship> + <Citizenship ID="1"> + <Country>United States</Country> + </Citizenship> + </CountriesOfCitizenship> + <Deceased> + <Answer>Yes</Answer> + </Deceased> + <LegalName> + <Last>Jane</Last> + <First>Mary</First> + <Middle Type="NMN"/> + </LegalName> + <Type>15MotherInLaw</Type> + </Relative> + </Relatives> + </RelativesAndAssociates> + <Spouse Version="1" Type="Pooled"> + <Cohabitants> + <Answer>Yes</Answer> + <Cohabitant ID="1"> + <Birth> + <Date> + <Month>01</Month> + <Day>01</Day> + <Year>1980</Year> + </Date> + <Place> + <City>Victoria</City> + <Country>Canada</Country> + </Place> + </Birth> + <Citizenship> + <ProofOfStatus> + <DocumentExpiration> + <Month>05</Month> + <Day>01</Day> + <Year>2017</Year> + </DocumentExpiration> + <DocumentNumber>45671892</DocumentNumber> + <Type>NaturalizationCertificate</Type> + </ProofOfStatus> + </Citizenship> + <CohabitationDate> + <Date> + <Month>01</Month> + <Day>03</Day> + <Year>2014</Year> + </Date> + </CohabitationDate> + <CountriesOfCitizenship> + <Citizenship ID="1"> + <Country>Canada</Country> + </Citizenship> + <Citizenship ID="2"> + <Country>United States</Country> + </Citizenship> + </CountriesOfCitizenship> + <LegalName> + <Last>Hayes</Last> + <First>Selena</First> + <Middle>Michelle</Middle> + </LegalName> + <OtherNamesUsed NotApplicable="True"/> + <SSN> + <FirstThree>444</FirstThree> + <NextTwo>41</NextTwo> + <LastFour>2321</LastFour> + </SSN> + </Cohabitant> + <Cohabitant ID="2"> + <Birth> + <Date> + <Month>03</Month> + <Day>01</Day> + <Year>1981</Year> + </Date> + <Place> + <City>Marina</City> + <State>CA</State> + <Country>United States</Country> + </Place> + </Birth> + <CohabitationDate> + <Date> + <Month>06</Month> + <Day>01</Day> + <Year>2018</Year> + </Date> + </CohabitationDate> + <CountriesOfCitizenship> + <Citizenship ID="1"> + <Country>United States</Country> + </Citizenship> + </CountriesOfCitizenship> + <LegalName> + <Last>Brown</Last> + <First>Ian</First> + <Middle>Roberts</Middle> + </LegalName> + <OtherNamesUsed> + <OtherName ID="1"> + <DateRange> + <From> + <Date> + <Month>04</Month> + <Year>1992</Year> + </Date> + </From> + <To> + <Date> + <Month>05</Month> + <Year>1993</Year> + </Date> + </To> + </DateRange> + <LegalName> + <Last>Brown</Last> + <First>Bazooka</First> + <Middle Type="NMN"/> + </LegalName> + <Maiden>False</Maiden> + </OtherName> + </OtherNamesUsed> + <SSN> + <FirstThree>331</FirstThree> + <NextTwo>58</NextTwo> + <LastFour>1213</LastFour> + </SSN> + </Cohabitant> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </Cohabitants> + <HaveFormerSpouse> + <Answer>No</Answer> + </HaveFormerSpouse> + <MaritalStatus>Married</MaritalStatus> + <PresentMarriage> + <CurrentSpouse ID="1"> + <Address UseMyCurrentAddress="True"> + <Street> </Street> + </Address> + <Birth> + <Date> + <Month>05</Month> + <Day>01</Day> + <Year>1992</Year> + </Date> + <Place> + <City>Monterey</City> + <State>CA</State> + <County>Monterey</County> + <Country>United States</Country> + </Place> + </Birth> + <CountriesOfCitizenship> + <Citizenship ID="1"> + <Country>United States</Country> + </Citizenship> + </CountriesOfCitizenship> + <Email>joan@example.com</Email> + <LegalName> + <Last>Rover</Last> + <First>Joan</First> + <Middle>Mary</Middle> + </LegalName> + <Marriage> + <Date> + <Month>04</Month> + <Day>01</Day> + <Year>2010</Year> + </Date> + <Place> + <City>Santa Cruz</City> + <State>CA</State> + <County>Santa Cruz</County> + </Place> + </Marriage> + <OtherNamesUsed> + <OtherName ID="1"> + <DateRange> + <From> + <Date> + <Month>05</Month> + <Year>1992</Year> + </Date> + </From> + <To> + <Date> + <Month>05</Month> + <Year>2010</Year> + </Date> + </To> + </DateRange> + <LegalName> + <Last>Ebert</Last> + <First>Joan</First> + <Middle>Mary</Middle> + </LegalName> + <Maiden>True</Maiden> + </OtherName> + <OtherName ID="2"> + <DateRange> + <From> + <Date> + <Month>08</Month> + <Year>2000</Year> + </Date> + </From> + <To> + <Date> + <Month>08</Month> + <Year>2001</Year> + </Date> + </To> + </DateRange> + <LegalName> + <Last>Rover</Last> + <First>Red</First> + <Middle Type="NMN"/> + </LegalName> + <Maiden>False</Maiden> + </OtherName> + </OtherNamesUsed> + <SSN> + <FirstThree>391</FirstThree> + <NextTwo>03</NextTwo> + <LastFour>1431</LastFour> + </SSN> + <Separated> + <Answer>Yes</Answer> + </Separated> + <Separation> + <Date> + <Month>07</Month> + <Day>01</Day> + <Year>2018</Year> + </Date> + <LocationOfRecord> + <Place> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Place> + </LocationOfRecord> + </Separation> + <Telephone> + <Number>8313122123</Number> + <Time>Both</Time> + </Telephone> + </CurrentSpouse> + </PresentMarriage> + </Spouse> + <ResidenceHistory Version="1" Type="Pooled"> + <Residencies> + <Residency ID="1"> + <Address> + <Street>424 Montecito Ave </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <DateRange> + <From> + <Date> + <Month>08</Month> + <Year>2007</Year> + </Date> + </From> + <To> + <Date> + <Month>08</Month> + <Year>2009</Year> + </Date> + </To> + </DateRange> + <ResidenceType>Own</ResidenceType> + </Residency> + <Residency ID="2"> + <Address> + <Street>370 Ocean Ave </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <DateRange> + <From> + <Date> + <Month>08</Month> + <Year>2009</Year> + </Date> + </From> + <To> + <Date> + <Month>08</Month> + <Year>2010</Year> + </Date> + </To> + </DateRange> + <ResidenceType>MilitaryHousing</ResidenceType> + <StatusOtherExplanation>This is what is avaialb.e</StatusOtherExplanation> + </Residency> + <Residency ID="3"> + <Address> + <Street>1280 1st St </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <DateRange> + <From> + <Date> + <Month>08</Month> + <Year>2010</Year> + </Date> + </From> + <To> + <Date> + <Month>08</Month> + <Year>2011</Year> + </Date> + </To> + </DateRange> + <ResidenceType>Other</ResidenceType> + <StatusOtherExplanation>Free lodging in exchange for dog care</StatusOtherExplanation> + </Residency> + <Residency ID="4"> + <Address> + <Street>132 Via Gayuba </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <DateRange> + <From> + <Date> + <Month>08</Month> + <Year>2011</Year> + </Date> + </From> + <To> + <Date Type="Present"/> + </To> + </DateRange> + <ResidenceType>Rent</ResidenceType> + <Verifier> + <Address> + <Street>130 Via Gayuba </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Email DoNotKnow="True"/> + <LastContact> + <Date Type="Estimated"> + <Month>08</Month> + <Year>2018</Year> + </Date> + </LastContact> + <LegalName> + <Last>Newheart</Last> + <First>Bob</First> + <Middle Type="NMN"/> + </LegalName> + <RelationshipTypes Neighbor="True"/> + <Telephone> + <Day> + <Number>8315550555</Number> + </Day> + <Evening> + <Number>8315550555</Number> + </Evening> + <Mobile> + <Number>8315550555</Number> + </Mobile> + </Telephone> + </Verifier> + </Residency> + </Residencies> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </ResidenceHistory> + <EmploymentActivities Type="Pooled" Version="1"> + <Employments> + <Employment ID="1"> + <DateRange> + <From> + <Date> + <Month>12</Month> + <Year>2012</Year> + </Date> + </From> + <To> + <Date> + <Month>03</Month> + <Year>2013</Year> + </Date> + </To> + </DateRange> + <Type>State</Type> + <WorkHours>FullTime</WorkHours> + <CivilEmployment> + <Employer>Equalization Board</Employer> + <PositionTitle>Tax Auditor</PositionTitle> + <EmployersLocation> + <Address> + <Street>950 E Blanco Rd #202 </Street> + <City>salinas</City> + <State>CA</State> + <ZipCode>93901</ZipCode> + </Address> + <Telephone> + <Number>8318318831</Number> + <Time>Day</Time> + </Telephone> + </EmployersLocation> + <PreviousEmployments NotApplicable="True"/> + </CivilEmployment> + <Dismissals> + <Answer>No</Answer> + </Dismissals> + <Incidents> + <Answer>No</Answer> + </Incidents> + <JobLocation> + <Answer>No</Answer> + </JobLocation> + <LeftJob> + <Reason>Because 5</Reason> + </LeftJob> + <Supervisor> + <Name>Wendy Cho</Name> + <Title>Tax Specialist</Title> + <Address> + <Street>580 Pacific St </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Email>wendy@example.com</Email> + <Telephone> + <Number>7778311113</Number> + <Time>Day</Time> + </Telephone> + </Supervisor> + </Employment> + <Employment ID="2"> + <DateRange> + <From> + <Date> + <Month>11</Month> + <Year>2012</Year> + </Date> + </From> + <To> + <Date> + <Month>12</Month> + <Year>2012</Year> + </Date> + </To> + </DateRange> + <Type>OtherFederal</Type> + <WorkHours>FullTime</WorkHours> + <CivilEmployment> + <Employer>General Services Administration</Employer> + <PositionTitle>Innovation Specialist</PositionTitle> + <EmployersLocation> + <Address> + <Street>1410 Del Monte Center </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Telephone> + <Number>8313333333</Number> + <Time>Day</Time> + </Telephone> + </EmployersLocation> + <PreviousEmployments NotApplicable="True"/> + </CivilEmployment> + <Dismissals> + <Answer>No</Answer> + </Dismissals> + <Incidents> + <Answer>No</Answer> + </Incidents> + <JobLocation> + <Answer>No</Answer> + </JobLocation> + <LeftJob> + <Reason>Because 4</Reason> + </LeftJob> + <Supervisor> + <Name>Allain Estair</Name> + <Title>IT Specialist</Title> + <Address> + <Street>580 Pacific St </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Email>allain@example.com</Email> + <Telephone> + <Number>7778311113</Number> + <Time>Day</Time> + </Telephone> + </Supervisor> + </Employment> + <Employment ID="3"> + <DateRange> + <From> + <Date> + <Month>09</Month> + <Year>2012</Year> + </Date> + </From> + <To> + <Date> + <Month>11</Month> + <Year>2012</Year> + </Date> + </To> + </DateRange> + <Type>USPHS</Type> + <WorkHours>FullTime</WorkHours> + <MilitaryService> + <DutyStation> + <DutyLocation>Community Hospital of the Monterey Penninsula</DutyLocation> + <Address> + <Street>23625 Holman Hwy </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Telephone> + <Number>8316662331</Number> + <Time>Day</Time> + </Telephone> + </DutyStation> + <Rank>CDR</Rank> + </MilitaryService> + <Dismissals> + <Answer>No</Answer> + </Dismissals> + <Incidents> + <Answer>No</Answer> + </Incidents> + <LeftJob> + <Reason>Because 3</Reason> + </LeftJob> + <Supervisor> + <Name>Gregor Legain</Name> + <Title>Manager</Title> + <Address> + <Street>580 Pacific St </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Email>gregor@example.com</Email> + <Telephone> + <Number>7778311113</Number> + <Time>Day</Time> + </Telephone> + </Supervisor> + </Employment> + <Employment ID="4"> + <DateRange> + <From> + <Date> + <Month>08</Month> + <Year>2012</Year> + </Date> + </From> + <To> + <Date> + <Month>09</Month> + <Year>2012</Year> + </Date> + </To> + </DateRange> + <Type>NationalGuard</Type> + <WorkHours>FullTime</WorkHours> + <MilitaryService> + <DutyStation> + <DutyLocation>NPS</DutyLocation> + <Address> + <Street>1 University Circle </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93943</ZipCode> + </Address> + <Telephone> + <Number>8316561234</Number> + <Time>Day</Time> + </Telephone> + </DutyStation> + <Rank>LT</Rank> + </MilitaryService> + <Dismissals> + <Answer>No</Answer> + </Dismissals> + <Incidents> + <Answer>No</Answer> + </Incidents> + <LeftJob> + <Reason>Because 2</Reason> + </LeftJob> + <Supervisor> + <Name>Warren Chrisoff</Name> + <Title>Chief Learning Officer</Title> + <Address> + <Street>580 Pacific St </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Email>warren@example.com</Email> + <Telephone> + <Number>7778311113</Number> + <Time>Day</Time> + </Telephone> + </Supervisor> + </Employment> + <Employment ID="5"> + <DateRange> + <From> + <Date> + <Month>08</Month> + <Year>2007</Year> + </Date> + </From> + <To> + <Date> + <Month>08</Month> + <Year>2012</Year> + </Date> + </To> + </DateRange> + <Type>ActiveMilitaryDuty</Type> + <WorkHours>FullTime</WorkHours> + <MilitaryService> + <DutyStation> + <DutyLocation>FLENUMMETOCCEN</DutyLocation> + <Address> + <Street>7 Grace Hopper Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93943</ZipCode> + </Address> + <Telephone> + <Number>8316565555</Number> + <Time>Day</Time> + </Telephone> + </DutyStation> + <Rank>ENS</Rank> + </MilitaryService> + <Dismissals> + <Answer>No</Answer> + </Dismissals> + <Incidents> + <Answer>No</Answer> + </Incidents> + <LeftJob> + <Reason>Because 1</Reason> + </LeftJob> + <Supervisor> + <Name>Grace Hopper</Name> + <Title>Chief Computer Scientist</Title> + <Address> + <Street>580 Pacific St </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Email>grace@example.com</Email> + <Telephone> + <Number>7778311113</Number> + <Time>Day</Time> + </Telephone> + </Supervisor> + </Employment> + <Employment ID="6"> + <DateRange> + <From> + <Date> + <Month>08</Month> + <Year>2014</Year> + </Date> + </From> + <To> + <Date> + <Month>08</Month> + <Year>2015</Year> + </Date> + </To> + </DateRange> + <Type>FederalContractor</Type> + <WorkHours>FullTime</WorkHours> + <CivilEmployment> + <Employer>Raytheon</Employer> + <PositionTitle>IT Specialist</PositionTitle> + <EmployersLocation> + <Address> + <Street>7 Grace Hopper Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Telephone> + <Number>8311117777</Number> + <Time>Day</Time> + </Telephone> + </EmployersLocation> + <PreviousEmployments NotApplicable="True"/> + </CivilEmployment> + <Dismissals> + <Answer>No</Answer> + </Dismissals> + <Incidents> + <Answer>No</Answer> + </Incidents> + <JobLocation> + <Answer>No</Answer> + </JobLocation> + <LeftJob> + <Reason>Because 8</Reason> + </LeftJob> + <Supervisor> + <Name>Jay Sprocket</Name> + <Title>Senior Manager</Title> + <Address> + <Street>580 Pacific St </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Email>jay@example.com</Email> + <Telephone> + <Number>7778311113</Number> + <Time>Day</Time> + </Telephone> + </Supervisor> + </Employment> + <Employment ID="7"> + <DateRange> + <From> + <Date> + <Month>08</Month> + <Year>2015</Year> + </Date> + </From> + <To> + <Date> + <Month>08</Month> + <Year>2016</Year> + </Date> + </To> + </DateRange> + <Type>NonGovernment</Type> + <WorkHours>FullTime</WorkHours> + <CivilEmployment> + <Employer>Safeway</Employer> + <PositionTitle>Cashier</PositionTitle> + <EmployersLocation> + <Address> + <Street>815 Canyon Del Rey Blvd </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Telephone> + <Number>8311433421</Number> + <Time>Day</Time> + </Telephone> + </EmployersLocation> + <PreviousEmployments> + <PreviousEmployment ID="1"> + <DateRange> + <From> + <Date> + <Month>05</Month> + <Year>2009</Year> + </Date> + </From> + <To> + <Date> + <Month>06</Month> + <Year>2009</Year> + </Date> + </To> + </DateRange> + <PositionTitle>Bag boy</PositionTitle> + <Supervisor>Walter Kronkite</Supervisor> + </PreviousEmployment> + <PreviousEmployment ID="2"> + <DateRange> + <From> + <Date> + <Month>03</Month> + <Year>2009</Year> + </Date> + </From> + <To> + <Date> + <Month>04</Month> + <Year>2009</Year> + </Date> + </To> + </DateRange> + <PositionTitle>Senior Bag boy</PositionTitle> + <Supervisor>Jane Goodall</Supervisor> + </PreviousEmployment> + </PreviousEmployments> + </CivilEmployment> + <Dismissals> + <Answer>Yes</Answer> + <Dismissal ID="1"> + <Date> + <Month>04</Month> + <Year>2009</Year> + </Date> + <Reason>Because 9</Reason> + <SeveranceType>QuitKnowingWouldBeFired</SeveranceType> + <SeveranceTypeComment>Reason 9 for quitting</SeveranceTypeComment> + </Dismissal> + <Dismissal ID="2"> + <Date> + <Month>06</Month> + <Year>2009</Year> + </Date> + <Reason>Because 9</Reason> + <SeveranceType>AllegedMisconduct</SeveranceType> + <SeveranceTypeComment>Reason 9 for Misconduct</SeveranceTypeComment> + </Dismissal> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </Dismissals> + <Incidents> + <Answer>Yes</Answer> + <Incident ID="1"> + <Date> + <Month>09</Month> + <Year>2015</Year> + </Date> + <Reason>Texting all the time</Reason> + </Incident> + <Incident ID="2"> + <Date> + <Month>07</Month> + <Year>2016</Year> + </Date> + <Reason>Snapchatting</Reason> + </Incident> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </Incidents> + <JobLocation> + <Answer>No</Answer> + </JobLocation> + <LeftJob> + <Reason>Because 9</Reason> + </LeftJob> + <Supervisor> + <Name>Chong Smith</Name> + <Title>Head Cashier</Title> + <Address> + <Street>580 Pacific St </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Email>chong@example.com</Email> + <Telephone> + <Number>7778311113</Number> + <Time>Day</Time> + </Telephone> + </Supervisor> + </Employment> + <Employment ID="8"> + <DateRange> + <From> + <Date> + <Month>08</Month> + <Year>2016</Year> + </Date> + </From> + <To> + <Date Type="Present"/> + </To> + </DateRange> + <Type>Other</Type> + <EmploymentTypeOtherExplanation>No City Government category</EmploymentTypeOtherExplanation> + <WorkHours>FullTime</WorkHours> + <CivilEmployment> + <Employer>City of Monterey</Employer> + <PositionTitle>Groundskeeper</PositionTitle> + <EmployersLocation> + <Address> + <Street>580 Pacific St </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Telephone> + <Number>4325555531</Number> + <Time>Day</Time> + </Telephone> + </EmployersLocation> + <PreviousEmployments NotApplicable="True"/> + </CivilEmployment> + <Incidents> + <Answer>No</Answer> + </Incidents> + <JobLocation> + <Answer>No</Answer> + </JobLocation> + <Supervisor> + <Name>Dan WhatsUp Morgan</Name> + <Title>Mayor</Title> + <Address> + <Street>580 Pacific St </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Email>dan@example.com</Email> + <Telephone> + <Number>7778311113</Number> + <Time>Day</Time> + </Telephone> + </Supervisor> + </Employment> + <Employment ID="9"> + <DateRange> + <From> + <Date> + <Month>02</Month> + <Year>2013</Year> + </Date> + </From> + <To> + <Date> + <Month>08</Month> + <Year>2013</Year> + </Date> + </To> + </DateRange> + <Type>SelfEmployed</Type> + <WorkHours>FullTime</WorkHours> + <SelfEmployment> + <Occupation>Proprietor</Occupation> + <Business> + <Name>Kirk's Painting</Name> + <Address> + <Street>132 Via Gayuba </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Telephone> + <Number>8311112222</Number> + <Extension>2</Extension> + <Time>Day</Time> + </Telephone> + </Business> + </SelfEmployment> + <Dismissals> + <Answer>No</Answer> + </Dismissals> + <Incidents> + <Answer>No</Answer> + </Incidents> + <JobLocation> + <Answer>No</Answer> + </JobLocation> + <LeftJob> + <Reason>Because 6</Reason> + </LeftJob> + <Verifier> + <LegalName> + <Last>Mitchell</Last> + <First>Dennis</First> + </LegalName> + <Address> + <Street>128 Via Gayuba </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Telephone> + <Number>8314444444</Number> + <Extension>4</Extension> + <Time>Day</Time> + </Telephone> + </Verifier> + </Employment> + <Employment ID="10"> + <DateRange> + <From> + <Date> + <Month>08</Month> + <Year>2013</Year> + </Date> + </From> + <To> + <Date> + <Month>08</Month> + <Year>2014</Year> + </Date> + </To> + </DateRange> + <Type>Unemployed</Type> + <Verifier> + <LegalName> + <Last>Claven</Last> + <First>Cliff</First> + </LegalName> + <Address> + <Street>422 English Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Telephone> + <Number>5033331111</Number> + <Time>Both</Time> + </Telephone> + </Verifier> + </Employment> + </Employments> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </EmploymentActivities> + <EmploymentRecord Version="1" Type="Pooled"> + <Fired> + <Answer>No</Answer> + </Fired> + </EmploymentRecord> + <Education Version="1" Type="Pooled"> + <AttendedAnySchools> + <Answer>Yes</Answer> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </AttendedAnySchools> + <ReceivedDegreeOrDiploma> + + + </ReceivedDegreeOrDiploma> + <SchoolsAttended> + <SchoolAttended ID="1"> + <DateRange> + <From> + <Date> + <Month>09</Month> + <Year>2004</Year> + </Date> + </From> + <To> + <Date> + <Month>08</Month> + <Year>2008</Year> + </Date> + </To> + </DateRange> + <Type>HighSchool</Type> + <Name>Monterey High School</Name> + <Address> + <Street>101 Herrmann Dr </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <DegreeReceived> + <Answer>Yes</Answer> + </DegreeReceived> + <DegreesAwarded> + <DegreeAwarded ID="1"> + <DateAwarded> + <Date> + <Month>08</Month> + <Year>2008</Year> + </Date> + </DateAwarded> + <Degree>HighSchool</Degree> + </DegreeAwarded> + </DegreesAwarded> + </SchoolAttended> + <SchoolAttended ID="2"> + <DateRange> + <From> + <Date> + <Month>09</Month> + <Year>2008</Year> + </Date> + </From> + <To> + <Date> + <Month>10</Month> + <Year>2010</Year> + </Date> + </To> + </DateRange> + <Type>College</Type> + <Name>Monterey Peninsula College</Name> + <Address> + <Street>980 Fremont St </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <DegreeReceived> + <Answer>Yes</Answer> + </DegreeReceived> + <DegreesAwarded> + <DegreeAwarded ID="1"> + <DateAwarded> + <Date> + <Month>11</Month> + <Year>2010</Year> + </Date> + </DateAwarded> + <Degree>Associate</Degree> + </DegreeAwarded> + </DegreesAwarded> + </SchoolAttended> + <SchoolAttended ID="3"> + <DateRange> + <From> + <Date> + <Month>12</Month> + <Year>2010</Year> + </Date> + </From> + <To> + <Date> + <Month>04</Month> + <Year>2011</Year> + </Date> + </To> + </DateRange> + <Type>Vocational</Type> + <Name>Monterey Flyers</Name> + <Address> + <Street>200 Fred Kane Dr </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <DegreeReceived> + <Answer>No</Answer> + </DegreeReceived> + </SchoolAttended> + <SchoolAttended ID="4"> + <DateRange> + <From> + <Date> + <Month>03</Month> + <Year>2014</Year> + </Date> + </From> + <To> + <Date> + <Month>03</Month> + <Year>2018</Year> + </Date> + </To> + </DateRange> + <Type>Correspondence</Type> + <Name>Iowa State University</Name> + <Address> + <Street>Iowa State University </Street> + <City>Ames</City> + <State>IA</State> + <ZipCode>50011</ZipCode> + </Address> + <DegreeReceived> + <Answer>Yes</Answer> + </DegreeReceived> + <DegreesAwarded> + <DegreeAwarded ID="1"> + <DateAwarded> + <Date> + <Month>04</Month> + <Year>2018</Year> + </Date> + </DateAwarded> + <Degree>Master</Degree> + </DegreeAwarded> + </DegreesAwarded> + <Verifier> + <Address> + <Street>200 Hawkins Drive </Street> + <City>Iowa City</City> + <State>IA</State> + <ZipCode>52242</ZipCode> + </Address> + <Email>timothy@example.com</Email> + <LegalName> + <Last>Bronston</Last> + <First>Timothy</First> + </LegalName> + <Telephone> + <Number>1247181232</Number> + <Time>Both</Time> + </Telephone> + </Verifier> + </SchoolAttended> + </SchoolsAttended> + </Education> + <FormerFederalServiceActivities Version="1" Type="Pooled"> + <HadFormerFederalCivilianEmployment> + <Answer>Yes</Answer> + </HadFormerFederalCivilianEmployment> + <FederalServices> + <FederalService ID="1"> + <Agency> + <Location> + <Place> + <Street>7 Grace Hopper Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93943</ZipCode> + </Place> + </Location> + <Name>Department of Navy</Name> + </Agency> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2001</Year> + </Date> + </From> + <To> + <Date> + <Month>06</Month> + <Year>2001</Year> + </Date> + </To> + </DateRange> + <PositionTitle>Food Services Specialist</PositionTitle> + </FederalService> + <FederalService ID="2"> + <Agency> + <Location> + <Place> + <Street>400 Gigling Rd </Street> + <City>Seaside</City> + <State>CA</State> + <ZipCode>93955</ZipCode> + </Place> + </Location> + <Name>DMDC</Name> + </Agency> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2005</Year> + </Date> + </From> + <To> + <Date> + <Month>06</Month> + <Year>2005</Year> + </Date> + </To> + </DateRange> + <PositionTitle>Food Services Specialist</PositionTitle> + </FederalService> + </FederalServices> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </FormerFederalServiceActivities> + <Citizenship Version="1" Type="Pooled"> + <Status>USByBirth</Status> + <USCitizen> + <ProofOfUSCitizenship> + <USPassport> + <DateExpired> + <Date> + <Month>01</Month> + <Day>20</Day> + <Year>2020</Year> + </Date> + </DateExpired> + <DateIssued> + <Date> + <Month>01</Month> + <Day>20</Day> + <Year>2000</Year> + </Date> + </DateIssued> + <IssuedLegalName> + <Last>Riker</Last> + <First>Kirk</First> + <Middle>Enzo</Middle> + </IssuedLegalName> + <PassportNumber>A34232342</PassportNumber> + </USPassport> + </ProofOfUSCitizenship> + </USCitizen> + </Citizenship> + <DualCitizenship Version="1" Type="Pooled"> + <DualCitizenships> + <Citizenship ID="1"> + <Country>Canada</Country> + <CurrentlyHoldCitizenship> + <Answer>Yes</Answer> + <Explanation>Haven't heard back from them.</Explanation> + </CurrentlyHoldCitizenship> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2007</Year> + </Date> + </From> + <To> + <Date> + <Month>01</Month> + <Year>2008</Year> + </Date> + </To> + </DateRange> + <HowAcquired>Special dispensation</HowAcquired> + <TakenActionToRenounceCitizenship> + <Answer>Yes</Answer> + <Explanation>Filled out a form, paid a fee.</Explanation> + </TakenActionToRenounceCitizenship> + </Citizenship> + <Citizenship ID="2"> + <Country>Mexico</Country> + <CurrentlyHoldCitizenship> + + + + </CurrentlyHoldCitizenship> + <DateRange> + <From> + <Date> + <Month>09</Month> + <Year>2010</Year> + </Date> + </From> + <To> + <Date Type="Present"/> + </To> + </DateRange> + <HowAcquired>Special order by Mexican government</HowAcquired> + <TakenActionToRenounceCitizenship> + <Answer>No</Answer> + <Explanation>Nah didn't want to</Explanation> + </TakenActionToRenounceCitizenship> + </Citizenship> + </DualCitizenships> + <HeldDualCitizenship> + <Answer>Yes</Answer> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </HeldDualCitizenship> + </DualCitizenship> + <USPassport Type="Pooled" Version="1"> + <DoPossessUSPassport> + <Answer>Yes</Answer> + </DoPossessUSPassport> + </USPassport> + <MilitaryHistory Version="1" Type="Pooled"> + <Charges> + <Answer>Yes</Answer> + <Charge ID="1"> + <Authority>Judge Wapner's court</Authority> + <DateCharged> + <Date> + <Month>02</Month> + <Year>2012</Year> + </Date> + </DateCharged> + <Description>Did that bad thing.</Description> + <Name>Captain's mast is the best mast.</Name> + <Outcome>Reduction in rank</Outcome> + </Charge> + <Charge ID="2"> + <Authority>Judge Judy's court</Authority> + <DateCharged> + <Date> + <Month>03</Month> + <Year>2013</Year> + </Date> + </DateCharged> + <Description>Did another bad thing</Description> + <Name>Captain's mast again</Name> + <Outcome>Reduction in rank</Outcome> + </Charge> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </Charges> + <ForeignService> + <Answer>Yes</Answer> + </ForeignService> + <ForeignMilitaryService> + <Service ID="1"> + <AssociationDescription>I decrypted documents </AssociationDescription> + <Branch>Crypto</Branch> + <Country>Canada</Country> + <DateRange> + <From> + <Date> + <Month>05</Month> + <Year>2013</Year> + </Date> + </From> + <To> + <Date> + <Month>05</Month> + <Year>2013</Year> + </Date> + </To> + </DateRange> + <LeavingDescription>Decided it wasn't for me</LeavingDescription> + <Name>CSEC</Name> + <Organization>Diplomatic</Organization> + <Position>Cryptographer</Position> + <Contacts> + <Answer>Yes</Answer> + <Contact ID="1"> + <Address> + <Street>123 Medanna St. </Street> + <City>Victoria</City> + <Country>Canada</Country> + </Address> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2013</Year> + </Date> + </From> + <To> + <Date Type="Present"/> + </To> + </DateRange> + <FrequencyOfContact>Once in a blue moon</FrequencyOfContact> + <LegalName> + <Last>Green</Last> + <First>Rick</First> + <Middle Type="NMN"/> + </LegalName> + <Title>Senior Cryptographer</Title> + </Contact> + <Contact ID="2"> + <Address> + <Street>123 1st. </Street> + <City>Ottawa</City> + <Country>Canada</Country> + </Address> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2013</Year> + </Date> + </From> + <To> + <Date> + <Month>02</Month> + <Year>2013</Year> + </Date> + </To> + </DateRange> + <FrequencyOfContact>Once a day</FrequencyOfContact> + <LegalName> + <Last>Chretien</Last> + <First>Jean</First> + <Middle Type="NMN"/> + </LegalName> + <Title>Prime Minister</Title> + </Contact> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </Contacts> + </Service> + <Service ID="2"> + <AssociationDescription>Took care of the horses</AssociationDescription> + <Branch>Mounted division</Branch> + <Country>Canada</Country> + <DateRange> + <From> + <Date> + <Month>07</Month> + <Year>2014</Year> + </Date> + </From> + <To> + <Date> + <Month>07</Month> + <Year>2014</Year> + </Date> + </To> + </DateRange> + <LeavingDescription>Tired of caring for horses</LeavingDescription> + <Name>RCMP</Name> + <Organization>Security</Organization> + <Position>Master Sergeant</Position> + <Contacts> + <Answer>Yes</Answer> + <Contact ID="1"> + <Address> + <Street>452 Wilson St. </Street> + <City>Victoria</City> + <Country>Canada</Country> + </Address> + <DateRange> + <From> + <Date> + <Month>07</Month> + <Year>2014</Year> + </Date> + </From> + <To> + <Date> + <Month>08</Month> + <Year>2014</Year> + </Date> + </To> + </DateRange> + <FrequencyOfContact>Once a week</FrequencyOfContact> + <LegalName> + <Last>Canadaer</Last> + <First>Steve</First> + <Middle>Brown</Middle> + </LegalName> + <Title>Head Mounted Officer</Title> + </Contact> + <Contact ID="2"> + <Address> + <Street>331 Wilson St. </Street> + <City>Victoria</City> + <Country>Canada</Country> + </Address> + <DateRange> + <From> + <Date> + <Month>07</Month> + <Year>2014</Year> + </Date> + </From> + <To> + <Date> + <Month>08</Month> + <Year>2014</Year> + </Date> + </To> + </DateRange> + <FrequencyOfContact>Weekly</FrequencyOfContact> + <LegalName> + <Last>Green</Last> + <First>Red</First> + <Middle Type="NMN"/> + </LegalName> + <Title>Chief Producer</Title> + </Contact> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </Contacts> + </Service> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </ForeignMilitaryService> + <Answer>Yes</Answer> + <MilitaryService> + <Service ID="1"> + <Branch>Navy</Branch> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2011</Year> + </Date> + </From> + <To> + <Date> + <Month>01</Month> + <Year>2012</Year> + </Date> + </To> + </DateRange> + <Rank>Enlisted</Rank> + <ServiceNumber>555123431</ServiceNumber> + <Status>InactiveReserve</Status> + <WasDischarged> + <Answer>Yes</Answer> + </WasDischarged> + <Discharge> + <Date> + <Month>02</Month> + <Year>2012</Year> + </Date> + <Type>Honorable</Type> + </Discharge> + </Service> + <Service ID="2"> + <Branch>Army</Branch> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2013</Year> + </Date> + </From> + <To> + <Date> + <Month>06</Month> + <Year>2014</Year> + </Date> + </To> + </DateRange> + <Rank>Enlisted</Rank> + <ServiceNumber>2132123</ServiceNumber> + <Status>InactiveReserve</Status> + <WasDischarged> + <Answer>Yes</Answer> + </WasDischarged> + <Discharge> + <Date> + <Month>07</Month> + <Year>2014</Year> + </Date> + <Type>Honorable</Type> + </Discharge> + </Service> + </MilitaryService> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </MilitaryHistory> + <SelectiveServiceRegistration Version="1" Type="Pooled"> + <Registered> + <Answer>Yes</Answer> + </Registered> + <Registration> + <Number>55555555</Number> + </Registration> + <RegistrationRequired> + <Answer>Yes</Answer> + </RegistrationRequired> + </SelectiveServiceRegistration> + <FinancialRecord Type="Pooled" Version="1"> + <Bankruptcy> + <Activities> + <Activity ID="1"> + <AccountNumber>3912</AccountNumber> + <Amount>9031</Amount> + <Authority> + <Address> + <Street>313 Judge St. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Court>Monterey</Court> + </Authority> + <DischargeDate> + <Month>06</Month> + <Year>2012</Year> + </DischargeDate> + <DischargedOfAllDebts> + <Answer>Yes</Answer> + </DischargedOfAllDebts> + <Explanation>I was discharged</Explanation> + <FiledDate> + <Month>04</Month> + <Year>2012</Year> + </FiledDate> + <Record> + <Name> + <Last>Picard</Last> + <First>Kirk</First> + <Middle>Enzo</Middle> + </Name> + </Record> + <Type>Chapter7</Type> + </Activity> + <Activity ID="2"> + <AccountNumber>903</AccountNumber> + <Amount>1000</Amount> + <Authority> + <Address> + <Street>313 Judge Circle </Street> + <City>Salinas</City> + <State>CA</State> + <ZipCode>93901</ZipCode> + </Address> + <Court>Salinas</Court> + </Authority> + <DischargeDate> + <Month>05</Month> + <Year>2017</Year> + </DischargeDate> + <DischargedOfAllDebts> + <Answer>Yes</Answer> + </DischargedOfAllDebts> + <Explanation>100% discharged</Explanation> + <FiledDate> + <Month>04</Month> + <Year>2017</Year> + </FiledDate> + <Record> + <Name> + <Last>Picard</Last> + <First>Kirk</First> + <Middle Type="NMN"/> + </Name> + </Record> + <Type>Chapter11</Type> + </Activity> + </Activities> + <Answer>Yes</Answer> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </Bankruptcy> + <ViolatedCorporateCardAgreement> + <Answer>Yes</Answer> + <Incidents> + <Incident ID="1"> + <Actions>Tried harder</Actions> + <Agency> + <Address> + <Street>1800 F Street </Street> + <City>Washington</City> + <State>DC</State> + <ZipCode>20405</ZipCode> + </Address> + <Name>General Services Administration</Name> + </Agency> + <Amount>20</Amount> + <Date> + <Month>03</Month> + <Year>2014</Year> + </Date> + <Reason>I used CC for lunch</Reason> + </Incident> + <Incident ID="2"> + <Actions>I really tried harder</Actions> + <Agency> + <Address> + <Street>313 Canyon Del Rey </Street> + <City>Del Rey Oaks</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Name>Safeway</Name> + </Agency> + <Amount>30</Amount> + <Date> + <Month>01</Month> + <Year>2016</Year> + </Date> + <Reason>I spent money I shouldn't have</Reason> + </Incident> + </Incidents> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </ViolatedCorporateCardAgreement> + <UtilizingOrSeekingCreditCounseling> + <Answer>Yes</Answer> + <Incidents> + <Incident ID="1"> + <Actions>No action</Actions> + <Explanation>Explanation 1</Explanation> + <Organization> + <Location> + <City>Monterey</City> + <State>CA</State> + </Location> + <Name>Counseling R Us</Name> + <Telephone> + <Number>8313213234</Number> + <Time>Day</Time> + </Telephone> + </Organization> + </Incident> + <Incident ID="2"> + <Actions>No action 2</Actions> + <Explanation>Explanation 2</Explanation> + <Organization> + <Location> + <City>Salinas</City> + <State>CA</State> + </Location> + <Name>Credit 2 The Max</Name> + <Telephone> + <Number>5552133123</Number> + <Time>Day</Time> + </Telephone> + </Organization> + </Incident> + </Incidents> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </UtilizingOrSeekingCreditCounseling> + <DelinquencyInvolvingEnforcement> + <Answer>Yes</Answer> + <Incidents> + <Incident ID="1"> + <AccountNumber>343213</AccountNumber> + <Agency> + <Name>Blockbuster</Name> + </Agency> + <Amount>55</Amount> + <Court> + <Address> + <Street>323 7th St. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Name>Video court</Name> + </Court> + <DateBegan> + <Month>03</Month> + <Year>2017</Year> + </DateBegan> + <DateResolved> + <Month>03</Month> + <Year>2018</Year> + </DateResolved> + <Description>No action.</Description> + <IssueType> + <Answer>Yes</Answer> + <Options Judgment="True"/> + </IssueType> + <PropertyType>VHS tapes</PropertyType> + <Reason>Didn't return videos before the store closed down.</Reason> + <Status>Resolved</Status> + </Incident> + <Incident ID="2"> + <AccountNumber>32393a</AccountNumber> + <Agency> + <Name>EPA</Name> + </Agency> + <Amount>9999</Amount> + <Court> + <Address> + <Street>389 5th Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Name>EPA Court</Name> + </Court> + <DateBegan> + <Month>03</Month> + <Year>2018</Year> + </DateBegan> + <DateResolved> + <Month>04</Month> + <Year>2018</Year> + </DateResolved> + <Description>No action for this one.</Description> + <IssueType> + <Answer>Yes</Answer> + <Options FederalDebt="True"/> + </IssueType> + <PropertyType>Fine</PropertyType> + <Reason>Was fined for my power plant.</Reason> + <Status>Resolved</Status> + </Incident> + </Incidents> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </DelinquencyInvolvingEnforcement> + <ProblemsDueToGambling> + <Answer>Yes</Answer> + <Incidents> + <Incident ID="1"> + <Actions>I did not take any action</Actions> + <Amount>500</Amount> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2013</Year> + </Date> + </From> + <To> + <Date> + <Month>02</Month> + <Year>2013</Year> + </Date> + </To> + </DateRange> + <Description>Moderate financial problems</Description> + </Incident> + <Incident ID="2"> + <Actions>No action.</Actions> + <Amount>9999</Amount> + <DateRange> + <From> + <Date> + <Month>11</Month> + <Year>2017</Year> + </Date> + </From> + <To> + <Date> + <Month>12</Month> + <Year>2017</Year> + </Date> + </To> + </DateRange> + <Description>Slight financial problems</Description> + </Incident> + </Incidents> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </ProblemsDueToGambling> + <DelinquencyInvolvingRoutineAccounts> + <Answer>Yes</Answer> + <Incidents> + <Incident ID="1"> + <AccountNumber>329333</AccountNumber> + <Agency> + <Name>James Stewart</Name> + </Agency> + <Amount>9000</Amount> + <DateBegan> + <Month>04</Month> + <Year>2018</Year> + </DateBegan> + <DateResolved> + <Month>05</Month> + <Year>2018</Year> + </DateResolved> + <Description>No action taken.</Description> + <IssueType> + <Answer>Yes</Answer> + <Option Bills="True"/> + </IssueType> + <PropertyType>Car</PropertyType> + <Reason>Didn't pay what I promised</Reason> + <Status>Resolved</Status> + </Incident> + <Incident ID="2"> + <AccountNumber>3930923</AccountNumber> + <Agency> + <Name>Huxley Inc.</Name> + </Agency> + <Amount>10000</Amount> + <DateBegan> + <Month>06</Month> + <Year>2018</Year> + </DateBegan> + <DateResolved NotResolved="True"> + + </DateResolved> + <Description>No action taken as of today.</Description> + <IssueType> + <Answer>Yes</Answer> + <Option Property="True"/> + </IssueType> + <PropertyType>Vehicle</PropertyType> + <Reason>Didn't pay</Reason> + <Status>Outstanding</Status> + </Incident> + </Incidents> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </DelinquencyInvolvingRoutineAccounts> + <UnpaidTaxes> + <Answer>Yes</Answer> + <Incidents> + <Incident ID="1"> + <Actions>Have not tried.</Actions> + <Agency>IRS</Agency> + <Amount>9910</Amount> + <DateFailedToPay> + <Year>2012</Year> + </DateFailedToPay> + <DateSatisfied NotApplicable="True"/> + <Reason>Lost track of time</Reason> + <TaxType>Income</TaxType> + <Type>File</Type> + </Incident> + <Incident ID="2"> + <Actions>Multiple payments</Actions> + <Agency>Board of Equalization</Agency> + <Amount>90313</Amount> + <DateFailedToPay> + <Year>2013</Year> + </DateFailedToPay> + <DateSatisfied> + <Month>05</Month> + <Year>2014</Year> + </DateSatisfied> + <Reason>Was injured.</Reason> + <TaxType>Sales</TaxType> + <Type>Both</Type> + </Incident> + </Incidents> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </UnpaidTaxes> + </FinancialRecord> + <ForeignContacts Version="1" Type="Pooled"> + <ContactWithForeignNationalBoundByAffectionInfluenceObligation> + <Answer>Yes</Answer> + </ContactWithForeignNationalBoundByAffectionInfluenceObligation> + <Contacts> + <Contact ID="1"> + <Address DoNotKnow="True"> + <Street> </Street> + </Address> + <Birth> + <Date DoNotKnow="True"> + + </Date> + <Place DoNotKnow="True"> + + + + </Place> + </Birth> + <Citizenships> + <Citizenship ID="1"> + <Country>Greece</Country> + </Citizenship> + </Citizenships> + <Contact> + <Frequency>Daily</Frequency> + <Nature Business="True"/> + <Type InPerson="True"/> + </Contact> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2010</Year> + </Date> + </From> + <To> + <Date> + <Month>01</Month> + <Year>2015</Year> + </Date> + </To> + </DateRange> + <Employer> + <Address> + <Street>13 Freemont St. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Name>7-11</Name> + </Employer> + <ForeignAffiliation> + <Answer>IDontKnow</Answer> + </ForeignAffiliation> + <FullName> + <LegalName> + <Last>Grecco</Last> + <First>Kosta</First> + <Middle Type="NMN"/> + </LegalName> + </FullName> + </Contact> + <Contact ID="2"> + <Address> + <Street>13432 blanc Ave </Street> + <City>Paris</City> + <Country>France</Country> + </Address> + <APOFPO> + <Answer>No</Answer> + </APOFPO> + <Birth> + <Date> + <Month>01</Month> + <Day>01</Day> + <Year>1950</Year> + </Date> + <Place> + <City>Paris</City> + <Country>France</Country> + </Place> + </Birth> + <Citizenships> + <Citizenship ID="1"> + <Country>France</Country> + </Citizenship> + </Citizenships> + <Contact> + <Frequency>Daily</Frequency> + <Nature Personal="True"/> + <Type InPerson="True" ElectronicCorrespondence="True"/> + </Contact> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2010</Year> + </Date> + </From> + <To> + <Date> + <Month>08</Month> + <Year>2018</Year> + </Date> + </To> + </DateRange> + <Employer> + <Address> + <Street>32342 Croissant Ave </Street> + <City>Paris</City> + <Country>France</Country> + </Address> + <Name>Pizza Hut</Name> + </Employer> + <ForeignAffiliation> + <Answer>No</Answer> + </ForeignAffiliation> + <FullName> + <LegalName> + <Last>Busshard</Last> + <First>Pierre</First> + <Middle>Frances</Middle> + </LegalName> + </FullName> + </Contact> + </Contacts> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </ForeignContacts> + <ForeignFinancialInterests Version="1" Type="Pooled"> + <DirectInterests> + <Answer>Yes</Answer> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + <DirectInterest ID="1"> + <Coowners> + <Answer>Yes</Answer> + <Coowner ID="1"> + <Address> + <Street>89 1st St. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <CountriesOfCitizenship> + <Citizenship ID="1"> + <Country>United States</Country> + </Citizenship> + </CountriesOfCitizenship> + <LegalName> + <Last>Umbro</Last> + <First>Rex</First> + <Middle>Tim</Middle> + </LegalName> + <Relationship>Friend</Relationship> + </Coowner> + <Coowner ID="2"> + <Address> + <Street>903 4th St. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <CountriesOfCitizenship> + <Citizenship ID="1"> + <Country>United States</Country> + </Citizenship> + </CountriesOfCitizenship> + <LegalName> + <Last>Cho</Last> + <First>Jane</First> + <Middle>Margaret</Middle> + </LegalName> + <Relationship>Friend</Relationship> + </Coowner> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </Coowners> + <Cost>500</Cost> + <CurrentValue>501</CurrentValue> + <DateAcquired> + <Month>07</Month> + <Day>01</Day> + <Year>2018</Year> + </DateAcquired> + <DateRelinquished NotApplicable="True"/> + <HowAcquired>Purchase</HowAcquired> + <Members Yourself="True"/> + <TypeOfFinancialInterest>stocks</TypeOfFinancialInterest> + </DirectInterest> + <DirectInterest ID="2"> + <Coowners> + <Answer>No</Answer> + </Coowners> + <Cost>1000</Cost> + <CurrentValue>1001</CurrentValue> + <DateAcquired> + <Month>08</Month> + <Day>01</Day> + <Year>2018</Year> + </DateAcquired> + <DateRelinquished NotApplicable="True"/> + <HowAcquired>purchase</HowAcquired> + <Members Yourself="True"/> + <TypeOfFinancialInterest>investments</TypeOfFinancialInterest> + </DirectInterest> + </DirectInterests> + <IndirectInterests> + <Answer>Yes</Answer> + <IndirectInterest ID="1"> + <ControllingParty> + <LegalName> + <Last>Meyer</Last> + <First>Fred</First> + </LegalName> + </ControllingParty> + <Coowners> + <Answer>Yes</Answer> + <Coowner ID="1"> + <Address> + <Street>3322 baker St. </Street> + <City>London</City> + <Country>United Kingdom</Country> + </Address> + <CountriesOfCitizenship> + <Citizenship ID="1"> + <Country>United Kingdom</Country> + </Citizenship> + </CountriesOfCitizenship> + <LegalName> + <Last>Jones</Last> + <First>Indy</First> + <Middle Type="NMN"/> + </LegalName> + <Relationship>associate</Relationship> + </Coowner> + <Coowner ID="2"> + <Address> + <Street>123 3rd Circle </Street> + <City>London</City> + <Country>United Kingdom</Country> + </Address> + <CountriesOfCitizenship> + <Citizenship ID="1"> + <Country>United Kingdom</Country> + </Citizenship> + </CountriesOfCitizenship> + <LegalName> + <Last>James</Last> + <First>Watson</First> + <Middle Type="NMN"/> + </LegalName> + <Relationship>Associate</Relationship> + </Coowner> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </Coowners> + <Cost>2000</Cost> + <CurrentValue>2002</CurrentValue> + <DateAcquired> + <Month>06</Month> + <Day>01</Day> + <Year>2016</Year> + </DateAcquired> + <DateSold NotApplicable="True"/> + <HowAcquired>purchase</HowAcquired> + <Members Yourself="True"/> + <Relationship>Associate</Relationship> + <TypeOfFinancialInterest>stocks</TypeOfFinancialInterest> + </IndirectInterest> + <IndirectInterest ID="2"> + <ControllingParty> + <LegalName> + <Last>Trollel</Last> + <First>James</First> + </LegalName> + </ControllingParty> + <Coowners> + <Answer>No</Answer> + </Coowners> + <Cost>2000</Cost> + <CurrentValue>2009</CurrentValue> + <DateAcquired> + <Month>01</Month> + <Day>01</Day> + <Year>2000</Year> + </DateAcquired> + <DateSold NotApplicable="True"/> + <HowAcquired>gift</HowAcquired> + <Members Yourself="True"/> + <Relationship>Associate</Relationship> + <TypeOfFinancialInterest>stocks</TypeOfFinancialInterest> + </IndirectInterest> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </IndirectInterests> + <RealEstateHoldings> + <Answer>Yes</Answer> + <RealEstateHolding ID="1"> + <Coowner> + </Coowner> + <Coowners> + <Answer>Yes</Answer> + <Coowner ID="1"> + <Address> + <Street>31 Johnson St. </Street> + <City>Victoria</City> + <Country>Canada</Country> + </Address> + <CountriesOfCitizenship> + <Citizenship ID="1"> + <Country>Canada</Country> + </Citizenship> + </CountriesOfCitizenship> + <LegalName> + <Last>Harcourt</Last> + <First>Charlie</First> + <Middle>Rosen</Middle> + </LegalName> + <Relationship>Associate</Relationship> + </Coowner> + <Coowner ID="2"> + <Address> + <Street>381 Central Ave. </Street> + <City>Victoria</City> + <Country>Canada</Country> + </Address> + <CountriesOfCitizenship> + <Citizenship ID="1"> + <Country>Canada</Country> + </Citizenship> + </CountriesOfCitizenship> + <LegalName> + <Last>Sihota</Last> + <First>Mike</First> + <Middle Type="NMN"/> + </LegalName> + <Relationship>Associate</Relationship> + </Coowner> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </Coowners> + <Cost>100000</Cost> + <DateAcquired> + <Month>05</Month> + <Day>01</Day> + <Year>2018</Year> + </DateAcquired> + <DateSold> + <Month>05</Month> + <Day>09</Day> + <Year>2018</Year> + </DateSold> + <HowAcquired>Purchase</HowAcquired> + <Location> + <Address> + <Street>3431 Fort St. </Street> + <City>Victoria</City> + <Country>Canada</Country> + </Address> + </Location> + <Members Yourself="True"/> + <Type>Home</Type> + </RealEstateHolding> + <RealEstateHolding ID="2"> + <Coowner> + </Coowner> + <Coowners> + <Answer>No</Answer> + </Coowners> + <Cost>300000</Cost> + <DateAcquired> + <Month>04</Month> + <Day>01</Day> + <Year>2018</Year> + </DateAcquired> + <DateSold> + <Month>04</Month> + <Day>02</Day> + <Year>2018</Year> + </DateSold> + <HowAcquired>Purchase</HowAcquired> + <Location> + <Address> + <Street>9831 Wilson St. </Street> + <City>Victoria</City> + <Country>Canada</Country> + </Address> + </Location> + <Members Yourself="True"/> + <Type>Home</Type> + </RealEstateHolding> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </RealEstateHoldings> + <ForeignFinancialBenefits> + <Answer>Yes</Answer> + <ForeignFinancialBenefit ID="1"> + <Members Yourself="True" Spouse="True"/> + <Country>Canada</Country> + <DateReceived> + <Month>03</Month> + <Day>01</Day> + <Year>2018</Year> + </DateReceived> + <FrequencyType>Onetime</FrequencyType> + <ObligatedToCountry> + <Answer>Yes</Answer> + <Explanation>Have to say only good things</Explanation> + </ObligatedToCountry> + <Reason>Kindness</Reason> + <Type>Educational</Type> + <Value>900</Value> + </ForeignFinancialBenefit> + <ForeignFinancialBenefit ID="2"> + <Members Cohabitant="True"/> + <Country>Canada</Country> + <DateReceived> + <Month>01</Month> + <Day>01</Day> + <Year>2018</Year> + </DateReceived> + <FrequencyType>Onetime</FrequencyType> + <ObligatedToCountry> + <Answer>Yes</Answer> + <Explanation>Have to say good things</Explanation> + </ObligatedToCountry> + <Reason>Had medical emergency</Reason> + <Type>Medical</Type> + <Value>10000</Value> + </ForeignFinancialBenefit> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </ForeignFinancialBenefits> + <ForeignNationalsSupported> + <Answer>Yes</Answer> + <ForeignNationalSupported ID="1"> + <Address> + <Street>314 9th St. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Amount>390091</Amount> + <CountriesOfCitizenship> + <Citizenship ID="1"> + <Country>Zimbabwe</Country> + </Citizenship> + </CountriesOfCitizenship> + <Frequency>Once</Frequency> + <LegalName> + <Last>Ventura</Last> + <First>Joan</First> + <Middle>Mary</Middle> + </LegalName> + <Relationship>Associate</Relationship> + </ForeignNationalSupported> + <ForeignNationalSupported ID="2"> + <Address> + <Street>3423 11th St. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Amount>9092</Amount> + <CountriesOfCitizenship> + <Citizenship ID="1"> + <Country>Germany</Country> + </Citizenship> + </CountriesOfCitizenship> + <Frequency>Once</Frequency> + <LegalName> + <Last>Brown</Last> + <First>Joe</First> + <Middle Type="NMN"/> + </LegalName> + <Relationship>Customer</Relationship> + </ForeignNationalSupported> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </ForeignNationalsSupported> + </ForeignFinancialInterests> + <ForeignBusinessActivities Version="1" Type="Pooled"> + <ForeignPassports> + <Answer>Yes</Answer> + <ForeignPassport ID="1"> + <CountriesTraveled> + <CountryTraveled ID="1"> + <Country>Cuba</Country> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2008</Year> + </Date> + </From> + <To> + <Date> + <Month>01</Month> + <Year>2008</Year> + </Date> + </To> + </DateRange> + </CountryTraveled> + <CountryTraveled ID="2"> + <Country>North Korea</Country> + <DateRange> + <From> + <Date> + <Month>03</Month> + <Year>2007</Year> + </Date> + </From> + <To> + <Date> + <Month>03</Month> + <Year>2007</Year> + </Date> + </To> + </DateRange> + </CountryTraveled> + </CountriesTraveled> + <ExpirationDate> + <Date> + <Month>01</Month> + <Day>01</Day> + <Year>2009</Year> + </Date> + </ExpirationDate> + <IssueDate> + <Date Type="Estimated"> + <Month>01</Month> + <Day>01</Day> + <Year>2007</Year> + </Date> + </IssueDate> + <IssuingGovernment> + <Country>Canada</Country> + <Place> + <City>Victoria</City> + <Country>Canada</Country> + </Place> + </IssuingGovernment> + <Name> + <Last>Smith</Last> + <First>John</First> + <Middle Type="NMN"/> + </Name> + <PassportNumber>1233043</PassportNumber> + <UsedPassportForTravel> + <Answer>Yes</Answer> + </UsedPassportForTravel> + </ForeignPassport> + <ForeignPassport ID="2"> + <CountriesTraveled> + <CountryTraveled ID="1"> + <Country>Iran</Country> + <DateRange> + <From> + <Date> + <Month>05</Month> + <Year>2009</Year> + </Date> + </From> + <To> + <Date Type="Estimated"> + <Month>06</Month> + <Year>2009</Year> + </Date> + </To> + </DateRange> + </CountryTraveled> + <CountryTraveled ID="2"> + <Country>Jordan</Country> + <DateRange> + <From> + <Date> + <Month>09</Month> + <Year>2008</Year> + </Date> + </From> + <To> + <Date> + <Month>09</Month> + <Year>2008</Year> + </Date> + </To> + </DateRange> + </CountryTraveled> + </CountriesTraveled> + <ExpirationDate> + <Date> + <Month>01</Month> + <Day>03</Day> + <Year>2009</Year> + </Date> + </ExpirationDate> + <IssueDate> + <Date Type="Estimated"> + <Month>09</Month> + <Day>01</Day> + <Year>2008</Year> + </Date> + </IssueDate> + <IssuingGovernment> + <Country>Mexico</Country> + <Place> + <City>Monterrey</City> + <Country>Mexico</Country> + </Place> + </IssuingGovernment> + <Name> + <Last>Smith</Last> + <First>Juan</First> + <Middle Type="NMN"/> + </Name> + <PassportNumber>9934023</PassportNumber> + <UsedPassportForTravel> + <Answer>Yes</Answer> + </UsedPassportForTravel> + </ForeignPassport> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </ForeignPassports> + <SupportActivities> + <Answer>Yes</Answer> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + <SupportActivity ID="1"> + <Country>Japan</Country> + <DateRange> + <From> + <Date> + <Month>03</Month> + <Year>2018</Year> + </Date> + </From> + <To> + <Date> + <Month>03</Month> + <Year>2018</Year> + </Date> + </To> + </DateRange> + <DescribeCompensation>Free walkman</DescribeCompensation> + <Explanation>How to replace a fence post</Explanation> + <LegalName> + <Last>Gregor</Last> + <First>Alfonso</First> + <Middle Type="NMN"/> + </LegalName> + <Organization>Sony</Organization> + </SupportActivity> + <SupportActivity ID="2"> + <Country>Germany</Country> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2017</Year> + </Date> + </From> + <To> + <Date> + <Month>02</Month> + <Year>2017</Year> + </Date> + </To> + </DateRange> + <DescribeCompensation>Free keychain</DescribeCompensation> + <Explanation>How to paint a retaining wall</Explanation> + <LegalName> + <Last>Diesfund</Last> + <First>Marcus</First> + <Middle Type="NMN"/> + </LegalName> + <Organization>BMW</Organization> + </SupportActivity> + </SupportActivities> + <Consultancies> + <Answer>Yes</Answer> + <Consultancy ID="1"> + <Agency> + <Country>United Kingdom</Country> + <Name>Ministry of Magic</Name> + </Agency> + <Circumstances>There was trouble and they needed help</Circumstances> + <Date> + <Month>01</Month> + <Year>2017</Year> + </Date> + <LegalName> + <Last>Wallace</Last> + <First>William</First> + <Middle Type="NMN"/> + </LegalName> + </Consultancy> + <Consultancy ID="2"> + <Agency> + <Country>Italy</Country> + <Name>Department of Sanitation</Name> + </Agency> + <Circumstances>There was a garbage strike and asked for my help to clean up the streets.</Circumstances> + <Date> + <Month>03</Month> + <Year>2017</Year> + </Date> + <LegalName> + <Last>Romero</Last> + <First>Tony</First> + <Middle Type="NMN"/> + </LegalName> + </Consultancy> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </Consultancies> + <ForeignJobOffer> + <Answer>Yes</Answer> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </ForeignJobOffer> + <ForeignJobOffers> + <ForeignJobOffer ID="1"> + <AcceptOffer> + <Answer>Yes</Answer> + <Explanation>Sounded like a great opportunity</Explanation> + </AcceptOffer> + <Location> + <Place> + <City>San Jose</City> + <State>CA</State> + <ZipCode>95002</ZipCode> + </Place> + </Location> + <OfferDate> + <Month>06</Month> + <Year>2018</Year> + </OfferDate> + <OfferorLegalName> + <Last>Sohoto</Last> + <First>Umbe</First> + <Middle Type="NMN"/> + </OfferorLegalName> + <PositionDescription>Child care provider</PositionDescription> + </ForeignJobOffer> + <ForeignJobOffer ID="2"> + <AcceptOffer> + <Answer>Yes</Answer> + <Explanation>Always wanted to fix golf carts.</Explanation> + </AcceptOffer> + <Location> + <Place> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Place> + </Location> + <OfferDate> + <Month>03</Month> + <Year>2018</Year> + </OfferDate> + <OfferorLegalName> + <Last>Madison</Last> + <First>Billy</First> + <Middle Type="NMN"/> + </OfferorLegalName> + <PositionDescription>Golf cart maintenance technican</PositionDescription> + </ForeignJobOffer> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </ForeignJobOffers> + <OtherForeignEmployment> + <Answer>Yes</Answer> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </OtherForeignEmployment> + <OtherForeignEmployments> + <OtherForeignEmployment ID="1"> + <CompensationDescription>As above</CompensationDescription> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2017</Year> + </Date> + </From> + <To> + <Date> + <Month>03</Month> + <Year>2018</Year> + </Date> + </To> + </DateRange> + <Description>A great venture</Description> + <FinancialSupport>1000 per month</FinancialSupport> + <NatureOfAssociation>A good nature</NatureOfAssociation> + <Partner> + <Address> + <Street>9031 Ocean Ave. </Street> + <City>Victoria</City> + <Country>Canada</Country> + </Address> + <CountriesOfCitizenship> + <Citizenship ID="1"> + <Country>Canada</Country> + </Citizenship> + </CountriesOfCitizenship> + <LegalName> + <Last>Roman</Last> + <First>Ezekiel</First> + <Middle Type="NMN"/> + </LegalName> + </Partner> + <PositionHeld>Advisor</PositionHeld> + <Relationship>Associate</Relationship> + <ServiceProvided>Advice</ServiceProvided> + </OtherForeignEmployment> + <OtherForeignEmployment ID="2"> + <CompensationDescription>Cash currency</CompensationDescription> + <DateRange> + <From> + <Date> + <Month>03</Month> + <Year>2018</Year> + </Date> + </From> + <To> + <Date> + <Month>06</Month> + <Year>2018</Year> + </Date> + </To> + </DateRange> + <Description>To sell widgets</Description> + <FinancialSupport>3000 per week</FinancialSupport> + <NatureOfAssociation>Not bad nature.</NatureOfAssociation> + <Partner> + <Address> + <Street>2121 Abott Dr. </Street> + <City>Glasgow</City> + <Country>United Kingdom</Country> + </Address> + <CountriesOfCitizenship> + <Citizenship ID="1"> + <Country>United Kingdom</Country> + </Citizenship> + </CountriesOfCitizenship> + <LegalName> + <Last>Garcias</Last> + <First>Luc</First> + <Middle Type="NMN"/> + </LegalName> + </Partner> + <PositionHeld>Bowler</PositionHeld> + <Relationship>Associate</Relationship> + <ServiceProvided>Bowled balls</ServiceProvided> + </OtherForeignEmployment> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </OtherForeignEmployments> + <Meetings> + <Answer>Yes</Answer> + <Meeting ID="1"> + <DateRange> + <From> + <Date> + <Month>03</Month> + <Year>2017</Year> + </Date> + </From> + <To> + <Date> + <Month>03</Month> + <Year>2017</Year> + </Date> + </To> + </DateRange> + <Location> + <Place> + <City>Ottawa</City> + <Country>Canada</Country> + </Place> + </Location> + <NameAndDescription>Integrated Circuits 2017</NameAndDescription> + <Organization>IEEE</Organization> + <Purpose>Exchange of ideas</Purpose> + <SubsequentForeignContacts> + <Answer>Yes</Answer> + <Contact ID="1"> + <Explanation>I met Joe Brown, researcher at University of Waterloo. </Explanation> + </Contact> + <Contact ID="2"> + <Explanation>I met Cindy Hartnell, researcher at UVic.</Explanation> + </Contact> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </SubsequentForeignContacts> + </Meeting> + <Meeting ID="2"> + <DateRange> + <From> + <Date> + <Month>03</Month> + <Year>2016</Year> + </Date> + </From> + <To> + <Date> + <Month>03</Month> + <Year>2016</Year> + </Date> + </To> + </DateRange> + <Location> + <Place> + <City>London</City> + <Country>United Kingdom</Country> + </Place> + </Location> + <NameAndDescription>Secure Software 2016</NameAndDescription> + <Organization>ACM</Organization> + <Purpose>Exchange of ideas</Purpose> + <SubsequentForeignContacts> + <Answer>No</Answer> + </SubsequentForeignContacts> + </Meeting> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </Meetings> + <GovernmentContacts> + <Answer>Yes</Answer> + <GovernmentContact ID="1"> + <Circumstances>Just chatting</Circumstances> + <CountriesInvolved> + <CountryInvolved ID="1"> + <Country>Canada</Country> + </CountryInvolved> + </CountriesInvolved> + <Date> + <Month>04</Month> + <Year>2018</Year> + </Date> + <EstablishmentType>Embassy</EstablishmentType> + <ForeignRepresentativesInvolved>Roger Wilco</ForeignRepresentativesInvolved> + <LegalName> + <Last>Roderick</Last> + <First>Joanne</First> + <Middle>Mary</Middle> + </LegalName> + <Location> + <Place> + <City>Del Rey Oaks</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Place> + </Location> + <SubsequentForeignContacts> + <Answer>Yes</Answer> + <Contact ID="1"> + <Date> + <Month>08</Month> + <Day>01</Day> + <Year>2018</Year> + </Date> + <FutureContactPlans>Weekly</FutureContactPlans> + <Purpose>More chatting</Purpose> + </Contact> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + <Contact ID="2"> + <Date> + <Month>08</Month> + <Day>20</Day> + <Year>2018</Year> + </Date> + <FutureContactPlans>Weekly</FutureContactPlans> + <Purpose>Exchange notes</Purpose> + </Contact> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </SubsequentForeignContacts> + </GovernmentContact> + <GovernmentContact ID="2"> + <Circumstances>Just to discuss tariffs.</Circumstances> + <CountriesInvolved> + <CountryInvolved ID="1"> + <Country>Mexico</Country> + </CountryInvolved> + </CountriesInvolved> + <Date> + <Month>05</Month> + <Year>2017</Year> + </Date> + <EstablishmentType>Embassy</EstablishmentType> + <ForeignRepresentativesInvolved>Jose Sanchez</ForeignRepresentativesInvolved> + <LegalName> + <Last>Roderick</Last> + <First>Joanne</First> + <Middle>Mary</Middle> + </LegalName> + <Location> + <Place> + <City>Vancouver</City> + <Country>Canada</Country> + </Place> + </Location> + <SubsequentForeignContacts> + <Answer>No</Answer> + </SubsequentForeignContacts> + </GovernmentContact> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </GovernmentContacts> + <SponsoredVisits> + <Answer>Yes</Answer> + <SponsoredVisit ID="1"> + <AddressWhileInUS> + <Address> + <Street>90 Monticito St. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + </AddressWhileInUS> + <Birth> + <Date> + <Month>07</Month> + <Year>1993</Year> + </Date> + <Place> + <City>Winnipeg</City> + <Country>Canada</Country> + </Place> + </Birth> + <CountriesOfCitizenship> + <Citizenship ID="1"> + <Country>Canada</Country> + </Citizenship> + </CountriesOfCitizenship> + <CurrentAddress> + <Address> + <Street>32 3rd St. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + </CurrentAddress> + <DateRange> + <From> + <Date> + <Month>06</Month> + <Year>2018</Year> + </Date> + </From> + <To> + <Date> + <Month>08</Month> + <Year>2018</Year> + </Date> + </To> + </DateRange> + <Name> + <Last>Campbell</Last> + <First>Journey</First> + <Middle>Margaret</Middle> + </Name> + <Organization> + <Address NotApplicable="False"> + <Street>32 5th St. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Name NotApplicable="False">Students in America</Name> + </Organization> + <Purpose>Learn about the U.S.</Purpose> + <SponsorshipPurpose>Teach about the U.S.</SponsorshipPurpose> + </SponsoredVisit> + <SponsoredVisit ID="2"> + <AddressWhileInUS> + <Address> + <Street>390 1st St. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + </AddressWhileInUS> + <Birth> + <Date> + <Month>03</Month> + <Year>2003</Year> + </Date> + <Place> + <City>Sooke</City> + <Country>Canada</Country> + </Place> + </Birth> + <CountriesOfCitizenship> + <Citizenship ID="1"> + <Country>Canada</Country> + </Citizenship> + </CountriesOfCitizenship> + <CurrentAddress> + <Address> + <Street>332 3rd St. A</Street> + <City>Sooke</City> + <Country>Canada</Country> + </Address> + </CurrentAddress> + <DateRange> + <From> + <Date> + <Month>05</Month> + <Year>2017</Year> + </Date> + </From> + <To> + <Date> + <Month>08</Month> + <Year>2017</Year> + </Date> + </To> + </DateRange> + <Name> + <Last>Langford</Last> + <First>Naiomi</First> + <Middle Type="NMN"/> + </Name> + <Organization> + <Address NotApplicable="False"> + <Street>332 Fremont st. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Name NotApplicable="False">Students in California</Name> + </Organization> + <Purpose>Learn about California</Purpose> + <SponsorshipPurpose>Educate about California</SponsorshipPurpose> + </SponsoredVisit> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </SponsoredVisits> + <ForeignPoliticalOffice> + <Answer>Yes</Answer> + </ForeignPoliticalOffice> + <ForeignPoliticalOffices> + <ForeignPoliticalOffice ID="1"> + <Country>Canada</Country> + <CurrentEligibility>I am no longer eligible</CurrentEligibility> + <DateRange> + <From> + <Date> + <Month>03</Month> + <Year>2015</Year> + </Date> + </From> + <To> + <Date> + <Month>03</Month> + <Year>2016</Year> + </Date> + </To> + </DateRange> + <Position>Comptroller</Position> + <Reason>Pleasure</Reason> + </ForeignPoliticalOffice> + <ForeignPoliticalOffice ID="2"> + <Country>Canada</Country> + <CurrentEligibility>No longer elligble</CurrentEligibility> + <DateRange> + <From> + <Date> + <Month>02</Month> + <Year>2014</Year> + </Date> + </From> + <To> + <Date> + <Month>02</Month> + <Year>2015</Year> + </Date> + </To> + </DateRange> + <Position>Mayor</Position> + <Reason>Personal interest</Reason> + </ForeignPoliticalOffice> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </ForeignPoliticalOffices> + <VotedInForeignElection> + <Answer>Yes</Answer> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </VotedInForeignElection> + <VotedInForeignElections> + <ForeignElection ID="1"> + <Country>Canada</Country> + <CurrentVotingEligibility>No longer elligible</CurrentVotingEligibility> + <Date> + <Month>01</Month> + <Year>2013</Year> + </Date> + <Reason>Forced to vote</Reason> + </ForeignElection> + <ForeignElection ID="2"> + <Country>Japan</Country> + <CurrentVotingEligibility>No longer elligble</CurrentVotingEligibility> + <Date> + <Month>01</Month> + <Year>2012</Year> + </Date> + <Reason> Asked to vote as honorary voter</Reason> + </ForeignElection> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </VotedInForeignElections> + </ForeignBusinessActivities> + <ForeignTravels Version="1" Type="Pooled"> + <CountriesVisited> + <Answer>Yes</Answer> + </CountriesVisited> + <SolelyForUSGovernment> + <Answer>No</Answer> + </SolelyForUSGovernment> + <Travels> + <Travel ID="1"> + <ContactedByForeignMilitaryOrganization> + <Answer>Yes</Answer> + <Explanation>I was contacted by a suspect.</Explanation> + </ContactedByForeignMilitaryOrganization> + <ContactedByPersonAttemptingToObtainInformation> + <Answer>Yes</Answer> + <Explanation>I was contacted by someone who wanted FOUO information.</Explanation> + </ContactedByPersonAttemptingToObtainInformation> + <ContactedByPersonWithInterestInYourJob> + <Answer>Yes</Answer> + <Explanation>I was contacted by someone interested in my job.</Explanation> + </ContactedByPersonWithInterestInYourJob> + <Country>Greece</Country> + <DateRange> + <From> + <Date> + <Month>09</Month> + <Year>2017</Year> + </Date> + </From> + <To> + <Date> + <Month>09</Month> + <Year>2017</Year> + </Date> + </To> + </DateRange> + <Detained> + <Answer>Yes</Answer> + <Explanation>I was questioned.</Explanation> + </Detained> + <Duration> + <NumberOfDaysRange>SixToTen</NumberOfDaysRange> + </Duration> + <InvolvedInCounterintelligence> + <Answer>Yes</Answer> + <Explanation>I was involved in counterintelligence.</Explanation> + </InvolvedInCounterintelligence> + <PoliceEncounter> + <Answer>Yes</Answer> + <Explanation>I encountered the police.</Explanation> + </PoliceEncounter> + <PurposeOfVisit Tourism="True"/> + <Threatened> + <Answer>Yes</Answer> + <Explanation>I was coerced.</Explanation> + </Threatened> + </Travel> + <Travel ID="2"> + <ContactedByForeignMilitaryOrganization> + <Answer>No</Answer> + </ContactedByForeignMilitaryOrganization> + <ContactedByPersonAttemptingToObtainInformation> + <Answer>No</Answer> + </ContactedByPersonAttemptingToObtainInformation> + <ContactedByPersonWithInterestInYourJob> + <Answer>No</Answer> + </ContactedByPersonWithInterestInYourJob> + <Country>Vatican City</Country> + <DateRange> + <From> + <Date> + <Month>02</Month> + <Year>2016</Year> + </Date> + </From> + <To> + <Date> + <Month>02</Month> + <Year>2016</Year> + </Date> + </To> + </DateRange> + <Detained> + <Answer>No</Answer> + </Detained> + <Duration> + <NumberOfDaysRange>SixToTen</NumberOfDaysRange> + </Duration> + <InvolvedInCounterintelligence> + <Answer>No</Answer> + </InvolvedInCounterintelligence> + <PoliceEncounter> + <Answer>No</Answer> + </PoliceEncounter> + <PurposeOfVisit VolunteerActivities="True"/> + <Threatened> + <Answer>No</Answer> + </Threatened> + </Travel> + </Travels> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </ForeignTravels> + <UseOfAlcohol Version="1" Type="Pooled"> + <EverReceivedCounseling> + <Answer>Yes</Answer> + <Consultations> + <Consultation ID="1"> + <Agency> + <Address SameAsAbove="True"/> + <Name>Best Agency</Name> + </Agency> + <BeginDate> + <Month>02</Month> + <Year>2018</Year> + </BeginDate> + <CompletedTreatmentProgram> + <Answer>Yes</Answer> + </CompletedTreatmentProgram> + <Doctor> + <Address> + <Street>9031 3rd Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Name>Ute, Otto</Name> + </Doctor> + <EndDate> + <Month>02</Month> + <Year>2018</Year> + </EndDate> + <Explanation>It was completed.</Explanation> + </Consultation> + <Consultation ID="2"> + <Agency> + <Address> + <Street>389 Agency Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Name>Second Best Agency</Name> + </Agency> + <BeginDate> + <Month>01</Month> + <Year>2014</Year> + </BeginDate> + <CompletedTreatmentProgram> + <Answer>No</Answer> + </CompletedTreatmentProgram> + <Doctor> + <Address> + <Street>903 4th St. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Name>Klemp, Roger</Name> + </Doctor> + <EndDate> + <Month>01</Month> + <Year>2015</Year> + </EndDate> + <Explanation>Was going on too long.</Explanation> + </Consultation> + </Consultations> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </EverReceivedCounseling> + <NegativeImpact> + <Answer>Yes</Answer> + <Incidents> + <Incident ID="1"> + <Date> + <Month>03</Month> + <Year>2018</Year> + </Date> + <Circumstances>Alcohol 1</Circumstances> + <Impact>Bad Thing 1</Impact> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2018</Year> + </Date> + </From> + <To> + <Date> + <Month>05</Month> + <Year>2018</Year> + </Date> + </To> + </DateRange> + </Incident> + <Incident ID="2"> + <Date> + <Month>05</Month> + <Year>2014</Year> + </Date> + <Circumstances>Alcohol 2</Circumstances> + <Impact>Bad Thing 2</Impact> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2014</Year> + </Date> + </From> + <To> + <Date> + <Month>06</Month> + <Year>2014</Year> + </Date> + </To> + </DateRange> + </Incident> + </Incidents> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </NegativeImpact> + <OrderedAdvisedOrAskedToSeekCounseling> + <Answer>Yes</Answer> + <Consultations> + <Consultation ID="1"> + <ActionToSeekCounselingTaken> + <Answer>Yes</Answer> + </ActionToSeekCounselingTaken> + <CompletedTreatmentProgram> + <Answer>Yes</Answer> + </CompletedTreatmentProgram> + <CounselingOrderedBy> + <Answer MentalHealthProfessional="True"/> + </CounselingOrderedBy> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2017</Year> + </Date> + </From> + <To> + <Date> + <Month>01</Month> + <Year>2017</Year> + </Date> + </To> + </DateRange> + <Doctor> + <Name>Barren, Trent</Name> + <Address> + <Street>98 9th St. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Telephone> + <Number>8317777731</Number> + <Time>Day</Time> + </Telephone> + </Doctor> + </Consultation> + <Consultation ID="2"> + <ActionToSeekCounselingTaken> + <Answer>No</Answer> + </ActionToSeekCounselingTaken> + <Explanation>I didn't want to.</Explanation> + <CompletedTreatmentProgram> + + + + </CompletedTreatmentProgram> + <CounselingOrderedBy> + <Answer Court="True"/> + </CounselingOrderedBy> + </Consultation> + </Consultations> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </OrderedAdvisedOrAskedToSeekCounseling> + <SoughtCounseling> + <Answer>Yes</Answer> + <Consultations> + <Consultation ID="1"> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2018</Year> + </Date> + </From> + <To> + <Date> + <Month>03</Month> + <Year>2018</Year> + </Date> + </To> + </DateRange> + <Doctor> + <Name>Ross, Bob</Name> + <Address> + <Street>90 Main St. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Telephone> + <Number>8313212222</Number> + <Time>Day</Time> + </Telephone> + </Doctor> + <CompletedTreatmentProgram> + <Answer>Yes</Answer> + </CompletedTreatmentProgram> + </Consultation> + <Consultation ID="2"> + <DateRange> + <From> + <Date> + <Month>08</Month> + <Year>2018</Year> + </Date> + </From> + <To> + <Date> + <Month>08</Month> + <Year>2018</Year> + </Date> + </To> + </DateRange> + <Doctor> + <Name>Sandler, Adam</Name> + <Address> + <Street>90 321st St. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Telephone> + <Number>7169323213</Number> + <Time>Day</Time> + </Telephone> + </Doctor> + <CompletedTreatmentProgram> + <Answer>No</Answer> + <Explanation>Didn't want to go</Explanation> + </CompletedTreatmentProgram> + </Consultation> + </Consultations> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </SoughtCounseling> + </UseOfAlcohol> + <IllegalDrugUse Version="1" Type="Pooled"> + <InvolvementWhilePossessingASecurityClearance> + <Answer>Yes</Answer> + <Involvements> + <Involvement ID="1"> + <Description>Illegal drug use 1</Description> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2016</Year> + </Date> + </From> + <To> + <Date> + <Month>02</Month> + <Year>2017</Year> + </Date> + </To> + </DateRange> + <NumberOfTimesUsed>20 times</NumberOfTimesUsed> + </Involvement> + <Involvement ID="2"> + <Description>2nd illegal druge use</Description> + <DateRange> + <From> + <Date> + <Month>05</Month> + <Year>2018</Year> + </Date> + </From> + <To> + <Date> + <Month>05</Month> + <Year>2018</Year> + </Date> + </To> + </DateRange> + <NumberOfTimesUsed>About twice.</NumberOfTimesUsed> + </Involvement> + </Involvements> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </InvolvementWhilePossessingASecurityClearance> + <MisuseOfPrescriptionDrugs> + <Answer>Yes</Answer> + <Instances> + <Instance ID="1"> + <DrugsUsed>Zophran</DrugsUsed> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2013</Year> + </Date> + </From> + <To> + <Date> + <Month>02</Month> + <Year>2014</Year> + </Date> + </To> + </DateRange> + <Circumstances>Always sick to my stomach</Circumstances> + <InvolvementWhileEmployedAsLawEnforcement> + <Answer>Yes</Answer> + </InvolvementWhileEmployedAsLawEnforcement> + <InvolvementWhilePossessingASecurityClearance> + <Answer>Yes</Answer> + </InvolvementWhilePossessingASecurityClearance> + </Instance> + <Instance ID="2"> + <DrugsUsed>Phenegren</DrugsUsed> + <DateRange> + <From> + <Date> + <Month>10</Month> + <Year>2015</Year> + </Date> + </From> + <To> + <Date> + <Month>12</Month> + <Year>2015</Year> + </Date> + </To> + </DateRange> + <Circumstances>Super nauseated </Circumstances> + <InvolvementWhileEmployedAsLawEnforcement> + <Answer>No</Answer> + </InvolvementWhileEmployedAsLawEnforcement> + <InvolvementWhilePossessingASecurityClearance> + <Answer>No</Answer> + </InvolvementWhilePossessingASecurityClearance> + </Instance> + </Instances> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </MisuseOfPrescriptionDrugs> + <OrderedAdvisedOrAskedToSeekCounseling> + <Answer>Yes</Answer> + <Consultations> + <Consultation ID="1"> + <ActionToSeekCounselingTaken> + <Answer>Yes</Answer> + </ActionToSeekCounselingTaken> + <DidNotReceiveTreatment> + + + </DidNotReceiveTreatment> + <CounselingOrderedBy> + <Answer Employer="True"/> + <Explanation>Boss said I needed to get checked out.</Explanation> + </CounselingOrderedBy> + <Drug> + <Type>Stimulants</Type> + </Drug> + <Doctor> + <Name> + <Last>Brown</Last> + <First>Joseph</First> + </Name> + <Address> + <Street>89 39th St. </Street> + <City>Pacific Grove</City> + <State>CA</State> + <ZipCode>93950</ZipCode> + </Address> + <Telephone> + <Number>8313121931</Number> + <Time>Day</Time> + </Telephone> + </Doctor> + <DateRange> + <From> + <Date> + <Month>07</Month> + <Year>2014</Year> + </Date> + </From> + <To> + <Date> + <Month>07</Month> + <Year>2014</Year> + </Date> + </To> + </DateRange> + <SuccessfullyCompletedTreatmentProgram> + <Answer>Yes</Answer> + </SuccessfullyCompletedTreatmentProgram> + <UnsuccessfulTreatment> + + + </UnsuccessfulTreatment> + </Consultation> + <Consultation ID="2"> + <ActionToSeekCounselingTaken> + <Answer>No</Answer> + </ActionToSeekCounselingTaken> + <DidNotReceiveTreatment> + <Explanation>I didn't want to.</Explanation> + </DidNotReceiveTreatment> + <CounselingOrderedBy> + <Answer MedicalProfessional="True"/> + <Explanation>Doctor said I needed to go</Explanation> + </CounselingOrderedBy> + <Drug> + + + </Drug> + <SuccessfullyCompletedTreatmentProgram> + + </SuccessfullyCompletedTreatmentProgram> + <UnsuccessfulTreatment> + + + </UnsuccessfulTreatment> + </Consultation> + </Consultations> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </OrderedAdvisedOrAskedToSeekCounseling> + <InvolvementWhileEmployedAsLawEnforcement> + <Answer>Yes</Answer> + <Involvements> + <Involvement ID="1"> + <Description>3rd Illegal drug use</Description> + <DateRange> + <From> + <Date> + <Month>12</Month> + <Year>2013</Year> + </Date> + </From> + <To> + <Date> + <Month>12</Month> + <Year>2013</Year> + </Date> + </To> + </DateRange> + <NumberOfTimes>About 3 times.</NumberOfTimes> + </Involvement> + <Involvement ID="2"> + <Description>4th illegal drug use</Description> + <DateRange> + <From> + <Date> + <Month>10</Month> + <Year>2016</Year> + </Date> + </From> + <To> + <Date> + <Month>11</Month> + <Year>2016</Year> + </Date> + </To> + </DateRange> + <NumberOfTimes>about 4 times</NumberOfTimes> + </Involvement> + </Involvements> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </InvolvementWhileEmployedAsLawEnforcement> + <IllegalDrugActivity> + <Answer>Yes</Answer> + <Activities> + <Activity ID="1"> + <Drug> + <Type>Steroids</Type> + </Drug> + <FirstInvolvementDate> + <Month>01</Month> + <Year>2017</Year> + </FirstInvolvementDate> + <MostRecentInvolvementDate> + <Month>02</Month> + <Year>2017</Year> + </MostRecentInvolvementDate> + <Nature>Once in a while</Nature> + <InvolvedWhileEmployedAsLawEnforcementOfficerProsecutorOrCourtOfficial> + <Answer>Yes</Answer> + </InvolvedWhileEmployedAsLawEnforcementOfficerProsecutorOrCourtOfficial> + <InvolvedWhilePossessingASecurityClearance> + <Answer>Yes</Answer> + </InvolvedWhilePossessingASecurityClearance> + <IntendToEngageInFutureActivities> + <Answer>Yes</Answer> + <Explanation>It provides 50% of my annual income.</Explanation> + </IntendToEngageInFutureActivities> + <Reason>It was profitable</Reason> + </Activity> + <Activity ID="2"> + <Drug> + <Type>Hallucinogenic</Type> + </Drug> + <FirstInvolvementDate> + <Month>09</Month> + <Year>2017</Year> + </FirstInvolvementDate> + <MostRecentInvolvementDate> + <Month>05</Month> + <Year>2018</Year> + </MostRecentInvolvementDate> + <Nature>Pretty often.</Nature> + <InvolvedWhileEmployedAsLawEnforcementOfficerProsecutorOrCourtOfficial> + <Answer>No</Answer> + </InvolvedWhileEmployedAsLawEnforcementOfficerProsecutorOrCourtOfficial> + <InvolvedWhilePossessingASecurityClearance> + <Answer>No</Answer> + </InvolvedWhilePossessingASecurityClearance> + <IntendToEngageInFutureActivities> + <Answer>No</Answer> + </IntendToEngageInFutureActivities> + <Reason>Family tradition</Reason> + </Activity> + </Activities> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </IllegalDrugActivity> + <IllegalUse> + <Answer>Yes</Answer> + <Instances> + <Instance ID="1"> + <DrugUsed> + <Type>Cocaine</Type> + </DrugUsed> + <FirstUseDate> + <Month>01</Month> + <Year>2018</Year> + </FirstUseDate> + <MostRecentUseDate> + <Month>06</Month> + <Year>2018</Year> + </MostRecentUseDate> + <Nature>Lots of times</Nature> + <UseWhileEmployedAsLawEnforcementOfficerProsecutorOrCourtOfficial> + <Answer>Yes</Answer> + </UseWhileEmployedAsLawEnforcementOfficerProsecutorOrCourtOfficial> + <UseWhilePossessingASecurityClearance> + <Answer>Yes</Answer> + </UseWhilePossessingASecurityClearance> + <IntendToUseInFuture> + <Answer>Yes</Answer> + <Explanation>This is my explanation.</Explanation> + </IntendToUseInFuture> + </Instance> + <Instance ID="2"> + <DrugUsed> + <Type>Stimulants</Type> + </DrugUsed> + <FirstUseDate> + <Month>03</Month> + <Year>2013</Year> + </FirstUseDate> + <MostRecentUseDate> + <Month>06</Month> + <Year>2018</Year> + </MostRecentUseDate> + <Nature>Frequently.</Nature> + <UseWhileEmployedAsLawEnforcementOfficerProsecutorOrCourtOfficial> + <Answer>No</Answer> + </UseWhileEmployedAsLawEnforcementOfficerProsecutorOrCourtOfficial> + <UseWhilePossessingASecurityClearance> + <Answer>No</Answer> + </UseWhilePossessingASecurityClearance> + <IntendToUseInFuture> + <Answer>No</Answer> + <Explanation>I do not intend simply because.</Explanation> + </IntendToUseInFuture> + </Instance> + </Instances> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </IllegalUse> + <VoluntaryTreatment> + <Answer>Yes</Answer> + <Consultations> + <Consultation ID="1"> + <Drug> + <Type>Hallucinogenic</Type> + </Drug> + <Doctor> + <Name> + <Last>Ross</Last> + <First>Susie</First> + </Name> + <Address> + <Street>99 99th St. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Telephone> + <Number>8313939313</Number> + <Time>Day</Time> + </Telephone> + </Doctor> + <DateRange> + <From> + <Date> + <Month>02</Month> + <Year>2014</Year> + </Date> + </From> + <To> + <Date> + <Month>03</Month> + <Year>2014</Year> + </Date> + </To> + </DateRange> + <SuccessfullyCompletedTreatmentProgram> + <Answer>Yes</Answer> + </SuccessfullyCompletedTreatmentProgram> + <UnsuccessfulTreatment> + + + </UnsuccessfulTreatment> + </Consultation> + <Consultation ID="2"> + <Drug> + <Type>Narcotics</Type> + </Drug> + <Doctor> + <Name> + <Last>Krane</Last> + <First>Fraiser</First> + </Name> + <Address> + <Street>32 10th Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Telephone> + <Number>8313213321</Number> + <Time>Day</Time> + </Telephone> + </Doctor> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2018</Year> + </Date> + </From> + <To> + <Date> + <Month>02</Month> + <Year>2018</Year> + </Date> + </To> + </DateRange> + <SuccessfullyCompletedTreatmentProgram> + <Answer>No</Answer> + </SuccessfullyCompletedTreatmentProgram> + <UnsuccessfulTreatment> + <Explanation>I decided to stop.</Explanation> + </UnsuccessfulTreatment> + </Consultation> + </Consultations> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </VoluntaryTreatment> + </IllegalDrugUse> + <PoliceRecord Version="1" Type="Pooled"> + <Past7Years> + <Answer>Yes</Answer> + <Offenses> + <Offense ID="1"> + <AppearedInCourt> + <Answer>Yes</Answer> + <Charges> + <Charge> + <Charge>Battery</Charge> + <Date> + <Month>01</Month> + <Year>2016</Year> + </Date> + <Outcome>Guilty</Outcome> + <Type>Felony</Type> + </Charge> + </Charges> + <Court> + <Location> + <Place> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Place> + </Location> + <Name>Monterey Criminal Court</Name> + </Court> + <Sentenced> + <Answer>Yes</Answer> + <Description>1 year</Description> + <Imprisonment> + <YearOrMore> + <DateRange> + <From> + <Date> + <Month>02</Month> + <Year>2016</Year> + </Date> + </From> + <To> + <Date> + <Month>02</Month> + <Year>2017</Year> + </Date> + </To> + </DateRange> + </YearOrMore> + </Imprisonment> + <Incarcerated> + <YearOrMore> + <Answer>Yes</Answer> + </YearOrMore> + </Incarcerated> + <MoreThanYear> + <Answer>No</Answer> + </MoreThanYear> + <Probation> + <DateRange> + <From> + <Date> + <Month>04</Month> + <Year>2016</Year> + </Date> + </From> + <To> + <Date> + <Month>05</Month> + <Year>2016</Year> + </Date> + </To> + </DateRange> + </Probation> + </Sentenced> + </AppearedInCourt> + <Arrested> + <Answer>Yes</Answer> + </Arrested> + <ArrestingAgency> + <Location> + <Place> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Place> + </Location> + <Name>Monterey Police Department</Name> + </ArrestingAgency> + <Date> + <Month>05</Month> + <Year>2015</Year> + </Date> + <InvolveFollowingOffenses> + <Answer>Yes</Answer> + </InvolveFollowingOffenses> + <Location> + <Place> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Place> + </Location> + <NotConvicted> + + + </NotConvicted> + <OffenseDescription>Violet act 1</OffenseDescription> + <OffenseType Domestic="True" Firearms="True" Alcohol="True"/> + </Offense> + <Offense ID="2"> + <AppearedInCourt> + <Answer>No</Answer> + </AppearedInCourt> + <Arrested> + <Answer>Yes</Answer> + </Arrested> + <ArrestingAgency> + <Location> + <Place> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Place> + </Location> + <Name>California Highway Patrol</Name> + </ArrestingAgency> + <Date> + <Month>08</Month> + <Year>2018</Year> + </Date> + <InvolveFollowingOffenses> + <Answer>No</Answer> + </InvolveFollowingOffenses> + <Location> + <Place> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Place> + </Location> + <NotConvicted> + <Explanation>Charges dropped.</Explanation> + </NotConvicted> + <OffenseDescription>Violent Act 2</OffenseDescription> + <OffenseType/> + </Offense> + </Offenses> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </Past7Years> + <Ever> + <Offenses> + <Answer>Yes</Answer> + <Offense ID="1"> + <AwaitingTrial> + <Answer>No</Answer> + <Explanation>It's all done.</Explanation> + </AwaitingTrial> + <Charges> + <Charge> + <Charge>Break and Enter</Charge> + <Date> + <Month>01</Month> + <Year>2000</Year> + </Date> + <Outcome>Not Guilty</Outcome> + <Type>Misdemeanor</Type> + </Charge> + </Charges> + <Court> + <Location> + <Place> + <City>San Jose</City> + <State>CA</State> + <ZipCode>95002</ZipCode> + </Place> + </Location> + <Name>San Jose Court</Name> + </Court> + <Date> + <Month>01</Month> + <Year>2000</Year> + </Date> + <InvolveFollowingOffenses> + <Answer>No</Answer> + </InvolveFollowingOffenses> + <OffenseDescription>Offensive Act 1</OffenseDescription> + <OffenseType Domestic="True" Firearms="True" Alcohol="True"/> + <Sentenced> + <Answer>No</Answer> + <Imprisonment> + <YearOrMore> + <DateRange NotApplicable="True"/> + </YearOrMore> + </Imprisonment> + </Sentenced> + </Offense> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </Offenses> + </Ever> + <RestrainingOrders> + <Answer>Yes</Answer> + <RestrainingOrder ID="1"> + <Court> + <Location> + <Place> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Place> + </Location> + <Name>Monterey Restraining Court</Name> + </Court> + <DateIssued> + <Month>05</Month> + <Year>2018</Year> + </DateIssued> + <Explanation>1 Restraining Order </Explanation> + </RestrainingOrder> + <RestrainingOrder ID="2"> + <Court> + <Location> + <Place> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Place> + </Location> + <Name>Salinas Court</Name> + </Court> + <DateIssued> + <Month>07</Month> + <Year>2018</Year> + </DateIssued> + <Explanation>2 Restraining Order</Explanation> + </RestrainingOrder> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </RestrainingOrders> + </PoliceRecord> + <CivilCourtRecord Version="1" Type="Pooled"> + <CivilCourtAction> + <Answer>Yes</Answer> + </CivilCourtAction> + <CourtActions> + <CourtAction ID="1"> + <Court> + <Address> + <Street>313 Judy Lane </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Name>Judy Court</Name> + </Court> + <Date> + <Month>08</Month> + <Year>2009</Year> + </Date> + <Nature>Non-criminal 1</Nature> + <Parties>Party 1</Parties> + <Result>Results 1</Result> + </CourtAction> + <CourtAction ID="2"> + <Court> + <Address> + <Street>77 Wapner Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Name>Wapner Court</Name> + </Court> + <Date> + <Month>09</Month> + <Year>2009</Year> + </Date> + <Nature>Detail 2</Nature> + <Parties>Party 2</Parties> + <Result>Result 2</Result> + </CourtAction> + </CourtActions> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </CivilCourtRecord> + <InformationSystemUse Version="1" Type="Pooled"> + <IllegalEntry> + <Answer>Yes</Answer> + <Incidents> + <Incident ID="1"> + <Action>No action. </Action> + <Address> + <Street>3213 Target Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Date> + <Month>04</Month> + <Year>2017</Year> + </Date> + <Nature>Accessed Target credit card database</Nature> + </Incident> + <Incident ID="2"> + <Action>No action 2</Action> + <Address> + <Street>392 45th St. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Date> + <Month>03</Month> + <Year>2014</Year> + </Date> + <Nature>Denial of service attack on Department of Energy</Nature> + </Incident> + </Incidents> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </IllegalEntry> + <IllegalUse> + <Answer>Yes</Answer> + <Incidents> + <Incident ID="1"> + <Action>No action for skimmer</Action> + <Address> + <Street>893 Alvarado Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Date> + <Month>06</Month> + <Year>2018</Year> + </Date> + <Nature>Added ATM skimmer</Nature> + </Incident> + <Incident ID="2"> + <Action>Administrative action</Action> + <Address> + <Street>7 Grace Hopper Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93943</ZipCode> + </Address> + <Date> + <Month>07</Month> + <Year>2018</Year> + </Date> + <Nature>Removed tape media</Nature> + </Incident> + </Incidents> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </IllegalUse> + <IllegallyAlteredInformation> + <Answer>Yes</Answer> + <Incidents> + <Incident ID="1"> + <Action>No Action 1</Action> + <Address> + <Street>3792 3rd Ave. </Street> + <City>London</City> + <Country>United Kingdom</Country> + </Address> + <Date> + <Month>04</Month> + <Year>2018</Year> + </Date> + <Nature>Manipulated access 1</Nature> + </Incident> + <Incident ID="2"> + <Action>Action 2</Action> + <Address> + <Street>98 Munras Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Date> + <Month>05</Month> + <Year>2018</Year> + </Date> + <Nature>Manipulated access 2</Nature> + </Incident> + </Incidents> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </IllegallyAlteredInformation> + </InformationSystemUse> + <AssociationRecord Version="1" Type="Pooled"> + <ActivitiesToOverthrowTheUSGovernment> + <Activities> + <Activity ID="1"> + <DateRange> + <From> + <Date> + <Month>07</Month> + <Year>2006</Year> + </Date> + </From> + <To> + <Date> + <Month>07</Month> + <Year>2007</Year> + </Date> + </To> + </DateRange> + <Reason>Taxes on Tea</Reason> + </Activity> + <Activity ID="2"> + <DateRange> + <From> + <Date> + <Month>07</Month> + <Year>2008</Year> + </Date> + </From> + <To> + <Date> + <Month>07</Month> + <Year>2009</Year> + </Date> + </To> + </DateRange> + <Reason>Taxes on Coffee</Reason> + </Activity> + </Activities> + <Answer>Yes</Answer> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </ActivitiesToOverthrowTheUSGovernment> + <AdvocatedTerrorism> + <Answer>Yes</Answer> + <Instances> + <Instance ID="1"> + <DateRange> + <From> + <Date> + <Month>04</Month> + <Year>2018</Year> + </Date> + </From> + <To> + <Date> + <Month>04</Month> + <Year>2018</Year> + </Date> + </To> + </DateRange> + <Reason>Advocacy Reason 1</Reason> + </Instance> + <Instance ID="2"> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2001</Year> + </Date> + </From> + <To> + <Date> + <Month>01</Month> + <Year>2001</Year> + </Date> + </To> + </DateRange> + <Reason>Advocacy Reason 2</Reason> + </Instance> + </Instances> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </AdvocatedTerrorism> + <BeenInOrganizationAdvocatingViolence> + <Answer>Yes</Answer> + <Organizations> + <Organization ID="1"> + <Address> + <Street>90 Bad Lane </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Contributions NoContributionsMade="False"> + 50 + </Contributions> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2003</Year> + </Date> + </From> + <To> + <Date> + <Month>03</Month> + <Year>2003</Year> + </Date> + </To> + </DateRange> + <Description>Nature and Reason 3</Description> + <Name>Bad Dudes</Name> + <PositionsHeld NoPositionsHeld="False"> + Sketch artist + </PositionsHeld> + </Organization> + <Organization ID="2"> + <Address> + <Street>903 223rd Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Contributions NoContributionsMade="False"> + 3234 + </Contributions> + <DateRange> + <From> + <Date> + <Month>08</Month> + <Year>2014</Year> + </Date> + </From> + <To> + <Date> + <Month>03</Month> + <Year>2015</Year> + </Date> + </To> + </DateRange> + <Description>Nature and Reason X</Description> + <Name>Bad Folks</Name> + <PositionsHeld NoPositionsHeld="False"> + Secretary + </PositionsHeld> + </Organization> + </Organizations> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </BeenInOrganizationAdvocatingViolence> + <BeenInOrganizationDedicatedToTerrorism> + <Answer>Yes</Answer> + <Organizations> + <Organization ID="1"> + <Address> + <Street>389 Kaos Ave. </Street> + <City>Madrid</City> + <Country>Spain</Country> + </Address> + <Contributions NoContributionsMade="True"> + + </Contributions> + <DateRange> + <From> + <Date> + <Month>01</Month> + <Year>2018</Year> + </Date> + </From> + <To> + <Date Type="Present"/> + </To> + </DateRange> + <Description>On a whim.</Description> + <Name>KAOS</Name> + <PositionsHeld> + Chief American + </PositionsHeld> + </Organization> + <Organization ID="2"> + <Address> + <Street>392 Signora Ave. </Street> + <City>Rome</City> + <Country>Italy</Country> + </Address> + <Contributions NoContributionsMade="False"> + Intelligence + </Contributions> + <DateRange> + <From> + <Date> + <Month>03</Month> + <Year>2017</Year> + </Date> + </From> + <To> + <Date> + <Month>03</Month> + <Year>2017</Year> + </Date> + </To> + </DateRange> + <Description>Coerced</Description> + <Name>Cobra Command</Name> + <PositionsHeld NoPositionsHeld="True"/> + </Organization> + </Organizations> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </BeenInOrganizationDedicatedToTerrorism> + <EngagedInTerrorism> + <Answer>Yes</Answer> + <TerroristActs> + <Act ID="1"> + <DateRange> + <From> + <Date> + <Month>03</Month> + <Year>2000</Year> + </Date> + </From> + <To> + <Date> + <Month>03</Month> + <Year>2000</Year> + </Date> + </To> + </DateRange> + <Reason>Terrorist Activity One </Reason> + </Act> + <Act ID="2"> + <DateRange> + <From> + <Date> + <Month>04</Month> + <Year>2000</Year> + </Date> + </From> + <To> + <Date> + <Month>04</Month> + <Year>2000</Year> + </Date> + </To> + </DateRange> + <Reason>Terrorist Activity Two</Reason> + </Act> + </TerroristActs> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </EngagedInTerrorism> + <TerrorismAssociations> + <Answer>Yes</Answer> + <Explanation>Explanation 1</Explanation> + </TerrorismAssociations> + <TerroristOrganizationMember> + <Answer>Yes</Answer> + <Organizations> + <Organization ID="1"> + <Address> + <Street>89 Roma Ave. </Street> + <City>Berlin</City> + <Country>Germany</Country> + </Address> + <Contributions NoContributionsMade="False">3000</Contributions> + <DateRange> + <From> + <Date> + <Month>03</Month> + <Year>2014</Year> + </Date> + </From> + <To> + <Date> + <Month>03</Month> + <Year>2015</Year> + </Date> + </To> + </DateRange> + <Description>Nature and Reason 1</Description> + <Name>MAD</Name> + <PositionsHeld> + Cat watcher + </PositionsHeld> + </Organization> + <Organization ID="2"> + <Address> + <Street>903 Arctic Lane </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + <Contributions NoContributionsMade="True"/> + <DateRange> + <From> + <Date> + <Month>07</Month> + <Year>2017</Year> + </Date> + </From> + <To> + <Date> + <Month>07</Month> + <Year>2017</Year> + </Date> + </To> + </DateRange> + <Description>Nature and Reason 2</Description> + <Name>ZZZ</Name> + <PositionsHeld NoPositionsHeld="True"/> + </Organization> + </Organizations> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </TerroristOrganizationMember> + </AssociationRecord> + <InvestigationRecord Version="1" Type="Pooled"> + <ClearanceDenials> + <ClearanceDenial ID="1"> + <Agency>Department of Defense</Agency> + <Circumstances>They had a personal grudge. </Circumstances> + <ClearanceDate> + <Date> + <Month>03</Month> + <Year>2018</Year> + </Date> + </ClearanceDate> + </ClearanceDenial> + <ClearanceDenial ID="2"> + <Agency>Department of Energy</Agency> + <Circumstances>They didn't like me.</Circumstances> + <ClearanceDate> + <Date> + <Month>04</Month> + <Year>2018</Year> + </Date> + </ClearanceDate> + </ClearanceDenial> + </ClearanceDenials> + <ClearanceDenied> + <Answer>Yes</Answer> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </ClearanceDenied> + <GovernmentDebarment> + <Answer>Yes</Answer> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </GovernmentDebarment> + <GovernmentDebarments> + <GovernmentDebarment ID="1"> + <Agency>General Services Administration</Agency> + <Date> + <Month>07</Month> + <Year>2018</Year> + </Date> + <Explanation>Good Explanation 1</Explanation> + </GovernmentDebarment> + <GovernmentDebarment ID="2"> + <Agency>Environmental Protection Agency</Agency> + <Date> + <Month>01</Month> + <Year>2005</Year> + </Date> + <Explanation>Good Explanation 2</Explanation> + </GovernmentDebarment> + </GovernmentDebarments> + <Investigations> + <Investigation ID="1"> + <Agency>Defense</Agency> + <ClearanceLevel>TopSecret</ClearanceLevel> + <GrantedDate> + <Date> + <Month>03</Month> + <Year>2017</Year> + </Date> + </GrantedDate> + <InvestigationDate> + <Date> + <Month>03</Month> + <Year>2017</Year> + </Date> + </InvestigationDate> + <IssuingAgency> + <Name>Department of Navy</Name> + </IssuingAgency> + </Investigation> + <Investigation ID="2"> + <Agency>ForeignGovernment</Agency> + <ClearanceLevel>Foreign</ClearanceLevel> + <GrantedDate> + <Date> + <Month>01</Month> + <Year>2018</Year> + </Date> + </GrantedDate> + <InvestigationDate> + <Date> + <Month>01</Month> + <Year>2018</Year> + </Date> + </InvestigationDate> + <IssuingAgency> + <Name>Different Agency</Name> + </IssuingAgency> + <OtherAgency>Ministry of Forests, Canada</OtherAgency> + </Investigation> + </Investigations> + <PriorInvestigation> + <Answer>Yes</Answer> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </PriorInvestigation> + </InvestigationRecord> + <MedicalRecord2 Version="1" Type="Pooled"> + <DeclaredAsMentallyIncompetent> + <Answer>Yes</Answer> + <DeclaredAsMentallyIncompetentOccurrence ID="1"> + <Court> + <Name>Health Court</Name> + <Address> + <Street>391 Court Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + </Court> + <Date> + <Month>10</Month> + <Year>2010</Year> + </Date> + <Appealed> + <Answer>Yes</Answer> + <Appeal ID="1"> + <Court> + <Name>Appeal Mental Court</Name> + <Address> + <Street>903 12th St. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + </Court> + <FinalDisposition>Healthy</FinalDisposition> + </Appeal> + <Appeal ID="2"> + <Court> + <Name>Super Appeal Court</Name> + <Address> + <Street>999 123rd Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + </Court> + <FinalDisposition>Healthy</FinalDisposition> + </Appeal> + <Appeal ID="3"> + <Court> + <Name>Super Squared Appeal Court</Name> + <Address> + <Street>7371 3rd Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + </Court> + <FinalDisposition>Healthy</FinalDisposition> + </Appeal> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </Appealed> + </DeclaredAsMentallyIncompetentOccurrence> + <DeclaredAsMentallyIncompetentOccurrence ID="2"> + <Court> + <Name>Admin Agency</Name> + <Address> + <Street>121 Lexington Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + </Court> + <Date> + <Month>11</Month> + <Year>2011</Year> + </Date> + <Appealed> + <Answer>No</Answer> + </Appealed> + </DeclaredAsMentallyIncompetentOccurrence> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </DeclaredAsMentallyIncompetent> + <OrderedToConsult> + <Answer>Yes</Answer> + <OrderedToConsultOccurrence ID="1"> + <Court> + <Name>Admin Agency Too</Name> + <Address> + <Street>391 Main St. </Street> + <City>Salinas</City> + <State>CA</State> + <ZipCode>93901</ZipCode> + </Address> + </Court> + <Date> + <Month>01</Month> + <Year>2001</Year> + </Date> + <FinalDisposition>Healthy</FinalDisposition> + <Appealed> + <Answer>No</Answer> + </Appealed> + </OrderedToConsultOccurrence> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </OrderedToConsult> + <Hospitalized> + <Answer>Yes</Answer> + <HospitalizedOccurrence ID="1"> + <AdmissionType>Voluntary</AdmissionType> + <DateRange> + <From> + <Date> + <Month>09</Month> + <Year>2008</Year> + </Date> + </From> + <To> + <Date> + <Month>09</Month> + <Year>2008</Year> + </Date> + </To> + </DateRange> + <Facility> + <Name>Community Hospital</Name> + <Address> + <Street>2342 Garden Rd. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + </Facility> + <Explanation>Hospital 1</Explanation> + </HospitalizedOccurrence> + <HospitalizedOccurrence ID="2"> + <AdmissionType>Involuntary</AdmissionType> + <DateRange> + <From> + <Date> + <Month>10</Month> + <Year>2010</Year> + </Date> + </From> + <To> + <Date> + <Month>10</Month> + <Year>2010</Year> + </Date> + </To> + </DateRange> + <Facility> + <Name>Natividad</Name> + <Address> + <Street>333 45th St. </Street> + <City>Salinas</City> + <State>CA</State> + <ZipCode>93901</ZipCode> + </Address> + </Facility> + <Explanation>Explanation 2</Explanation> + </HospitalizedOccurrence> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </Hospitalized> + <Diagnosed> + <Answer>Yes</Answer> + <DiagnosedOccurrence ID="1"> + <Diagnosis>Schizophrenia</Diagnosis> + <DateRange> + <From> + <Date> + <Month>07</Month> + <Year>2018</Year> + </Date> + </From> + <To> + <Date> + <Month>07</Month> + <Year>2018</Year> + </Date> + </To> + </DateRange> + <HealthCareProfessional> + <Name>Miser, Pamela</Name> + <Telephone> + <Number>2222124313</Number> + <Time>Day</Time> + </Telephone> + <Address> + <Street>9830 Simon St. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + </HealthCareProfessional> + <TreatmentFacility> + <Name>Simon Agency</Name> + <Telephone> + <Number>8313332312</Number> + <Time>Day</Time> + </Telephone> + <Address> + <Street>9830 Simon St. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + </TreatmentFacility> + <TreatmentEffective> + <Answer>Yes</Answer> + </TreatmentEffective> + </DiagnosedOccurrence> + <DiagnosedOccurrence ID="2"> + <Diagnosis>PsychoticDisorder</Diagnosis> + <DateRange> + <From> + <Date> + <Month>08</Month> + <Year>2018</Year> + </Date> + </From> + <To> + <Date> + <Month>08</Month> + <Year>2018</Year> + </Date> + </To> + </DateRange> + <HealthCareProfessional> + <Name>Doet, Janet</Name> + <Telephone> + <Number>8313313331</Number> + <Time>Day</Time> + </Telephone> + <Address> + <Street>7382 Rosa St. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + </HealthCareProfessional> + <TreatmentFacility> + <Name>Foobar Agency</Name> + <Telephone> + <Number>8313331002</Number> + <Time>Day</Time> + </Telephone> + <Address> + <Street>45 Canoli Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + </TreatmentFacility> + <TreatmentEffective> + <Answer>No</Answer> + <Explanation>Just didn't work.</Explanation> + </TreatmentEffective> + </DiagnosedOccurrence> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </Diagnosed> + <CurrentlyInTreatment> + <Answer>Yes</Answer> + <TreatmentOccurrence ID="1"> + <HealthCareProfessional> + <Name>Thatcher, Margaret</Name> + <Telephone> + <Number>7833013134</Number> + <Time>Day</Time> + </Telephone> + <Address> + <Street>939 Hermosa Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + </HealthCareProfessional> + </TreatmentOccurrence> + <TreatmentOccurrence ID="2"> + <HealthCareProfessional> + <Name>Argent, David</Name> + <Telephone> + <Number>4443313324</Number> + <Time>Day</Time> + </Telephone> + <Address> + <Street>83 Alvin Ave. </Street> + <City>Monterey</City> + <State>CA</State> + <ZipCode>93940</ZipCode> + </Address> + </HealthCareProfessional> + </TreatmentOccurrence> + <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> + </CurrentlyInTreatment> + <AlteredTreatment> + <Answer>Yes</Answer> + </AlteredTreatment> + </MedicalRecord2> + <FormInstructions Type="Pooled" Version="1"> + <ReadAndUnderstoodStatementOfUnderstanding> + <Answer>Yes</Answer> + </ReadAndUnderstoodStatementOfUnderstanding> + </FormInstructions> + </Pooled> + </Responses> + </Request> + </RequestInfo> + <DateSubmitted>2018-09-10</DateSubmitted> + </SubmittedRequestInfo> + <AgencyUsageBlock> + <TypeOfInvestigation> + <Type>64</Type> + <Service>B</Service> + </TypeOfInvestigation> + <SensitivityLevel> + <Code>2</Code> + </SensitivityLevel> + <Access> + <Code>2</Code> + </Access> + <Action> + <Nature>MIL</Nature> + </Action> + <Position> + <Title>Military</Title> + </Position> + <SON>957B</SON> + <LocationOPF> + <Code>None</Code> + </LocationOPF> + <SOI>NV00</SOI> + <LocationSEC> + <Code>None</Code> + </LocationSEC> + <InvestigativeRequirement>I</InvestigativeRequirement> + <ApplicantAffiliation>MIL</ApplicantAffiliation> + <IPAC>DOD-NAVY</IPAC> + <RequestingOfficials> + <Requestor> + <Name>AARON Strohl Laney</Name> + <Email>eml152dummy@MailDomain.com</Email> + <Telephone> + <Number>1 (763) 323-2004</Number> + </Telephone> + </Requestor> + <SecondRequestor> + <Name>JAMES Strohl Laney</Name> + <Email>eml153dummy@MailDomain.com</Email> + <Telephone> + <Number>1 (298) 723-1913</Number> + </Telephone> + </SecondRequestor> + </RequestingOfficials> + </AgencyUsageBlock> + diff --git a/api/testdata/complete-scenarios/test6.xml b/api/testdata/complete-scenarios/test6.xml index a53418514..23852fcab 100644 --- a/api/testdata/complete-scenarios/test6.xml +++ b/api/testdata/complete-scenarios/test6.xml @@ -8,11 +8,12 @@ 2017-07 - Ian Chris 288770930 + + Yes @@ -24,6 +25,7 @@ + @@ -77,10 +79,10 @@ - + No - +
320 Washington Ave Wheeling @@ -119,7 +121,7 @@ </Reference> - <Reference ID="1"> + <Reference ID="2"> <Address> <Street>317 WASHINGTON AVE </Street> <City>WHEELING</City> @@ -158,7 +160,7 @@ </Telephone> <Title NotApplicable="True"/> </Reference> - <Reference ID="2"> + <Reference ID="3"> <Address> <Street>320 Washington Ave </Street> <City>Wheeling</City> @@ -200,11 +202,11 @@ </Reference> </References> </PersonalReferences> - <RelativesAndAssociates> + <RelativesAndAssociates Version="1" Type="Pooled"> <ApplicableRelativeTypes Mother01="True" Father02="True"/> <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> <Relatives> - <Relative ID="0"> + <Relative ID="1"> <Birth> <Date> <Month>09</Month> @@ -218,7 +220,7 @@ </Place> </Birth> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>United States</Country> </Citizenship> </CountriesOfCitizenship> @@ -244,7 +246,7 @@ </OtherNamesUsed> <Type>01Mother</Type> </Relative> - <Relative ID="1"> + <Relative ID="2"> <Birth> <Date> <Month>04</Month> @@ -258,7 +260,7 @@ </Place> </Birth> <CountriesOfCitizenship> - <Citizenship ID="0"> + <Citizenship ID="1"> <Country>United States</Country> </Citizenship> </CountriesOfCitizenship> @@ -283,9 +285,9 @@ </Cohabitants> <MaritalStatus>NeverMarried</MaritalStatus> </Spouse> - <ResidenceHistory> + <ResidenceHistory Version="1" Type="Pooled"> <Residencies> - <Residency ID="0"> + <Residency ID="1"> <Address> <Street>316 Washington Ave </Street> <City>Wheeling</City> @@ -327,15 +329,12 @@ <Telephone> <Day> <Number>7245555551</Number> - <Time>Both</Time> </Day> <Evening> <Number>7245555551</Number> - <Time>Both</Time> </Evening> <Mobile> <Number>7245555551</Number> - <Time>Both</Time> </Mobile> </Telephone> </Verifier> @@ -345,7 +344,7 @@ </ResidenceHistory> <EmploymentActivities Type="Pooled" Version="1"> <Employments> - <Employment ID="0"> + <Employment ID="1"> <DateRange> <From> <Date> @@ -407,7 +406,7 @@ <Answer>No</Answer> </Fired> </EmploymentRecord> - <Education> + <Education Version="1" Type="Pooled"> <AttendedAnySchools> <Answer>No</Answer> <HaveAdditionalEntryAnswer>No</HaveAdditionalEntryAnswer> @@ -416,7 +415,7 @@ <Answer>Yes</Answer> </ReceivedDegreeOrDiploma> <SchoolsAttended> - <SchoolAttended ID="0"> + <SchoolAttended ID="1"> <DateRange> <From> <Date> @@ -443,7 +442,7 @@ <Answer>Yes</Answer> </DegreeReceived> <DegreesAwarded> - <DegreeAwarded ID="0"> + <DegreeAwarded ID="1"> <DateAwarded> <Date> <Month>05</Month> @@ -454,7 +453,7 @@ </DegreeAwarded> </DegreesAwarded> </SchoolAttended> - <SchoolAttended ID="1"> + <SchoolAttended ID="2"> <DateRange> <From> <Date> @@ -481,7 +480,7 @@ <Answer>Yes</Answer> </DegreeReceived> <DegreesAwarded> - <DegreeAwarded ID="0"> + <DegreeAwarded ID="1"> <DateAwarded> <Date> <Month>05</Month> @@ -494,7 +493,7 @@ </SchoolAttended> </SchoolsAttended> </Education> - <FormerFederalServiceActivities> + <FormerFederalServiceActivities Version="1" Type="Pooled"> <HadFormerFederalCivilianEmployment> <Answer>No</Answer> </HadFormerFederalCivilianEmployment> @@ -590,7 +589,7 @@ </Incidents> </UnpaidTaxes> </FinancialRecord> - <ForeignContacts> + <ForeignContacts Version="1" Type="Pooled"> <ContactWithForeignNationalBoundByAffectionInfluenceObligation> <Answer>No</Answer> </ContactWithForeignNationalBoundByAffectionInfluenceObligation> @@ -659,7 +658,7 @@ </VotedInForeignElections> </ForeignBusinessActivities> - <ForeignTravels> + <ForeignTravels Version="1" Type="Pooled"> <CountriesVisited> <Answer>No</Answer> </CountriesVisited> @@ -856,6 +855,7 @@ </Responses> </Request> </RequestInfo> + <DateSubmitted>2018-09-10</DateSubmitted> </SubmittedRequestInfo> <AgencyUsageBlock> <TypeOfInvestigation> diff --git a/api/xml/xml.go b/api/xml/xml.go index 64f75651d..2acd7c5e4 100644 --- a/api/xml/xml.go +++ b/api/xml/xml.go @@ -6,25 +6,37 @@ import ( "fmt" "html/template" "path" + "reflect" "regexp" "strings" "github.com/18F/e-QIP-prototype/api" + "github.com/benbjohnson/clock" ) // Service is an implementation of handling XML. type Service struct { - Log api.LogService + Log api.LogService + Clock clock.Clock } // DefaultTemplate returns a template given data. func (service Service) DefaultTemplate(templateName string, data map[string]interface{}) (template.HTML, error) { + + // now returns the server's local time in yyyy-MM-dd + now := func() string { + t := service.Clock.Now() + return fmt.Sprintf("%d-%02d-%02d", t.Year(), t.Month(), t.Day()) + } + // fmap is a mapping of functions to be used within the XML template execution. // These can be helper functions for formatting or even to process complex structure // types. fmap := template.FuncMap{ "addressIn": addressIn, + "agencyType": agencyType, "branch": branch, + "branchToAnswer": branchToAnswer, "branchToBool": branchToBool, "branchcollectionHas": branchcollectionHas, "branchAny": branchAny, @@ -35,6 +47,7 @@ func (service Service) DefaultTemplate(templateName string, data map[string]inte "country": countryValue, "countryComments": countryComments, "citizenshipHas": citizenshipHas, + "clearanceType": clearanceType, "date": date, "dateEstimated": dateEstimated, "daterange": daterange, @@ -53,22 +66,27 @@ func (service Service) DefaultTemplate(templateName string, data map[string]inte "email": email, "employmentType": employmentType, "hasRelativeType": hasRelativeType, + "inc": inc, "location": location, "locationIsPostOffice": locationIsPostOffice, + "locationOverrideLayout": locationOverrideLayout, "maritalStatus": maritalStatus, "militaryStatus": militaryStatus, "monthYear": monthYear, "name": name, "nameLastFirst": nameLastFirst, "notApplicable": notApplicable, + "now": now, "number": number, "padDigits": padDigits, "radio": radio, "schoolType": schoolType, + "severanceType": severanceType, "relationshipType": relationshipType, "relativeForeignDocType": relativeForeignDocType, "telephone": telephone, "telephoneNoNumber": telephoneNoNumber, + "telephoneNoTimeOfDay": telephoneNoTimeOfDay, "text": text, "textarea": textarea, "toUpper": toUpper, @@ -90,6 +108,7 @@ func applyBulkFixes(xml string) string { " DoNotKnow=\"\"", " Type=\"\"", " Estimated=\"\"", + " Estimated=\"false\"", } x := xml @@ -313,7 +332,7 @@ func relationshipType(str string) string { "Father": "02Father", "Stepmother": "03Stepmother", "Stepfather": "04Stepfather", - "FosterParent": "05FosterParent", + "Fosterparent": "05FosterParent", "Child": "06Child", "Stepchild": "07Stepchild", "Brother": "08Brother", @@ -603,13 +622,27 @@ func locationIsPostOffice(data map[string]interface{}) string { } func branchToBool(data map[string]interface{}) string { - val, ok := data["value"] - if ok && val == "Yes" { - return "True" + props, ok := data["props"] + if ok { + val, ok := (props.(map[string]interface{}))["value"] + if ok && val == "Yes" { + return "True" + } } return "False" } +func branchToAnswer(data map[string]interface{}) string { + props, ok := data["props"] + if ok { + val, ok := (props.(map[string]interface{}))["value"] + if ok && val == "Yes" { + return "Yes" + } + } + return "No" +} + func countryComments(data map[string]interface{}) string { props, ok := data["props"] if ok { @@ -627,6 +660,10 @@ func telephone(data map[string]interface{}) (template.HTML, error) { return xmlTemplate("telephone.xml", data) } +func telephoneNoTimeOfDay(data map[string]interface{}) (template.HTML, error) { + return xmlTemplate("telephone-no-time-of-day.xml", data) +} + func name(data map[string]interface{}) (template.HTML, error) { return xmlTemplate("name.xml", data) } @@ -665,8 +702,12 @@ func monthYear(data map[string]interface{}) (template.HTML, error) { return xmlTemplateWithFuncs("date-month-year.xml", data, fmap) } -// location assumes the data comes in as the props func location(data map[string]interface{}) (template.HTML, error) { + return locationOverrideLayout(data, "") +} + +// location assumes the data comes in as the props +func locationOverrideLayout(data map[string]interface{}, override string) (template.HTML, error) { // Deserialize the initial payload from a JSON structure payload := &api.Payload{} // entity, err := payload.UnmarshalEntity(getInterfaceAsBytes(data)) @@ -687,17 +728,36 @@ func location(data map[string]interface{}) (template.HTML, error) { "toUpper": toUpper, } - switch location.Layout { + // XXX + // Work-around issue in UI where it does not + // collect the address in the correct layout. See: + // https://github.com/18F/e-QIP-prototype/issues/755 + layout := location.Layout + if override != "" { + layout = override + } + + switch layout { case api.LayoutBirthPlace: if domestic { return xmlTemplateWithFuncs("location-city-state-county.xml", data, fmap) } return xmlTemplate("location-city-country.xml", data) + case api.LayoutBirthPlaceNoUS: + if domestic { + return xmlTemplateWithFuncs("location-city-state-county-no-country.xml", data, fmap) + } + return xmlTemplate("location-city-country.xml", data) case api.LayoutBirthPlaceWithoutCounty: if domestic { return xmlTemplateWithFuncs("location-city-state.xml", data, fmap) } return xmlTemplate("location-city-country.xml", data) + case api.LayoutBirthPlaceWithoutCountyNoUS: + if domestic { + return xmlTemplateWithFuncs("location-city-state-no-country.xml", data, fmap) + } + return xmlTemplate("location-city-country.xml", data) case api.LayoutCountry: return xmlTemplate("location-country.xml", data) case api.LayoutUSCityStateInternationalCity: @@ -797,3 +857,91 @@ func frequencyType(v string) string { } return basis[v] } + +func severanceType(v string) string { + basis := map[string]string{ + "Fired": "Fired", + "Quit": "QuitKnowingWouldBeFired", + "Charges": "AllegedMisconduct", + "Performance": "UnsatisfactoryPerformance", + } + return basis[v] +} + +func agencyType(v string) string { + basis := map[string]string{ + "U.S. Department of Defense": "Defense", + "U.S. Department of State": "State", + "U.S. Office of Personnel Management": "OPM", + "Federal Bureau of Investigation": "FBI", + "U.S. Department of Treasury": "Treasury", + "U.S. Department of Homeland Security": "HomelandSecurity", + "Foreign government": "ForeignGovernment", + "Other": "Other", + } + return basis[v] +} + +func clearanceType(v string) string { + basis := map[string]string{ + "Confidential": "Confidential", + "Secret": "Secret", + "Top Secret": "TopSecret", + "Sensitive Compartmented Information": "SCI", + "Q": "Q", + "L": "L", + "Issued by foreign country": "Foreign", + "Other": "Other", + } + return basis[v] +} + +// inc adds 1 to a +func inc(a interface{}) (interface{}, error) { + return add(a, 1) +} + +// add returns the sum of a and b. +// Snagged from https://github.com/hashicorp/consul-template/blob/de2ebf4/template_functions.go +func add(b, a interface{}) (interface{}, error) { + av := reflect.ValueOf(a) + bv := reflect.ValueOf(b) + + switch av.Kind() { + case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: + switch bv.Kind() { + case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: + return av.Int() + bv.Int(), nil + case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64: + return av.Int() + int64(bv.Uint()), nil + case reflect.Float32, reflect.Float64: + return float64(av.Int()) + bv.Float(), nil + default: + return nil, fmt.Errorf("add: unknown type for %q (%T)", bv, b) + } + case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64: + switch bv.Kind() { + case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: + return int64(av.Uint()) + bv.Int(), nil + case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64: + return av.Uint() + bv.Uint(), nil + case reflect.Float32, reflect.Float64: + return float64(av.Uint()) + bv.Float(), nil + default: + return nil, fmt.Errorf("add: unknown type for %q (%T)", bv, b) + } + case reflect.Float32, reflect.Float64: + switch bv.Kind() { + case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: + return av.Float() + float64(bv.Int()), nil + case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64: + return av.Float() + float64(bv.Uint()), nil + case reflect.Float32, reflect.Float64: + return av.Float() + bv.Float(), nil + default: + return nil, fmt.Errorf("add: unknown type for %q (%T)", bv, b) + } + default: + return nil, fmt.Errorf("add: unknown type for %q (%T)", av, a) + } +} diff --git a/api/xml/xml_test.go b/api/xml/xml_test.go index 22327c48d..82ee7f7d5 100644 --- a/api/xml/xml_test.go +++ b/api/xml/xml_test.go @@ -11,11 +11,13 @@ import ( "regexp" "strings" "testing" + "time" "github.com/18F/e-QIP-prototype/api" "github.com/18F/e-QIP-prototype/api/mock" "github.com/Jeffail/gabs" "github.com/antchfx/xmlquery" + "github.com/benbjohnson/clock" ) const dataDir = "testdata" @@ -126,7 +128,7 @@ func TestPackage(t *testing.T) { } logger := &mock.LogService{} - service := Service{Log: logger} + service := Service{Log: logger, Clock: mockedClock()} re := regexp.MustCompile("map\\[") for _, test := range tests { @@ -150,6 +152,16 @@ func TestPackage(t *testing.T) { } } +func mockedClock() clock.Clock { + // Epoch seconds for September 10, 2018 UTC; + // It is not a special date, just used in test fixtures. + const base = 1536540831 + + c := clock.NewMock() + c.Add(base * time.Second) + return c +} + func TestAddressIn(t *testing.T) { country := "United States" @@ -274,6 +286,11 @@ func TestScenario4(t *testing.T) { executeScenario(t, "test4") } +// `test5` is a "blow out" of the whole form +func TestScenario5(t *testing.T) { + executeScenario(t, "test5") +} + // `test6` is a basic smoke test, a bare bones application func TestScenario6(t *testing.T) { executeScenario(t, "test6") @@ -449,7 +466,7 @@ func loadFormData(t *testing.T, form map[string]interface{}, filepath string) { // applyForm generates an XML snippet given the path to an XML template and form data. func applyForm(t *testing.T, template string, data map[string]interface{}) string { logger := &mock.LogService{} - service := Service{Log: logger} + service := Service{Log: logger, Clock: mockedClock()} snippet, err := service.DefaultTemplate(template, data) if err != nil { diff --git a/src/components/Form/Currency/Currency.jsx b/src/components/Form/Currency/Currency.jsx index f61f9670e..c1616a3fb 100644 --- a/src/components/Form/Currency/Currency.jsx +++ b/src/components/Form/Currency/Currency.jsx @@ -42,7 +42,7 @@ Currency.defaultProps = { disabled: false, value: '', min: '1', - max: '', + max: '2147483647', onError: (value, arr) => { return arr } diff --git a/src/components/Form/DateControl/DateControl.jsx b/src/components/Form/DateControl/DateControl.jsx index 9b20bd3d1..da505c542 100644 --- a/src/components/Form/DateControl/DateControl.jsx +++ b/src/components/Form/DateControl/DateControl.jsx @@ -449,7 +449,9 @@ DateControl.defaultProps = { prefix: '', noMaxDate: false, maxDate: null, + maxDateEqualTo: false, minDate: null, + minDateEqualTo: false, relationship: '', toggleFocus: (w, changed, el, day, month) => { day.focus() diff --git a/src/components/Form/DateRange/DateRange.jsx b/src/components/Form/DateRange/DateRange.jsx index 5a675b8a3..f5cd69090 100644 --- a/src/components/Form/DateRange/DateRange.jsx +++ b/src/components/Form/DateRange/DateRange.jsx @@ -225,7 +225,9 @@ export default class DateRange extends ValidationElement { {...this.state.from} onUpdate={this.updateFrom} minDate={this.props.minDate} + minDateEqualTo={this.props.minDateEqualTo} maxDate={this.props.maxDate} + maxDateEqualTo={this.props.maxDateEqualTo} prefix={this.props.prefix} onError={this.handleErrorFrom} disabled={this.props.disabled} @@ -249,7 +251,9 @@ export default class DateRange extends ValidationElement { disabled={this.state.present || this.props.disabled} onUpdate={this.updateTo} minDate={this.props.minDate} + minDateEqualTo={this.props.minDateEqualTo} maxDate={this.props.maxDate} + maxDateEqualTo={this.props.maxDateEqualTo} prefix={this.props.prefix} onError={this.handleErrorTo} required={ @@ -283,7 +287,9 @@ DateRange.defaultProps = { present: false, prefix: '', minDate: null, + minDateEqualTo: false, maxDate: new Date(), + maxDateEqualTo: false, onError: (value, arr) => { return arr }, diff --git a/src/components/Section/Military/Selective/Selective.jsx b/src/components/Section/Military/Selective/Selective.jsx index fc9aa4455..478755441 100644 --- a/src/components/Section/Military/Selective/Selective.jsx +++ b/src/components/Section/Military/Selective/Selective.jsx @@ -111,6 +111,8 @@ export default class Selective extends SubsectionElement { className="registration-number" label={i18n.t('military.selective.label.number')} {...this.props.RegistrationNumber} + pattern="^\d*$" + prefix="selective" onUpdate={this.updateRegistrationNumber} onError={this.handleError} required={this.props.required} diff --git a/src/components/Section/Package/__snapshots__/Print.test.jsx.snap b/src/components/Section/Package/__snapshots__/Print.test.jsx.snap index 208e5e38a..bef8346df 100644 --- a/src/components/Section/Package/__snapshots__/Print.test.jsx.snap +++ b/src/components/Section/Package/__snapshots__/Print.test.jsx.snap @@ -5464,6 +5464,49 @@ exports[`The print section renders properly 1`] = ` /> </div> </div> + <div + aria-label="" + className="field required hidden" + data-uuid="field-MOCK-GUID" + > + <a + aria-hidden="true" + className="anchor" + id="field-MOCK-GUID" + name="field-MOCK-GUID" + /> + <span + className="icon" + /> + <div + className="table expand" + > + <span + aria-live="polite" + className="messages help-messages" + /> + </div> + <div + className="table" + > + <span + className="content" + > + <span + className="component" + /> + </span> + </div> + <div + className="table expand" + > + <span + aria-live="polite" + className="messages error-messages" + role="alert" + /> + </div> + </div> <div> <div className="accordion" diff --git a/src/components/Section/Relationships/RelationshipStatus/CivilUnion.jsx b/src/components/Section/Relationships/RelationshipStatus/CivilUnion.jsx index 2edb8ab14..a8222b5c0 100644 --- a/src/components/Section/Relationships/RelationshipStatus/CivilUnion.jsx +++ b/src/components/Section/Relationships/RelationshipStatus/CivilUnion.jsx @@ -325,6 +325,7 @@ export default class CivilUnion extends ValidationElement { bind={true} prefix="relative" minDate={(this.props.Birthdate || {}).date} + minDateEqualTo={true} className="datesused" onError={this.props.onError} required={this.props.required} diff --git a/src/components/Section/Relationships/Relatives/Relatives.jsx b/src/components/Section/Relationships/Relatives/Relatives.jsx index 68b3bebcf..d5a1153df 100644 --- a/src/components/Section/Relationships/Relatives/Relatives.jsx +++ b/src/components/Section/Relationships/Relatives/Relatives.jsx @@ -49,6 +49,10 @@ export default class Relatives extends SubsectionElement { }) } + validRelations() { + return new RelativesValidator(this.props).validMinimumRelations() + } + render() { return ( <div @@ -62,6 +66,11 @@ export default class Relatives extends SubsectionElement { {i18n.m('relationships.relatives.para.opportunity')} </Field> + <Field + errors={[{ code: 'validRelation', valid: this.validRelations() }]} + className={this.validRelations() && 'hidden'} + /> + <Accordion {...this.props.List} defaultState={this.props.defaultState} diff --git a/src/components/Section/__snapshots__/Section.test.jsx.snap b/src/components/Section/__snapshots__/Section.test.jsx.snap index f32061fd9..653e4ae1f 100644 --- a/src/components/Section/__snapshots__/Section.test.jsx.snap +++ b/src/components/Section/__snapshots__/Section.test.jsx.snap @@ -28122,6 +28122,49 @@ exports[`The section component renders relationships.relatives 1`] = ` /> </div> </div> + <div + aria-label="" + className="field required hidden" + data-uuid="field-MOCK-GUID" + > + <a + aria-hidden="true" + className="anchor" + id="field-MOCK-GUID" + name="field-MOCK-GUID" + /> + <span + className="icon" + /> + <div + className="table expand" + > + <span + aria-live="polite" + className="messages help-messages" + /> + </div> + <div + className="table" + > + <span + className="content" + > + <span + className="component" + /> + </span> + </div> + <div + className="table expand" + > + <span + aria-live="polite" + className="messages error-messages" + role="alert" + /> + </div> + </div> <div> <div className="accordion" @@ -29148,6 +29191,49 @@ exports[`The section component renders relationships.review 1`] = ` /> </div> </div> + <div + aria-label="" + className="field required hidden" + data-uuid="field-MOCK-GUID" + > + <a + aria-hidden="true" + className="anchor" + id="field-MOCK-GUID" + name="field-MOCK-GUID" + /> + <span + className="icon" + /> + <div + className="table expand" + > + <span + aria-live="polite" + className="messages help-messages" + /> + </div> + <div + className="table" + > + <span + className="content" + > + <span + className="component" + /> + </span> + </div> + <div + className="table expand" + > + <span + aria-live="polite" + className="messages error-messages" + role="alert" + /> + </div> + </div> <div> <div className="accordion" diff --git a/src/config/locales/en/error.js b/src/config/locales/en/error.js index cab80269b..9692349dd 100644 --- a/src/config/locales/en/error.js +++ b/src/config/locales/en/error.js @@ -119,6 +119,13 @@ export const error = { message: 'The social security number is considered invalid.' } }, + selective: { + pattern: { + title: 'Oops, there’s a problem.', + message: 'Your Selective Service Number should only be numbers.', + note: '' + } + }, date: { month: { notfound: { @@ -777,6 +784,10 @@ export const error = { } }, currency: { + max: { + title: 'Currency value is too large', + message: 'Currency amounts over $2,147,483,647 are not supported.' + }, min: { title: 'There is a problem with the losses', message: 'The reported losses should have a dollar value.', @@ -1044,5 +1055,10 @@ export const error = { submission: { message: 'There was a problem submitting your SF-86. Please contact support for additional information.' + }, + validRelation: { + title: 'Mother and father must be provided', + message: + 'If you do not know your mother or father, please enter "I don\'t know" and provide a comment explaining your relationship.' } } diff --git a/src/validators/datecontrol.js b/src/validators/datecontrol.js index f39fcd148..7cc92b53c 100644 --- a/src/validators/datecontrol.js +++ b/src/validators/datecontrol.js @@ -21,7 +21,9 @@ export default class DateControlValidator { this.year = data.year this.hideDay = data.hideDay this.maxDate = data.maxDate + this.maxDateEqualTo = data.maxDateEqualTo || false this.minDate = data.minDate + this.minDateEqualTo = data.minDateEqualTo || false this.noMaxDate = data.noMaxDate this.relationship = data.relationship || '' context = context || getContext() @@ -58,6 +60,11 @@ export default class DateControlValidator { } const date = new Date(`${this.month}/${this.day}/${this.year}`) + + if (this.maxDateEqualTo) { + return date <= this.maxDate + } + return date < this.maxDate } @@ -73,6 +80,11 @@ export default class DateControlValidator { } const date = new Date(`${this.month}/${this.day}/${this.year}`) + + if (this.minDateEqualTo) { + return date >= this.minDate + } + return date > this.minDate } diff --git a/src/validators/datecontrol.test.js b/src/validators/datecontrol.test.js index d3f77d677..52b225d62 100644 --- a/src/validators/datecontrol.test.js +++ b/src/validators/datecontrol.test.js @@ -65,6 +65,16 @@ describe('date control validator', function() { }, expected: false }, + { + data: { + month: '1', + day: '1', + year: '2005', + maxDate: new Date('1/1/2005'), + maxDateEqualTo: true + }, + expected: true + }, { data: { month: '1', @@ -148,6 +158,17 @@ describe('date control validator', function() { hideDay: true }, expected: false + }, + { + data: { + month: '1', + day: '1', + year: '2004', + minDate: new Date('1/1/2004'), + minDateEqualTo: true, + hideDay: true + }, + expected: true } ] diff --git a/src/validators/helpers.js b/src/validators/helpers.js index 97008c394..7eecbc827 100644 --- a/src/validators/helpers.js +++ b/src/validators/helpers.js @@ -18,7 +18,7 @@ export const validCurrency = obj => { if (!obj || !obj.value || isNaN(obj.value)) { return false } - return true + return +obj.value < 2147483648 } /** diff --git a/src/validators/helpers.test.js b/src/validators/helpers.test.js index 893e5ada8..832463e0a 100644 --- a/src/validators/helpers.test.js +++ b/src/validators/helpers.test.js @@ -79,6 +79,12 @@ describe('Helpers for validators', function() { value: 'f' }, expected: false + }, + { + Field: { + value: '2147483648' + }, + expected: false } ] diff --git a/src/validators/people.test.js b/src/validators/people.test.js index 3372bc259..b9c347241 100644 --- a/src/validators/people.test.js +++ b/src/validators/people.test.js @@ -51,13 +51,7 @@ describe('People validator', function() { year: '2009', date: new Date('1/1/2009') }, - to: { - month: '1', - day: '1', - year: currentYear, - date: new Date(`1/1/${currentYear}`) - }, - present: false + present: true }, Rank: { value: 'Some rank' diff --git a/src/validators/relatives.js b/src/validators/relatives.js index 600be4989..9244fa455 100644 --- a/src/validators/relatives.js +++ b/src/validators/relatives.js @@ -18,8 +18,29 @@ export default class RelativesValidator { }) } + validMinimumRelations() { + const requiredRelations = ['Father', 'Mother'] + + if ((this.list.branch || {}).value === 'No') { + if (this.list.items && this.list.items.length > 0) { + let relations = [] + for (const item of this.list.items) { + if (!item || !item.Item || !item.Item.Relation) { + continue + } + relations.push(item.Item.Relation.value) + } + if (relations.length > 0) { + return requiredRelations.every(r => relations.includes(r)) + } + } + return false + } + return true + } + isValid() { - return this.validItems() + return this.validItems() && this.validMinimumRelations() } } @@ -159,7 +180,12 @@ export class RelativeValidator { validAliases() { const items = this.aliases.items || [] - const nonImmediateFamily = ['Fosterparent', 'Father-in-law', 'Mother-in-law', 'Guardian'] + const nonImmediateFamily = [ + 'Fosterparent', + 'Father-in-law', + 'Mother-in-law', + 'Guardian' + ] if (nonImmediateFamily.includes(this.relation)) { return true diff --git a/src/validators/relatives.test.js b/src/validators/relatives.test.js index 68998a7bc..40ff1f347 100644 --- a/src/validators/relatives.test.js +++ b/src/validators/relatives.test.js @@ -1635,29 +1635,103 @@ describe('Relatives validation', function() { { data: { List: { - branch: { value: 'Nope' }, + branch: { value: 'No' }, items: [ { Item: { Relation: { value: 'Mother' + }, + Name: { + first: 'Foo', + firstInitialOnly: false, + middle: 'J', + middleInitialOnly: true, + noMiddleName: false, + last: 'Bar', + lastInitialOnly: false, + suffix: 'Jr' + }, + Birthdate: { + day: '1', + month: '1', + year: '2016', + date: new Date('1/1/2016') + }, + Birthplace: { + city: 'Arlington', + state: 'VA', + country: { value: ['United States'] }, + layout: Location.BIRTHPLACE_WITHOUT_COUNTY + }, + Citizenship: { + value: ['United States'] + }, + MaidenName: { + first: 'Foo', + firstInitialOnly: false, + middle: 'J', + middleInitialOnly: true, + noMiddleName: false, + last: 'Bar', + lastInitialOnly: false, + suffix: 'Jr' + }, + Aliases: { + items: [ + { + Item: { + Has: { + value: 'Yes' + }, + Name: { + first: 'Foo', + firstInitialOnly: false, + middle: 'J', + middleInitialOnly: true, + noMiddleName: false, + last: 'Bar', + lastInitialOnly: false, + suffix: 'Jr' + }, + MaidenName: { value: 'No' }, + Dates: { + from: { + month: '1', + day: '1', + year: '2010', + date: new Date('1/1/2010') + }, + to: { + month: '1', + day: '1', + year: '2012', + date: new Date('1/1/2012') + }, + present: false + }, + Reason: { + value: 'The reason' + } + } + } + ] + }, + IsDeceased: { value: 'No' }, + Address: { + country: { value: 'United States' }, + street: '1234 Some Rd', + city: 'Arlington', + state: 'VA', + zipcode: '22202', + layout: Location.ADDRESS } } - } - ] - } - }, - expected: false - }, - { - data: { - List: { - branch: { value: 'No' }, - items: [ + }, { Item: { Relation: { - value: 'Mother' + value: 'Father' }, Name: { first: 'Foo', @@ -1756,4 +1830,73 @@ describe('Relatives validation', function() { expect(new RelativesValidator(test.data).isValid()).toBe(test.expected) }) }) + + it('validates that a mother and father have been provided', () => { + const tests = [ + { + data: { + List: { + branch: { value: 'No' }, + items: [ + { + Item: { + Relation: { + value: 'Mother' + } + } + } + ] + } + }, + expected: false + }, + { + data: { + List: { + branch: { value: 'No' }, + items: [ + { + Item: { + Relation: { + value: 'Father' + } + } + } + ] + } + }, + expected: false + }, + { + data: { + List: { + branch: { value: 'No' }, + items: [ + { + Item: { + Relation: { + value: 'Mother' + } + } + }, + { + Item: { + Relation: { + value: 'Father' + } + } + } + ] + } + }, + expected: true + } + ] + + tests.forEach(test => { + expect(new RelativesValidator(test.data).validMinimumRelations()).toBe( + test.expected + ) + }) + }) }) diff --git a/src/validators/releases.js b/src/validators/releases.js index 23cee2ceb..77242e334 100644 --- a/src/validators/releases.js +++ b/src/validators/releases.js @@ -13,38 +13,20 @@ export const hideReleases = (store = {}) => { export const hideHippa = (store = {}) => { const psych = store.Psychological || {} + const flagged = (question) => { + return question && question.value === 'Yes' + } + const tests = [ - { - affirmative: (psych, store) => { - return (psych.Competence || {}).IsIncompetent.value !== 'Yes' - } - }, - { - affirmative: (psych, store) => { - return (psych.Consultations || {}).Consulted.value !== 'Yes' - } - }, - { - affirmative: (psych, store) => { - return (psych.Diagnoses || {}).Diagnosed.value !== 'Yes' - } - }, - { - affirmative: (psych, store) => { - return (psych.Hospitalizations || {}).Hospitalized.value !== 'Yes' - } - }, - { - affirmative: (psych, store) => { - return ( - hideExistingConditions(store) || - (psych.ExistingConditions || {}).HasCondition.value !== 'Yes' - ) - } - } + (psych.Competence || {}).IsIncompetent, + (psych.Consultations || {}).Consulted, + (psych.Diagnoses || {}).Diagnosed, + (psych.Hospitalizations || {}).Hospitalized, + (psych.ExistingConditions || {}).HasCondition ] - return tests.every(x => x.affirmative(psych, store)) + const showHippa = tests.some(x => flagged(x)) + return !showHippa } export const formIsSigned = (store = {}) => { diff --git a/src/validators/selectiveservice.js b/src/validators/selectiveservice.js index 69d6eb07e..4eee36583 100644 --- a/src/validators/selectiveservice.js +++ b/src/validators/selectiveservice.js @@ -41,7 +41,11 @@ export default class SelectiveServiceValidator { validRegistrationNumber() { if (this.wasBornAfter === 'Yes' && this.hasRegistered === 'Yes') { - return validGenericTextfield(this.registrationNumber) + return !!( + this.registrationNumber && + this.registrationNumber.value && + /^\d*$/g.test(this.registrationNumber.value) + ) } return true diff --git a/src/validators/selectiveservice.test.js b/src/validators/selectiveservice.test.js index f6f28089c..c9f3943fa 100644 --- a/src/validators/selectiveservice.test.js +++ b/src/validators/selectiveservice.test.js @@ -157,6 +157,16 @@ describe('Selective service validation', function() { }, expected: false }, + { + state: { + WasBornAfter: { value: 'Yes' }, + HasRegistered: { value: 'Yes' }, + RegistrationNumber: { + value: '123abc7890' + } + }, + expected: false + }, { state: { WasBornAfter: { value: 'Yes' },