diff --git a/dist/schemas.js b/dist/schemas.js index 19968119..be1e5d1b 100644 --- a/dist/schemas.js +++ b/dist/schemas.js @@ -5,7 +5,21 @@ var schemas = {}; fs.readdirSync(__dirname).forEach((fileName) => { if (fileName === 'schemas.js') return; + if (fileName === 'versions') return; + schemas[fileName.replace('.json', '').replace('-schema', '')] = require('./' + fileName); }); +var versions = {}; +fs.readdirSync(`${__dirname}/versions`).forEach((version) => { + versions[version] = []; + fs.readdirSync(`${__dirname}/versions/${version}`).forEach((fileName) => { + if (fileName === 'schemas.js') return; + + versions[version][fileName.replace('.json', '').replace('-schema', '')] = require('./' + fileName); + }); +}); + +schemas.versions = versions; + module.exports = schemas; diff --git a/dist/versions/24.3.3/0873-schema.json b/dist/versions/24.3.3/0873-schema.json new file mode 100644 index 00000000..cc687ba8 --- /dev/null +++ b/dist/versions/24.3.3/0873-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"IRIS Ask a Question","type":"object","definitions":{"address":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"state":{"type":"string","maxLength":51},"postalCode":{"type":"string","maxLength":51}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":50},"street2":{"type":"string","minLength":1,"maxLength":50},"city":{"type":"string","minLength":1,"maxLength":51}}},"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}},"email":{"type":"string","maxLength":256,"format":"email"},"phone":{"type":"string","minLength":10},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"privacyAgreementAccepted":{"type":"boolean","enum":[true]},"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string","minLength":1,"maxLength":1},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]},"preferredName":{"type":"string","minLength":1,"maxLength":30}},"additionalProperties":false,"required":["contactInformation","personalInformation","preferredContactMethod","topic","inquiryType","query","veteranStatus"],"properties":{"contactInformation":{"type":"object","properties":{"email":{"$ref":"#/definitions/email"},"phone":{"$ref":"#/definitions/phone"},"address":{"$ref":"#/definitions/address"}},"anyOf":[{"required":["email"]},{"required":["phone"]},{"required":["address"]}]},"personalInformation":{"type":"object","properties":{"dateOfBirth":{"$ref":"#/definitions/date"},"first":{"$ref":"#/definitions/first"},"middle":{"$ref":"#/definitions/middle"},"last":{"$ref":"#/definitions/last"},"suffix":{"$ref":"#/definitions/suffix"},"preferredName":{"$ref":"#/definitions/preferredName"},"socialSecurityNumber":{"$ref":"#/definitions/ssn"},"serviceNumber":{"type":"string","pattern":"^\\d{0,12}$"}},"required":["first","last"]},"avaProfile":{"type":"object","properties":{"schoolInfo":{"type":"object","properties":{"schoolFacilityCode":{"type":"string","pattern":"^\\d{8}$"},"schoolName":{"type":"string","minLength":1}}},"businessPhone":{"$ref":"#/definitions/phone"},"businessEmail":{"$ref":"#/definitions/email"}}},"preferredContactMethod":{"default":"email","type":"string","enum":["email","phone","mail"],"enumNames":["Email","Phone","US Mail"]},"topic":{"type":"object","anyOf":[{"properties":{"levelOne":{"type":"string","enum":["Caregiver Support Program"]},"levelTwo":{"type":"string","enum":["General Caregiver Support/Education","Comprehensive Family Caregiver Program","VA Supportive Services"]}}},{"properties":{"levelOne":{"type":"string","enum":["Health & Medical Issues & Services"]},"levelTwo":{"type":"object","anyOf":[{"properties":{"subLevelTwo":{"type":"string","enum":["Health/Medical Eligibility & Programs"]},"levelThree":{"type":"string","enum":["Apply for Health Benefits (Dependents)","Apply for Health Benefits (Veterans)","CHAMPVA CITI (In house Treatment Initiated)","CHAMPVA-Civilian Health & Medical Prog","CHAMPVA Password/Access Problems","Children of Women Vietnam Vets Healthcare","Licensed Health Professional Employment","Medical Care-Overseas Vets (Foreign Med)","Medical Care for Veterans within USA","Spina Bifida Program for Children of Vet"]}}},{"properties":{"subLevelTwo":{"type":"string","enum":["Prosthetics, Med Devices & Sensory Aids"]},"levelThree":{"type":"string","enum":["Artificial Limbs/Orthotics","Automobile Adaptive Equipment","Clothing Allowance","Durable Medical Equipment","Eyeglasses","Hearing Aids","Home Improvements & Structural Alterations","Home Oxygen","Wheelchairs","Prosthetics Web Site","Technical Problems","Other Prosthetics Issues"]}}},{"properties":{"subLevelTwo":{"type":"string","enum":["Women Veterans Health Care"]},"levelThree":{"type":"string","enum":["Complaint about Women Vets health care","General Concern"]}}},{"properties":{"subLevelTwo":{"type":"string","enum":["Medical Care Issues at Specific Facility","My HealtheVet","Vet Center / Readjustment Counseling Service (RCS)"]}}}]}}},{"properties":{"levelOne":{"type":"string","enum":["VA Ctr for Women Vets, Policies & Progs"]},"levelTwo":{"type":"string","enum":["Policy Questions","Question about Women Veterans Programs"]}}},{"properties":{"levelOne":{"type":"string","enum":["Burial & Memorial Benefits (NCA)"]},"levelTwo":{"type":"object","anyOf":[{"properties":{"subLevelTwo":{"type":"string","enum":["Burial Benefits"]},"levelThree":{"type":"string","enum":["Compensation Request","All Other Burial Benefit Inquiries"]}}},{"properties":{"subLevelTwo":{"type":"string","enum":["Pre-Need Burial Eligibility","Headstones & Markers","Presidential Memorial Certificates"]}}}]}}},{"properties":{"levelOne":{"type":"string","enum":["Home Loan Guaranty/All VA Mortgage Issues"]},"levelTwo":{"type":"object","anyOf":[{"properties":{"subLevelTwo":{"type":"string","enum":["Home Loan/Mortgage Web access & Tech problem"]},"levelThree":{"type":"string","enum":["Home Loan VIP Portal Access","Web Page Issues"]}}},{"properties":{"subLevelTwo":{"type":"string","enum":["Home Loan/Mortgage Certificates of Eligibility","Home Loan/Mortgage Guaranty Issues"]}}}]}}},{"properties":{"levelOne":{"type":"string","enum":["Compensation (Service-Connected Benefits)"]},"levelTwo":{"type":"string","enum":["Filing for compensation benefits","Status of a pending claim","Issues/Questions about compensation received","Direct deposit inquiries","Aid and Attendance Benefits","Guardianship/Custodians"]}}},{"properties":{"levelOne":{"type":"string","enum":["Education/ GI Bill"]},"levelTwo":{"type":"object","anyOf":[{"properties":{"subLevelTwo":{"type":"string","enum":["Work Study"]},"levelThree":{"type":"string","enum":["Application","Inquiries (VAI)","Position Descriptions","Time Cards","Signed Contracts"]}}},{"properties":{"subLevelTwo":{"type":"string","enum":["Post-9/11 GI Bill","School Officials Only","On-the-Job Training (OJT)/Apprenticeship","Survivors & Dependents","MGIB - Active Duty (Ch 30)","MGIB - Selected Reserve (Ch 1606)","School Certifying Official File Transfer","Licensing and Certification Tests","VR&E Counselors","Transfer of Benefits to Dependents (TEB)","Tuition Assistance Top-Up","WAVE","Counseling","VEAP (Ch 32)","Reserve Ed Asst Prog (Ch 1607) (REAP)","National Testing Programs","Colmery Section 110"]}}}]}}},{}],"properties":{"vaMedicalCenter":{"type":"string","enum":["405HK","405GA","405HA","405HB","405HF","405GC","405","436GA","436GB","436GC","436GD","436GF","436GH","436GI","436GJ","436GK","436A4","436GL","436GM","436HC","436QB","436QC","436QA","436GN","436","437GA","437GB","437GD","437GI","437GF","437GJ","437GK","437GL","437","437GC","618GA","618GB","618GD","618GG","656GA","656GB","437GE","656GC","618GI","618GK","618GL","618GJ","618GN","618QB","618","656","438GA","636A8","636A6","636GP","636GX","438GC","438GD","568A4","568GA","568GB","568HF","568HG","568HJ","568HK","568HP","438GE","438GF","568","438","442GB","636GA","636GB","568HB","568HH","636A4","636A5","636GQ","636GL","636GV","636","442GC","442GD","501GJ","554GB","554GC","554GD","554GE","554GF","554GG","554GH","575GA","554GI","575GB","554QA","442QE","575QC","554","575","459GA","459GB","459GC","459GD","459GG","459","459GE","402GA","402GB","402GC","402GD","402HB","402HC","402HL","402GE","402GF","402","405HC","405HE","608GA","608GC","608GD","608HA","608","463GA","463GB","463GC","463GD","463GE","463","501G2","501GA","501GB","501GC","501GD","501GE","501GH","501GI","501GK","501HB","504BZ","504HA","519GB","756GA","501GM","501GN","501","502GA","502GB","629GA","629GB","629GC","629GD","667GB","629BY","502GG","629GE","629GF","502GF","502GE","502QB","502","629","667","503GA","503GB","503GC","529GA","529GB","529GC","529GD","542GA","542GE","562GA","562GC","646GE","693GG","595GA","595GC","595GD","595GE","642GC","646A4","646GB","646GC","646GD","693GE","529GF","693B4","693GA","693GB","693GC","693GD","693GF","595GF","562GD","562GE","503GD","503GE","642QA","595QA","529A4","642GH","595","503","642","646","693","542","562","529","504BY","504GA","504HB","549GE","549GF","549GH","549GI","580BY","519GA","519GD","519HC","519HD","519HF","549A4","549BY","549GA","549GB","549GC","549GD","635GB","580BZ","580GA","580GC","674GA","674GB","674GC","674GD","671GO","667GC","671A4","671B0","671BY","671BZ","671GA","671GB","671GC","671GD","671GE","671GF","671GG","671GH","671GI","671GJ","671GK","671GL","671GN","549GJ","674HB","740GA","740GC","740GD","740GB","740GE","756GB","580GF","580GG","674A4","674BY","580GD","580GE","580GH","671GP","740GH","740GJ","671GQ","674GF","740GI","549GM","549GL","756QB","580QB","549GK","580GJ","504","519","671","674","756","549","580","740","506GA","539GB","541BY","541BZ","541GB","541GC","541GD","538GA","538GB","538GC","538GD","552GA","552GB","552GD","541GE","541GF","541GG","541GH","541GI","562GB","757GB","541GJ","541GK","757GC","646GA","538GE","757GD","757GA","539GE","539GF","541GL","541GM","538GF","541GN","581GG","539QC","539QD","757","538","539","541","552","506GB","506GC","553GA","553GB","515BY","515GA","515GB","515GC","585GA","585GC","585GD","585HA","585HB","655GA","655GB","655GC","655GD","655GH","655GI","655GF","655GE","655GG","506","515","655","553","585","508GA","508GE","508GF","508GH","509A0","534BY","557GA","557GB","573GA","619GA","509GA","557HA","508GG","573GJ","508GI","508GK","557GC","508GJ","557GE","534GE","557GF","619QB","573GM","508GL","509QA","508","509","557","512GA","512GC","512GD","512GE","512GF","460HM","613GA","613GB","688GD","512A5","688GE","613GG","512GG","512QA","688GF","512","539GA","626GC","581GA","603GD","603GE","596A4","596GA","596HA","603GA","603GC","539GD","596GD","596GC","603GF","603GH","596GB","626GJ","539A4","596","603","539GC","537BY","552GC","610A4","610GB","583GA","583GB","603GB","603GG","610GC","610GD","583GC","583GE","583GD","583QB","583GG","583QD","610BY","610","583","540GA","540GB","540GC","613GD","613GE","613HK","581GB","540HK","540GD","517GB","581GH","517","613","540","581","544BZ","544GB","544GC","544GD","544GE","544GF","534GB","534GC","509GB","534GD","544GG","534GF","544","534","546B0","546BZ","546GA","546GB","546GC","516BZ","516GA","516GB","516GC","516GD","516GE","516GF","573A4","573BY","573GB","573GD","573GE","573GF","573GG","516GH","520BZ","520GB","546GD","546GE","548GA","548GB","548GC","548GD","548GE","548GF","573GI","675GA","675GE","675GF","520GC","573GK","675GD","675GB","675GC","675GG","573GL","673BZ","673GB","673GC","673GF","546GF","546GH","520QA","573GN","673GG","573QK","673GH","516","673","546","548","573","675","528A4","528A5","528A6","528A7","528A8","528GB","528GC","528GD","528GK","528GQ","528GR","526GA","526GB","526GD","630A4","630A5","630GA","630GB","630GC","632GA","632HA","632HB","632HC","632HD","620A4","620GA","620GB","620GD","620GE","620GF","620GG","620GH","620","630","632","526","528","531GE","687GB","668GB","660GA","531GG","531GI","531GJ","531","537GA","537HA","550BY","550GA","550GD","556GA","556GC","578GA","578GD","578GF","578GG","607HA","657A5","657GA","537GD","607GF","550GF","578GC","578GE","537","550","556","578","556GD","585GB","618BY","607GC","607GD","607GE","618GE","676GA","676GB","676GC","695GD","676GD","676GE","695BY","695GA","695GC","695HK","618GH","618GM","607GG","607","676","695","558GA","558GB","558GC","565GA","565GC","659GB","659BY","659GA","565GD","590GC","637GB","565GE","637GA","565GF","565GG","659GC","637GC","565GL","659BZ","558GD","558GE","558GF","565GH","565GI","565GK","565QC","565QD","565GM","637","659","558","565","561A4","561BY","561BZ","561GA","561GB","561GD","561GE","561GF","561GH","561GI","460HE","460HO","561GJ","642GD","561GK","642GA","460HG","460GD","642GF","561","460GA","460HK","460HL","460GC","460","586GA","586GB","586GC","614GA","614GC","520A0","520BY","586GF","586GD","586GE","586UMC","586GG","586QB","586QC","520","586","640A0","640A4","640BY","570GA","570GB","612A4","612B4","612BY","612GD","612GE","612GF","612GG","612GH","605GA","605GB","605GC","605GD","605GE","600GA","600GB","600GC","600GD","654GA","662GE","640HC","600GE","662GF","662GA","662GB","662GC","662GD","664BY","664GA","664GB","664GC","664GD","640GA","640GB","640HA","640HB","691GE","691GF","691GG","691GK","691GL","691GM","691GN","691GO","640GC","654GD","570GC","662GG","612GI","691A4","691GB","691GC","691GD","612GJ","605BZ","612QD","600","605","612","640","662","664","691","570","568HA","666GF","666GB","666GC","666GD","666GE","442MB","442HK","666QA","666QB","666QC","442QD","666","442","518GA","518GB","518GE","518GG","523A4","523A5","523BY","523BZ","523GA","523GB","523GC","523GD","631BY","631GC","631GD","650GA","650GB","631GE","631GF","631QB","518","523","631","613GC","613GF","652GA","688GA","652GE","658GA","658GB","658GC","621GJ","590GB","652GF","658GE","658GD","621GC","652GH","652GG","590GD","652GB","590","652","658","614GB","564GA","564GB","598GD","598A0","598GA","598GB","598GC","598GE","598GF","667GA","614GN","564GD","598GG","598GH","598","564","614GD","621GA","626A4","626GA","626GE","626GF","626GG","626GH","614GF","614GE","621BY","614GG","614GH","614GI","621GI","626GM","626GL","626GK","621GG","621GK","626QA","626QB","626QC","621QE","626GP","626GO","614","621","626","564BY","657A0","657A4","657GB","657GD","589A4","589G1","589GB","589GD","589GZ","564GC","589JB","657GS","589HK","564GF","657GX","657GY","589JF","589","657","520GA","521GA","521GB","521GC","521GD","521GE","521GF","619A4","619GB","521GG","619GD","521GI","521GH","679HK","619GE","679GA","521GJ","521","619","679","653BY","653GA","653GB","648GA","648GB","648GD","692GA","648GF","692GB","648GG","648GE","687GC","648GH","531GH","648GI","648GJ","653QA","648","653","692","623BY","623GA","635GA","635GC","635GD","635HB","564GE","623GB","635GE","635GF","635GG","635QB","623QC","635QC","623","635","654GB","593GC","660GC","654GC","593GD","593GE","593GF","593GG","654GE","593GH","593QC","654QD","593","654","589A5","589A6","589A7","589GC","589G9","589JC","644BY","644GA","644GB","644GC","644GD","649GA","649GB","649GC","649GD","649GE","649HK","678GA","678GB","678GD","678GE","644GF","678GG","678GC","644GE","678GF","644GG","644GH","678QA","644QB","678QB","644","649","678","648A4","687GA","687HA","668GA","663HK","668HK","663A4","663GA","663GB","663GD","663GC","663GE","663","668","687","650GD","650QA","650QB","650","688GB","688QA","688","689A4","689GA","689GB","689GC","689GD","689GE","689HC","689HK","689","660GJ","660GB","660GD","660GE","660GG","660QC","660","672B0","672BZ","672GC","672GE","672GD","672","672GA","672GB","459GF","459GH","358"]},"routeToState":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"facilityCode":{"type":"string"},"stateOfResidence":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"stateOfSchool":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"socialSecurityNumber":{"$ref":"#/definitions/ssn"}}},"inquiryType":{"type":"string","enum":["Question","Compliment","Service Complaint","Suggestion","Status of Claim","Status of Appeal at a Local VA Office","Status of Appeals at BVA, Wash DC"]},"query":{"type":"string"},"veteranStatus":{"type":"object","required":["veteranStatus"],"properties":{"veteranStatus":{"type":"string","enum":["vet","behalf of vet","dependent","general"],"enumNames":["For myself as a Veteran","On behalf of a Veteran","For the dependent of a Veteran","A general question"]},"isDependent":{"type":"boolean"},"relationshipToVeteran":{"type":"string","enum":["Attorney","Authorized 3rd Party","Daughter","Dependent Child","Ex-spouse","Father","Funeral Director","General Question; Not Applicable","Guardian/Fiduciary","Helpless Child","Mother","Other","Sibling","Son","Spouse","Surviving Spouse","Veteran","VSO"]},"veteranIsDeceased":{"type":"boolean"},"dateOfDeath":{"$ref":"#/definitions/date"}}},"dependentInformation":{"type":"object","properties":{"relationshipToVeteran":{"enum":["Daughter","Son","Stepson","Stepdaughter","Father","Mother","Spouse","Other"],"type":"string"},"first":{"$ref":"#/definitions/first"},"last":{"$ref":"#/definitions/last"},"address":{"$ref":"#/definitions/address"},"phone":{"$ref":"#/definitions/phone"},"email":{"$ref":"#/definitions/email"}}},"veteranInformation":{"type":"object","properties":{"first":{"$ref":"#/definitions/first"},"last":{"$ref":"#/definitions/last"},"address":{"$ref":"#/definitions/address"},"phone":{"$ref":"#/definitions/phone"},"email":{"$ref":"#/definitions/email"}}},"veteranServiceInformation":{"type":"object","properties":{"claimNumber":{"type":"string","pattern":"^\\d{6,8}$"},"branchOfService":{"type":"string","enum":["Air Force","Air Force Reserves","Air Force National Guard","Air Force Nursing Corps (AFNC)","Army","Army National Guard","Army Reserves","Coast Guard","Coast Guard Women's Reserve (SPARS)","Environmental Services Administration","Marine Corps","Marine Corps Reserves","Natl Oceanic & Atmospheric Admin (NOAA)","Navy","Navy Reserves","Navy Nursing Corps (NNC)","Philippines Guerilla","Philippines Scout","Public Health Service","U. S. Merchant Marine","Women's Air Force Service Pilots (WASPS)","Women's Army Auxiliary Corps (WAAC)","Women's Army Corps (WACs)","Womens Voluntary Emerg Srv (WAVES)","Other"]},"serviceDateRange":{"$ref":"#/definitions/dateRange"}}},"privacyAgreementAccepted":{"$ref":"#/definitions/privacyAgreementAccepted"}}} diff --git a/dist/versions/24.3.3/10-10CG-example.json b/dist/versions/24.3.3/10-10CG-example.json new file mode 100644 index 00000000..57f25fcd --- /dev/null +++ b/dist/versions/24.3.3/10-10CG-example.json @@ -0,0 +1 @@ +{"veteran":{"fullName":{"first":"Jane Doe","last":"Doe"},"ssnOrTin":"789787893","dateOfBirth":"1990-07-03","address":{"street":"111 2nd St S","city":"Seattle","state":"WA","postalCode":"33771","county":"Washington"},"primaryPhoneNumber":"8887775544","plannedClinic":"740","certifications":["information-is-correct-and-true","consent-to-caregivers-to-perform-care"]},"primaryCaregiver":{"fullName":{"first":"Joan","last":"Doe"},"dateOfBirth":"1978-07-03","address":{"street":"111 2nd St S","city":"Seattle","state":"WA","postalCode":"33771","county":"Washington"},"primaryPhoneNumber":"8887775544","vetRelationship":"Spouse","certifications":["information-is-correct-and-true","at-least-18-years-of-age","member-of-veterans-family","agree-to-perform-services--as-primary","understand-revocable-status--as-primary","have-understanding-of-non-employment-relationship"]},"secondaryCaregiverOne":{"fullName":{"first":"John Doe","middle":"A","last":"Doe"},"dateOfBirth":"1989-11-06","address":{"street":"111 2nd St S","city":"Seattle","state":"WA","postalCode":"33771-1234","county":"Washington"},"primaryPhoneNumber":"8887775544","vetRelationship":"Friend/Neighbor","certifications":["information-is-correct-and-true","at-least-18-years-of-age","not-member-of-veterans-family","currently-or-will-reside-with-veteran--as-secondary","agree-to-perform-services--as-secondary","understand-revocable-status--as-secondary","have-understanding-of-non-employment-relationship"]}} diff --git a/dist/versions/24.3.3/10-10CG-schema.json b/dist/versions/24.3.3/10-10CG-schema.json new file mode 100644 index 00000000..30381fc8 --- /dev/null +++ b/dist/versions/24.3.3/10-10CG-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"Application for Comprehensive Assistance for Family Caregivers Program (10-10CG)","type":"object","additionalProperties":false,"required":["veteran"],"anyOf":[{"required":["primaryCaregiver"]},{"required":["secondaryCaregiverOne"]}],"definitions":{"fullName":{"type":"object","additionalProperties":false,"required":["first","last"],"properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string","maxLength":30},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}}},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"gender":{"type":"string","enum":["F","M"]},"phone":{"type":"string","minLength":10,"maxLength":40},"email":{"type":"string","maxLength":80,"format":"email"},"address":{"type":"object","additionalProperties":false,"required":["street","city","state","postalCode","county"],"properties":{"street":{"type":"string","minLength":1,"maxLength":50},"street2":{"type":"string","minLength":1,"maxLength":50},"city":{"type":"string","minLength":1,"maxLength":40},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"postalCode":{"type":"string","pattern":"^(\\d{5})(?:[-](\\d{4}))?$"},"county":{"type":"string","maxLength":60}}},"mailingAddress":{"type":"object","additionalProperties":false,"properties":{"street":{"type":"string","minLength":1,"maxLength":50},"street2":{"type":"string","minLength":1,"maxLength":50},"city":{"type":"string","minLength":1,"maxLength":40},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"postalCode":{"type":"string","pattern":"^(\\d{5})(?:[-](\\d{4}))?$"},"county":{"type":"string","maxLength":60}}},"vetRelationship":{"type":"string","enum":["Spouse","Father","Mother","Son","Daughter","Brother","Sister","Significant Other","Relative - Other","Friend/Neighbor","Grandchild"]},"uuid":{"type":"string","format":"uuid"},"signature":{"type":"string","minLength":1,"maxLength":150}},"properties":{"veteran":{"type":"object","additionalProperties":false,"required":["fullName","ssnOrTin","dateOfBirth","address","primaryPhoneNumber","plannedClinic"],"properties":{"fullName":{"$ref":"#/definitions/fullName"},"ssnOrTin":{"$ref":"#/definitions/ssn"},"dateOfBirth":{"$ref":"#/definitions/date"},"gender":{"$ref":"#/definitions/gender"},"address":{"$ref":"#/definitions/address"},"primaryPhoneNumber":{"$ref":"#/definitions/phone"},"alternativePhoneNumber":{"$ref":"#/definitions/phone"},"email":{"$ref":"#/definitions/email"},"plannedClinic":{"type":"string"},"signature":{"$ref":"#/definitions/signature"},"certifications":{"type":"array","uniqueItems":true,"minItems":2,"maxItems":2,"items":{"type":"string","enum":["information-is-correct-and-true","consent-to-caregivers-to-perform-care"]}}}},"primaryCaregiver":{"type":"object","additionalProperties":false,"required":["fullName","dateOfBirth","address","primaryPhoneNumber","vetRelationship"],"properties":{"fullName":{"$ref":"#/definitions/fullName"},"ssnOrTin":{"$ref":"#/definitions/ssn"},"dateOfBirth":{"$ref":"#/definitions/date"},"gender":{"$ref":"#/definitions/gender"},"address":{"$ref":"#/definitions/address"},"mailingAddress":{"$ref":"#/definitions/mailingAddress"},"primaryPhoneNumber":{"$ref":"#/definitions/phone"},"alternativePhoneNumber":{"$ref":"#/definitions/phone"},"email":{"$ref":"#/definitions/email"},"vetRelationship":{"$ref":"#/definitions/vetRelationship"},"signature":{"$ref":"#/definitions/signature"},"certifications":{"type":"array","uniqueItems":true,"minItems":6,"maxItems":7,"items":{"type":"string","enum":["information-is-correct-and-true","at-least-18-years-of-age","member-of-veterans-family","not-member-of-veterans-family","currently-or-will-reside-with-veteran--as-primary","agree-to-perform-services--as-primary","understand-revocable-status--as-primary","have-understanding-of-non-employment-relationship"]}}}},"secondaryCaregiverOne":{"type":"object","additionalProperties":false,"required":["fullName","dateOfBirth","address","primaryPhoneNumber","vetRelationship"],"properties":{"fullName":{"$ref":"#/definitions/fullName"},"ssnOrTin":{"$ref":"#/definitions/ssn"},"dateOfBirth":{"$ref":"#/definitions/date"},"gender":{"$ref":"#/definitions/gender"},"address":{"$ref":"#/definitions/address"},"mailingAddress":{"$ref":"#/definitions/mailingAddress"},"primaryPhoneNumber":{"$ref":"#/definitions/phone"},"alternativePhoneNumber":{"$ref":"#/definitions/phone"},"email":{"$ref":"#/definitions/email"},"vetRelationship":{"$ref":"#/definitions/vetRelationship"},"signature":{"$ref":"#/definitions/signature"},"certifications":{"type":"array","uniqueItems":true,"minItems":6,"maxItems":7,"items":{"type":"string","enum":["information-is-correct-and-true","at-least-18-years-of-age","member-of-veterans-family","not-member-of-veterans-family","currently-or-will-reside-with-veteran--as-secondary","agree-to-perform-services--as-secondary","understand-revocable-status--as-secondary","have-understanding-of-non-employment-relationship"]}}}},"secondaryCaregiverTwo":{"type":"object","additionalProperties":false,"required":["fullName","dateOfBirth","address","primaryPhoneNumber","vetRelationship"],"properties":{"fullName":{"$ref":"#/definitions/fullName"},"ssnOrTin":{"$ref":"#/definitions/ssn"},"dateOfBirth":{"$ref":"#/definitions/date"},"gender":{"$ref":"#/definitions/gender"},"address":{"$ref":"#/definitions/address"},"mailingAddress":{"$ref":"#/definitions/mailingAddress"},"primaryPhoneNumber":{"$ref":"#/definitions/phone"},"alternativePhoneNumber":{"$ref":"#/definitions/phone"},"email":{"$ref":"#/definitions/email"},"vetRelationship":{"$ref":"#/definitions/vetRelationship"},"signature":{"$ref":"#/definitions/signature"},"certifications":{"type":"array","uniqueItems":true,"minItems":6,"maxItems":7,"items":{"type":"string","enum":["information-is-correct-and-true","at-least-18-years-of-age","member-of-veterans-family","not-member-of-veterans-family","currently-or-will-reside-with-veteran--as-secondary","agree-to-perform-services--as-secondary","understand-revocable-status--as-secondary","have-understanding-of-non-employment-relationship"]}}}},"poaAttachmentId":{"$ref":"#/definitions/uuid"},"signAsRepresentative":{"type":"boolean"}}} diff --git a/dist/versions/24.3.3/10-10EZ-schema.json b/dist/versions/24.3.3/10-10EZ-schema.json new file mode 100644 index 00000000..10e38d65 --- /dev/null +++ b/dist/versions/24.3.3/10-10EZ-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"APPLICATION FOR HEALTH BENEFITS (10-10EZ)","definitions":{"date":{"format":"date","type":"string"},"maritalStatus":{"type":"string","enum":["Married","Never Married","Separated","Widowed","Divorced"]}},"type":"object","properties":{"attachments":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"size":{"type":"integer"},"confirmationCode":{"type":"string"},"dd214":{"type":"boolean"}}}},"veteranFullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":25,"pattern":"^.*\\S.*"},"middle":{"type":"string","maxLength":30},"last":{"type":"string","minLength":2,"maxLength":35,"pattern":"^.*\\S.*"},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"mothersMaidenName":{"type":"string"},"veteranSocialSecurityNumber":{"type":"string","pattern":"^[0-9]{9}$"},"gender":{"type":"string","enum":["F","M"]},"sigiGenders":{"type":"string","enum":["NB","M","F","TM","TF","O","NA"]},"cityOfBirth":{"type":"string","minLength":2,"maxLength":20},"stateOfBirth":{"type":"string","enum":["AL","AK","AZ","AR","CA","CO","CT","DE","DC","FL","GA","HI","ID","IL","IN","IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY","Other"]},"veteranDateOfBirth":{"$ref":"#/definitions/date"},"maritalStatus":{"$ref":"#/definitions/maritalStatus"},"vaCompensationType":{"type":"string","enum":["lowDisability","highDisability","none"]},"vaPensionType":{"type":"string","enum":["Yes","No"]},"isEssentialAcaCoverage":{"type":"boolean"},"vaMedicalFacility":{"type":"string"},"wantsInitialVaContact":{"type":"boolean"},"isSpanishHispanicLatino":{"type":"boolean"},"isAmericanIndianOrAlaskanNative":{"type":"boolean"},"isBlackOrAfricanAmerican":{"type":"boolean"},"isNativeHawaiianOrOtherPacificIslander":{"type":"boolean"},"isAsian":{"type":"boolean"},"isWhite":{"type":"boolean"},"hasDemographicNoAnswer":{"type":"boolean"},"veteranAddress":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"provinceCode":{"type":"string","maxLength":51,"pattern":"^.*\\S.*"}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"street2":{"type":"string","maxLength":30},"street3":{"type":"string","maxLength":30},"city":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"postalCode":{"type":"string","maxLength":51,"pattern":"^.*\\S.*"}},"required":["street","city","country"]},"veteranHomeAddress":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"provinceCode":{"type":"string","maxLength":51,"pattern":"^.*\\S.*"}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"street2":{"type":"string","maxLength":30},"street3":{"type":"string","maxLength":30},"city":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"postalCode":{"type":"string","maxLength":51,"pattern":"^.*\\S.*"}},"required":["street","city","country"]},"email":{"type":"string","pattern":"^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$"},"homePhone":{"type":"string","pattern":"^[0-9]{10}$"},"mobilePhone":{"type":"string","pattern":"^[0-9]{10}$"},"discloseFinancialInformation":{"type":"boolean"},"spouseFullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":25,"pattern":"^.*\\S.*"},"middle":{"type":"string","maxLength":30},"last":{"type":"string","minLength":2,"maxLength":35,"pattern":"^.*\\S.*"},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"spouseSocialSecurityNumber":{"type":"string","pattern":"^[0-9]{9}$"},"spouseDateOfBirth":{"$ref":"#/definitions/date"},"dateOfMarriage":{"$ref":"#/definitions/date"},"sameAddress":{"type":"boolean"},"cohabitedLastYear":{"type":"boolean"},"provideSupportLastYear":{"type":"boolean"},"spouseAddress":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"provinceCode":{"type":"string","maxLength":51,"pattern":"^.*\\S.*"}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"street2":{"type":"string","maxLength":30},"street3":{"type":"string","maxLength":30},"city":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"postalCode":{"type":"string","maxLength":51,"pattern":"^.*\\S.*"}},"required":["street","city","country"]},"spousePhone":{"type":"string","pattern":"^[0-9]{10}$"},"dependents":{"type":"array","items":{"type":"object","properties":{"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":25,"pattern":"^.*\\S.*"},"middle":{"type":"string","maxLength":30},"last":{"type":"string","minLength":2,"maxLength":35,"pattern":"^.*\\S.*"},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"dependentRelation":{"enum":["Daughter","Son","Stepson","Stepdaughter","Father","Mother","Spouse","Other"],"type":"string"},"socialSecurityNumber":{"type":"string","pattern":"^[0-9]{9}$"},"becameDependent":{"format":"date","type":"string"},"dateOfBirth":{"format":"date","type":"string"},"disabledBefore18":{"type":"boolean"},"attendedSchoolLastYear":{"type":"boolean"},"dependentEducationExpenses":{"type":"number","minimum":0,"maximum":9999999.99},"cohabitedLastYear":{"type":"boolean"},"receivedSupportLastYear":{"type":"boolean"},"grossIncome":{"type":"number","minimum":0,"maximum":9999999.99},"netIncome":{"type":"number","minimum":0,"maximum":9999999.99},"otherIncome":{"type":"number","minimum":0,"maximum":9999999.99}}}},"veteranGrossIncome":{"type":"number","minimum":0,"maximum":9999999.99},"veteranNetIncome":{"type":"number","minimum":0,"maximum":9999999.99},"veteranOtherIncome":{"type":"number","minimum":0,"maximum":9999999.99},"spouseGrossIncome":{"type":"number","minimum":0,"maximum":9999999.99},"spouseNetIncome":{"type":"number","minimum":0,"maximum":9999999.99},"spouseOtherIncome":{"type":"number","minimum":0,"maximum":9999999.99},"deductibleMedicalExpenses":{"type":"number","minimum":0,"maximum":9999999.99},"deductibleFuneralExpenses":{"type":"number","minimum":0,"maximum":9999999.99},"deductibleEducationExpenses":{"type":"number","minimum":0,"maximum":9999999.99},"isCoveredByHealthInsurance":{"type":"boolean"},"providers":{"type":"array","items":{"type":"object","properties":{"insuranceName":{"type":"string","maxLength":100,"pattern":"^.*\\S.*"},"insurancePolicyHolderName":{"type":"string","maxLength":50,"pattern":"^.*\\S.*"},"insurancePolicyNumber":{"type":"string","maxLength":30,"pattern":"^.*\\S.*"},"insuranceGroupCode":{"type":"string","maxLength":30,"pattern":"^.*\\S.*"}},"anyOf":[{"required":["insurancePolicyNumber"]},{"required":["insuranceGroupCode"]}]}},"isMedicaidEligible":{"type":"boolean"},"isEnrolledMedicarePartA":{"type":"boolean"},"medicarePartAEffectiveDate":{"$ref":"#/definitions/date"},"medicareClaimNumber":{"type":"string","maxLength":30},"lastServiceBranch":{"type":"string","enum":["air force","army","coast guard","marine corps","merchant seaman","navy","noaa","space force","usphs","f.commonwealth","f.guerilla","f.scouts new","f.scouts old","other"]},"lastEntryDate":{"$ref":"#/definitions/date"},"lastDischargeDate":{"$ref":"#/definitions/date"},"dischargeType":{"type":"string","enum":["honorable","general","other","bad-conduct","dishonorable","undesirable"]},"purpleHeartRecipient":{"type":"boolean"},"isFormerPow":{"type":"boolean"},"postNov111998Combat":{"type":"boolean"},"disabledInLineOfDuty":{"type":"boolean"},"swAsiaCombat":{"type":"boolean"},"vietnamService":{"type":"boolean"},"exposedToRadiation":{"type":"boolean"},"radiumTreatments":{"type":"boolean"},"campLejeune":{"type":"boolean"},"privacyAgreementAccepted":{"type":"boolean","enum":[true]},"hasTeraResponse":{"type":"boolean"},"radiationCleanupEfforts":{"type":"boolean"},"gulfWarService":{"type":"boolean"},"gulfWarStartDate":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"gulfWarEndDate":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"combatOperationService":{"type":"boolean"},"exposedToAgentOrange":{"type":"boolean"},"agentOrangeStartDate":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"agentOrangeEndDate":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"exposureToAirPollutants":{"type":"boolean"},"exposureToAsbestos":{"type":"boolean"},"exposureToChemicals":{"type":"boolean"},"exposureToContaminatedWater":{"type":"boolean"},"exposureToMustardGas":{"type":"boolean"},"exposureToOccupationalHazards":{"type":"boolean"},"exposureToRadiation":{"type":"boolean"},"exposureToShad":{"type":"boolean"},"exposureToWarfareAgents":{"type":"boolean"},"exposureToOther":{"type":"boolean"},"otherToxicExposure":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9,.?! ]*$"},"toxicExposureStartDate":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"toxicExposureEndDate":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"}},"required":["privacyAgreementAccepted","veteranFullName","veteranSocialSecurityNumber","veteranDateOfBirth","gender","isSpanishHispanicLatino","veteranAddress","isMedicaidEligible","isEssentialAcaCoverage","vaMedicalFacility"]} diff --git a/dist/versions/24.3.3/10-10EZR-schema.json b/dist/versions/24.3.3/10-10EZR-schema.json new file mode 100644 index 00000000..2c5e17ba --- /dev/null +++ b/dist/versions/24.3.3/10-10EZR-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"HEALTH BENEFITS UPDATE FORM (10-10EZR)","definitions":{"date":{"format":"date","type":"string"}},"type":"object","properties":{"veteranFullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":25,"pattern":"^.*\\S.*"},"middle":{"type":"string","maxLength":30},"last":{"type":"string","minLength":2,"maxLength":35,"pattern":"^.*\\S.*"},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"veteranSocialSecurityNumber":{"type":"string","pattern":"^[0-9]{9}$"},"gender":{"type":"string","enum":["F","M"]},"sigiGenders":{"type":"string","enum":["NB","M","F","TM","TF","O","NA"]},"veteranDateOfBirth":{"$ref":"#/definitions/date"},"homePhone":{"type":"string","pattern":"^[0-9]{10}$"},"mobilePhone":{"type":"string","pattern":"^[0-9]{10}$"},"veteranAddress":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"provinceCode":{"type":"string","maxLength":51,"pattern":"^.*\\S.*"}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"street2":{"type":"string","maxLength":30},"street3":{"type":"string","maxLength":30},"city":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"postalCode":{"type":"string","maxLength":51,"pattern":"^.*\\S.*"}},"required":["street","city","country"]},"veteranHomeAddress":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"provinceCode":{"type":"string","maxLength":51,"pattern":"^.*\\S.*"}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"street2":{"type":"string","maxLength":30},"street3":{"type":"string","maxLength":30},"city":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"postalCode":{"type":"string","maxLength":51,"pattern":"^.*\\S.*"}},"required":["street","city","country"]},"email":{"type":"string","pattern":"^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$"},"maritalStatus":{"type":"string","enum":["Married","Never Married","Separated","Widowed","Divorced"]},"providers":{"type":"array","items":{"type":"object","properties":{"insuranceName":{"type":"string","maxLength":100,"pattern":"^.*\\S.*"},"insurancePolicyHolderName":{"type":"string","maxLength":50,"pattern":"^.*\\S.*"},"insurancePolicyNumber":{"type":"string","maxLength":30,"pattern":"^.*\\S.*"},"insuranceGroupCode":{"type":"string","maxLength":30,"pattern":"^.*\\S.*"}},"anyOf":[{"required":["insurancePolicyNumber"]},{"required":["insuranceGroupCode"]}]}},"isMedicaidEligible":{"type":"boolean"},"isEnrolledMedicarePartA":{"type":"boolean"},"medicarePartAEffectiveDate":{"$ref":"#/definitions/date"},"medicareClaimNumber":{"type":"string","maxLength":30,"pattern":"^.*\\S.*"},"spouseFullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":25,"pattern":"^.*\\S.*"},"middle":{"type":"string","maxLength":30},"last":{"type":"string","minLength":2,"maxLength":35,"pattern":"^.*\\S.*"},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"spouseSocialSecurityNumber":{"type":"string","pattern":"^[0-9]{9}$"},"spouseDateOfBirth":{"$ref":"#/definitions/date"},"dateOfMarriage":{"$ref":"#/definitions/date"},"cohabitedLastYear":{"type":"boolean"},"provideSupportLastYear":{"type":"boolean"},"spouseAddress":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"provinceCode":{"type":"string","maxLength":51,"pattern":"^.*\\S.*"}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"street2":{"type":"string","maxLength":30},"street3":{"type":"string","maxLength":30},"city":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"postalCode":{"type":"string","maxLength":51,"pattern":"^.*\\S.*"}},"required":["street","city","country"]},"spousePhone":{"type":"string","pattern":"^[0-9]{10}$"},"dependents":{"type":"array","items":{"type":"object","properties":{"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":25,"pattern":"^.*\\S.*"},"middle":{"type":"string","maxLength":30},"last":{"type":"string","minLength":2,"maxLength":35,"pattern":"^.*\\S.*"},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"dependentRelation":{"enum":["Daughter","Son","Stepson","Stepdaughter","Father","Mother","Spouse","Other"],"type":"string"},"socialSecurityNumber":{"type":"string","pattern":"^[0-9]{9}$"},"becameDependent":{"format":"date","type":"string"},"dateOfBirth":{"format":"date","type":"string"},"disabledBefore18":{"type":"boolean"},"attendedSchoolLastYear":{"type":"boolean"},"dependentEducationExpenses":{"type":"number","minimum":0,"maximum":9999999.99},"cohabitedLastYear":{"type":"boolean"},"receivedSupportLastYear":{"type":"boolean"},"grossIncome":{"type":"number","minimum":0,"maximum":9999999.99},"netIncome":{"type":"number","minimum":0,"maximum":9999999.99},"otherIncome":{"type":"number","minimum":0,"maximum":9999999.99}}}},"veteranGrossIncome":{"type":"number","minimum":0,"maximum":9999999.99},"veteranNetIncome":{"type":"number","minimum":0,"maximum":9999999.99},"veteranOtherIncome":{"type":"number","minimum":0,"maximum":9999999.99},"spouseGrossIncome":{"type":"number","minimum":0,"maximum":9999999.99},"spouseNetIncome":{"type":"number","minimum":0,"maximum":9999999.99},"spouseOtherIncome":{"type":"number","minimum":0,"maximum":9999999.99},"deductibleMedicalExpenses":{"type":"number","minimum":0,"maximum":9999999.99},"deductibleFuneralExpenses":{"type":"number","minimum":0,"maximum":9999999.99},"deductibleEducationExpenses":{"type":"number","minimum":0,"maximum":9999999.99},"privacyAgreementAccepted":{"type":"boolean","enum":[true]},"veteranContacts":{"type":"array","items":{"type":"object","properties":{"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":25,"pattern":"^.*\\S.*"},"middle":{"type":"string","maxLength":30},"last":{"type":"string","minLength":2,"maxLength":35,"pattern":"^.*\\S.*"},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"primaryPhone":{"type":"string","pattern":"^[0-9]{10}$"},"alternatePhone":{"type":"string","pattern":"^[0-9]{10}$"},"address":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"provinceCode":{"type":"string","maxLength":51,"pattern":"^.*\\S.*"}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"street2":{"type":"string","maxLength":30},"street3":{"type":"string","maxLength":30},"city":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"postalCode":{"type":"string","maxLength":51,"pattern":"^.*\\S.*"}},"required":["street","city","country"]},"relationship":{"type":"string","enum":["BROTHER","SISTER","SON","STEPCHILD","UNRELATED FRIEND","WARD","WIFE","CHILD-IN-LAW","DAUGHTER","EXTENDED FAMILY MEMBER","FATHER","GRANDCHILD","HUSBAND","MOTHER","NIECE/NEPHEW"]},"contactType":{"type":"string","enum":["Primary Next of Kin","Other Next of Kin","Emergency Contact","Other emergency contact"]}},"required":["fullName","primaryPhone","address","relationship","contactType"]}},"hasTeraResponse":{"type":"boolean"},"radiationCleanupEfforts":{"type":"boolean"},"gulfWarService":{"type":"boolean"},"gulfWarStartDate":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"gulfWarEndDate":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"combatOperationService":{"type":"boolean"},"exposedToAgentOrange":{"type":"boolean"},"agentOrangeStartDate":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"agentOrangeEndDate":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"exposureToAirPollutants":{"type":"boolean"},"exposureToAsbestos":{"type":"boolean"},"exposureToChemicals":{"type":"boolean"},"exposureToContaminatedWater":{"type":"boolean"},"exposureToMustardGas":{"type":"boolean"},"exposureToOccupationalHazards":{"type":"boolean"},"exposureToRadiation":{"type":"boolean"},"exposureToShad":{"type":"boolean"},"exposureToWarfareAgents":{"type":"boolean"},"exposureToOther":{"type":"boolean"},"otherToxicExposure":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9,.?! ]*$"},"toxicExposureStartDate":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"toxicExposureEndDate":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"}},"required":["privacyAgreementAccepted","veteranFullName","veteranSocialSecurityNumber","veteranDateOfBirth","gender","veteranAddress","isMedicaidEligible"]} diff --git a/dist/versions/24.3.3/20-0996-schema.json b/dist/versions/24.3.3/20-0996-schema.json new file mode 100644 index 00000000..04880564 --- /dev/null +++ b/dist/versions/24.3.3/20-0996-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","description":"JSON Schema for VA Form 20-0996 copied from https://github.com/department-of-veterans-affairs/vets-api/blob/master/modules/appeals_api/config/schemas/v1/200996.json","$ref":"#/definitions/hlrCreate","definitions":{"nonBlankString":{"type":"string","pattern":"[^ \\f\\n\\r\\t\\v\\u00a0\\u1680\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff]","$comment":"The pattern used ensures that a string has at least one non-whitespace character. The pattern comes from JavaScript's \\s character class. \"\\s Matches a single white space character, including space, tab, form feed, line feed, and other Unicode spaces. Equivalent to [ \\f\\n\\r\\t\\v\\u00a0\\u1680\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff].\": https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions/Character_Classes We are using simple character classes at JSON Schema's recommendation: https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-4.3"},"nonBlankStringMaxLength140":{"allOf":[{"$ref":"#/definitions/nonBlankString"},{"maxLength":140}]},"date":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$"},"hlrCreate":{"type":"object","properties":{"data":{"$ref":"#/definitions/hlrCreateData"},"included":{"$ref":"#/definitions/hlrCreateIncluded"},"nonPrefill":{"type":"object"}},"additionalProperties":false,"required":["data","included"]},"hlrCreateData":{"type":"object","properties":{"type":{"type":"string","enum":["higherLevelReview"]},"attributes":{"$ref":"#/definitions/hlrCreateDataAttributes"}},"additionalProperties":false,"required":["type","attributes"]},"hlrCreateDataAttributes":{"description":"If informal conference requested (`informalConference: true`), availability must be specified (`informalConferenceTimes`). Explanation of abbreviated benefit types: `pension`: Pension / Survivor's Benefits, `voc_rehab`: Vocational Rehabilitation and Employment, `vha`: Veterans Health Administration, `nca`: National Cemetery Administration","oneOf":[{"type":"object","properties":{"informalConference":{"type":"boolean","enum":[false]},"sameOffice":{"type":"boolean"},"benefitType":{"$ref":"#/definitions/hlrCreateBenefitType"},"veteran":{"$ref":"#/definitions/hlrCreateVeteran"}},"additionalProperties":false,"required":["informalConference","sameOffice","benefitType","veteran"]},{"$comment":"if informalConference requested, desired times must be included (rep is optional)","type":"object","properties":{"informalConference":{"type":"boolean","enum":[true]},"sameOffice":{"type":"boolean"},"benefitType":{"$ref":"#/definitions/hlrCreateBenefitType"},"veteran":{"$ref":"#/definitions/hlrCreateVeteran"},"informalConferenceTimes":{"$ref":"#/definitions/hlrCreateInformalConferenceTimes"},"informalConferenceRep":{"$ref":"#/definitions/hlrCreateInformalConferenceRep"}},"additionalProperties":false,"required":["informalConference","sameOffice","benefitType","veteran","informalConferenceTimes"]}]},"hlrCreateBenefitType":{"type":"string","enum":["compensation"]},"hlrCreateInformalConferenceTimes":{"type":"array","items":{"$ref":"#/definitions/hlrCreateInformalConferenceTime"},"minItems":1,"maxItems":2,"uniqueItems":true},"hlrCreateInformalConferenceTime":{"type":"string","description":"time ranges in Eastern Time","enum":["800-1000 ET","1000-1230 ET","1230-1400 ET","1400-1630 ET"]},"hlrCreateInformalConferenceRep":{"type":"object","properties":{"name":{"$ref":"#/definitions/nonBlankString"},"phone":{"$ref":"#/definitions/hlrCreatePhone"}},"additionalProperties":false,"required":["name","phone"]},"hlrCreatePhone":{"$comment":"the phone fields must not exceed 20 chars, when concatenated","type":"object","description":"The phone number of the veteran. Cannot exceed 20 characters when all fields are concatenated.","properties":{"countryCode":{"type":"string","pattern":"^[0-9]+$"},"areaCode":{"type":"string","pattern":"^[2-9][0-9]{2}$"},"phoneNumber":{"type":"string","pattern":"^[0-9]{1,14}$"},"phoneNumberExt":{"type":"string","pattern":"^[a-zA-Z0-9]{1,10}$"}},"required":["areaCode","phoneNumber"]},"hlrCreateVeteran":{"type":"object","properties":{"address":{"$ref":"#/definitions/hlrCreateAddress"},"phone":{"$ref":"#/definitions/hlrCreatePhone"},"emailAddressText":{"type":"string","format":"email","maxLength":44},"timezone":{"type":"string","description":"Veteran's timezone (either [IANA](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) or [Rails](https://github.com/rails/rails/blob/master/activesupport/lib/active_support/values/time_zone.rb) style). Used for adding the current date to the signature according to the veteran's local time. If not specified, the current UTC date will be used for the signature (which may be ahead or behind the local date).","$comment":"Generated using: File.write('timezones.json', (TZInfo::Timezone.all.map(&:name) + ActiveSupport::TimeZone.all.map(&:name)).uniq.sort) #Although this might seem like it should be generated dynamically, it's been written to file in case TZInfo or ActiveSupport deletes/modifies a timezone with a future version, which would change our APIs enum (a non-additve change to the current API version).","enum":["Abu Dhabi","Adelaide","Africa/Abidjan","Africa/Accra","Africa/Addis_Ababa","Africa/Algiers","Africa/Asmara","Africa/Asmera","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Douala","Africa/El_Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao_Tome","Africa/Timbuktu","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","Alaska","Almaty","America/Adak","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/ComodRivadavia","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Aruba","America/Asuncion","America/Atikokan","America/Atka","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Buenos_Aires","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Catamarca","America/Cayenne","America/Cayman","America/Chicago","America/Chihuahua","America/Coral_Harbour","America/Cordoba","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Dominica","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Ensenada","America/Fort_Nelson","America/Fort_Wayne","America/Fortaleza","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Grenada","America/Guadeloupe","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Indianapolis","America/Inuvik","America/Iqaluit","America/Jamaica","America/Jujuy","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/Knox_IN","America/Kralendijk","America/La_Paz","America/Lima","America/Los_Angeles","America/Louisville","America/Lower_Princes","America/Maceio","America/Managua","America/Manaus","America/Marigot","America/Martinique","America/Matamoros","America/Mazatlan","America/Mendoza","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Montreal","America/Montserrat","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Acre","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Rosario","America/Santa_Isabel","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Shiprock","America/Sitka","America/St_Barthelemy","America/St_Johns","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Tortola","America/Vancouver","America/Virgin","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","American Samoa","Amsterdam","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/McMurdo","Antarctica/Palmer","Antarctica/Rothera","Antarctica/South_Pole","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Arctic/Longyearbyen","Arizona","Asia/Aden","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Ashkhabad","Asia/Atyrau","Asia/Baghdad","Asia/Bahrain","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Calcutta","Asia/Chita","Asia/Choibalsan","Asia/Chongqing","Asia/Chungking","Asia/Colombo","Asia/Dacca","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Harbin","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Istanbul","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kashgar","Asia/Kathmandu","Asia/Katmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Kuwait","Asia/Macao","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Muscat","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Phnom_Penh","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Rangoon","Asia/Riyadh","Asia/Saigon","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Tel_Aviv","Asia/Thimbu","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ujung_Pandang","Asia/Ulaanbaatar","Asia/Ulan_Bator","Asia/Urumqi","Asia/Ust-Nera","Asia/Vientiane","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Astana","Athens","Atlantic Time (Canada)","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faeroe","Atlantic/Faroe","Atlantic/Jan_Mayen","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/St_Helena","Atlantic/Stanley","Auckland","Australia/ACT","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Canberra","Australia/Currie","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/LHI","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/NSW","Australia/North","Australia/Perth","Australia/Queensland","Australia/South","Australia/Sydney","Australia/Tasmania","Australia/Victoria","Australia/West","Australia/Yancowinna","Azores","Baghdad","Baku","Bangkok","Beijing","Belgrade","Berlin","Bern","Bogota","Brasilia","Bratislava","Brazil/Acre","Brazil/DeNoronha","Brazil/East","Brazil/West","Brisbane","Brussels","Bucharest","Budapest","Buenos Aires","CET","CST6CDT","Cairo","Canada/Atlantic","Canada/Central","Canada/Eastern","Canada/Mountain","Canada/Newfoundland","Canada/Pacific","Canada/Saskatchewan","Canada/Yukon","Canberra","Cape Verde Is.","Caracas","Casablanca","Central America","Central Time (US & Canada)","Chatham Is.","Chennai","Chihuahua","Chile/Continental","Chile/EasterIsland","Chongqing","Copenhagen","Cuba","Darwin","Dhaka","Dublin","EET","EST","EST5EDT","Eastern Time (US & Canada)","Edinburgh","Egypt","Eire","Ekaterinburg","Etc/GMT","Etc/GMT+0","Etc/GMT+1","Etc/GMT+10","Etc/GMT+11","Etc/GMT+12","Etc/GMT+2","Etc/GMT+3","Etc/GMT+4","Etc/GMT+5","Etc/GMT+6","Etc/GMT+7","Etc/GMT+8","Etc/GMT+9","Etc/GMT-0","Etc/GMT-1","Etc/GMT-10","Etc/GMT-11","Etc/GMT-12","Etc/GMT-13","Etc/GMT-14","Etc/GMT-2","Etc/GMT-3","Etc/GMT-4","Etc/GMT-5","Etc/GMT-6","Etc/GMT-7","Etc/GMT-8","Etc/GMT-9","Etc/GMT0","Etc/Greenwich","Etc/UCT","Etc/UTC","Etc/Universal","Etc/Zulu","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belfast","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Busingen","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Guernsey","Europe/Helsinki","Europe/Isle_of_Man","Europe/Istanbul","Europe/Jersey","Europe/Kaliningrad","Europe/Kiev","Europe/Kirov","Europe/Lisbon","Europe/Ljubljana","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Mariehamn","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Nicosia","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/San_Marino","Europe/Sarajevo","Europe/Saratov","Europe/Simferopol","Europe/Skopje","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Tiraspol","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zagreb","Europe/Zaporozhye","Europe/Zurich","Factory","Fiji","GB","GB-Eire","GMT","GMT+0","GMT-0","GMT0","Georgetown","Greenland","Greenwich","Guadalajara","Guam","HST","Hanoi","Harare","Hawaii","Helsinki","Hobart","Hong Kong","Hongkong","Iceland","Indian/Antananarivo","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Comoro","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Mayotte","Indian/Reunion","Indiana (East)","International Date Line West","Iran","Irkutsk","Islamabad","Israel","Istanbul","Jakarta","Jamaica","Japan","Jerusalem","Kabul","Kaliningrad","Kamchatka","Karachi","Kathmandu","Kolkata","Krasnoyarsk","Kuala Lumpur","Kuwait","Kwajalein","Kyiv","La Paz","Libya","Lima","Lisbon","Ljubljana","London","MET","MST","MST7MDT","Madrid","Magadan","Marshall Is.","Mazatlan","Melbourne","Mexico City","Mexico/BajaNorte","Mexico/BajaSur","Mexico/General","Mid-Atlantic","Midway Island","Minsk","Monrovia","Monterrey","Montevideo","Moscow","Mountain Time (US & Canada)","Mumbai","Muscat","NZ","NZ-CHAT","Nairobi","Navajo","New Caledonia","New Delhi","Newfoundland","Novosibirsk","Nuku'alofa","Osaka","PRC","PST8PDT","Pacific Time (US & Canada)","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chatham","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Johnston","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Midway","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Ponape","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Saipan","Pacific/Samoa","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Truk","Pacific/Wake","Pacific/Wallis","Pacific/Yap","Paris","Perth","Poland","Port Moresby","Portugal","Prague","Pretoria","Puerto Rico","Quito","ROC","ROK","Rangoon","Riga","Riyadh","Rome","Samara","Samoa","Santiago","Sapporo","Sarajevo","Saskatchewan","Seoul","Singapore","Skopje","Sofia","Solomon Is.","Srednekolymsk","Sri Jayawardenepura","St. Petersburg","Stockholm","Sydney","Taipei","Tallinn","Tashkent","Tbilisi","Tehran","Tijuana","Tokelau Is.","Tokyo","Turkey","UCT","US/Alaska","US/Aleutian","US/Arizona","US/Central","US/East-Indiana","US/Eastern","US/Hawaii","US/Indiana-Starke","US/Michigan","US/Mountain","US/Pacific","US/Pacific-New","US/Samoa","UTC","Ulaanbaatar","Universal","Urumqi","Vienna","Vilnius","Vladivostok","Volgograd","W-SU","WET","Warsaw","Wellington","West Central Africa","Yakutsk","Yerevan","Zagreb","Zulu","Zurich"]}},"additionalProperties":false,"required":["address"]},"hlrCreateAddress":{"type":"object","properties":{"zipCode5":{"type":"string","description":"5-digit zipcode. Use \"00000\" if Veteran is outside the United States","pattern":"^[0-9]{5}$"}},"additionalProperties":false,"required":["zipCode5"]},"hlrCreateIncluded":{"type":"array","items":{"$ref":"#/definitions/hlrCreateContestableIssue"},"minItems":1,"uniqueItems":true},"hlrCreateContestableIssue":{"type":"object","properties":{"type":{"type":"string","enum":["contestableIssue"]},"attributes":{"$ref":"#/definitions/hlrCreateContestableIssueAttributes"}},"additionalProperties":false,"required":["type","attributes"]},"hlrCreateContestableIssueAttributes":{"type":"object","properties":{"issue":{"$ref":"#/definitions/nonBlankStringMaxLength140"},"decisionDate":{"$ref":"#/definitions/date"},"decisionIssueId":{"type":"integer"},"ratingIssueReferenceId":{"type":"string"},"ratingDecisionReferenceId":{"type":"string"}},"additionalProperties":false,"required":["issue","decisionDate"]}}} diff --git a/dist/versions/24.3.3/21-0538-schema.json b/dist/versions/24.3.3/21-0538-schema.json new file mode 100644 index 00000000..3a27f9cc --- /dev/null +++ b/dist/versions/24.3.3/21-0538-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"DEPENDENCY VERIFICATION (0538)","type":"object","additionalProperties":true,"definitions":{"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"email":{"type":"string","maxLength":256,"format":"email"}},"properties":{"dependencyVerification":{"type":"object","properties":{"updateDiaries":{"type":"boolean"},"veteranInformation":{"type":"object","properties":{"fullName":{"$ref":"#/definitions/fullName"},"ssn":{"$ref":"#/definitions/ssn"},"dateOfBirth":{"$ref":"#/definitions/date"},"email":{"$ref":"#/definitions/email"}}}}}}} diff --git a/dist/versions/24.3.3/21-22-AND-21-22A-schema.json b/dist/versions/24.3.3/21-22-AND-21-22A-schema.json new file mode 100644 index 00000000..3726056c --- /dev/null +++ b/dist/versions/24.3.3/21-22-AND-21-22A-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"APPLICATION FOR PENSION","type":"object","additionalProperties":false,"anyOf":[{"required":["vaFileNumber"]},{"required":["veteranSocialSecurityNumber"]}],"definitions":{"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}},"bankAccount":{"type":"object","properties":{"accountType":{"type":"string","enum":["checking","savings"]},"routingNumber":{"type":"string","pattern":"^\\d{9}$"},"accountNumber":{"type":"string"},"bankName":{"type":"string"}}},"noSuffixMarriages":{"type":"array","items":{"type":"object","properties":{"dateOfMarriage":{"$ref":"#/definitions/date"},"locationOfMarriage":{"type":"string"},"otherExplanation":{"type":"string"},"marriageType":{"type":"string"},"spouseFullName":{"$ref":"#/definitions/fullNameNoSuffix"},"dateOfSeparation":{"$ref":"#/definitions/date"},"locationOfSeparation":{"type":"string"},"reasonForSeparation":{"type":"string"}}}},"fullNameNoSuffix":{"type":"object","additionalProperties":false,"required":["first","last"],"properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30}}},"date":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"maritalStatus":{"type":"string","enum":["MARRIED","NEVER_MARRIED","SEPARATED","WIDOWED","DIVORCED"]},"incomeSources":{"type":"array","items":{"type":"object","required":["typeOfIncome","receiver","payer","amount"],"properties":{"typeOfIncome":{"type":"string","enum":["SOCIAL_SECURITY","INTEREST_DIVIDEND","CIVIL_SERVICE","PENSION_RETIREMENT","OTHER"]},"otherTypeExplanation":{"type":"string"},"receiver":{"type":"string"},"childName":{"type":"string"},"payer":{"type":"string"},"amount":{"type":"number","default":0},"dependentName":{"type":"string"}}}},"careExpenses":{"type":"array","items":{"type":"object","required":["recipients","provider","careType","paymentFrequency","paymentAmount"],"properties":{"recipients":{"type":"string","enum":["VETERAN","SPOUSE","DEPENDENT"]},"childName":{"type":"string"},"provider":{"type":"string"},"careType":{"type":"string","enum":["CARE_FACILITY","IN_HOME_CARE_PROVIDER"]},"ratePerHour":{"type":"number"},"hoursPerWeek":{"type":"string"},"careDateRange":{"$ref":"#/definitions/dateRange"},"noCareEndDate":{"type":"boolean"},"paymentFrequency":{"type":"string","enum":["ONCE_MONTH","ONCE_YEAR"]},"paymentAmount":{"type":"number"}}}},"medicalExpenses":{"type":"array","items":{"type":"object","required":["recipients","provider","purpose","paymentDate","paymentFrequency","paymentAmount"],"properties":{"recipients":{"type":"string","enum":["VETERAN","SPOUSE","DEPENDENT"]},"childName":{"type":"string"},"provider":{"type":"string"},"purpose":{"type":"string"},"paymentDate":{"$ref":"#/definitions/date"},"paymentFrequency":{"type":"string","enum":["ONCE_MONTH","ONCE_YEAR","ONE_TIME"]},"paymentAmount":{"type":"number"}}}},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"centralMailVaFile":{"type":"string","pattern":"^\\d{8,9}$"},"centralMailAddress":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"postalCode":{"type":"string","pattern":"^(\\d{5})(?:[-](\\d{4}))?$"}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"state":{"type":"string","maxLength":51},"postalCode":{"type":"string","maxLength":51}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":50},"street2":{"type":"string","minLength":1,"maxLength":50},"city":{"type":"string","minLength":1,"maxLength":51}},"required":["postalCode"]},"usaPhone":{"type":"string","pattern":"^\\d{10}$"},"address":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"state":{"type":"string","maxLength":51},"postalCode":{"type":"string","maxLength":51}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":50},"street2":{"type":"string","minLength":1,"maxLength":50},"city":{"type":"string","minLength":1,"maxLength":51}}},"marriages":{"type":"array","items":{"type":"object","properties":{"dateOfMarriage":{"$ref":"#/definitions/date"},"locationOfMarriage":{"type":"string"},"otherExplanation":{"type":"string"},"marriageType":{"type":"string"},"spouseFullName":{"$ref":"#/definitions/fullName"},"dateOfSeparation":{"$ref":"#/definitions/date"},"locationOfSeparation":{"type":"string"},"reasonForSeparation":{"type":"string"}}}},"files":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"size":{"type":"integer"},"confirmationCode":{"type":"string"}}}}},"properties":{"email":{"type":"string","format":"email"},"vaClaimsHistory":{"type":"boolean"},"internationalPhone":{"type":"string"},"serviceBranch":{"type":"object","properties":{"army":{"type":"boolean"},"navy":{"type":"boolean"},"airForce":{"type":"boolean"},"coastGuard":{"type":"boolean"},"marineCorps":{"type":"boolean"},"spaceForce":{"type":"boolean"},"usphs":{"type":"boolean"},"noaa":{"type":"boolean"}}},"activeServiceDateRange":{"$ref":"#/definitions/dateRange"},"serviceNumber":{"type":"string"},"serveUnderOtherNames":{"type":"boolean"},"previousNames":{"type":"array","items":{"type":"object","properties":{"previousFullName":{"$ref":"#/definitions/fullName"}}}},"placeOfSeparation":{"type":"string"},"noRapidProcessing":{"type":"boolean"},"powStatus":{"type":"boolean"},"isOver65":{"type":"boolean"},"socialSecurityDisability":{"type":"boolean"},"medicalCondition":{"type":"boolean"},"nursingHome":{"type":"boolean"},"medicaidCoverage":{"type":"boolean"},"medicaidStatus":{"type":"boolean"},"specialMonthlyPension":{"type":"boolean"},"vaTreatmentHistory":{"type":"boolean"},"vaMedicalCenters":{"type":"array","items":{"type":"object","required":["medicalCenter"],"properties":{"medicalCenter":{"type":"string"}}}},"federalTreatmentHistory":{"type":"boolean"},"federalMedicalCenters":{"type":"array","items":{"type":"object","required":["medicalCenter"],"properties":{"medicalCenter":{"type":"string"}}}},"currentEmployment":{"type":"boolean"},"currentEmployers":{"type":"array","items":{"type":"object","required":["jobType","jobHoursWeek"],"properties":{"jobType":{"type":"string"},"jobHoursWeek":{"type":"string"}}}},"previousEmployers":{"type":"array","items":{"type":"object","required":["jobType","jobHoursWeek","jobTitle"],"properties":{"jobDate":{"$ref":"#/definitions/date"},"jobType":{"type":"string"},"jobHoursWeek":{"type":"string"},"jobTitle":{"type":"string"}}}},"maritalStatus":{"$ref":"#/definitions/maritalStatus"},"spouseIsVeteran":{"type":"boolean"},"liveWithSpouse":{"type":"boolean"},"reasonForCurrentSeparation":{"type":"string","enum":["MEDICAL_CARE","LOCATION","RELATIONSHIP","OTHER"]},"otherExplanation":{"type":"string"},"reasonForNotLivingWithSpouse":{"type":"string"},"currentSpouseMonthlySupport":{"type":"number"},"currentSpouseMaritalHistory":{"type":"string","enum":["YES","NO","IDK"]},"dependents":{"type":"array","items":{"type":"object","properties":{"fullName":{"$ref":"#/definitions/fullNameNoSuffix"},"childDateOfBirth":{"$ref":"#/definitions/date"},"childInHousehold":{"type":"boolean"},"childAddress":{"$ref":"#/definitions/address"},"personWhoLivesWithChild":{"$ref":"#/definitions/fullName"},"monthlyPayment":{"type":"number"},"childPlaceOfBirth":{"type":"string"},"childSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"childRelationship":{"type":"string","enum":["BIOLOGICAL","ADOPTED","STEP_CHILD"]},"attendingCollege":{"type":"boolean"},"disabled":{"type":"boolean"},"previouslyMarried":{"type":"boolean"},"married":{"type":"boolean"}}}},"totalNetWorth":{"type":"boolean"},"netWorthEstimation":{"type":"number"},"transferredAssets":{"type":"boolean"},"homeOwnership":{"type":"boolean"},"homeAcreageMoreThanTwo":{"type":"boolean"},"homeAcreageValue":{"type":"number"},"landMarketable":{"type":"boolean"},"receivesIncome":{"type":"boolean"},"incomeSources":{"$ref":"#/definitions/incomeSources"},"hasCareExpenses":{"type":"boolean"},"careExpenses":{"$ref":"#/definitions/careExpenses"},"hasMedicalExpenses":{"type":"boolean"},"medicalExpenses":{"$ref":"#/definitions/medicalExpenses"},"statementOfTruthCertified":{"type":"boolean"},"statementOfTruthSignature":{"type":"string"},"veteranFullName":{"$ref":"#/definitions/fullName"},"veteranSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"vaFileNumber":{"$ref":"#/definitions/centralMailVaFile"},"veteranAddress":{"$ref":"#/definitions/centralMailAddress"},"dayPhone":{"$ref":"#/definitions/usaPhone"},"nightPhone":{"$ref":"#/definitions/usaPhone"},"phone":{"$ref":"#/definitions/usaPhone"},"mobilePhone":{"$ref":"#/definitions/usaPhone"},"powDateRange":{"$ref":"#/definitions/dateRange"},"veteranDateOfBirth":{"$ref":"#/definitions/date"},"spouseDateOfBirth":{"$ref":"#/definitions/date"},"spouseSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"spouseVaFileNumber":{"$ref":"#/definitions/centralMailVaFile"},"spouseAddress":{"$ref":"#/definitions/address"},"marriages":{"$ref":"#/definitions/noSuffixMarriages"},"spouseMarriages":{"$ref":"#/definitions/marriages"},"bankAccount":{"$ref":"#/definitions/bankAccount"},"files":{"$ref":"#/definitions/files"}},"required":["veteranFullName","veteranAddress","statementOfTruthCertified","statementOfTruthSignature"]} diff --git a/dist/versions/24.3.3/21-22-schema.json b/dist/versions/24.3.3/21-22-schema.json new file mode 100644 index 00000000..e2737899 --- /dev/null +++ b/dist/versions/24.3.3/21-22-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"APPLICATION FOR APPOINTING AN ACCREDITED REPRESENTATIVE","definitions":{"date":{"format":"date","type":"string"}},"type":"object","properties":{"attachments":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"size":{"type":"integer"},"confirmationCode":{"type":"string"},"dd214":{"type":"boolean"}}}},"veteranFullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":25,"pattern":"^.*\\S.*"},"middle":{"type":"string","maxLength":30},"last":{"type":"string","minLength":2,"maxLength":35,"pattern":"^.*\\S.*"},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"veteranSocialSecurityNumber":{"type":"string","pattern":"^[0-9]{9}$"},"gender":{"type":"string","enum":["F","M"]},"veteranDateOfBirth":{"$ref":"#/definitions/date"},"maritalStatus":{"type":"string","enum":["Married","Never Married","Separated","Widowed","Divorced"]},"veteranAddress":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"provinceCode":{"type":"string","maxLength":51,"pattern":"^.*\\S.*"}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"street2":{"type":"string","maxLength":30},"street3":{"type":"string","maxLength":30},"city":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"postalCode":{"type":"string","maxLength":51,"pattern":"^.*\\S.*"}},"required":["street","city","country"]},"veteranHomeAddress":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"provinceCode":{"type":"string","maxLength":51,"pattern":"^.*\\S.*"}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"street2":{"type":"string","maxLength":30},"street3":{"type":"string","maxLength":30},"city":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"postalCode":{"type":"string","maxLength":51,"pattern":"^.*\\S.*"}},"required":["street","city","country"]},"email":{"type":"string","pattern":"^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$"},"homePhone":{"type":"string","pattern":"^[0-9]{10}$"},"mobilePhone":{"type":"string","pattern":"^[0-9]{10}$"},"lastServiceBranch":{"type":"string","enum":["air force","army","coast guard","marine corps","merchant seaman","navy","noaa","space force","usphs","f.commonwealth","f.guerilla","f.scouts new","f.scouts old","other"]},"lastEntryDate":{"$ref":"#/definitions/date"},"lastDischargeDate":{"$ref":"#/definitions/date"},"dischargeType":{"type":"string","enum":["honorable","general","other","bad-conduct","dishonorable","undesirable"]}},"required":["veteranFullName","veteranSocialSecurityNumber","veteranDateOfBirth","gender","veteranAddress"]} diff --git a/dist/versions/24.3.3/21-22A-schema.json b/dist/versions/24.3.3/21-22A-schema.json new file mode 100644 index 00000000..e2737899 --- /dev/null +++ b/dist/versions/24.3.3/21-22A-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"APPLICATION FOR APPOINTING AN ACCREDITED REPRESENTATIVE","definitions":{"date":{"format":"date","type":"string"}},"type":"object","properties":{"attachments":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"size":{"type":"integer"},"confirmationCode":{"type":"string"},"dd214":{"type":"boolean"}}}},"veteranFullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":25,"pattern":"^.*\\S.*"},"middle":{"type":"string","maxLength":30},"last":{"type":"string","minLength":2,"maxLength":35,"pattern":"^.*\\S.*"},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"veteranSocialSecurityNumber":{"type":"string","pattern":"^[0-9]{9}$"},"gender":{"type":"string","enum":["F","M"]},"veteranDateOfBirth":{"$ref":"#/definitions/date"},"maritalStatus":{"type":"string","enum":["Married","Never Married","Separated","Widowed","Divorced"]},"veteranAddress":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"provinceCode":{"type":"string","maxLength":51,"pattern":"^.*\\S.*"}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"street2":{"type":"string","maxLength":30},"street3":{"type":"string","maxLength":30},"city":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"postalCode":{"type":"string","maxLength":51,"pattern":"^.*\\S.*"}},"required":["street","city","country"]},"veteranHomeAddress":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"provinceCode":{"type":"string","maxLength":51,"pattern":"^.*\\S.*"}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"street2":{"type":"string","maxLength":30},"street3":{"type":"string","maxLength":30},"city":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"postalCode":{"type":"string","maxLength":51,"pattern":"^.*\\S.*"}},"required":["street","city","country"]},"email":{"type":"string","pattern":"^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$"},"homePhone":{"type":"string","pattern":"^[0-9]{10}$"},"mobilePhone":{"type":"string","pattern":"^[0-9]{10}$"},"lastServiceBranch":{"type":"string","enum":["air force","army","coast guard","marine corps","merchant seaman","navy","noaa","space force","usphs","f.commonwealth","f.guerilla","f.scouts new","f.scouts old","other"]},"lastEntryDate":{"$ref":"#/definitions/date"},"lastDischargeDate":{"$ref":"#/definitions/date"},"dischargeType":{"type":"string","enum":["honorable","general","other","bad-conduct","dishonorable","undesirable"]}},"required":["veteranFullName","veteranSocialSecurityNumber","veteranDateOfBirth","gender","veteranAddress"]} diff --git a/dist/versions/24.3.3/21-4142-schema.json b/dist/versions/24.3.3/21-4142-schema.json new file mode 100644 index 00000000..2d195aec --- /dev/null +++ b/dist/versions/24.3.3/21-4142-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"Authorize the release of medical information to the VA","type":"object","definitions":{"address":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"state":{"type":"string","maxLength":51},"postalCode":{"type":"string","maxLength":51}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":50},"street2":{"type":"string","minLength":1,"maxLength":50},"city":{"type":"string","minLength":1,"maxLength":51}}},"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"email":{"type":"string","maxLength":256,"format":"email"},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"fullNameNoSuffix":{"type":"object","additionalProperties":false,"required":["first","last"],"properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30}}},"phone":{"type":"string","minLength":10},"privacyAgreementAccepted":{"type":"boolean","enum":[true]},"profileAddress":{"type":"object","properties":{"isMilitary":{"type":"boolean"},"view:militaryBaseDescription":{"type":"object","properties":{}},"country":{"type":"string","enum":["USA","AFG","ALB","DZA","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GTM","GIN","GNB","GUY","HTI","HMD","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","ISR","ITA","JAM","JPN","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","ANT","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","NOR","OMN","PAK","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","QAT","REU","ROU","RUS","RWA","SHN","KNA","LCA","SPM","VCT","SMR","STP","SAU","SEN","SCG","SYC","SLE","SGP","SVK","SVN","SLB","SOM","ZAF","SGS","ESP","LKA","SDN","SUR","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","URY","UZB","VUT","VAT","VEN","VNM","VGB","WLF","ESH","YEM","ZMB","ZWE"],"enumNames":["United States","Afghanistan","Albania","Algeria","Andorra","Angola","Anguilla","Antarctica","Antigua","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia","Botswana","Bouvet Island","Brazil","British Indian Ocean Territories","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman","Central African Republic","Chad","Chile","China","Christmas Island","Cocos Islands","Colombia","Comoros","Congo","Democratic Republic of the Congo","Cook Islands","Costa Rica","Ivory Coast","Croatia","Cuba","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Falkland Islands","Faroe Islands","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guatemala","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel","Italy","Jamaica","Japan","Jordan","Kazakhstan","Kenya","Kiribati","North Korea","South Korea","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands Antilles","Netherlands","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk","Norway","Oman","Pakistan","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn","Poland","Portugal","Qatar","Reunion","Romania","Russia","Rwanda","Saint Helena","Saint Kitts and Nevis","Saint Lucia","Saint Pierre and Miquelon","Saint Vincent and the Grenadines","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","Spain","Sri Lanka","Sudan","Suriname","Swaziland","Sweden","Switzerland","Syrian Arab Republic","Taiwan","Tajikistan","Tanzania","Thailand","Timor-Leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","Uruguay","Uzbekistan","Vanuatu","Vatican","Venezuela","Vietnam","British Virgin Islands","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"]},"street":{"type":"string","minLength":1,"maxLength":100},"street2":{"type":"string","minLength":1,"maxLength":100},"street3":{"type":"string","minLength":1,"maxLength":100},"city":{"type":"string","minLength":1,"maxLength":100},"state":{"type":"string"},"postalCode":{"type":"string"}}},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"vaFileNumber":{"type":"string","pattern":"^[cC]{0,1}\\d{7,9}$"},"veteranServiceNumber":{"type":"string","pattern":"^[A-Z]{0,2}\\d{5,8}$"}},"properties":{"veteran":{"type":"object","properties":{"fullName":{"$ref":"#/definitions/fullName"},"dateOfBirth":{"$ref":"#/definitions/date"},"ssn":{"$ref":"#/definitions/ssn"},"vaFileNumber":{"$ref":"#/definitions/vaFileNumber"},"veteranServiceNumber":{"$ref":"#/definitions/veteranServiceNumber"},"address":{"$ref":"#/definitions/profileAddress"},"homePhone":{"$ref":"#/definitions/phone"},"internationalPhone":{"$ref":"#/definitions/phone"},"email":{"$ref":"#/definitions/email"}},"required":["fullName","address","homePhone"],"anyOf":[{"required":["ssn"]},{"required":["vaFileNumber"]},{"required":["veteranServiceNumber"]}]},"patientIdentification":{"type":"object","properties":{"isRequestingOwnMedicalRecords":{"type":"boolean"},"patientFullName":{"$ref":"#/definitions/fullNameNoSuffix"},"patientSsn":{"$ref":"#/definitions/ssn"},"patientVaFileNumber":{"$ref":"#/definitions/vaFileNumber"}},"required":["isRequestingOwnMedicalRecords"]},"providerFacility":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"providerFacilityName":{"type":"string"},"conditionsTreated":{"type":"string"},"treatmentDateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}},"required":["from","to"]},"providerFacilityAddress":{"$ref":"#/definitions/address"}}},"required":["conditionsTreated","providerFacilityName","treatmentDateRange","providerFacilityAddress"]},"acknowledgeToReleaseInformation":{"$ref":"#/definitions/privacyAgreementAccepted"},"limitedConsent":{"type":"string"},"privacyAgreementAccepted":{"$ref":"#/definitions/privacyAgreementAccepted"},"preparerIdentification":{"type":"object","properties":{"relationshipToVeteran":{"type":"string"},"preparerFullName":{"$ref":"#/definitions/fullName"},"preparerTitle":{"type":"string"},"preparerOrganization":{"type":"string"},"courtAppointmentInfo":{"type":"string"},"preparerAddress":{"$ref":"#/definitions/address"}},"required":["relationshipToVeteran"]}},"required":["veteran","patientIdentification","acknowledgeToReleaseInformation","providerFacility","preparerIdentification","privacyAgreementAccepted"]} diff --git a/dist/versions/24.3.3/21-526EZ-ALLCLAIMS-schema.json b/dist/versions/24.3.3/21-526EZ-ALLCLAIMS-schema.json new file mode 100644 index 00000000..c5fc4989 --- /dev/null +++ b/dist/versions/24.3.3/21-526EZ-ALLCLAIMS-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"APPLICATION FOR DISABILITY BENEFITS","type":"object","definitions":{"phone":{"type":"string","pattern":"^\\d{10}$"},"nonRequiredPhone":{"type":"string","pattern":"^(\\d{0}|\\d{10})$"},"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"email":{"type":"string","minLength":6,"maxLength":80,"pattern":"^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$"},"specialIssues":{"type":"array","items":{"type":"string","enum":["ALS","HEPC","POW","PTSD/1","PTSD/2","PTSD/3","PTSD/4","MST","RRD"]}},"country":{"type":"string","enum":["Afghanistan","Albania","Algeria","Angola","Anguilla","Antigua","Antigua and Barbuda","Argentina","Armenia","Australia","Austria","Azerbaijan","Azores","Bahamas","Bahrain","Bangladesh","Barbados","Barbuda","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia-Herzegovina","Botswana","Brazil","Brunei","Bulgaria","Burkina Faso","Burma","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman Islands","Central African Republic","Chad","Chile","China","Colombia","Comoros","Congo, Democratic Republic of","Congo, People's Republic of","Costa Rica","Cote d'Ivoire","Croatia","Cuba","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","England","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Fiji","Finland","France","French Guiana","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Great Britain","Great Britain and Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guatemala","Guinea","Guinea, Republic of Guinea","Guinea-Bissau","Guyana","Haiti","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel (Jerusalem)","Israel (Tel Aviv)","Italy","Jamaica","Japan","Jordan","Kazakhstan","Kenya","Kosovo","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Leeward Islands","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia","Madagascar","Malawi","Malaysia","Mali","Malta","Martinique","Mauritania","Mauritius","Mexico","Moldavia","Mongolia","Montenegro","Montserrat","Morocco","Mozambique","Namibia","Nepal","Netherlands","Netherlands Antilles","Nevis","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","North Korea","Northern Ireland","Norway","Oman","Pakistan","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Philippines (restricted payments)","Poland","Portugal","Qatar","Republic of Yemen","Romania","Russia","Rwanda","Sao-Tome/Principe","Saudi Arabia","Scotland","Senegal","Serbia","Serbia/Montenegro","Seychelles","Sicily","Sierra Leone","Singapore","Slovakia","Slovenia","Somalia","South Africa","South Korea","Spain","Sri Lanka","St. Kitts","St. Lucia","St. Vincent","Sudan","Suriname","Swaziland","Sweden","Switzerland","Syria","Taiwan","Tajikistan","Tanzania","Thailand","Togo","Trinidad and Tobago","Tunisia","Turkey (Adana only)","Turkey (except Adana)","Turkmenistan","USA","Uganda","Ukraine","United Arab Emirates","United Kingdom","Uruguay","Uzbekistan","Vanuatu","Venezuela","Vietnam","Wales","Western Samoa","Yemen Arab Republic","Zambia","Zimbabwe"],"default":"USA"},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PI","PR","RI","SC","SD","TN","TX","UM","UT","VT","VI","VA","WA","WV","WI","WY"],"enumNames":["Alabama","Alaska","American Samoa","Arizona","Arkansas","Armed Forces Americas (AA)","Armed Forces Europe (AE)","Armed Forces Pacific (AP)","California","Colorado","Connecticut","Delaware","District Of Columbia","Federated States Of Micronesia","Florida","Georgia","Guam","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Marshall Islands","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Northern Mariana Islands","Ohio","Oklahoma","Oregon","Palau","Pennsylvania","Philippine Islands","Puerto Rico","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","U.S. Minor Outlying Islands","Utah","Vermont","Virgin Islands","Virginia","Washington","West Virginia","Wisconsin","Wyoming"]},"address":{"type":"object","required":["country","city","addressLine1"],"properties":{"country":{"$ref":"#/definitions/country"},"addressLine1":{"type":"string","maxLength":20,"pattern":"^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$"},"addressLine2":{"type":"string","maxLength":20,"pattern":"^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$"},"addressLine3":{"type":"string","maxLength":20,"pattern":"^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$"},"city":{"type":"string","maxLength":30,"pattern":"^([-a-zA-Z0-9'.#]([-a-zA-Z0-9'.# ])?)+$"},"state":{"$ref":"#/definitions/state"},"zipCode":{"type":"string","pattern":"^\\d{5}(?:([-\\s]?)\\d{4})?$"}}},"addressNoRequiredFields":{"type":"object","properties":{"country":{"$ref":"#/definitions/country"},"addressLine1":{"type":"string","maxLength":20,"pattern":"^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$"},"addressLine2":{"type":"string","maxLength":20,"pattern":"^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$"},"addressLine3":{"type":"string","maxLength":20,"pattern":"^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$"},"city":{"type":"string","maxLength":30,"pattern":"^([-a-zA-Z0-9'.#]([-a-zA-Z0-9'.# ])?)+$"},"state":{"$ref":"#/definitions/state"},"zipCode":{"type":"string","pattern":"^\\d{5}(?:([-\\s]?)\\d{4})?$"}}},"vaTreatmentCenterAddress":{"type":"object","required":["country"],"properties":{"country":{"$ref":"#/definitions/country"},"city":{"type":"string","maxLength":30,"pattern":"^([-a-zA-Z0-9'.#]([-a-zA-Z0-9'.# ])?)+$"},"state":{"$ref":"#/definitions/state"}}},"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}},"dateRangeAllRequired":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}},"required":["from","to"]},"ratedDisabilities":{"type":"array","maxItems":100,"items":{"type":"object","required":["name","disabilityActionType"],"properties":{"name":{"type":"string"},"disabilityActionType":{"type":"string","enum":["NONE","NEW","SECONDARY","INCREASE","REOPEN"]},"specialIssues":{"$ref":"#/definitions/specialIssues"},"ratedDisabilityId":{"type":"string"},"diagnosticCode":{"type":"number"},"classificationCode":{"type":"string"},"secondaryDisabilities":{"type":"array","maxItems":100,"items":{"type":"object","required":["name","disabilityActionType"],"properties":{"name":{"type":"string"},"disabilityActionType":{"type":"string","enum":["NONE","NEW","SECONDARY","INCREASE","REOPEN"]},"specialIssues":{"$ref":"#/definitions/specialIssues"},"ratedDisabilityId":{"type":"string"},"diagnosticCode":{"type":"number"},"classificationCode":{"type":"string"}}}}}},"minItems":1},"newDisabilities":{"type":"array","items":{"type":"object","required":["condition","cause"],"properties":{"condition":{"type":"string"},"cause":{"type":"string","enum":["NEW","SECONDARY","WORSENED","VA"]},"classificationCode":{"type":"string"},"primaryDescription":{"type":"string","maxLength":400},"causedByDisability":{"type":"string"},"causedByDisabilityDescription":{"type":"string","maxLength":400},"specialIssues":{"$ref":"#/definitions/specialIssues"},"worsenedDescription":{"type":"string","maxLength":50},"worsenedEffects":{"type":"string","maxLength":350},"vaMistreatmentDescription":{"type":"string","maxLength":350},"vaMistreatmentLocation":{"type":"string","maxLength":25},"vaMistreatmentDate":{"type":"string","maxLength":25}}}},"unitAssigned":{"type":"string","maxLength":100},"unitAssignedDates":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"}}},"ptsdIncident":{"type":"object","properties":{"incidentDate":{"$ref":"#/definitions/date"},"incidentDescription":{"type":"string"},"unitAssigned":{"$ref":"#/definitions/unitAssigned"},"unitAssignedDates":{"$ref":"#/definitions/unitAssignedDates"}}},"secondaryPtsdIncident":{"type":"object","properties":{"sources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"}}}},"incidentDate":{"$ref":"#/definitions/date"},"description":{"type":"string"},"unitAssigned":{"$ref":"#/definitions/unitAssigned"},"unitAssignedDates":{"$ref":"#/definitions/unitAssignedDates"}}}},"properties":{"alternateNames":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30,"pattern":"^([-a-zA-Z0-9/']+( ?))+$"},"middle":{"type":"string","minLength":1,"maxLength":30,"pattern":"^([-a-zA-Z0-9/']+( ?))+$"},"last":{"type":"string","minLength":1,"maxLength":30,"pattern":"^([-a-zA-Z0-9/']+( ?))+$"}}}},"serviceInformation":{"type":"object","required":["servicePeriods"],"properties":{"servicePeriods":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","required":["serviceBranch","dateRange"],"properties":{"serviceBranch":{"type":"string"},"dateRange":{"$ref":"#/definitions/dateRangeAllRequired"}}}},"separationLocation":{"type":"object","properties":{"separationLocationCode":{"type":"string"},"separationLocationName":{"type":"string","maxLength":256,"pattern":"^([a-zA-Z0-9\\/\\-'.#,*()&][a-zA-Z0-9\\/\\-'.#,*()& ]?)*$"}}},"reservesNationalGuardService":{"type":"object","required":["unitName","obligationTermOfServiceDateRange"],"properties":{"unitName":{"type":"string","maxLength":256,"pattern":"^([a-zA-Z0-9\\-'.#][a-zA-Z0-9\\-'.# ]?)*$"},"obligationTermOfServiceDateRange":{"$ref":"#/definitions/dateRangeAllRequired"},"receivingTrainingPay":{"type":"boolean"},"title10Activation":{"type":"object","properties":{"title10ActivationDate":{"$ref":"#/definitions/date"},"anticipatedSeparationDate":{"$ref":"#/definitions/date"}}}}}}},"confinements":{"type":"array","minItems":1,"items":{"$ref":"#/definitions/dateRangeAllRequired"}},"militaryRetiredPayBranch":{"type":"string"},"waiveRetirementPay":{"type":"boolean"},"hasSeparationPay":{"type":"boolean"},"separationPayDate":{"type":"string"},"separationPayBranch":{"type":"string"},"hasTrainingPay":{"type":"boolean"},"waiveTrainingPay":{"type":"boolean"},"ratedDisabilities":{"$ref":"#/definitions/ratedDisabilities"},"newPrimaryDisabilities":{"$ref":"#/definitions/newDisabilities"},"newSecondaryDisabilities":{"$ref":"#/definitions/newDisabilities"},"mailingAddress":{"$ref":"#/definitions/address"},"forwardingAddress":{"type":"object","properties":{"country":{"$ref":"#/definitions/country"},"addressLine1":{"type":"string","maxLength":35,"pattern":"^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$"},"addressLine2":{"type":"string","maxLength":35,"pattern":"^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$"},"addressLine3":{"type":"string","maxLength":35,"pattern":"^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$"},"city":{"type":"string","maxLength":30,"pattern":"^([-a-zA-Z0-9'.#]([-a-zA-Z0-9'.# ])?)+$"},"state":{"$ref":"#/definitions/state"},"zipCode":{"type":"string","pattern":"^\\d{5}(?:([-\\s]?)\\d{4})?$"},"effectiveDate":{"$ref":"#/definitions/dateRange"}}},"phoneAndEmail":{"type":"object","required":["emailAddress"],"properties":{"primaryPhone":{"$ref":"#/definitions/nonRequiredPhone"},"emailAddress":{"$ref":"#/definitions/email"}}},"homelessOrAtRisk":{"type":"string","enum":["no","homeless","atRisk"]},"homelessHousingSituation":{"type":"string","enum":["shelter","notShelter","anotherPerson","other"]},"otherHomelessHousing":{"type":"string","maxLength":500},"needToLeaveHousing":{"type":"boolean"},"atRiskHousingSituation":{"type":"string","enum":["losingHousing","leavingShelter","other"]},"otherAtRiskHousing":{"type":"string","maxLength":500},"homelessnessContact":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100,"pattern":"^([-a-zA-Z0-9/']+( ?))*$"},"phoneNumber":{"$ref":"#/definitions/phone"}}},"isTerminallyIll":{"type":"boolean"},"vaTreatmentFacilities":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","required":["treatmentCenterName","treatedDisabilityNames"],"properties":{"treatmentCenterName":{"type":"string","maxLength":100,"pattern":"([-a-zA-Z0-9\"\\/&()'.#]([-a-zA-Z0-9()'.# ])?)+$"},"treatmentDateRange":{"$ref":"#/definitions/dateRange"},"treatmentCenterAddress":{"$ref":"#/definitions/vaTreatmentCenterAddress"},"treatedDisabilityNames":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"string"}}}}},"attachments":{"type":"array","items":{"type":"object","required":["name","attachmentId"],"properties":{"name":{"type":"string"},"confirmationCode":{"type":"string"},"attachmentId":{"type":"string","enum":["L015","L018","L029","L702","L703","L034","L478","L048","L049","L023","L070","L450","L451","L222","L228","L229","L102","L107","L827","L115","L117","L159","L133","L139","L149"],"enumNames":["Buddy/Lay Statement","Civilian Police Reports","Copy of a DD214","Disability Benefits Questionnaire (DBQ)","Goldmann Perimetry Chart/Field Of Vision Chart","Military Personnel Record","Medical Treatment Records - Furnished by SSA","Medical Treatment Record - Government Facility","Medical Treatment Record - Non-Government Facility","Other Correspondence","Photographs","STR - Dental - Photocopy","STR - Medical - Photocopy","VA Form 21-0779 - Request for Nursing Home Information in Connection with Claim for Aid & Attendance","VA Form 21-0781 - Statement in Support of Claim for PTSD","VA Form 21-0781a - Statement in Support of Claim for PTSD Secondary to Personal Assault","VA Form 21-2680 - Examination for Housebound Status or Permanent Need for Regular Aid & Attendance","VA Form 21-4142 - Authorization To Disclose Information","VA Form 21-4142a - General Release for Medical Provider Information","VA Form 21-4192 - Request for Employment Information in Connection with Claim for Disability","VA Form 21-4502 - Application for Automobile or Other Conveyance and Adaptive Equipment Under 38 U.S.C. 3901-3904","VA Form 26-4555 - Application in Acquiring Specially Adapted Housing or Special Home Adaptation Grant","VA Form 21-674 - Request for Approval of School Attendance","VA Form 21-686c - Declaration of Status of Dependents","VA Form 21-8940 - Veterans Application for Increased Compensation Based on Un-employability"]}}}},"bankAccountType":{"type":"string","enum":["Checking","Savings"]},"bankAccountNumber":{"type":"string","minLength":4,"maxLength":17},"bankRoutingNumber":{"type":"string","pattern":"^[\\d*]{9}$"},"bankName":{"type":"string","maxLength":35},"isVaEmployee":{"type":"boolean"},"standardClaim":{"type":"boolean","default":false},"mentalChanges":{"type":"object","properties":{"depression":{"type":"boolean"},"obsessive":{"type":"boolean"},"prescription":{"type":"boolean"},"substance":{"type":"boolean"},"hypervigilance":{"type":"boolean"},"agoraphobia":{"type":"boolean"},"fear":{"type":"boolean"},"other":{"type":"boolean"},"otherExplanation":{"type":"string"},"noneApply":{"type":"boolean"}}},"form0781":{"type":"object","properties":{"remarks":{"type":"string"},"additionalIncidentText":{"type":"string"},"additionalSecondaryIncidentText":{"type":"string"},"otherInformation":{"type":"array","items":{"type":"string"}},"incidents":{"type":"array","minItems":1,"items":{"type":"object","required":["personalAssault"],"properties":{"personalAssault":{"type":"boolean"},"medalsCitations":{"type":"string"},"incidentDate":{"$ref":"#/definitions/date"},"incidentLocation":{"type":"object","properties":{"country":{"$ref":"#/definitions/country"},"city":{"type":"string","maxLength":30,"pattern":"^([-a-zA-Z0-9'.#]([-a-zA-Z0-9'.# ])?)+$"},"state":{"$ref":"#/definitions/state"},"additionalDetails":{"type":"string"}}},"incidentDescription":{"type":"string"},"unitAssigned":{"type":"string"},"unitAssignedDates":{"$ref":"#/definitions/dateRange"},"personsInvolved":{"type":"array","items":{"type":"object","properties":{"name":{"type":"object","properties":{"first":{"type":"string"},"middle":{"type":"string"},"last":{"type":"string"}}},"rank":{"type":"string"},"injuryDeath":{"type":"string","enum":["killedInAction","killedNonBattle","woundedInAction","injuredNonBattle","other"]},"injuryDeathOther":{"type":"string"},"injuryDeathDate":{"$ref":"#/definitions/date"},"unitAssigned":{"type":"string"},"description":{"type":"string"}}}},"sources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"address":{"type":"object","properties":{"country":{"$ref":"#/definitions/country"},"addressLine1":{"type":"string","maxLength":20,"pattern":"^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$"},"addressLine2":{"type":"string","maxLength":20,"pattern":"^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$"},"city":{"type":"string","maxLength":30,"pattern":"^([-a-zA-Z0-9'.#]([-a-zA-Z0-9'.# ])?)+$"},"state":{"$ref":"#/definitions/state"},"zipCode":{"type":"string","pattern":"^\\d{5}(?:([-\\s]?)\\d{4})?$"}}}}}}}}}}},"form4142":{"type":"object","properties":{"limitedConsent":{"type":"string"},"providerFacility":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","required":["providerFacilityName","treatmentDateRange","providerFacilityAddress"],"properties":{"providerFacilityName":{"type":"string","minLength":1,"maxLength":100},"treatmentDateRange":{"type":"array","items":{"$ref":"#/definitions/dateRangeAllRequired"}},"providerFacilityAddress":{"type":"object","required":["street","city","country","state","postalCode"],"properties":{"street":{"type":"string","minLength":1,"maxLength":20},"street2":{"type":"string","minLength":1,"maxLength":20},"city":{"type":"string","minLength":1,"maxLength":30},"postalCode":{"type":"string","pattern":"^\\d{5}(?:([-\\s]?)\\d{4})?$"},"country":{"$ref":"#/definitions/country"},"state":{"$ref":"#/definitions/state"}}}}}}}},"form8940":{"type":"object","properties":{"unemployability":{"type":"object","properties":{"mostIncome":{"type":"number"},"yearEarned":{"type":"string"},"job":{"type":"string"},"disabilityPreventingEmployment":{"type":"string"},"underDoctorHopitalCarePast12M":{"type":"boolean"},"doctorProvidedCare":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"address":{"$ref":"#/definitions/addressNoRequiredFields"},"dates":{"type":"string"}}}},"hospitalProvidedCare":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"address":{"$ref":"#/definitions/addressNoRequiredFields"},"dates":{"type":"string"}}}},"disabilityAffectedEmploymentFullTimeDate":{"$ref":"#/definitions/date"},"lastWorkedFullTimeDate":{"$ref":"#/definitions/date"},"becameTooDisabledToWorkDate":{"$ref":"#/definitions/date"},"mostEarningsInAYear":{"type":"string"},"yearOfMostEarnings":{"type":"string"},"occupationDuringMostEarnings":{"type":"string"},"previousEmployers":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"employerAddress":{"$ref":"#/definitions/addressNoRequiredFields"},"phone":{"$ref":"#/definitions/phone"},"typeOfWork":{"type":"string"},"hoursPerWeek":{"type":"number","minimum":0,"maximum":999},"dates":{"$ref":"#/definitions/dateRange"},"timeLostFromIllness":{"type":"string"},"mostEarningsInAMonth":{"type":"number","minimum":0},"inBusiness":{"type":"boolean"}}}},"disabilityPreventMilitaryDuties":{"type":"boolean"},"past12MonthsEarnedIncome":{"type":"number","minimum":0,"maximum":9999999.99},"currentMonthlyEarnedIncome":{"type":"number","minimum":0,"maximum":9999999.99},"leftLastJobDueToDisability":{"type":"boolean"},"leftLastJobDueToDisabilityRemarks":{"type":"string"},"receiveExpectDisabilityRetirement":{"type":"boolean"},"receiveExpectWorkersCompensation":{"type":"boolean"},"attemptedToObtainEmploymentSinceUnemployability":{"type":"boolean"},"appliedEmployers":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"address":{"$ref":"#/definitions/addressNoRequiredFields"},"workType":{"type":"string"},"date":{"$ref":"#/definitions/date"}}}},"education":{"type":"string","enum":["Some elementary school","Some high school","High school diploma or GED","Some college","Associate's degree","Bachelor’s degree","Master’s degree","Doctoral degree","Other"]},"receivedOtherEducationTrainingPreUnemployability":{"type":"boolean"},"otherEducationTrainingPreUnemployability":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"dates":{"$ref":"#/definitions/dateRange"}}}},"receivedOtherEducationTrainingPostUnemployability":{"type":"boolean"},"otherEducationTrainingPostUnemployability":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"dates":{"$ref":"#/definitions/dateRange"}}}},"remarks":{"type":"string"}}}}},"privateMedicalRecordAttachments":{"type":"array","items":{"type":"object","required":["name","attachmentId"],"properties":{"name":{"type":"string"},"confirmationCode":{"type":"string"},"attachmentId":{"type":"string","enum":["L107","L023"],"enumNames":["VA 21-4142 Authorization for Release of Information","Other"]}}}},"completedFormAttachments":{"type":"array","items":{"type":"object","required":["name","attachmentId"],"properties":{"name":{"type":"string"},"confirmationCode":{"type":"string"},"attachmentId":{"type":"string"}}}},"secondaryAttachment":{"type":"array","items":{"type":"object","required":["name","attachmentId"],"properties":{"name":{"type":"string"},"confirmationCode":{"type":"string"},"attachmentId":{"type":"string","enum":["L229","L018","L034","L048","L049","L029","L023","L015"],"enumNames":["VA Form 21-0781a - Statement in Support of Claim for PTSD Secondary to Personal Assault","Civilian Police Reports","Military Personnel Record","Medical Treatment Record - Government Facility","Medical Treatment Record - Non-Government Facility","DD214","Other Correspondence","Buddy/Lay Statement"]}}}},"unemployabilityAttachments":{"type":"array","items":{"type":"object","required":["name","attachmentId"],"properties":{"name":{"type":"string"},"confirmationCode":{"type":"string"},"attachmentId":{"type":"string","enum":["L149","L023"],"enumNames":["VA 21-8940 Veterans Application for Increased Compensation Based on Unemployability","Other"]}}}},"employmentRequestAttachments":{"type":"array","items":{"type":"object","required":["name","attachmentId"],"properties":{"name":{"type":"string"},"confirmationCode":{"type":"string"},"attachmentId":{"type":"string","enum":["L115"],"enumNames":["A 21-4192 Request for Employment Information in Connection with Claim for Disability"]}}}}},"required":["isVaEmployee","standardClaim"]} diff --git a/dist/versions/24.3.3/21-686C-schema.json b/dist/versions/24.3.3/21-686C-schema.json new file mode 100644 index 00000000..7934aec6 --- /dev/null +++ b/dist/versions/24.3.3/21-686C-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"DECLARATION OF STATUS OF DEPENDENTS","type":"object","additionalProperties":false,"definitions":{"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*0-9]+$"},"middle":{"type":"string","pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*0-9]+$","maxLength":20},"last":{"type":"string","minLength":1,"maxLength":30,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*0-9]+$"}},"required":["first","last"]},"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"domesticAddress":{"type":"object","required":["addressType","street","city","countryDropdown","state","postalCode"],"properties":{"addressType":{"type":"string","enum":["DOMESTIC"],"default":"DOMESTIC"},"street":{"type":"string","minLength":1,"maxLength":20,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*]+$"},"street2":{"type":"string","maxLength":20,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*]+$"},"street3":{"type":"string","maxLength":20,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*]+$"},"city":{"type":"string","maxLength":30,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*0-9]+$"},"countryDropdown":{"type":"string","maxLength":50,"default":"USA"},"state":{"type":"string","maxLength":50,"enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UM","UT","VT","VI","VA","WA","WV","WI","WY"],"enumNames":["Alabama","Alaska","American Samoa","Arizona","Arkansas","Armed Forces Americas (AA)","Armed Forces Europe (AE)","Armed Forces Pacific (AP)","California","Colorado","Connecticut","Delaware","District Of Columbia","Federated States Of Micronesia","Florida","Georgia","Guam","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Marshall Islands","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Northern Mariana Islands","Ohio","Oklahoma","Oregon","Palau","Pennsylvania","Puerto Rico","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","United States Minor Outlying Islands","Utah","Vermont","Virgin Islands","Virginia","Washington","West Virginia","Wisconsin","Wyoming"]},"postalCode":{"$ref":"#/definitions/postalCode"}},"additionalProperties":false},"militaryAddress":{"type":"object","required":["addressType","street","city","countryDropdown","postOffice","postalType","postalCode"],"properties":{"addressType":{"type":"string","enum":["MILITARY"],"default":"MILITARY"},"street":{"type":"string","minLength":1,"maxLength":20,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*]+$"},"street2":{"type":"string","maxLength":20,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*]+$"},"street3":{"type":"string","maxLength":20,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*]+$"},"city":{"type":"string","maxLength":30,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*0-9]+$"},"countryDropdown":{"type":"string","maxLength":50,"enum":["USA","Country Not In List","Afghanistan","Albania","Algeria","Angola","Anguilla","Antigua","Antigua and Barbuda","Argentina","Armenia","Australia","Austria","Azerbaijan","Azores","Bahamas","Bahrain","Bangladesh","Barbados","Barbuda","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia-Herzegovina","Botswana","Brazil","Brunei","Bulgaria","Burkina Faso","Burma","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman Islands","Central African Republic","Chad","Chile","China","Colombia","Comoros","Congo, Democratic Republic of","Congo, People's Republic of","Costa Rica","Cote d'Ivoire","Croatia","Cuba","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","England","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Fiji","Finland","France","French Guiana","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Great Britain","Great Britain and Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guatemala","Guinea","Guinea, Republic of Guinea","Guinea-Bissau","Guyana","Haiti","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel (Jerusalem)","Israel (Tel Aviv)","Italy","Jamaica","Japan","Jordan","Kazakhstan","Kenya","Kosovo","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Leeward Islands","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia","Madagascar","Malawi","Malaysia","Mali","Malta","Martinique","Mauritania","Mauritius","Mexico","Moldavia","Mongolia","Montenegro","Montserrat","Morocco","Mozambique","Namibia","Nepal","Netherlands","Netherlands Antilles","Nevis","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","North Korea","Northern Ireland","Norway","Oman","Pakistan","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Philippines (restricted payments)","Poland","Portugal","Qatar","Republic of Yemen","Romania","Russia","Rwanda","Sao-Tome/Principe","Saudi Arabia","Scotland","Senegal","Serbia","Serbia/Montenegro","Seychelles","Sicily","Sierra Leone","Singapore","Slovakia","Slovenia","Somalia","South Africa","South Korea","Spain","Sri Lanka","St. Kitts","St. Lucia","St. Vincent","Sudan","Suriname","Swaziland","Sweden","Switzerland","Syria","Taiwan","Tajikistan","Tanzania","Thailand","Togo","Trinidad and Tobago","Tunisia","Turkey (Adana only)","Turkey (except Adana)","Turkmenistan","Uganda","Ukraine","United Arab Emirates","United Kingdom","Uruguay","Uzbekistan","Vanuatu","Venezuela","Vietnam","Wales","Western Samoa","Yemen Arab Republic","Zambia","Zimbabwe"]},"postOffice":{"type":"string","enum":["APO","DPO","FPO"],"enumNames":["Ashore Post Office","Diplomatic Post Office","Fleet Post Office"]},"postalType":{"type":"string","enum":["AA","AE","AP"],"enumNames":["Armed Forces Americas (except Canada)","Armed Forces Europe, Middle East, Canada & Africa","Armed Forces Pacific"]},"postalCode":{"$ref":"#/definitions/postalCode"}},"additionalProperties":false},"internationalAddressDropDown":{"type":"object","required":["addressType","street","city","countryDropdown"],"properties":{"addressType":{"type":"string","enum":["INTERNATIONAL"],"default":"INTERNATIONAL"},"street":{"type":"string","minLength":1,"maxLength":20,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*]+$"},"street2":{"type":"string","maxLength":20,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*]+$"},"street3":{"type":"string","maxLength":20,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*]+$"},"city":{"type":"string","maxLength":30,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*0-9]+$"},"countryDropdown":{"type":"string","enum":["Afghanistan","Albania","Algeria","Angola","Anguilla","Antigua","Antigua and Barbuda","Argentina","Armenia","Australia","Austria","Azerbaijan","Azores","Bahamas","Bahrain","Bangladesh","Barbados","Barbuda","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia-Herzegovina","Botswana","Brazil","Brunei","Bulgaria","Burkina Faso","Burma","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman Islands","Central African Republic","Chad","Chile","China","Colombia","Comoros","Congo, Democratic Republic of","Congo, People's Republic of","Costa Rica","Cote d'Ivoire","Croatia","Cuba","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","England","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Fiji","Finland","France","French Guiana","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Great Britain","Great Britain and Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guatemala","Guinea","Guinea, Republic of Guinea","Guinea-Bissau","Guyana","Haiti","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel (Jerusalem)","Israel (Tel Aviv)","Italy","Jamaica","Japan","Jordan","Kazakhstan","Kenya","Kosovo","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Leeward Islands","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia","Madagascar","Malawi","Malaysia","Mali","Malta","Martinique","Mauritania","Mauritius","Mexico","Moldavia","Mongolia","Montenegro","Montserrat","Morocco","Mozambique","Namibia","Nepal","Netherlands","Netherlands Antilles","Nevis","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","North Korea","Northern Ireland","Norway","Oman","Pakistan","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Philippines (restricted payments)","Poland","Portugal","Qatar","Republic of Yemen","Romania","Russia","Rwanda","Sao-Tome/Principe","Saudi Arabia","Scotland","Senegal","Serbia","Serbia/Montenegro","Seychelles","Sicily","Sierra Leone","Singapore","Slovakia","Slovenia","Somalia","South Africa","South Korea","Spain","Sri Lanka","St. Kitts","St. Lucia","St. Vincent","Sudan","Suriname","Swaziland","Sweden","Switzerland","Syria","Taiwan","Tajikistan","Tanzania","Thailand","Togo","Trinidad and Tobago","Tunisia","Turkey (Adana only)","Turkey (except Adana)","Turkmenistan","Uganda","Ukraine","United Arab Emirates","United Kingdom","Uruguay","Uzbekistan","Vanuatu","Venezuela","Vietnam","Wales","Western Samoa","Yemen Arab Republic","Zambia","Zimbabwe"]}},"additionalProperties":false},"internationalAddressText":{"type":"object","required":["addressType","street","city","countryDropdown","countryText"],"properties":{"addressType":{"type":"string","enum":["INTERNATIONAL"],"default":"INTERNATIONAL"},"street":{"type":"string","minLength":1,"maxLength":20,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*]+$"},"street2":{"type":"string","maxLength":20,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*]+$"},"street3":{"type":"string","maxLength":20,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*]+$"},"city":{"type":"string","maxLength":30,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*0-9]+$"},"countryDropdown":{"type":"string","enum":["Country Not In List"],"default":"Country Not In List"},"countryText":{"type":"string","maxLength":50,"minLength":1,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*0-9]+$"}},"additionalProperties":false},"postalCode":{"type":"string","maxLength":10,"pattern":"^\\d{5}(?:[- ]?\\d{4})?$"},"location":{"type":"object","properties":{},"oneOf":[{"required":["countryDropdown","city","state"],"properties":{"countryDropdown":{"type":"string","enum":["USA"],"default":"USA"},"city":{"type":"string","maxLength":30,"minLength":1,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*0-9]+$"},"state":{"type":"string","maxLength":50,"enum":["AL","AK","AZ","AR","CA","CO","CT","DE","DC","FL","GA","HI","ID","IL","IN","IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY"],"enumNames":["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District Of Columbia","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"]}},"additionalProperties":false},{"required":["countryDropdown","countryText"],"properties":{"countryDropdown":{"type":"string","enum":["Country Not In List"],"default":"Country Not In List"},"countryText":{"type":"string","maxLength":50,"minLength":1,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*0-9]+$"}},"additionalProperties":false},{"required":["countryDropdown"],"properties":{"countryDropdown":{"type":"string","enum":["Afghanistan","Albania","Algeria","Angola","Anguilla","Antigua","Antigua and Barbuda","Argentina","Armenia","Australia","Austria","Azerbaijan","Azores","Bahamas","Bahrain","Bangladesh","Barbados","Barbuda","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia-Herzegovina","Botswana","Brazil","Brunei","Bulgaria","Burkina Faso","Burma","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman Islands","Central African Republic","Chad","Chile","China","Colombia","Comoros","Congo, Democratic Republic of","Congo, People's Republic of","Costa Rica","Cote d'Ivoire","Croatia","Cuba","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","England","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Fiji","Finland","France","French Guiana","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Great Britain","Great Britain and Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guatemala","Guinea","Guinea, Republic of Guinea","Guinea-Bissau","Guyana","Haiti","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel (Jerusalem)","Israel (Tel Aviv)","Italy","Jamaica","Japan","Jordan","Kazakhstan","Kenya","Kosovo","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Leeward Islands","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia","Madagascar","Malawi","Malaysia","Mali","Malta","Martinique","Mauritania","Mauritius","Mexico","Moldavia","Mongolia","Montenegro","Montserrat","Morocco","Mozambique","Namibia","Nepal","Netherlands","Netherlands Antilles","Nevis","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","North Korea","Northern Ireland","Norway","Oman","Pakistan","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Philippines (restricted payments)","Poland","Portugal","Qatar","Republic of Yemen","Romania","Russia","Rwanda","Sao-Tome/Principe","Saudi Arabia","Scotland","Senegal","Serbia","Serbia/Montenegro","Seychelles","Sicily","Sierra Leone","Singapore","Slovakia","Slovenia","Somalia","South Africa","South Korea","Spain","Sri Lanka","St. Kitts","St. Lucia","St. Vincent","Sudan","Suriname","Swaziland","Sweden","Switzerland","Syria","Taiwan","Tajikistan","Tanzania","Thailand","Togo","Trinidad and Tobago","Tunisia","Turkey (Adana only)","Turkey (except Adana)","Turkmenistan","Uganda","Ukraine","United Arab Emirates","United Kingdom","Uruguay","Uzbekistan","Vanuatu","Venezuela","Vietnam","Wales","Western Samoa","Yemen Arab Republic","Zambia","Zimbabwe"]}},"additionalProperties":false}]},"marriages":{"type":"array","items":{"type":"object","required":["dateOfMarriage","locationOfMarriage","spouseFullName"],"properties":{"dateOfMarriage":{"$ref":"#/definitions/date"},"locationOfMarriage":{"$ref":"#/definitions/location"},"spouseFullName":{"$ref":"#/definitions/fullName"},"dateOfSeparation":{"$ref":"#/definitions/date"},"locationOfSeparation":{"$ref":"#/definitions/location"}},"oneOf":[{"properties":{"reasonForSeparation":{"type":"string","enum":["Death","Divorce"]}}},{"required":["explainSeparation"],"properties":{"reasonForSeparation":{"type":"string","enum":["Other"]},"explainSeparation":{"type":"string","maxLength":500,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*]+$"}}}]}},"previousMarriages":{"type":"array","items":{"type":"object","required":["dateOfMarriage","locationOfMarriage","spouseFullName","reasonForSeparation","dateOfSeparation","locationOfSeparation"],"properties":{"dateOfMarriage":{"$ref":"#/definitions/date"},"locationOfMarriage":{"$ref":"#/definitions/location"},"spouseFullName":{"$ref":"#/definitions/fullName"},"dateOfSeparation":{"$ref":"#/definitions/date"},"locationOfSeparation":{"$ref":"#/definitions/location"}},"oneOf":[{"properties":{"reasonForSeparation":{"type":"string","enum":["Death","Divorce"]}}},{"required":["explainSeparation"],"properties":{"reasonForSeparation":{"type":"string","enum":["Other"]},"explainSeparation":{"type":"string","maxLength":500,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*]+$"}}}]}},"privacyAgreementAccepted":{"type":"boolean","enum":[true]},"usaPhone":{"type":"string","pattern":"^\\d{10}$"},"vaFileNumber":{"type":"string","pattern":"^[cC]{0,1}\\d{7,9}$"}},"properties":{"veteranAddress":{"type":"object","oneOf":[{"$ref":"#/definitions/domesticAddress"},{"$ref":"#/definitions/militaryAddress"},{"$ref":"#/definitions/internationalAddressDropDown"},{"$ref":"#/definitions/internationalAddressText"}]},"veteranEmail":{"type":"string","format":"email"},"veteranSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"maritalStatus":{"type":"string","enum":["MARRIED","DIVORCED","WIDOWED","SEPARATED","NEVERMARRIED"],"enumNames":["Married","Divorced","Widowed","Separated","Never Married"]},"currentMarriage":{"type":"object","properties":{"spouseAddress":{"type":"object","anyOf":[{"$ref":"#/definitions/domesticAddress"},{"$ref":"#/definitions/militaryAddress"},{"$ref":"#/definitions/internationalAddressDropDown"},{"$ref":"#/definitions/internationalAddressText"}]},"spouseIsVeteran":{"type":"boolean"},"liveWithSpouse":{"type":"boolean"},"spouseSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"spouseHasNoSsnReason":{"type":"string","enum":["NONRESIDENTALIEN","NOSSNASSIGNEDBYSSA"],"enumNames":["Spouse who is not a US citizen, not residing in the US","Spouse who is not a US citizen, residing in the US"]},"spouseDateOfBirth":{"$ref":"#/definitions/date"},"spouseVaFileNumber":{"$ref":"#/definitions/vaFileNumber"}},"anyOf":[{"required":["spouseHasNoSsnReason"],"properties":{"spouseHasNoSsn":{"type":"boolean","enum":[true]}}},{"required":["spouseSocialSecurityNumber"],"properties":{"spouseHasNoSsn":{"type":"boolean","enum":[false]}}}]},"spouseMarriages":{"$ref":"#/definitions/previousMarriages"},"marriages":{"$ref":"#/definitions/marriages"},"dependents":{"type":"array","items":{"type":"object","properties":{"fullName":{"$ref":"#/definitions/fullName"},"childDateOfBirth":{"$ref":"#/definitions/date"},"childPlaceOfBirth":{"$ref":"#/definitions/location"},"childSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"childRelationship":{"type":"string","enum":["biological","adopted","stepchild"]},"attendingCollege":{"type":"boolean"},"disabled":{"type":"boolean"},"previouslyMarried":{"type":"boolean"},"marriedDate":{"$ref":"#/definitions/date"},"childInHousehold":{"type":"boolean"},"childAddress":{"type":"object","oneOf":[{"$ref":"#/definitions/domesticAddress"},{"$ref":"#/definitions/militaryAddress"},{"$ref":"#/definitions/internationalAddressDropDown"},{"$ref":"#/definitions/internationalAddressText"}]},"personWhoLivesWithChild":{"$ref":"#/definitions/fullName"},"childHasNoSsnReason":{"type":"string","enum":["NONRESIDENTALIEN","NOSSNASSIGNEDBYSSA"],"enumNames":["Child who is not a US citizen, not residing in the US","Child who is not a US citizen, residing in the US"]}},"allOf":[{"type":"object","oneOf":[{"required":["marriedDate"],"properties":{"previouslyMarried":{"type":"boolean","enum":[true]}}},{"properties":{"previouslyMarried":{"type":"boolean","enum":[false]}}}]},{"type":"object","oneOf":[{"required":["childHasNoSsnReason"],"properties":{"childHasNoSsn":{"type":"boolean","enum":[true]}}},{"properties":{"childHasNoSsn":{"type":"boolean","enum":[false]}}}]}]}},"privacyAgreementAccepted":{"$ref":"#/definitions/privacyAgreementAccepted"},"veteranFullName":{"$ref":"#/definitions/fullName"},"dayPhone":{"$ref":"#/definitions/usaPhone"},"nightPhone":{"$ref":"#/definitions/usaPhone"},"vaFileNumber":{"$ref":"#/definitions/vaFileNumber"}},"required":["privacyAgreementAccepted","veteranFullName","veteranAddress","maritalStatus"],"anyOf":[{"required":["vaFileNumber"]},{"required":["veteranSocialSecurityNumber"]}]} diff --git a/dist/versions/24.3.3/21A-schema.json b/dist/versions/24.3.3/21A-schema.json new file mode 100644 index 00000000..1dfefaec --- /dev/null +++ b/dist/versions/24.3.3/21A-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"Apply to become a VA-accredited attorney or claims agent","type":"object","definitions":{"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"email":{"type":"string","maxLength":256,"format":"email"},"files":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"size":{"type":"integer"},"confirmationCode":{"type":"string"}}}},"phone":{"type":"string","minLength":10}},"properties":{"firstName":{"type":"string"},"middleName":{"type":"string"},"lastName":{"type":"string"},"suffix":{"type":"string"},"homeAddress":{"type":"object","properties":{"addressType":{"type":"boolean"},"line1":{"type":"string"},"line2":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string","enum":["USA","AFG","ALB","DZA","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GTM","GIN","GNB","GUY","HTI","HMD","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","ISR","ITA","JAM","JPN","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","ANT","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","NOR","OMN","PAK","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","QAT","REU","ROU","RUS","RWA","SHN","KNA","LCA","SPM","VCT","SMR","STP","SAU","SEN","SCG","SYC","SLE","SGP","SVK","SVN","SLB","SOM","ZAF","SGS","ESP","LKA","SDN","SUR","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","URY","UZB","VUT","VAT","VEN","VNM","VGB","WLF","ESH","YEM","ZMB","ZWE"]}}},"homePhone":{"$ref":"#/definitions/phone"},"phoneType":{"type":"object","properties":{"name":{"type":"string","enum":["CELL","HOME","WORK"]}}},"homeEmail":{"$ref":"#/definitions/email"},"employmentStatus":{"type":"string","enum":["EMPLOYED","UNEMPLOYED","SELF_EMPLOYED","STUDENT","RETIRED","OTHER"]},"employmentStatusExplanation":{"type":"string"},"businessAddress":{"type":"object","properties":{"addressType":{"type":"boolean"},"line1":{"type":"string"},"line2":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string","enum":["USA","AFG","ALB","DZA","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GTM","GIN","GNB","GUY","HTI","HMD","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","ISR","ITA","JAM","JPN","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","ANT","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","NOR","OMN","PAK","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","QAT","REU","ROU","RUS","RWA","SHN","KNA","LCA","SPM","VCT","SMR","STP","SAU","SEN","SCG","SYC","SLE","SGP","SVK","SVN","SLB","SOM","ZAF","SGS","ESP","LKA","SDN","SUR","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","URY","UZB","VUT","VAT","VEN","VNM","VGB","WLF","ESH","YEM","ZMB","ZWE"]}}},"birthdate":{"$ref":"#/definitions/date"},"birthCity":{"type":"string"},"birthState":{"type":"string"},"birthCountry":{"type":"string","enum":["USA","AFG","ALB","DZA","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GTM","GIN","GNB","GUY","HTI","HMD","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","ISR","ITA","JAM","JPN","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","ANT","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","NOR","OMN","PAK","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","QAT","REU","ROU","RUS","RWA","SHN","KNA","LCA","SPM","VCT","SMR","STP","SAU","SEN","SCG","SYC","SLE","SGP","SVK","SVN","SLB","SOM","ZAF","SGS","ESP","LKA","SDN","SUR","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","URY","UZB","VUT","VAT","VEN","VNM","VGB","WLF","ESH","YEM","ZMB","ZWE"]},"militaryServices":{"type":"array","items":{"type":"object","properties":{"serviceBranch":{"type":"object","properties":{"name":{"type":"string"}}},"dischargeType":{"type":"object","properties":{"name":{"type":"string"}}},"dischargeTypeExplanation":{"type":"string"},"entryDate":{"$ref":"#/definitions/date"},"dischargeDate":{"$ref":"#/definitions/date"}}}},"employment":{"type":"array","items":{"type":"object","properties":{"employerAddress":{"type":"object","properties":{"line1":{"type":"string"},"line2":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string","enum":["USA","AFG","ALB","DZA","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GTM","GIN","GNB","GUY","HTI","HMD","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","ISR","ITA","JAM","JPN","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","ANT","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","NOR","OMN","PAK","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","QAT","REU","ROU","RUS","RWA","SHN","KNA","LCA","SPM","VCT","SMR","STP","SAU","SEN","SCG","SYC","SLE","SGP","SVK","SVN","SLB","SOM","ZAF","SGS","ESP","LKA","SDN","SUR","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","URY","UZB","VUT","VAT","VEN","VNM","VGB","WLF","ESH","YEM","ZMB","ZWE"]}}},"phoneNumber":{"$ref":"#/definitions/phone"},"phoneExtension":{"type":"string"},"positionTitle":{"type":"string"},"startDate":{"$ref":"#/definitions/date"},"endDate":{"$ref":"#/definitions/date"},"supervisorName":{"type":"string"},"supervisorEmail":{"$ref":"#/definitions/email"}}}},"financialPlanning":{"type":"boolean"},"homeNursingCare":{"type":"boolean"},"medicalServices":{"type":"boolean"},"consultingService":{"type":"boolean"},"advertisingtoVeterans":{"type":"boolean"},"education":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"institutionAddress":{"type":"object","properties":{"addressType":{"type":"boolean"},"line1":{"type":"string"},"line2":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string","enum":["USA","AFG","ALB","DZA","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GTM","GIN","GNB","GUY","HTI","HMD","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","ISR","ITA","JAM","JPN","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","ANT","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","NOR","OMN","PAK","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","QAT","REU","ROU","RUS","RWA","SHN","KNA","LCA","SPM","VCT","SMR","STP","SAU","SEN","SCG","SYC","SLE","SGP","SVK","SVN","SLB","SOM","ZAF","SGS","ESP","LKA","SDN","SUR","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","URY","UZB","VUT","VAT","VEN","VNM","VGB","WLF","ESH","YEM","ZMB","ZWE"]}}},"startDate":{"$ref":"#/definitions/date"},"endDate":{"$ref":"#/definitions/date"},"wasDegreeReceived":{"type":"boolean"},"degreeType":{"type":"object","properties":{"name":{"type":"string"}}},"major":{"type":"string"}}}},"jurisdictions":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"admissionDate":{"$ref":"#/definitions/date"},"membershipRegistrationNumber":{"type":"string"},"admittanceType":{"type":"string"}}}},"agencies":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"admissionDate":{"$ref":"#/definitions/date"},"membershipRegistrationNumber":{"type":"string"},"admittanceType":{"type":"string"}}}},"wasImprisoned":{"type":"boolean"},"imprisonedExplanation":{"type":"string"},"imprisonedDocumentation":{"$ref":"#/definitions/files"},"wasMilitaryConviction":{"type":"boolean"},"militaryConvictionExplanation":{"type":"string"},"isCurrentlyCharged":{"type":"boolean"},"currentlyChargedExplanation":{"type":"string"},"currentlyChargedDocumentation":{"$ref":"#/definitions/files"},"wasSuspended":{"type":"boolean"},"suspendedExplanation":{"type":"string"},"suspendedDocumentation":{"$ref":"#/definitions/files"},"hasWithdrawn":{"type":"boolean"},"withdrawnExplanation":{"type":"string"},"withdrawnDocumentation":{"$ref":"#/definitions/files"},"wasDisciplined":{"type":"boolean"},"disciplinedExplanation":{"type":"string"},"disciplinedDocumentation":{"$ref":"#/definitions/files"},"hasResignedRetired":{"type":"boolean"},"resignedRetiredExplanation":{"type":"string"},"resignedRetiredDocumentation":{"$ref":"#/definitions/files"},"wasAgentAttorney":{"type":"boolean"},"agentAttorneyExplanation":{"type":"string"},"agentAttorneyDocumentation":{"$ref":"#/definitions/files"},"wasReprimanded":{"type":"boolean"},"reprimandedExplanation":{"type":"string"},"reprimandedDocumentation":{"$ref":"#/definitions/files"},"hasResignedToAvoidReprimand":{"type":"boolean"},"resignedToAvoidReprimandExplanation":{"type":"string"},"resignedToAvoidReprimandDocumentation":{"$ref":"#/definitions/files"},"hasAppliedForAccreditation":{"type":"boolean"},"appliedForAccreditationExplanation":{"type":"string"},"appliedForAccreditationDocumentation":{"$ref":"#/definitions/files"},"wasAccreditationTerminated":{"type":"boolean"},"accreditationTerminatedDocumentation":{"$ref":"#/definitions/files"},"accreditationTerminatedExplanation":{"type":"string"},"hasImpairments":{"type":"boolean"},"impairmentsExplanation":{"type":"string"},"impairmentsDocumentation":{"$ref":"#/definitions/files"},"hasPhysicalLimitations":{"type":"boolean"},"physicalLimitationsExplanation":{"type":"string"},"physicalLimitationsDocumentation":{"$ref":"#/definitions/files"},"characterReferences":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"address":{"type":"object","properties":{"addressType":{"type":"boolean"},"line1":{"type":"string"},"line2":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"country":{"type":"string","enum":["USA","AFG","ALB","DZA","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GTM","GIN","GNB","GUY","HTI","HMD","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","ISR","ITA","JAM","JPN","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","ANT","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","NOR","OMN","PAK","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","QAT","REU","ROU","RUS","RWA","SHN","KNA","LCA","SPM","VCT","SMR","STP","SAU","SEN","SCG","SYC","SLE","SGP","SVK","SVN","SLB","SOM","ZAF","SGS","ESP","LKA","SDN","SUR","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","URY","UZB","VUT","VAT","VEN","VNM","VGB","WLF","ESH","YEM","ZMB","ZWE"]}}},"email":{"$ref":"#/definitions/email"},"phoneNumber":{"$ref":"#/definitions/phone"},"relationshipToApplicantType":{"type":"object","properties":{"name":{"type":"string"}}}}}},"signature":{"type":"string"},"jurisdictionDocumentation":{"$ref":"#/definitions/files"},"jurisdictionDeclinedToUploadDocuments":{"type":"boolean"},"jurisdictionExplan":{"type":"string"},"agenciesDocumentation":{"$ref":"#/definitions/files"},"agenciesDeclinedToUploadDocuments":{"type":"boolean"},"agenciesExplan":{"type":"string"}}} diff --git a/dist/versions/24.3.3/21P-0969-KITCHEN_SINK-cypress-example.json b/dist/versions/24.3.3/21P-0969-KITCHEN_SINK-cypress-example.json new file mode 100644 index 00000000..9b4c6227 --- /dev/null +++ b/dist/versions/24.3.3/21P-0969-KITCHEN_SINK-cypress-example.json @@ -0,0 +1 @@ +{"data":{"vaFileNumber":"123456789","veteranFullName":{"first":"John","middle":"Edmund","last":"Doe"},"veteranSocialSecurityNumber":"333224444","claimantFullName":{"first":"Jane","middle":"Elizabeth","last":"Doe"},"claimantSocialSecurityNumber":"333224445","claimantPhone":"5552345555","claimantType":"SPOUSE","incomeNetWorthDateRange":{"from":"2020-01-01","to":"2020-12-31"},"statementOfTruthCertified":true,"statementOfTruthSignature":"John Edmund Doe","unassociatedIncomes":[{"recipientRelationship":"CHILD","recipientName":"Jane Doe","incomeType":"WAGES","grossMonthlyIncome":99999.99,"payer":"Generic Company, LLC"},{"recipientRelationship":"OTHER","otherRecipientRelationshipType":"Cousin","recipientName":"Sam Jenkins","incomeType":"OTHER","otherIncomeType":"Stocks","grossMonthlyIncome":99,"payer":"Investment Company"},{"recipientRelationship":"VETERAN","incomeType":"SOCIAL_SECURITY","grossMonthlyIncome":102.33,"payer":"Social Security Administration"},{"recipientRelationship":"SPOUSE","incomeType":"RETIREMENT_PENSION","grossMonthlyIncome":1099.99,"payer":"Pension Benefit Management"},{"recipientRelationship":"PARENT","recipientName":"Edmund Doe","incomeType":"CIVIL_SERVICE","grossMonthlyIncome":12345.67,"payer":"Personnel Management"}]}} diff --git a/dist/versions/24.3.3/21P-0969-KITCHEN_SINK-example.json b/dist/versions/24.3.3/21P-0969-KITCHEN_SINK-example.json new file mode 100644 index 00000000..17233428 --- /dev/null +++ b/dist/versions/24.3.3/21P-0969-KITCHEN_SINK-example.json @@ -0,0 +1 @@ +{"vaFileNumber":"123456789","veteranFullName":{"first":"John","middle":"Edmund","last":"Doe"},"veteranSocialSecurityNumber":"333224444","claimantFullName":{"first":"Jane","middle":"Elizabeth","last":"Doe"},"claimantSocialSecurityNumber":"333224445","claimantPhone":"5552345555","claimantType":"SPOUSE","incomeNetWorthDateRange":{"from":"2020-01-01","to":"2020-12-31"},"statementOfTruthCertified":true,"statementOfTruthSignature":"John Edmund Doe","unassociatedIncomes":[{"recipientRelationship":"CHILD","recipientName":"Jane Doe","incomeType":"WAGES","grossMonthlyIncome":99999.99,"payer":"Generic Company, LLC"},{"recipientRelationship":"OTHER","otherRecipientRelationshipType":"Cousin","recipientName":"Sam Jenkins","incomeType":"OTHER","otherIncomeType":"Stocks","grossMonthlyIncome":99,"payer":"Investment Company"},{"recipientRelationship":"VETERAN","incomeType":"SOCIAL_SECURITY","grossMonthlyIncome":102.33,"payer":"Social Security Administration"},{"recipientRelationship":"SPOUSE","incomeType":"RETIREMENT_PENSION","grossMonthlyIncome":1099.99,"payer":"Pension Benefit Management"},{"recipientRelationship":"PARENT","recipientName":"Edmund Doe","incomeType":"CIVIL_SERVICE","grossMonthlyIncome":12345.67,"payer":"Personnel Management"}]} diff --git a/dist/versions/24.3.3/21P-0969-KITCHEN_SINK-schema.json b/dist/versions/24.3.3/21P-0969-KITCHEN_SINK-schema.json new file mode 100644 index 00000000..aec8040c --- /dev/null +++ b/dist/versions/24.3.3/21P-0969-KITCHEN_SINK-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"UPDATE INCOME AND ASSETS EVIDENCE","type":"object","additionalProperties":false,"anyOf":[{"required":["vaFileNumber"]},{"required":["veteranSocialSecurityNumber"]}],"definitions":{"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}},"date":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"relationshipToVeteran":{"type":"string","enum":["VETERAN","SPOUSE","CUSTODIAN","CHILD","PARENT","OTHER"]},"addedFunds":{"type":"array","items":{"type":"object","required":["fundsAddedDate","amountAdded"],"properties":{"fundsAddedDate":{"$ref":"#/definitions/date"},"amountAdded":{"type":"number","default":0}}}},"unassociatedIncomes":{"type":"array","items":{"type":"object","required":["recipientRelationship","incomeType","grossMonthlyIncome","payer"],"properties":{"recipientName":{"type":"string"},"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"incomeType":{"type":"string","enum":["SOCIAL_SECURITY","RETIREMENT_PENSION","WAGES","UNEMPLOYMENT","CIVIL_SERVICE","OTHER"]},"otherIncomeType":{"type":"string"},"grossMonthlyIncome":{"type":"number","default":0},"payer":{"type":"string"}}}},"associatedIncomes":{"type":"array","items":{"type":"object","required":["recipientRelationship","incomeType","grossMonthlyIncome","payer","accountValue"],"properties":{"recipientName":{"type":"string"},"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"incomeType":{"type":"string","enum":["INTEREST","DIVIDENDS","OTHER"]},"otherIncomeType":{"type":"string"},"grossMonthlyIncome":{"type":"number","default":0},"payer":{"type":"string"},"accountValue":{"type":"number","default":0}}}},"ownedAssets":{"type":"array","items":{"type":"object","required":["recipientRelationship","assetType","grossMonthlyIncome","payer"],"properties":{"recipientName":{"type":"string"},"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"assetType":{"type":"string","enum":["FARM","BUSINESS","RENTAL_PROPERTY"]},"otherIncomeType":{"type":"string"},"grossMonthlyIncome":{"type":"number","default":0},"payer":{"type":"string"},"ownedPortionValue":{"type":"number","default":0}}}},"royaltiesAndOtherProperties":{"type":"array","items":{"type":"object","required":["recipientRelationship","incomeGenerationMethod","grossMonthlyIncome","fairMarketValue","canBeSold"],"properties":{"recipientName":{"type":"string"},"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"incomeGenerationMethod":{"type":"string","enum":["INTELLECTUAL_PROPERTY","MINERALS_LUMBER","USE_OF_LAND","OTHER"]},"otherIncomeType":{"type":"string"},"grossMonthlyIncome":{"type":"number","default":0},"fairMarketValue":{"type":"number","default":0},"canBeSold":{"type":"boolean"},"mitigatingCircumstances":{"type":"string"}}}},"assetTransfers":{"type":"array","items":{"type":"object","required":["originalOwnerRelationship","transferMethod","assetType","payer","newOwnerName","newOwnerRelationship","saleReportedToIrs","transferDate","assetTransferredUnderFairMarketValue","fairMarketValue","saleValue","capitalGainValue"],"properties":{"originalOwnerRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherOriginalOwnerRelationshipType":{"type":"string"},"transferMethod":{"type":"string","enum":["SOLD","GIFTED","CONVEYED","TRADED","OTHER"]},"otherTransferMethod":{"type":"string"},"assetType":{"type":"string"},"newOwnerName":{"type":"string"},"newOwnerRelationship":{"type":"string"},"saleReportedToIrs":{"type":"boolean"},"transferDate":{"$ref":"#/definitions/date"},"assetTransferredUnderFairMarketValue":{"type":"boolean"},"fairMarketValue":{"type":"number","default":0},"saleValue":{"type":"number","default":0},"capitalGainValue":{"type":"number","default":0}}}},"trusts":{"type":"array","items":{"type":"object","required":["establishmentDate","marketValueAtEstablishment","trustType","addedFundsAfterEstablishment","receivingIncomeFromTrust","trustUsedForMedicalExpenses","trustEstablishedForVeteransChild","haveAuthorityOrControlOfTrust"],"properties":{"establishedDate":{"$ref":"#/definitions/date"},"marketValueAtEstablishment":{"type":"number","default":0},"trustType":{"type":"string","enum":["REVOCABLE","IRREVOCABLE","BURIAL"]},"addedFundsAfterEstablishment":{"type":"boolean"},"addedFunds":{"$ref":"#/definitions/addedFunds"},"receivingIncomeFromTrust":{"type":"boolean"},"annualReceivedIncome":{"type":"number","default":0},"trustUsedForMedicalExpenses":{"type":"boolean"},"monthlyMedicalReimbursementAmount":{"type":"number","default":0},"trustEstablishedForVeteransChild":{"type":"boolean"},"haveAuthorityOrControlOfTrust":{"type":"boolean"}}}},"annuities":{"type":"array","items":{"type":"object","required":["establishedDate","marketValueAtEstablishment","addedFundsAfterEstablishment","revocable","receivingIncomeFromAnnuity","canBeLiquidated"],"properties":{"establishedDate":{"$ref":"#/definitions/date"},"marketValueAtEstablishment":{"type":"number","default":0},"addedFundsAfterEstablishment":{"type":"boolean"},"addedFunds":{"$ref":"#/definitions/addedFunds"},"revocable":{"type":"boolean"},"receivingIncomeFromAnnuity":{"type":"boolean"},"annualReceivedIncome":{"type":"number","default":0},"canBeLiquidated":{"type":"boolean"},"surrenderValue":{"type":"number","default":0}}}},"unreportedAssets":{"type":"array","items":{"type":"object","required":["assetOwnerRelationship","ownedPortionValue","assetType","assetLocation"],"properties":{"assetOwnerRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherAssetOwnerRelationshipType":{"type":"string"},"ownedPortionValue":{"type":"number","default":0},"assetType":{"type":"string"},"assetLocation":{"type":"string"}}}},"discontinuedIncomes":{"type":"array","items":{"type":"object","required":["recipientRelationship","payer","incomeType","incomeFrequency","incomeLastReceivedDate","grossAnnualAmount"],"properties":{"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"recipientName":{"type":"string"},"payer":{"type":"string"},"incomeType":{"type":"string"},"incomeFrequency":{"type":"string","enum":["RECURRING","IRREGULAR","ONE_TIME"]},"incomeLastReceivedDate":{"$ref":"#/definitions/date"},"grossAnnualAmount":{"type":"number","default":0}}}},"incomeReceiptWaivers":{"type":"array","items":{"type":"object","required":["recipientRelationship","payer","waivedGrossMonthlyIncome"],"properties":{"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"recipientName":{"type":"string"},"payer":{"type":"string"},"expectedIncome":{"type":"number","default":0},"paymentResumeDate":{"$ref":"#/definitions/date"},"waivedGrossMonthlyIncome":{"type":"number","default":0}}}},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"centralMailVaFile":{"type":"string","pattern":"^\\d{8,9}$"},"usaPhone":{"type":"string","pattern":"^\\d{10}$"},"files":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"size":{"type":"integer"},"confirmationCode":{"type":"string"}}}}},"properties":{"claimantType":{"type":"string"},"dateReceivedByVa":{"type":"boolean"},"hasUnassociatedIncomes":{"type":"boolean"},"unassociatedIncomes":{"$ref":"#/definitions/unassociatedIncomes"},"hasAssociatedIncomes":{"type":"boolean"},"associatedIncomes":{"$ref":"#/definitions/associatedIncomes"},"hasOwnedAssets":{"type":"boolean"},"ownedAssets":{"$ref":"#/definitions/ownedAssets"},"hasRoyaltiesAndOtherProperties":{"type":"boolean"},"royaltiesAndOtherProperties":{"$ref":"#/definitions/royaltiesAndOtherProperties"},"hasAssetTransfers":{"type":"boolean"},"assetTransfers":{"$ref":"#/definitions/assetTransfers"},"hasTrusts":{"type":"boolean"},"trusts":{"$ref":"#/definitions/trusts"},"hasAnnuities":{"type":"boolean"},"annuities":{"$ref":"#/definitions/annuities"},"hasUnreportedAssets":{"type":"boolean"},"unreportedAssets":{"$ref":"#/definitions/unreportedAssets"},"hasDiscontinuedIncomes":{"type":"boolean"},"discontinuedIncomes":{"$ref":"#/definitions/discontinuedIncomes"},"hasIncomeReceiptWaivers":{"type":"boolean"},"incomeReceiptWaivers":{"$ref":"#/definitions/incomeReceiptWaivers"},"statementOfTruthCertified":{"type":"boolean"},"statementOfTruthSignature":{"type":"string"},"veteranFullName":{"$ref":"#/definitions/fullName"},"claimantFullName":{"$ref":"#/definitions/fullName"},"veteranSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"claimantSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"vaFileNumber":{"$ref":"#/definitions/centralMailVaFile"},"claimantPhone":{"$ref":"#/definitions/usaPhone"},"incomeNetWorthDateRange":{"$ref":"#/definitions/dateRange"},"files":{"$ref":"#/definitions/files"}},"required":["veteranFullName","statementOfTruthCertified","statementOfTruthSignature"]} diff --git a/dist/versions/24.3.3/21P-0969-OVERFLOW-cypress-example.json b/dist/versions/24.3.3/21P-0969-OVERFLOW-cypress-example.json new file mode 100644 index 00000000..6b88bd8f --- /dev/null +++ b/dist/versions/24.3.3/21P-0969-OVERFLOW-cypress-example.json @@ -0,0 +1 @@ +{"data":{"vaFileNumber":"123456789","veteranFullName":{"first":"John","middle":"Edmund","last":"Doe"},"veteranSocialSecurityNumber":"333224444","claimantFullName":{"first":"Jane","middle":"Elizabeth","last":"Doe"},"claimantSocialSecurityNumber":"333224445","claimantPhone":"5552345555","claimantType":"SPOUSE","incomeNetWorthDateRange":{"from":"2020-01-01","to":"2020-12-31"},"statementOfTruthCertified":true,"statementOfTruthSignature":"John Edmund Doe","unassociatedIncomes":[{"recipientRelationship":"CHILD","recipientName":"Jane Doe","incomeType":"WAGES","grossMonthlyIncome":99999.99,"payer":"Generic Company, LLC"},{"recipientRelationship":"OTHER","otherRecipientRelationshipType":"Cousin","recipientName":"Sam Jenkins","incomeType":"OTHER","otherIncomeType":"Stocks","grossMonthlyIncome":99,"payer":"Investment Company"},{"recipientRelationship":"VETERAN","incomeType":"SOCIAL_SECURITY","grossMonthlyIncome":102.33,"payer":"Social Security Administration"},{"recipientRelationship":"SPOUSE","incomeType":"RETIREMENT_PENSION","grossMonthlyIncome":1099.99,"payer":"Pension Benefit Management"},{"recipientRelationship":"PARENT","recipientName":"Edmund Doe","incomeType":"CIVIL_SERVICE","grossMonthlyIncome":12345.67,"payer":"Personnel Management"},{"recipientRelationship":"CUSTODIAN","recipientName":"Sam Doe","incomeType":"UNEMPLOYMENT","grossMonthlyIncome":1000,"payer":"Agency of Unemployment"}]}} diff --git a/dist/versions/24.3.3/21P-0969-OVERFLOW-example.json b/dist/versions/24.3.3/21P-0969-OVERFLOW-example.json new file mode 100644 index 00000000..bbf13d17 --- /dev/null +++ b/dist/versions/24.3.3/21P-0969-OVERFLOW-example.json @@ -0,0 +1 @@ +{"vaFileNumber":"123456789","veteranFullName":{"first":"John","middle":"Edmund","last":"Doe"},"veteranSocialSecurityNumber":"333224444","claimantFullName":{"first":"Jane","middle":"Elizabeth","last":"Doe"},"claimantSocialSecurityNumber":"333224445","claimantPhone":"5552345555","claimantType":"SPOUSE","incomeNetWorthDateRange":{"from":"2020-01-01","to":"2020-12-31"},"statementOfTruthCertified":true,"statementOfTruthSignature":"John Edmund Doe","unassociatedIncomes":[{"recipientRelationship":"CHILD","recipientName":"Jane Doe","incomeType":"WAGES","grossMonthlyIncome":99999.99,"payer":"Generic Company, LLC"},{"recipientRelationship":"OTHER","otherRecipientRelationshipType":"Cousin","recipientName":"Sam Jenkins","incomeType":"OTHER","otherIncomeType":"Stocks","grossMonthlyIncome":99,"payer":"Investment Company"},{"recipientRelationship":"VETERAN","incomeType":"SOCIAL_SECURITY","grossMonthlyIncome":102.33,"payer":"Social Security Administration"},{"recipientRelationship":"SPOUSE","incomeType":"RETIREMENT_PENSION","grossMonthlyIncome":1099.99,"payer":"Pension Benefit Management"},{"recipientRelationship":"PARENT","recipientName":"Edmund Doe","incomeType":"CIVIL_SERVICE","grossMonthlyIncome":12345.67,"payer":"Personnel Management"},{"recipientRelationship":"CUSTODIAN","recipientName":"Sam Doe","incomeType":"UNEMPLOYMENT","grossMonthlyIncome":1000,"payer":"Agency of Unemployment"}]} diff --git a/dist/versions/24.3.3/21P-0969-OVERFLOW-schema.json b/dist/versions/24.3.3/21P-0969-OVERFLOW-schema.json new file mode 100644 index 00000000..aec8040c --- /dev/null +++ b/dist/versions/24.3.3/21P-0969-OVERFLOW-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"UPDATE INCOME AND ASSETS EVIDENCE","type":"object","additionalProperties":false,"anyOf":[{"required":["vaFileNumber"]},{"required":["veteranSocialSecurityNumber"]}],"definitions":{"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}},"date":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"relationshipToVeteran":{"type":"string","enum":["VETERAN","SPOUSE","CUSTODIAN","CHILD","PARENT","OTHER"]},"addedFunds":{"type":"array","items":{"type":"object","required":["fundsAddedDate","amountAdded"],"properties":{"fundsAddedDate":{"$ref":"#/definitions/date"},"amountAdded":{"type":"number","default":0}}}},"unassociatedIncomes":{"type":"array","items":{"type":"object","required":["recipientRelationship","incomeType","grossMonthlyIncome","payer"],"properties":{"recipientName":{"type":"string"},"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"incomeType":{"type":"string","enum":["SOCIAL_SECURITY","RETIREMENT_PENSION","WAGES","UNEMPLOYMENT","CIVIL_SERVICE","OTHER"]},"otherIncomeType":{"type":"string"},"grossMonthlyIncome":{"type":"number","default":0},"payer":{"type":"string"}}}},"associatedIncomes":{"type":"array","items":{"type":"object","required":["recipientRelationship","incomeType","grossMonthlyIncome","payer","accountValue"],"properties":{"recipientName":{"type":"string"},"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"incomeType":{"type":"string","enum":["INTEREST","DIVIDENDS","OTHER"]},"otherIncomeType":{"type":"string"},"grossMonthlyIncome":{"type":"number","default":0},"payer":{"type":"string"},"accountValue":{"type":"number","default":0}}}},"ownedAssets":{"type":"array","items":{"type":"object","required":["recipientRelationship","assetType","grossMonthlyIncome","payer"],"properties":{"recipientName":{"type":"string"},"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"assetType":{"type":"string","enum":["FARM","BUSINESS","RENTAL_PROPERTY"]},"otherIncomeType":{"type":"string"},"grossMonthlyIncome":{"type":"number","default":0},"payer":{"type":"string"},"ownedPortionValue":{"type":"number","default":0}}}},"royaltiesAndOtherProperties":{"type":"array","items":{"type":"object","required":["recipientRelationship","incomeGenerationMethod","grossMonthlyIncome","fairMarketValue","canBeSold"],"properties":{"recipientName":{"type":"string"},"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"incomeGenerationMethod":{"type":"string","enum":["INTELLECTUAL_PROPERTY","MINERALS_LUMBER","USE_OF_LAND","OTHER"]},"otherIncomeType":{"type":"string"},"grossMonthlyIncome":{"type":"number","default":0},"fairMarketValue":{"type":"number","default":0},"canBeSold":{"type":"boolean"},"mitigatingCircumstances":{"type":"string"}}}},"assetTransfers":{"type":"array","items":{"type":"object","required":["originalOwnerRelationship","transferMethod","assetType","payer","newOwnerName","newOwnerRelationship","saleReportedToIrs","transferDate","assetTransferredUnderFairMarketValue","fairMarketValue","saleValue","capitalGainValue"],"properties":{"originalOwnerRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherOriginalOwnerRelationshipType":{"type":"string"},"transferMethod":{"type":"string","enum":["SOLD","GIFTED","CONVEYED","TRADED","OTHER"]},"otherTransferMethod":{"type":"string"},"assetType":{"type":"string"},"newOwnerName":{"type":"string"},"newOwnerRelationship":{"type":"string"},"saleReportedToIrs":{"type":"boolean"},"transferDate":{"$ref":"#/definitions/date"},"assetTransferredUnderFairMarketValue":{"type":"boolean"},"fairMarketValue":{"type":"number","default":0},"saleValue":{"type":"number","default":0},"capitalGainValue":{"type":"number","default":0}}}},"trusts":{"type":"array","items":{"type":"object","required":["establishmentDate","marketValueAtEstablishment","trustType","addedFundsAfterEstablishment","receivingIncomeFromTrust","trustUsedForMedicalExpenses","trustEstablishedForVeteransChild","haveAuthorityOrControlOfTrust"],"properties":{"establishedDate":{"$ref":"#/definitions/date"},"marketValueAtEstablishment":{"type":"number","default":0},"trustType":{"type":"string","enum":["REVOCABLE","IRREVOCABLE","BURIAL"]},"addedFundsAfterEstablishment":{"type":"boolean"},"addedFunds":{"$ref":"#/definitions/addedFunds"},"receivingIncomeFromTrust":{"type":"boolean"},"annualReceivedIncome":{"type":"number","default":0},"trustUsedForMedicalExpenses":{"type":"boolean"},"monthlyMedicalReimbursementAmount":{"type":"number","default":0},"trustEstablishedForVeteransChild":{"type":"boolean"},"haveAuthorityOrControlOfTrust":{"type":"boolean"}}}},"annuities":{"type":"array","items":{"type":"object","required":["establishedDate","marketValueAtEstablishment","addedFundsAfterEstablishment","revocable","receivingIncomeFromAnnuity","canBeLiquidated"],"properties":{"establishedDate":{"$ref":"#/definitions/date"},"marketValueAtEstablishment":{"type":"number","default":0},"addedFundsAfterEstablishment":{"type":"boolean"},"addedFunds":{"$ref":"#/definitions/addedFunds"},"revocable":{"type":"boolean"},"receivingIncomeFromAnnuity":{"type":"boolean"},"annualReceivedIncome":{"type":"number","default":0},"canBeLiquidated":{"type":"boolean"},"surrenderValue":{"type":"number","default":0}}}},"unreportedAssets":{"type":"array","items":{"type":"object","required":["assetOwnerRelationship","ownedPortionValue","assetType","assetLocation"],"properties":{"assetOwnerRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherAssetOwnerRelationshipType":{"type":"string"},"ownedPortionValue":{"type":"number","default":0},"assetType":{"type":"string"},"assetLocation":{"type":"string"}}}},"discontinuedIncomes":{"type":"array","items":{"type":"object","required":["recipientRelationship","payer","incomeType","incomeFrequency","incomeLastReceivedDate","grossAnnualAmount"],"properties":{"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"recipientName":{"type":"string"},"payer":{"type":"string"},"incomeType":{"type":"string"},"incomeFrequency":{"type":"string","enum":["RECURRING","IRREGULAR","ONE_TIME"]},"incomeLastReceivedDate":{"$ref":"#/definitions/date"},"grossAnnualAmount":{"type":"number","default":0}}}},"incomeReceiptWaivers":{"type":"array","items":{"type":"object","required":["recipientRelationship","payer","waivedGrossMonthlyIncome"],"properties":{"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"recipientName":{"type":"string"},"payer":{"type":"string"},"expectedIncome":{"type":"number","default":0},"paymentResumeDate":{"$ref":"#/definitions/date"},"waivedGrossMonthlyIncome":{"type":"number","default":0}}}},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"centralMailVaFile":{"type":"string","pattern":"^\\d{8,9}$"},"usaPhone":{"type":"string","pattern":"^\\d{10}$"},"files":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"size":{"type":"integer"},"confirmationCode":{"type":"string"}}}}},"properties":{"claimantType":{"type":"string"},"dateReceivedByVa":{"type":"boolean"},"hasUnassociatedIncomes":{"type":"boolean"},"unassociatedIncomes":{"$ref":"#/definitions/unassociatedIncomes"},"hasAssociatedIncomes":{"type":"boolean"},"associatedIncomes":{"$ref":"#/definitions/associatedIncomes"},"hasOwnedAssets":{"type":"boolean"},"ownedAssets":{"$ref":"#/definitions/ownedAssets"},"hasRoyaltiesAndOtherProperties":{"type":"boolean"},"royaltiesAndOtherProperties":{"$ref":"#/definitions/royaltiesAndOtherProperties"},"hasAssetTransfers":{"type":"boolean"},"assetTransfers":{"$ref":"#/definitions/assetTransfers"},"hasTrusts":{"type":"boolean"},"trusts":{"$ref":"#/definitions/trusts"},"hasAnnuities":{"type":"boolean"},"annuities":{"$ref":"#/definitions/annuities"},"hasUnreportedAssets":{"type":"boolean"},"unreportedAssets":{"$ref":"#/definitions/unreportedAssets"},"hasDiscontinuedIncomes":{"type":"boolean"},"discontinuedIncomes":{"$ref":"#/definitions/discontinuedIncomes"},"hasIncomeReceiptWaivers":{"type":"boolean"},"incomeReceiptWaivers":{"$ref":"#/definitions/incomeReceiptWaivers"},"statementOfTruthCertified":{"type":"boolean"},"statementOfTruthSignature":{"type":"string"},"veteranFullName":{"$ref":"#/definitions/fullName"},"claimantFullName":{"$ref":"#/definitions/fullName"},"veteranSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"claimantSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"vaFileNumber":{"$ref":"#/definitions/centralMailVaFile"},"claimantPhone":{"$ref":"#/definitions/usaPhone"},"incomeNetWorthDateRange":{"$ref":"#/definitions/dateRange"},"files":{"$ref":"#/definitions/files"}},"required":["veteranFullName","statementOfTruthCertified","statementOfTruthSignature"]} diff --git a/dist/versions/24.3.3/21P-0969-SIMPLE-cypress-example.json b/dist/versions/24.3.3/21P-0969-SIMPLE-cypress-example.json new file mode 100644 index 00000000..27c9b138 --- /dev/null +++ b/dist/versions/24.3.3/21P-0969-SIMPLE-cypress-example.json @@ -0,0 +1 @@ +{"data":{"veteranFullName":{"first":"John","middle":"Edmund","last":"Doe"},"veteranSocialSecurityNumber":"333224444","statementOfTruthCertified":true,"statementOfTruthSignature":"John Edmund Doe"}} diff --git a/dist/versions/24.3.3/21P-0969-SIMPLE-example.json b/dist/versions/24.3.3/21P-0969-SIMPLE-example.json new file mode 100644 index 00000000..056714e5 --- /dev/null +++ b/dist/versions/24.3.3/21P-0969-SIMPLE-example.json @@ -0,0 +1 @@ +{"veteranFullName":{"first":"John","middle":"Edmund","last":"Doe"},"veteranSocialSecurityNumber":"333224444","statementOfTruthCertified":true,"statementOfTruthSignature":"John Edmund Doe"} diff --git a/dist/versions/24.3.3/21P-0969-SIMPLE-schema.json b/dist/versions/24.3.3/21P-0969-SIMPLE-schema.json new file mode 100644 index 00000000..aec8040c --- /dev/null +++ b/dist/versions/24.3.3/21P-0969-SIMPLE-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"UPDATE INCOME AND ASSETS EVIDENCE","type":"object","additionalProperties":false,"anyOf":[{"required":["vaFileNumber"]},{"required":["veteranSocialSecurityNumber"]}],"definitions":{"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}},"date":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"relationshipToVeteran":{"type":"string","enum":["VETERAN","SPOUSE","CUSTODIAN","CHILD","PARENT","OTHER"]},"addedFunds":{"type":"array","items":{"type":"object","required":["fundsAddedDate","amountAdded"],"properties":{"fundsAddedDate":{"$ref":"#/definitions/date"},"amountAdded":{"type":"number","default":0}}}},"unassociatedIncomes":{"type":"array","items":{"type":"object","required":["recipientRelationship","incomeType","grossMonthlyIncome","payer"],"properties":{"recipientName":{"type":"string"},"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"incomeType":{"type":"string","enum":["SOCIAL_SECURITY","RETIREMENT_PENSION","WAGES","UNEMPLOYMENT","CIVIL_SERVICE","OTHER"]},"otherIncomeType":{"type":"string"},"grossMonthlyIncome":{"type":"number","default":0},"payer":{"type":"string"}}}},"associatedIncomes":{"type":"array","items":{"type":"object","required":["recipientRelationship","incomeType","grossMonthlyIncome","payer","accountValue"],"properties":{"recipientName":{"type":"string"},"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"incomeType":{"type":"string","enum":["INTEREST","DIVIDENDS","OTHER"]},"otherIncomeType":{"type":"string"},"grossMonthlyIncome":{"type":"number","default":0},"payer":{"type":"string"},"accountValue":{"type":"number","default":0}}}},"ownedAssets":{"type":"array","items":{"type":"object","required":["recipientRelationship","assetType","grossMonthlyIncome","payer"],"properties":{"recipientName":{"type":"string"},"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"assetType":{"type":"string","enum":["FARM","BUSINESS","RENTAL_PROPERTY"]},"otherIncomeType":{"type":"string"},"grossMonthlyIncome":{"type":"number","default":0},"payer":{"type":"string"},"ownedPortionValue":{"type":"number","default":0}}}},"royaltiesAndOtherProperties":{"type":"array","items":{"type":"object","required":["recipientRelationship","incomeGenerationMethod","grossMonthlyIncome","fairMarketValue","canBeSold"],"properties":{"recipientName":{"type":"string"},"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"incomeGenerationMethod":{"type":"string","enum":["INTELLECTUAL_PROPERTY","MINERALS_LUMBER","USE_OF_LAND","OTHER"]},"otherIncomeType":{"type":"string"},"grossMonthlyIncome":{"type":"number","default":0},"fairMarketValue":{"type":"number","default":0},"canBeSold":{"type":"boolean"},"mitigatingCircumstances":{"type":"string"}}}},"assetTransfers":{"type":"array","items":{"type":"object","required":["originalOwnerRelationship","transferMethod","assetType","payer","newOwnerName","newOwnerRelationship","saleReportedToIrs","transferDate","assetTransferredUnderFairMarketValue","fairMarketValue","saleValue","capitalGainValue"],"properties":{"originalOwnerRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherOriginalOwnerRelationshipType":{"type":"string"},"transferMethod":{"type":"string","enum":["SOLD","GIFTED","CONVEYED","TRADED","OTHER"]},"otherTransferMethod":{"type":"string"},"assetType":{"type":"string"},"newOwnerName":{"type":"string"},"newOwnerRelationship":{"type":"string"},"saleReportedToIrs":{"type":"boolean"},"transferDate":{"$ref":"#/definitions/date"},"assetTransferredUnderFairMarketValue":{"type":"boolean"},"fairMarketValue":{"type":"number","default":0},"saleValue":{"type":"number","default":0},"capitalGainValue":{"type":"number","default":0}}}},"trusts":{"type":"array","items":{"type":"object","required":["establishmentDate","marketValueAtEstablishment","trustType","addedFundsAfterEstablishment","receivingIncomeFromTrust","trustUsedForMedicalExpenses","trustEstablishedForVeteransChild","haveAuthorityOrControlOfTrust"],"properties":{"establishedDate":{"$ref":"#/definitions/date"},"marketValueAtEstablishment":{"type":"number","default":0},"trustType":{"type":"string","enum":["REVOCABLE","IRREVOCABLE","BURIAL"]},"addedFundsAfterEstablishment":{"type":"boolean"},"addedFunds":{"$ref":"#/definitions/addedFunds"},"receivingIncomeFromTrust":{"type":"boolean"},"annualReceivedIncome":{"type":"number","default":0},"trustUsedForMedicalExpenses":{"type":"boolean"},"monthlyMedicalReimbursementAmount":{"type":"number","default":0},"trustEstablishedForVeteransChild":{"type":"boolean"},"haveAuthorityOrControlOfTrust":{"type":"boolean"}}}},"annuities":{"type":"array","items":{"type":"object","required":["establishedDate","marketValueAtEstablishment","addedFundsAfterEstablishment","revocable","receivingIncomeFromAnnuity","canBeLiquidated"],"properties":{"establishedDate":{"$ref":"#/definitions/date"},"marketValueAtEstablishment":{"type":"number","default":0},"addedFundsAfterEstablishment":{"type":"boolean"},"addedFunds":{"$ref":"#/definitions/addedFunds"},"revocable":{"type":"boolean"},"receivingIncomeFromAnnuity":{"type":"boolean"},"annualReceivedIncome":{"type":"number","default":0},"canBeLiquidated":{"type":"boolean"},"surrenderValue":{"type":"number","default":0}}}},"unreportedAssets":{"type":"array","items":{"type":"object","required":["assetOwnerRelationship","ownedPortionValue","assetType","assetLocation"],"properties":{"assetOwnerRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherAssetOwnerRelationshipType":{"type":"string"},"ownedPortionValue":{"type":"number","default":0},"assetType":{"type":"string"},"assetLocation":{"type":"string"}}}},"discontinuedIncomes":{"type":"array","items":{"type":"object","required":["recipientRelationship","payer","incomeType","incomeFrequency","incomeLastReceivedDate","grossAnnualAmount"],"properties":{"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"recipientName":{"type":"string"},"payer":{"type":"string"},"incomeType":{"type":"string"},"incomeFrequency":{"type":"string","enum":["RECURRING","IRREGULAR","ONE_TIME"]},"incomeLastReceivedDate":{"$ref":"#/definitions/date"},"grossAnnualAmount":{"type":"number","default":0}}}},"incomeReceiptWaivers":{"type":"array","items":{"type":"object","required":["recipientRelationship","payer","waivedGrossMonthlyIncome"],"properties":{"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"recipientName":{"type":"string"},"payer":{"type":"string"},"expectedIncome":{"type":"number","default":0},"paymentResumeDate":{"$ref":"#/definitions/date"},"waivedGrossMonthlyIncome":{"type":"number","default":0}}}},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"centralMailVaFile":{"type":"string","pattern":"^\\d{8,9}$"},"usaPhone":{"type":"string","pattern":"^\\d{10}$"},"files":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"size":{"type":"integer"},"confirmationCode":{"type":"string"}}}}},"properties":{"claimantType":{"type":"string"},"dateReceivedByVa":{"type":"boolean"},"hasUnassociatedIncomes":{"type":"boolean"},"unassociatedIncomes":{"$ref":"#/definitions/unassociatedIncomes"},"hasAssociatedIncomes":{"type":"boolean"},"associatedIncomes":{"$ref":"#/definitions/associatedIncomes"},"hasOwnedAssets":{"type":"boolean"},"ownedAssets":{"$ref":"#/definitions/ownedAssets"},"hasRoyaltiesAndOtherProperties":{"type":"boolean"},"royaltiesAndOtherProperties":{"$ref":"#/definitions/royaltiesAndOtherProperties"},"hasAssetTransfers":{"type":"boolean"},"assetTransfers":{"$ref":"#/definitions/assetTransfers"},"hasTrusts":{"type":"boolean"},"trusts":{"$ref":"#/definitions/trusts"},"hasAnnuities":{"type":"boolean"},"annuities":{"$ref":"#/definitions/annuities"},"hasUnreportedAssets":{"type":"boolean"},"unreportedAssets":{"$ref":"#/definitions/unreportedAssets"},"hasDiscontinuedIncomes":{"type":"boolean"},"discontinuedIncomes":{"$ref":"#/definitions/discontinuedIncomes"},"hasIncomeReceiptWaivers":{"type":"boolean"},"incomeReceiptWaivers":{"$ref":"#/definitions/incomeReceiptWaivers"},"statementOfTruthCertified":{"type":"boolean"},"statementOfTruthSignature":{"type":"string"},"veteranFullName":{"$ref":"#/definitions/fullName"},"claimantFullName":{"$ref":"#/definitions/fullName"},"veteranSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"claimantSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"vaFileNumber":{"$ref":"#/definitions/centralMailVaFile"},"claimantPhone":{"$ref":"#/definitions/usaPhone"},"incomeNetWorthDateRange":{"$ref":"#/definitions/dateRange"},"files":{"$ref":"#/definitions/files"}},"required":["veteranFullName","statementOfTruthCertified","statementOfTruthSignature"]} diff --git a/dist/versions/24.3.3/21P-0969-schema.json b/dist/versions/24.3.3/21P-0969-schema.json new file mode 100644 index 00000000..aec8040c --- /dev/null +++ b/dist/versions/24.3.3/21P-0969-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"UPDATE INCOME AND ASSETS EVIDENCE","type":"object","additionalProperties":false,"anyOf":[{"required":["vaFileNumber"]},{"required":["veteranSocialSecurityNumber"]}],"definitions":{"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}},"date":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"relationshipToVeteran":{"type":"string","enum":["VETERAN","SPOUSE","CUSTODIAN","CHILD","PARENT","OTHER"]},"addedFunds":{"type":"array","items":{"type":"object","required":["fundsAddedDate","amountAdded"],"properties":{"fundsAddedDate":{"$ref":"#/definitions/date"},"amountAdded":{"type":"number","default":0}}}},"unassociatedIncomes":{"type":"array","items":{"type":"object","required":["recipientRelationship","incomeType","grossMonthlyIncome","payer"],"properties":{"recipientName":{"type":"string"},"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"incomeType":{"type":"string","enum":["SOCIAL_SECURITY","RETIREMENT_PENSION","WAGES","UNEMPLOYMENT","CIVIL_SERVICE","OTHER"]},"otherIncomeType":{"type":"string"},"grossMonthlyIncome":{"type":"number","default":0},"payer":{"type":"string"}}}},"associatedIncomes":{"type":"array","items":{"type":"object","required":["recipientRelationship","incomeType","grossMonthlyIncome","payer","accountValue"],"properties":{"recipientName":{"type":"string"},"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"incomeType":{"type":"string","enum":["INTEREST","DIVIDENDS","OTHER"]},"otherIncomeType":{"type":"string"},"grossMonthlyIncome":{"type":"number","default":0},"payer":{"type":"string"},"accountValue":{"type":"number","default":0}}}},"ownedAssets":{"type":"array","items":{"type":"object","required":["recipientRelationship","assetType","grossMonthlyIncome","payer"],"properties":{"recipientName":{"type":"string"},"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"assetType":{"type":"string","enum":["FARM","BUSINESS","RENTAL_PROPERTY"]},"otherIncomeType":{"type":"string"},"grossMonthlyIncome":{"type":"number","default":0},"payer":{"type":"string"},"ownedPortionValue":{"type":"number","default":0}}}},"royaltiesAndOtherProperties":{"type":"array","items":{"type":"object","required":["recipientRelationship","incomeGenerationMethod","grossMonthlyIncome","fairMarketValue","canBeSold"],"properties":{"recipientName":{"type":"string"},"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"incomeGenerationMethod":{"type":"string","enum":["INTELLECTUAL_PROPERTY","MINERALS_LUMBER","USE_OF_LAND","OTHER"]},"otherIncomeType":{"type":"string"},"grossMonthlyIncome":{"type":"number","default":0},"fairMarketValue":{"type":"number","default":0},"canBeSold":{"type":"boolean"},"mitigatingCircumstances":{"type":"string"}}}},"assetTransfers":{"type":"array","items":{"type":"object","required":["originalOwnerRelationship","transferMethod","assetType","payer","newOwnerName","newOwnerRelationship","saleReportedToIrs","transferDate","assetTransferredUnderFairMarketValue","fairMarketValue","saleValue","capitalGainValue"],"properties":{"originalOwnerRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherOriginalOwnerRelationshipType":{"type":"string"},"transferMethod":{"type":"string","enum":["SOLD","GIFTED","CONVEYED","TRADED","OTHER"]},"otherTransferMethod":{"type":"string"},"assetType":{"type":"string"},"newOwnerName":{"type":"string"},"newOwnerRelationship":{"type":"string"},"saleReportedToIrs":{"type":"boolean"},"transferDate":{"$ref":"#/definitions/date"},"assetTransferredUnderFairMarketValue":{"type":"boolean"},"fairMarketValue":{"type":"number","default":0},"saleValue":{"type":"number","default":0},"capitalGainValue":{"type":"number","default":0}}}},"trusts":{"type":"array","items":{"type":"object","required":["establishmentDate","marketValueAtEstablishment","trustType","addedFundsAfterEstablishment","receivingIncomeFromTrust","trustUsedForMedicalExpenses","trustEstablishedForVeteransChild","haveAuthorityOrControlOfTrust"],"properties":{"establishedDate":{"$ref":"#/definitions/date"},"marketValueAtEstablishment":{"type":"number","default":0},"trustType":{"type":"string","enum":["REVOCABLE","IRREVOCABLE","BURIAL"]},"addedFundsAfterEstablishment":{"type":"boolean"},"addedFunds":{"$ref":"#/definitions/addedFunds"},"receivingIncomeFromTrust":{"type":"boolean"},"annualReceivedIncome":{"type":"number","default":0},"trustUsedForMedicalExpenses":{"type":"boolean"},"monthlyMedicalReimbursementAmount":{"type":"number","default":0},"trustEstablishedForVeteransChild":{"type":"boolean"},"haveAuthorityOrControlOfTrust":{"type":"boolean"}}}},"annuities":{"type":"array","items":{"type":"object","required":["establishedDate","marketValueAtEstablishment","addedFundsAfterEstablishment","revocable","receivingIncomeFromAnnuity","canBeLiquidated"],"properties":{"establishedDate":{"$ref":"#/definitions/date"},"marketValueAtEstablishment":{"type":"number","default":0},"addedFundsAfterEstablishment":{"type":"boolean"},"addedFunds":{"$ref":"#/definitions/addedFunds"},"revocable":{"type":"boolean"},"receivingIncomeFromAnnuity":{"type":"boolean"},"annualReceivedIncome":{"type":"number","default":0},"canBeLiquidated":{"type":"boolean"},"surrenderValue":{"type":"number","default":0}}}},"unreportedAssets":{"type":"array","items":{"type":"object","required":["assetOwnerRelationship","ownedPortionValue","assetType","assetLocation"],"properties":{"assetOwnerRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherAssetOwnerRelationshipType":{"type":"string"},"ownedPortionValue":{"type":"number","default":0},"assetType":{"type":"string"},"assetLocation":{"type":"string"}}}},"discontinuedIncomes":{"type":"array","items":{"type":"object","required":["recipientRelationship","payer","incomeType","incomeFrequency","incomeLastReceivedDate","grossAnnualAmount"],"properties":{"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"recipientName":{"type":"string"},"payer":{"type":"string"},"incomeType":{"type":"string"},"incomeFrequency":{"type":"string","enum":["RECURRING","IRREGULAR","ONE_TIME"]},"incomeLastReceivedDate":{"$ref":"#/definitions/date"},"grossAnnualAmount":{"type":"number","default":0}}}},"incomeReceiptWaivers":{"type":"array","items":{"type":"object","required":["recipientRelationship","payer","waivedGrossMonthlyIncome"],"properties":{"recipientRelationship":{"$ref":"#/definitions/relationshipToVeteran"},"otherRecipientRelationshipType":{"type":"string"},"recipientName":{"type":"string"},"payer":{"type":"string"},"expectedIncome":{"type":"number","default":0},"paymentResumeDate":{"$ref":"#/definitions/date"},"waivedGrossMonthlyIncome":{"type":"number","default":0}}}},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"centralMailVaFile":{"type":"string","pattern":"^\\d{8,9}$"},"usaPhone":{"type":"string","pattern":"^\\d{10}$"},"files":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"size":{"type":"integer"},"confirmationCode":{"type":"string"}}}}},"properties":{"claimantType":{"type":"string"},"dateReceivedByVa":{"type":"boolean"},"hasUnassociatedIncomes":{"type":"boolean"},"unassociatedIncomes":{"$ref":"#/definitions/unassociatedIncomes"},"hasAssociatedIncomes":{"type":"boolean"},"associatedIncomes":{"$ref":"#/definitions/associatedIncomes"},"hasOwnedAssets":{"type":"boolean"},"ownedAssets":{"$ref":"#/definitions/ownedAssets"},"hasRoyaltiesAndOtherProperties":{"type":"boolean"},"royaltiesAndOtherProperties":{"$ref":"#/definitions/royaltiesAndOtherProperties"},"hasAssetTransfers":{"type":"boolean"},"assetTransfers":{"$ref":"#/definitions/assetTransfers"},"hasTrusts":{"type":"boolean"},"trusts":{"$ref":"#/definitions/trusts"},"hasAnnuities":{"type":"boolean"},"annuities":{"$ref":"#/definitions/annuities"},"hasUnreportedAssets":{"type":"boolean"},"unreportedAssets":{"$ref":"#/definitions/unreportedAssets"},"hasDiscontinuedIncomes":{"type":"boolean"},"discontinuedIncomes":{"$ref":"#/definitions/discontinuedIncomes"},"hasIncomeReceiptWaivers":{"type":"boolean"},"incomeReceiptWaivers":{"$ref":"#/definitions/incomeReceiptWaivers"},"statementOfTruthCertified":{"type":"boolean"},"statementOfTruthSignature":{"type":"string"},"veteranFullName":{"$ref":"#/definitions/fullName"},"claimantFullName":{"$ref":"#/definitions/fullName"},"veteranSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"claimantSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"vaFileNumber":{"$ref":"#/definitions/centralMailVaFile"},"claimantPhone":{"$ref":"#/definitions/usaPhone"},"incomeNetWorthDateRange":{"$ref":"#/definitions/dateRange"},"files":{"$ref":"#/definitions/files"}},"required":["veteranFullName","statementOfTruthCertified","statementOfTruthSignature"]} diff --git a/dist/versions/24.3.3/21P-527EZ-KITCHEN_SINK-cypress-example.json b/dist/versions/24.3.3/21P-527EZ-KITCHEN_SINK-cypress-example.json new file mode 100644 index 00000000..26f2d838 --- /dev/null +++ b/dist/versions/24.3.3/21P-527EZ-KITCHEN_SINK-cypress-example.json @@ -0,0 +1 @@ +{"data":{"veteranFullName":{"first":"John","middle":"Edmund","last":"Doe","suffix":"Sr."},"veteranSocialSecurityNumber":"333224444","vaClaimsHistory":true,"vaFileNumber":"12345678","veteranDateOfBirth":"1960-01-01","serviceBranch":{"army":true,"navy":true},"activeServiceDateRange":{"from":"2003-03-02","to":"2007-03-20"},"serviceNumber":"123456","serveUnderOtherNames":true,"view:isAddingOtherNames":false,"previousNames":[{"previousFullName":{"first":"Joseph","last":"Doe"}}],"placeOfSeparation":"West Brookfield, MA","powStatus":true,"powDateRange":{"from":"1971-02-26","to":"1973-03-02"},"socialSecurityDisability":false,"medicalCondition":false,"nursingHome":true,"medicaidCoverage":false,"medicaidStatus":true,"specialMonthlyPension":false,"vaTreatmentHistory":true,"view:isAddingVAMedicalCenters":false,"vaMedicalCenters":[{"medicalCenter":"Dallas VA Medical Center"}],"federalTreatmentHistory":true,"view:isAddingFederalMedicalCenters":false,"federalMedicalCenters":[{"medicalCenter":"Memphis Health Care"}],"currentEmployment":true,"view:isAddingCurrentEmployment":false,"currentEmployers":[{"jobType":"Customer service","jobHoursWeek":"20"}],"maritalStatus":"SEPARATED","marriages":[{"spouseFullName":{"first":"Jessica","middle":"Middle","last":"Doe"},"view:pastMarriage":{"reasonForSeparation":"OTHER","otherExplanation":"Other reason","dateOfMarriage":"1989-03-02","dateOfSeparation":"1990-03-02","locationOfMarriage":"Dallas","locationOfSeparation":"San Antonio, TX"}},{"spouseFullName":{"first":"Jane","middle":"Middle","last":"Doe"},"view:pastMarriage":{"reasonForSeparation":"DEATH","dateOfMarriage":"1989-03-02","dateOfSeparation":"1990-03-02","locationOfMarriage":"Dallas","locationOfSeparation":"San Antonio, TX"}},{"spouseFullName":{"first":"Meg","middle":"Middle","last":"Doe"},"view:currentMarriage":{"dateOfMarriage":"1994-03-02","locationOfMarriage":"North Adams, MA","marriageType":"OTHER","otherExplanation":"Other reason"}}],"spouseDateOfBirth":"1960-01-01","spouseSocialSecurityNumber":"333224444","spouseIsVeteran":true,"spouseVaFileNumber":"23423444","view:liveWithSpouse":false,"spouseAddress":{"street":"123 7th st","street2":"Apt 3","city":"Pittsfield","country":"USA","state":"MA","postalCode":"01050"},"reasonForCurrentSeparation":"OTHER","otherExplanation":"Personal reason","currentSpouseMonthlySupport":2444,"currentSpouseMaritalHistory":"YES","spouseMarriages":[{"dateOfMarriage":"1980-03-02","locationOfMarriage":"Seattle, WA","spouseFullName":{"first":"Joe","middle":"F","last":"Generic","suffix":"Jr."},"reasonForSeparation":"DEATH","dateOfSeparation":"1990-03-02","locationOfSeparation":"Tacoma, WA"},{"dateOfMarriage":"1995-03-02","locationOfMarriage":"Seattle, WA","spouseFullName":{"first":"John","middle":"F","last":"Person","suffix":"Jr."},"reasonForSeparation":"OTHER","otherExplanation":"Other reason","dateOfSeparation":"2005-03-02","locationOfSeparation":"Tacoma, WA"}],"view:hasDependents":true,"view:isAddingDependents":false,"dependents":[{"childInHousehold":false,"childAddress":{"street":"123 8th st","city":"Hadley","country":"USA","state":"ME","postalCode":"01050"},"personWhoLivesWithChild":{"first":"Joe","middle":"Middle","last":"Smith"},"monthlyPayment":3444,"childPlaceOfBirth":"Tallahassee, FL","childSocialSecurityNumber":"333224444","childRelationship":"BIOLOGICAL","previouslyMarried":true,"disabled":false,"married":true,"fullName":{"first":"Emily","middle":"Anne","last":"Doe"},"childDateOfBirth":"2000-03-03"},{"childInHousehold":true,"childPlaceOfBirth":"Troy, MT","childSocialSecurityNumber":"333224444","childRelationship":"ADOPTED","previouslyMarried":false,"disabled":false,"attendingCollege":true,"fullName":{"first":"Bobby","middle":"Nolan","last":"Doe"},"childDateOfBirth":"2005-09-22"},{"childInHousehold":true,"childAddress":{"street":"123 8th st","city":"Hadley","country":"USA","state":"ME","postalCode":"01050"},"monthlyPayment":2300,"childPlaceOfBirth":"Troy, MT","childSocialSecurityNumber":"333224444","childRelationship":"BIOLOGICAL","previouslyMarried":false,"disabled":true,"fullName":{"first":"Jack","middle":"Sawyer","last":"Doe"},"childDateOfBirth":"2010-04-01"}],"totalNetWorth":false,"netWorthEstimation":1550,"hasCareExpenses":true,"careExpenses":[{"recipients":"VETERAN","provider":"NYC Care Provider","careType":"CARE_FACILITY","ratePerHour":100,"hoursPerWeek":"20","careDateRange":{"from":"2020-08-01","to":"2023-05-25"},"paymentFrequency":"ONCE_MONTH","paymentAmount":2500},{"recipients":"SPOUSE","provider":"MA Care Provider","careType":"IN_HOME_CARE_PROVIDER","ratePerHour":150,"hoursPerWeek":"15","careDateRange":{"from":"2021-08-01","to":"2022-05-25"},"paymentFrequency":"ONCE_MONTH","paymentAmount":1500},{"recipients":"DEPENDENT","childName":"Joe Doe","provider":"LA Care Provider","careType":"CARE_FACILITY","ratePerHour":200,"hoursPerWeek":"10","careDateRange":{"from":"2020-08-01"},"noCareEndDate":true,"paymentFrequency":"ONCE_YEAR","paymentAmount":22500}],"hasMedicalExpenses":true,"medicalExpenses":[{"recipients":"VETERAN","provider":"Funeral Home","purpose":"Burial expenses","paymentDate":"2020-03-15","paymentFrequency":"ONE_TIME","paymentAmount":10000},{"recipients":"DEPENDENT","childName":"Joe Doe","provider":"Health Provider","purpose":"Medical expenses","paymentDate":"2023-07-01","paymentFrequency":"ONE_TIME","paymentAmount":10000},{"recipients":"SPOUSE","provider":"Health Provider","purpose":"Medical expenses","paymentDate":"2023-07-01","paymentFrequency":"ONCE_MONTH","paymentAmount":500},{"recipients":"DEPENDENT","childName":"Joe Doe","provider":"Health Provider","purpose":"Medical expenses","paymentDate":"2023-07-01","paymentFrequency":"ONCE_YEAR","paymentAmount":5000},{"recipients":"SPOUSE","provider":"Health Provider","purpose":"Medical expenses","paymentDate":"2023-07-01","paymentFrequency":"ONCE_MONTH","paymentAmount":200},{"recipients":"DEPENDENT","childName":"Joe Doe","provider":"Health Provider","purpose":"Medical fee","paymentDate":"2023-07-01","paymentFrequency":"ONE_TIME","paymentAmount":100}],"transferredAssets":true,"homeOwnership":true,"homeAcreageMoreThanTwo":true,"homeAcreageValue":75000,"landMarketable":true,"receivesIncome":true,"view:isAddingIncomeSources":false,"incomeSources":[{"typeOfIncome":"SOCIAL_SECURITY","receiver":"DEPENDENT","dependentName":"Bobby Doe","payer":"John Doe","amount":278.05},{"typeOfIncome":"INTEREST_DIVIDEND","receiver":"VETERAN","payer":"John Doe","amount":78.5},{"typeOfIncome":"OTHER","otherTypeExplanation":"part-time Uber","receiver":"SPOUSE","payer":"John Doe","amount":278.99},{"typeOfIncome":"OTHER","otherTypeExplanation":"full time job","receiver":"VETERAN","payer":"John Doe","amount":3278.75}],"view:usingDirectDeposit":true,"bankAccount":{"accountType":"checking","bankName":"Best Bank","accountNumber":"001122334455","routingNumber":"123123123"},"veteranAddress":{"street":"123 8th st","street2":"A-3","city":"Hadley","country":"USA","state":"ME","postalCode":"01050","isMilitary":false},"email":"test@example.com","phone":"5551234567","mobilePhone":"5551234567","internationalPhone":"001-555-123-4567","view:aidAttendance":true,"isOver65":false,"noRapidProcessing":true,"statementOfTruthCertified":true,"statementOfTruthSignature":"John Edmund Doe"}} diff --git a/dist/versions/24.3.3/21P-527EZ-KITCHEN_SINK-example.json b/dist/versions/24.3.3/21P-527EZ-KITCHEN_SINK-example.json new file mode 100644 index 00000000..9a392173 --- /dev/null +++ b/dist/versions/24.3.3/21P-527EZ-KITCHEN_SINK-example.json @@ -0,0 +1 @@ +{"veteranFullName":{"first":"John","middle":"Edmund","last":"Doe","suffix":"Sr."},"veteranSocialSecurityNumber":"333224444","vaClaimsHistory":true,"vaFileNumber":"12345678","veteranDateOfBirth":"1960-01-01","serviceBranch":{"army":true,"navy":true},"activeServiceDateRange":{"from":"2003-03-02","to":"2007-03-20"},"serviceNumber":"123456","serveUnderOtherNames":true,"previousNames":[{"previousFullName":{"first":"Joseph","last":"Doe"}}],"placeOfSeparation":"West Brookfield, MA","powStatus":true,"powDateRange":{"from":"1971-02-26","to":"1973-03-02"},"socialSecurityDisability":false,"medicalCondition":false,"nursingHome":true,"medicaidCoverage":false,"medicaidStatus":true,"specialMonthlyPension":false,"vaTreatmentHistory":true,"vaMedicalCenters":[{"medicalCenter":"Dallas VA Medical Center"}],"federalTreatmentHistory":true,"federalMedicalCenters":[{"medicalCenter":"Memphis Health Care"}],"currentEmployment":true,"currentEmployers":[{"jobType":"Customer service","jobHoursWeek":"20"}],"maritalStatus":"SEPARATED","marriages":[{"spouseFullName":{"first":"Jessica","middle":"Middle","last":"Doe"},"reasonForSeparation":"OTHER","otherExplanation":"Other reason","dateOfMarriage":"1989-03-02","dateOfSeparation":"1990-03-02","locationOfMarriage":"Dallas","locationOfSeparation":"San Antonio, TX"},{"spouseFullName":{"first":"Jane","middle":"Middle","last":"Doe"},"reasonForSeparation":"DEATH","dateOfMarriage":"1989-03-02","dateOfSeparation":"1990-03-02","locationOfMarriage":"Dallas","locationOfSeparation":"San Antonio, TX"},{"spouseFullName":{"first":"Meg","middle":"Middle","last":"Doe"},"dateOfMarriage":"1994-03-02","locationOfMarriage":"North Adams, MA","marriageType":"OTHER","otherExplanation":"Other reason"}],"spouseDateOfBirth":"1960-01-01","spouseSocialSecurityNumber":"333224444","spouseIsVeteran":true,"spouseVaFileNumber":"23423444","spouseAddress":{"street":"123 7th st","street2":"Apt 3","city":"Pittsfield","country":"USA","state":"MA","postalCode":"01050"},"reasonForCurrentSeparation":"OTHER","otherExplanation":"Personal reason","currentSpouseMonthlySupport":2444,"currentSpouseMaritalHistory":"YES","spouseMarriages":[{"dateOfMarriage":"1980-03-02","locationOfMarriage":"Seattle, WA","spouseFullName":{"first":"Joe","middle":"F","last":"Generic","suffix":"Jr."},"reasonForSeparation":"DEATH","dateOfSeparation":"1990-03-02","locationOfSeparation":"Tacoma, WA"},{"dateOfMarriage":"1995-03-02","locationOfMarriage":"Seattle, WA","spouseFullName":{"first":"John","middle":"F","last":"Person","suffix":"Jr."},"reasonForSeparation":"OTHER","otherExplanation":"Other reason","dateOfSeparation":"2005-03-02","locationOfSeparation":"Tacoma, WA"}],"dependents":[{"childInHousehold":false,"childAddress":{"street":"123 8th st","city":"Hadley","country":"USA","state":"ME","postalCode":"01050"},"personWhoLivesWithChild":{"first":"Joe","middle":"Middle","last":"Smith"},"monthlyPayment":3444,"childPlaceOfBirth":"Tallahassee, FL","childSocialSecurityNumber":"333224444","childRelationship":"BIOLOGICAL","previouslyMarried":true,"disabled":false,"married":true,"fullName":{"first":"Emily","middle":"Anne","last":"Doe"},"childDateOfBirth":"2000-03-03"},{"childInHousehold":true,"childPlaceOfBirth":"Troy, MT","childSocialSecurityNumber":"333224444","childRelationship":"ADOPTED","previouslyMarried":false,"disabled":false,"attendingCollege":true,"fullName":{"first":"Bobby","middle":"Nolan","last":"Doe"},"childDateOfBirth":"2005-09-22"},{"childInHousehold":true,"childAddress":{"street":"123 8th st","city":"Hadley","country":"USA","state":"ME","postalCode":"01050"},"monthlyPayment":2300,"childPlaceOfBirth":"Troy, MT","childSocialSecurityNumber":"333224444","childRelationship":"BIOLOGICAL","previouslyMarried":false,"disabled":true,"fullName":{"first":"Jack","middle":"Sawyer","last":"Doe"},"childDateOfBirth":"2010-04-01"}],"totalNetWorth":false,"netWorthEstimation":1550,"hasCareExpenses":true,"careExpenses":[{"recipients":"VETERAN","provider":"NYC Care Provider","careType":"CARE_FACILITY","ratePerHour":100,"hoursPerWeek":"20","careDateRange":{"from":"2020-08-01","to":"2023-05-25"},"paymentFrequency":"ONCE_MONTH","paymentAmount":2500},{"recipients":"SPOUSE","provider":"MA Care Provider","careType":"IN_HOME_CARE_PROVIDER","ratePerHour":150,"hoursPerWeek":"15","careDateRange":{"from":"2021-08-01","to":"2022-05-25"},"paymentFrequency":"ONCE_MONTH","paymentAmount":1500},{"recipients":"DEPENDENT","childName":"Joe Doe","provider":"LA Care Provider","careType":"CARE_FACILITY","ratePerHour":200,"hoursPerWeek":"10","careDateRange":{"from":"2020-08-01"},"noCareEndDate":true,"paymentFrequency":"ONCE_YEAR","paymentAmount":22500}],"hasMedicalExpenses":true,"medicalExpenses":[{"recipients":"VETERAN","provider":"Funeral Home","purpose":"Burial expenses","paymentDate":"2020-03-15","paymentFrequency":"ONE_TIME","paymentAmount":10000},{"recipients":"DEPENDENT","childName":"Joe Doe","provider":"Health Provider","purpose":"Medical expenses","paymentDate":"2023-07-01","paymentFrequency":"ONE_TIME","paymentAmount":10000},{"recipients":"SPOUSE","provider":"Health Provider","purpose":"Medical expenses","paymentDate":"2023-07-01","paymentFrequency":"ONCE_MONTH","paymentAmount":500},{"recipients":"DEPENDENT","childName":"Joe Doe","provider":"Health Provider","purpose":"Medical expenses","paymentDate":"2023-07-01","paymentFrequency":"ONCE_YEAR","paymentAmount":5000},{"recipients":"SPOUSE","provider":"Health Provider","purpose":"Medical expenses","paymentDate":"2023-07-01","paymentFrequency":"ONCE_MONTH","paymentAmount":200},{"recipients":"DEPENDENT","childName":"Joe Doe","provider":"Health Provider","purpose":"Medical fee","paymentDate":"2023-07-01","paymentFrequency":"ONE_TIME","paymentAmount":100}],"transferredAssets":true,"homeOwnership":true,"homeAcreageMoreThanTwo":true,"homeAcreageValue":75000,"landMarketable":true,"receivesIncome":true,"incomeSources":[{"typeOfIncome":"SOCIAL_SECURITY","receiver":"DEPENDENT","dependentName":"Bobby Doe","payer":"John Doe","amount":278.05},{"typeOfIncome":"INTEREST_DIVIDEND","receiver":"VETERAN","payer":"John Doe","amount":78.5},{"typeOfIncome":"OTHER","otherTypeExplanation":"part-time Uber","receiver":"SPOUSE","payer":"John Doe","amount":278.99},{"typeOfIncome":"OTHER","otherTypeExplanation":"full time job","receiver":"VETERAN","payer":"John Doe","amount":3278.75}],"bankAccount":{"accountType":"checking","bankName":"Best Bank","accountNumber":"001122334455","routingNumber":"123123123"},"veteranAddress":{"street":"123 8th st","street2":"A-3","city":"Hadley","country":"USA","state":"ME","postalCode":"01050","isMilitary":false},"email":"test@example.com","phone":"5551234567","mobilePhone":"5551234567","internationalPhone":"001-555-123-4567","isOver65":false,"noRapidProcessing":true,"statementOfTruthCertified":true,"statementOfTruthSignature":"John Edmund Doe"} diff --git a/dist/versions/24.3.3/21P-527EZ-KITCHEN_SINK-schema.json b/dist/versions/24.3.3/21P-527EZ-KITCHEN_SINK-schema.json new file mode 100644 index 00000000..69a944d9 --- /dev/null +++ b/dist/versions/24.3.3/21P-527EZ-KITCHEN_SINK-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"APPLICATION FOR PENSION","type":"object","additionalProperties":false,"anyOf":[{"required":["vaFileNumber"]},{"required":["veteranSocialSecurityNumber"]}],"definitions":{"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}},"bankAccount":{"type":"object","properties":{"accountType":{"type":"string","enum":["checking","savings"]},"routingNumber":{"type":"string","pattern":"^\\d{9}$"},"accountNumber":{"type":"string"},"bankName":{"type":"string"}}},"noSuffixMarriages":{"type":"array","items":{"type":"object","properties":{"dateOfMarriage":{"$ref":"#/definitions/date"},"locationOfMarriage":{"type":"string"},"otherExplanation":{"type":"string"},"marriageType":{"type":"string"},"spouseFullName":{"$ref":"#/definitions/fullNameNoSuffix"},"dateOfSeparation":{"$ref":"#/definitions/date"},"locationOfSeparation":{"type":"string"},"reasonForSeparation":{"type":"string"}}}},"fullNameNoSuffix":{"type":"object","additionalProperties":false,"required":["first","last"],"properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30}}},"date":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"maritalStatus":{"type":"string","enum":["MARRIED","NEVER_MARRIED","SEPARATED","WIDOWED","DIVORCED"]},"incomeSources":{"type":"array","items":{"type":"object","required":["typeOfIncome","receiver","payer","amount"],"properties":{"typeOfIncome":{"type":"string","enum":["SOCIAL_SECURITY","INTEREST_DIVIDEND","CIVIL_SERVICE","PENSION_RETIREMENT","OTHER"]},"otherTypeExplanation":{"type":"string"},"receiver":{"type":"string"},"childName":{"type":"string"},"payer":{"type":"string"},"amount":{"type":"number","default":0},"dependentName":{"type":"string"}}}},"careExpenses":{"type":"array","items":{"type":"object","required":["recipients","provider","careType","paymentFrequency","paymentAmount"],"properties":{"recipients":{"type":"string","enum":["VETERAN","SPOUSE","DEPENDENT"]},"childName":{"type":"string"},"provider":{"type":"string"},"careType":{"type":"string","enum":["CARE_FACILITY","IN_HOME_CARE_PROVIDER"]},"ratePerHour":{"type":"number"},"hoursPerWeek":{"type":"string"},"careDateRange":{"$ref":"#/definitions/dateRange"},"noCareEndDate":{"type":"boolean"},"paymentFrequency":{"type":"string","enum":["ONCE_MONTH","ONCE_YEAR"]},"paymentAmount":{"type":"number"}}}},"medicalExpenses":{"type":"array","items":{"type":"object","required":["recipients","provider","purpose","paymentDate","paymentFrequency","paymentAmount"],"properties":{"recipients":{"type":"string","enum":["VETERAN","SPOUSE","DEPENDENT"]},"childName":{"type":"string"},"provider":{"type":"string"},"purpose":{"type":"string"},"paymentDate":{"$ref":"#/definitions/date"},"paymentFrequency":{"type":"string","enum":["ONCE_MONTH","ONCE_YEAR","ONE_TIME"]},"paymentAmount":{"type":"number"}}}},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"centralMailVaFile":{"type":"string","pattern":"^\\d{8,9}$"},"profileAddress":{"type":"object","properties":{"isMilitary":{"type":"boolean"},"view:militaryBaseDescription":{"type":"object","properties":{}},"country":{"type":"string","enum":["USA","AFG","ALB","DZA","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GTM","GIN","GNB","GUY","HTI","HMD","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","ISR","ITA","JAM","JPN","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","ANT","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","NOR","OMN","PAK","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","QAT","REU","ROU","RUS","RWA","SHN","KNA","LCA","SPM","VCT","SMR","STP","SAU","SEN","SCG","SYC","SLE","SGP","SVK","SVN","SLB","SOM","ZAF","SGS","ESP","LKA","SDN","SUR","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","URY","UZB","VUT","VAT","VEN","VNM","VGB","WLF","ESH","YEM","ZMB","ZWE"],"enumNames":["United States","Afghanistan","Albania","Algeria","Andorra","Angola","Anguilla","Antarctica","Antigua","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia","Botswana","Bouvet Island","Brazil","British Indian Ocean Territories","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman","Central African Republic","Chad","Chile","China","Christmas Island","Cocos Islands","Colombia","Comoros","Congo","Democratic Republic of the Congo","Cook Islands","Costa Rica","Ivory Coast","Croatia","Cuba","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Falkland Islands","Faroe Islands","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guatemala","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel","Italy","Jamaica","Japan","Jordan","Kazakhstan","Kenya","Kiribati","North Korea","South Korea","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands Antilles","Netherlands","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk","Norway","Oman","Pakistan","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn","Poland","Portugal","Qatar","Reunion","Romania","Russia","Rwanda","Saint Helena","Saint Kitts and Nevis","Saint Lucia","Saint Pierre and Miquelon","Saint Vincent and the Grenadines","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","Spain","Sri Lanka","Sudan","Suriname","Swaziland","Sweden","Switzerland","Syrian Arab Republic","Taiwan","Tajikistan","Tanzania","Thailand","Timor-Leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","Uruguay","Uzbekistan","Vanuatu","Vatican","Venezuela","Vietnam","British Virgin Islands","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"]},"street":{"type":"string","minLength":1,"maxLength":100},"street2":{"type":"string","minLength":1,"maxLength":100},"street3":{"type":"string","minLength":1,"maxLength":100},"city":{"type":"string","minLength":1,"maxLength":100},"state":{"type":"string"},"postalCode":{"type":"string"}}},"usaPhone":{"type":"string","pattern":"^\\d{10}$"},"marriages":{"type":"array","items":{"type":"object","properties":{"dateOfMarriage":{"$ref":"#/definitions/date"},"locationOfMarriage":{"type":"string"},"otherExplanation":{"type":"string"},"marriageType":{"type":"string"},"spouseFullName":{"$ref":"#/definitions/fullName"},"dateOfSeparation":{"$ref":"#/definitions/date"},"locationOfSeparation":{"type":"string"},"reasonForSeparation":{"type":"string"}}}},"files":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"size":{"type":"integer"},"confirmationCode":{"type":"string"}}}}},"properties":{"email":{"type":"string","format":"email"},"vaClaimsHistory":{"type":"boolean"},"internationalPhone":{"type":"string"},"serviceBranch":{"type":"object","properties":{"army":{"type":"boolean"},"navy":{"type":"boolean"},"airForce":{"type":"boolean"},"coastGuard":{"type":"boolean"},"marineCorps":{"type":"boolean"},"spaceForce":{"type":"boolean"},"usphs":{"type":"boolean"},"noaa":{"type":"boolean"}}},"activeServiceDateRange":{"$ref":"#/definitions/dateRange"},"serviceNumber":{"type":"string"},"serveUnderOtherNames":{"type":"boolean"},"previousNames":{"type":"array","items":{"type":"object","properties":{"previousFullName":{"$ref":"#/definitions/fullName"}}}},"placeOfSeparation":{"type":"string"},"noRapidProcessing":{"type":"boolean"},"powStatus":{"type":"boolean"},"isOver65":{"type":"boolean"},"socialSecurityDisability":{"type":"boolean"},"medicalCondition":{"type":"boolean"},"nursingHome":{"type":"boolean"},"medicaidCoverage":{"type":"boolean"},"medicaidStatus":{"type":"boolean"},"specialMonthlyPension":{"type":"boolean"},"vaTreatmentHistory":{"type":"boolean"},"vaMedicalCenters":{"type":"array","items":{"type":"object","required":["medicalCenter"],"properties":{"medicalCenter":{"type":"string"}}}},"federalTreatmentHistory":{"type":"boolean"},"federalMedicalCenters":{"type":"array","items":{"type":"object","required":["medicalCenter"],"properties":{"medicalCenter":{"type":"string"}}}},"currentEmployment":{"type":"boolean"},"currentEmployers":{"type":"array","items":{"type":"object","required":["jobType","jobHoursWeek"],"properties":{"jobType":{"type":"string"},"jobHoursWeek":{"type":"string"}}}},"previousEmployers":{"type":"array","items":{"type":"object","required":["jobType","jobHoursWeek","jobTitle"],"properties":{"jobDate":{"$ref":"#/definitions/date"},"jobType":{"type":"string"},"jobHoursWeek":{"type":"string"},"jobTitle":{"type":"string"}}}},"maritalStatus":{"$ref":"#/definitions/maritalStatus"},"spouseIsVeteran":{"type":"boolean"},"liveWithSpouse":{"type":"boolean"},"reasonForCurrentSeparation":{"type":"string","enum":["MEDICAL_CARE","LOCATION","RELATIONSHIP","OTHER"]},"otherExplanation":{"type":"string"},"reasonForNotLivingWithSpouse":{"type":"string"},"currentSpouseMonthlySupport":{"type":"number"},"currentSpouseMaritalHistory":{"type":"string","enum":["YES","NO","IDK"]},"dependents":{"type":"array","items":{"type":"object","properties":{"fullName":{"$ref":"#/definitions/fullNameNoSuffix"},"childDateOfBirth":{"$ref":"#/definitions/date"},"childInHousehold":{"type":"boolean"},"childAddress":{"$ref":"#/definitions/profileAddress"},"personWhoLivesWithChild":{"$ref":"#/definitions/fullName"},"monthlyPayment":{"type":"number"},"childPlaceOfBirth":{"type":"string"},"childSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"childRelationship":{"type":"string","enum":["BIOLOGICAL","ADOPTED","STEP_CHILD"]},"attendingCollege":{"type":"boolean"},"disabled":{"type":"boolean"},"previouslyMarried":{"type":"boolean"},"married":{"type":"boolean"}}}},"totalNetWorth":{"type":"boolean"},"netWorthEstimation":{"type":"number"},"transferredAssets":{"type":"boolean"},"homeOwnership":{"type":"boolean"},"homeAcreageMoreThanTwo":{"type":"boolean"},"homeAcreageValue":{"type":"number"},"landMarketable":{"type":"boolean"},"receivesIncome":{"type":"boolean"},"incomeSources":{"$ref":"#/definitions/incomeSources"},"hasCareExpenses":{"type":"boolean"},"careExpenses":{"$ref":"#/definitions/careExpenses"},"hasMedicalExpenses":{"type":"boolean"},"medicalExpenses":{"$ref":"#/definitions/medicalExpenses"},"statementOfTruthCertified":{"type":"boolean"},"statementOfTruthSignature":{"type":"string"},"veteranFullName":{"$ref":"#/definitions/fullName"},"veteranSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"vaFileNumber":{"$ref":"#/definitions/centralMailVaFile"},"veteranAddress":{"$ref":"#/definitions/profileAddress"},"dayPhone":{"$ref":"#/definitions/usaPhone"},"nightPhone":{"$ref":"#/definitions/usaPhone"},"phone":{"$ref":"#/definitions/usaPhone"},"mobilePhone":{"$ref":"#/definitions/usaPhone"},"powDateRange":{"$ref":"#/definitions/dateRange"},"veteranDateOfBirth":{"$ref":"#/definitions/date"},"spouseDateOfBirth":{"$ref":"#/definitions/date"},"spouseSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"spouseVaFileNumber":{"$ref":"#/definitions/centralMailVaFile"},"spouseAddress":{"$ref":"#/definitions/profileAddress"},"marriages":{"$ref":"#/definitions/noSuffixMarriages"},"spouseMarriages":{"$ref":"#/definitions/marriages"},"bankAccount":{"$ref":"#/definitions/bankAccount"},"files":{"$ref":"#/definitions/files"}},"required":["veteranFullName","veteranAddress","statementOfTruthCertified","statementOfTruthSignature"]} diff --git a/dist/versions/24.3.3/21P-527EZ-OVERFLOW-cypress-example.json b/dist/versions/24.3.3/21P-527EZ-OVERFLOW-cypress-example.json new file mode 100644 index 00000000..4e6c855c --- /dev/null +++ b/dist/versions/24.3.3/21P-527EZ-OVERFLOW-cypress-example.json @@ -0,0 +1 @@ +{"data":{"veteranFullName":{"first":"John","middle":"Edmund","last":"Doe","suffix":"Sr."},"veteranSocialSecurityNumber":"333224444","vaClaimsHistory":true,"vaFileNumber":"12345678","veteranDateOfBirth":"1960-01-01","serviceBranch":{"army":true,"navy":true},"activeServiceDateRange":{"from":"2003-03-02","to":"2007-03-20"},"serviceNumber":"123456","serveUnderOtherNames":true,"view:isAddingOtherNames":false,"previousNames":[{"previousFullName":{"first":"Joseph","last":"Doe"}},{"previousFullName":{"first":"Jarrod","last":"Doe"}}],"placeOfSeparation":"West Brookfield, MA","powStatus":true,"powDateRange":{"from":"1971-02-26","to":"1973-03-02"},"socialSecurityDisability":false,"medicalCondition":false,"nursingHome":true,"medicaidCoverage":false,"medicaidStatus":true,"specialMonthlyPension":false,"vaTreatmentHistory":true,"view:isAddingVAMedicalCenters":false,"vaMedicalCenters":[{"medicalCenter":"Dallas Fort Worth VA Medical Center"}],"federalTreatmentHistory":true,"view:isAddingFederalMedicalCenters":false,"federalMedicalCenters":[{"medicalCenter":"Memphis Health Care"},{"medicalCenter":"Nashville Health Care"}],"currentEmployment":true,"view:isAddingCurrentEmployment":false,"currentEmployers":[{"jobType":"Customer service","jobHoursWeek":"20"},{"jobType":"Customer service","jobHoursWeek":"20"}],"maritalStatus":"SEPARATED","marriages":[{"spouseFullName":{"first":"Jessica","middle":"Middle","last":"Doe"},"view:pastMarriage":{"dateOfMarriage":"1989-03-02","locationOfMarriage":"Dallas","reasonForSeparation":"OTHER","otherExplanation":"Personal reason thats too long to write an explanation for in this form field","dateOfSeparation":"1990-03-02","locationOfSeparation":"San Antonio, TX"}},{"spouseFullName":{"first":"Jane","middle":"Middle","last":"Doe"},"view:pastMarriage":{"dateOfMarriage":"1989-03-02","locationOfMarriage":"Dallas","reasonForSeparation":"DEATH","dateOfSeparation":"1990-03-02","locationOfSeparation":"San Antonio, TX"}},{"spouseFullName":{"first":"Jenniebenniefofenny","middle":"Middle","last":"Danedanedanedanedanedanedane"},"view:pastMarriage":{"dateOfMarriage":"1983-03-02","locationOfMarriage":"Dallas","reasonForSeparation":"DIVORCE","dateOfSeparation":"1984-03-02","locationOfSeparation":"San Antonio, TX"}},{"spouseFullName":{"first":"Jill","middle":"Middle","last":"Doe"},"view:pastMarriage":{"dateOfMarriage":"1999-10-02","locationOfMarriage":"Nashville, TN","reasonForSeparation":"DIVORCE","dateOfSeparation":"2001-03-02","locationOfSeparation":"San Antonio, TX"}},{"spouseFullName":{"first":"Meg","middle":"Middle","last":"Doe"},"view:currentMarriage":{"dateOfMarriage":"1994-03-02","locationOfMarriage":"North Adams, MA","marriageType":"OTHER","otherExplanation":"Other reason"}}],"spouseDateOfBirth":"1960-01-01","spouseSocialSecurityNumber":"333224444","spouseIsVeteran":true,"spouseVaFileNumber":"23423444","view:liveWithSpouse":false,"spouseAddress":{"street":"123 7th st","street2":"Apt 3","city":"Pittsfield","country":"USA","state":"MA","postalCode":"01050"},"reasonForCurrentSeparation":"OTHER","otherExplanation":"Personal reason thats too long to write an explanation for in this form field","currentSpouseMonthlySupport":2444,"currentSpouseMaritalHistory":"YES","spouseMarriages":[{"dateOfMarriage":"1980-03-02","locationOfMarriage":"Seattle, WA","spouseFullName":{"first":"Joe","middle":"F","last":"Generic","suffix":"Jr."},"reasonForSeparation":"OTHER","otherExplanation":"Other reason thats too long to write an explanation for in this form field","dateOfSeparation":"1990-03-02","locationOfSeparation":"Tacoma, WA"},{"dateOfMarriage":"1995-03-02","locationOfMarriage":"Seattle, WA","spouseFullName":{"first":"John","middle":"F","last":"Person","suffix":"Jr."},"reasonForSeparation":"OTHER","otherExplanation":"Other reason","dateOfSeparation":"2005-03-02","locationOfSeparation":"Tacoma, WA"}],"view:hasDependents":true,"view:isAddingDependents":false,"dependents":[{"childInHousehold":false,"childAddress":{"street":"123 8th st","city":"Hadley","country":"USA","state":"ME","postalCode":"01050"},"personWhoLivesWithChild":{"first":"Joe","middle":"Middle","last":"Smith"},"monthlyPayment":3444,"childPlaceOfBirth":"Tallahassee, FL","childSocialSecurityNumber":"333224444","childRelationship":"BIOLOGICAL","previouslyMarried":true,"disabled":false,"married":true,"fullName":{"first":"Emily","middle":"Anne","last":"Doe"},"childDateOfBirth":"2000-03-03"},{"childInHousehold":true,"childPlaceOfBirth":"Troy, MT","childSocialSecurityNumber":"333224444","childRelationship":"ADOPTED","previouslyMarried":false,"attendingCollege":true,"disabled":false,"fullName":{"first":"Bobby","middle":"Nolan","last":"Doe"},"childDateOfBirth":"2005-09-22"},{"childInHousehold":true,"childAddress":{"street":"123 8th st","city":"Hadley","country":"USA","state":"ME","postalCode":"01050"},"monthlyPayment":2300,"childPlaceOfBirth":"Troy, MT","childSocialSecurityNumber":"333224444","childRelationship":"BIOLOGICAL","previouslyMarried":false,"disabled":true,"fullName":{"first":"Jack","middle":"Sawyer","last":"Doe"},"childDateOfBirth":"2010-04-01"},{"childInHousehold":true,"childAddress":{"street":"123 8th st","city":"Hadley","country":"USA","state":"ME","postalCode":"01050"},"monthlyPayment":3300,"childPlaceOfBirth":"Portland, ME","childSocialSecurityNumber":"122222222","childRelationship":"ADOPTED","previouslyMarried":false,"disabled":false,"fullName":{"first":"Sam","middle":"Jason","last":"Doe"},"childDateOfBirth":"2020-06-29"}],"totalNetWorth":false,"netWorthEstimation":1550,"hasCareExpenses":true,"careExpenses":[{"recipients":"VETERAN","provider":"NYC Care Provider Family Medical Facility","careType":"CARE_FACILITY","ratePerHour":100,"hoursPerWeek":"20","careDateRange":{"from":"2020-08-01","to":"2023-05-25"},"paymentFrequency":"ONCE_MONTH","paymentAmount":2500},{"recipients":"SPOUSE","provider":"MA Care Provider","careType":"IN_HOME_CARE_PROVIDER","ratePerHour":150,"hoursPerWeek":"15","careDateRange":{"from":"2021-08-01","to":"2022-05-25"},"paymentFrequency":"ONCE_MONTH","paymentAmount":1500},{"recipients":"DEPENDENT","childName":"Joe Doe","provider":"LA Care Provider","careType":"CARE_FACILITY","ratePerHour":200,"hoursPerWeek":"10","careDateRange":{"from":"2020-08-01"},"noCareEndDate":true,"paymentFrequency":"ONCE_YEAR","paymentAmount":22500}],"hasMedicalExpenses":true,"medicalExpenses":[{"recipients":"VETERAN","provider":"Funeral Home","purpose":"Burial expenses","paymentDate":"2020-03-15","paymentFrequency":"ONE_TIME","paymentAmount":10000},{"recipients":"DEPENDENT","childName":"Joe Doe","provider":"Health Provider","purpose":"Medical expenses","paymentDate":"2023-07-01","paymentFrequency":"ONE_TIME","paymentAmount":10000},{"recipients":"SPOUSE","provider":"Health Provider","purpose":"Medical expenses","paymentDate":"2023-07-01","paymentFrequency":"ONCE_MONTH","paymentAmount":500},{"recipients":"DEPENDENT","childName":"Joe Doe","provider":"Health Provider","purpose":"Medical expenses","paymentDate":"2023-07-01","paymentFrequency":"ONCE_YEAR","paymentAmount":5000},{"recipients":"SPOUSE","provider":"Health Provider","purpose":"Medical expenses","paymentDate":"2023-07-01","paymentFrequency":"ONCE_MONTH","paymentAmount":200},{"recipients":"DEPENDENT","childName":"Joe Doe","provider":"Health Provider","purpose":"Medical fee","paymentDate":"2023-07-01","paymentFrequency":"ONE_TIME","paymentAmount":100},{"recipients":"DEPENDENT","childName":"Jack Doe","provider":"Health Provider","purpose":"Medical fee","paymentDate":"2023-07-01","paymentFrequency":"ONE_TIME","paymentAmount":150}],"transferredAssets":true,"homeOwnership":true,"homeAcreageMoreThanTwo":true,"homeAcreageValue":75000,"landMarketable":true,"receivesIncome":true,"view:isAddingIncomeSources":false,"incomeSources":[{"typeOfIncome":"SOCIAL_SECURITY","receiver":"VETERAN","payer":"John Doe","amount":278.05},{"typeOfIncome":"INTEREST_DIVIDEND","receiver":"VETERAN","payer":"John Doe","amount":78.5},{"typeOfIncome":"OTHER","otherTypeExplanation":"part-time Uber","receiver":"SPOUSE","payer":"John Doe","amount":278.99},{"typeOfIncome":"OTHER","otherTypeExplanation":"full time job","receiver":"SPOUSE","payer":"John Doe","amount":3278.75},{"typeOfIncome":"PENSION_RETIREMENT","receiver":"VETERAN","payer":"John Doe","amount":55.27}],"view:usingDirectDeposit":true,"bankAccount":{"accountType":"checking","bankName":"Best Bank","accountNumber":"001122334455","routingNumber":"123123123"},"veteranAddress":{"street":"123 8th st","street2":"A-3","city":"ThisIsAReallyLongCityName","country":"USA","state":"ME","postalCode":"01050","isMilitary":false},"email":"test@example.com","phone":"5551234567","mobilePhone":"5551234567","internationalPhone":"001-555-123-4567-8910","view:aidAttendance":true,"isOver65":false,"noRapidProcessing":true,"statementOfTruthCertified":true,"statementOfTruthSignature":"John Edmund Doe"}} diff --git a/dist/versions/24.3.3/21P-527EZ-OVERFLOW-example.json b/dist/versions/24.3.3/21P-527EZ-OVERFLOW-example.json new file mode 100644 index 00000000..cd095f46 --- /dev/null +++ b/dist/versions/24.3.3/21P-527EZ-OVERFLOW-example.json @@ -0,0 +1 @@ +{"veteranFullName":{"first":"John","middle":"Edmund","last":"Doe","suffix":"Sr."},"veteranSocialSecurityNumber":"333224444","vaClaimsHistory":true,"vaFileNumber":"12345678","veteranDateOfBirth":"1960-01-01","serviceBranch":{"army":true,"navy":true},"activeServiceDateRange":{"from":"2003-03-02","to":"2007-03-20"},"serviceNumber":"123456","serveUnderOtherNames":true,"previousNames":[{"previousFullName":{"first":"Joseph","last":"Doe"}},{"previousFullName":{"first":"Jarrod","last":"Doe"}}],"placeOfSeparation":"West Brookfield, MA","powStatus":true,"powDateRange":{"from":"1971-02-26","to":"1973-03-02"},"socialSecurityDisability":false,"medicalCondition":false,"nursingHome":true,"medicaidCoverage":false,"medicaidStatus":true,"specialMonthlyPension":false,"vaTreatmentHistory":true,"vaMedicalCenters":[{"medicalCenter":"Dallas Fort Worth VA Medical Center"}],"federalTreatmentHistory":true,"federalMedicalCenters":[{"medicalCenter":"Memphis Health Care"},{"medicalCenter":"Nashville Health Care"}],"currentEmployment":true,"currentEmployers":[{"jobType":"Customer service","jobHoursWeek":"20"},{"jobType":"Customer service","jobHoursWeek":"20"}],"maritalStatus":"SEPARATED","marriages":[{"spouseFullName":{"first":"Jessica","middle":"Middle","last":"Doe"},"dateOfMarriage":"1989-03-02","locationOfMarriage":"Dallas","reasonForSeparation":"OTHER","otherExplanation":"Personal reason thats too long to write an explanation for in this form field","dateOfSeparation":"1990-03-02","locationOfSeparation":"San Antonio, TX"},{"spouseFullName":{"first":"Jane","middle":"Middle","last":"Doe"},"dateOfMarriage":"1989-03-02","locationOfMarriage":"Dallas","reasonForSeparation":"DEATH","dateOfSeparation":"1990-03-02","locationOfSeparation":"San Antonio, TX"},{"spouseFullName":{"first":"Jenniebenniefofenny","middle":"Middle","last":"Danedanedanedanedanedanedane"},"dateOfMarriage":"1983-03-02","locationOfMarriage":"Dallas","reasonForSeparation":"DIVORCE","dateOfSeparation":"1984-03-02","locationOfSeparation":"San Antonio, TX"},{"spouseFullName":{"first":"Jill","middle":"Middle","last":"Doe"},"dateOfMarriage":"1999-10-02","locationOfMarriage":"Nashville, TN","reasonForSeparation":"DIVORCE","dateOfSeparation":"2001-03-02","locationOfSeparation":"San Antonio, TX"},{"spouseFullName":{"first":"Meg","middle":"Middle","last":"Doe"},"dateOfMarriage":"1994-03-02","locationOfMarriage":"North Adams, MA","marriageType":"OTHER","otherExplanation":"Other reason"}],"spouseDateOfBirth":"1960-01-01","spouseSocialSecurityNumber":"333224444","spouseIsVeteran":true,"spouseVaFileNumber":"23423444","spouseAddress":{"street":"123 7th st","street2":"Apt 3","city":"Pittsfield","country":"USA","state":"MA","postalCode":"01050"},"reasonForCurrentSeparation":"OTHER","otherExplanation":"Personal reason thats too long to write an explanation for in this form field","currentSpouseMonthlySupport":2444,"currentSpouseMaritalHistory":"YES","spouseMarriages":[{"dateOfMarriage":"1980-03-02","locationOfMarriage":"Seattle, WA","spouseFullName":{"first":"Joe","middle":"F","last":"Generic","suffix":"Jr."},"reasonForSeparation":"OTHER","otherExplanation":"Other reason thats too long to write an explanation for in this form field","dateOfSeparation":"1990-03-02","locationOfSeparation":"Tacoma, WA"},{"dateOfMarriage":"1995-03-02","locationOfMarriage":"Seattle, WA","spouseFullName":{"first":"John","middle":"F","last":"Person","suffix":"Jr."},"reasonForSeparation":"OTHER","otherExplanation":"Other reason","dateOfSeparation":"2005-03-02","locationOfSeparation":"Tacoma, WA"}],"dependents":[{"childInHousehold":false,"childAddress":{"street":"123 8th st","city":"Hadley","country":"USA","state":"ME","postalCode":"01050"},"personWhoLivesWithChild":{"first":"Joe","middle":"Middle","last":"Smith"},"monthlyPayment":3444,"childPlaceOfBirth":"Tallahassee, FL","childSocialSecurityNumber":"333224444","childRelationship":"BIOLOGICAL","previouslyMarried":true,"disabled":false,"married":true,"fullName":{"first":"Emily","middle":"Anne","last":"Doe"},"childDateOfBirth":"2000-03-03"},{"childInHousehold":true,"childPlaceOfBirth":"Troy, MT","childSocialSecurityNumber":"333224444","childRelationship":"ADOPTED","previouslyMarried":false,"attendingCollege":true,"disabled":false,"fullName":{"first":"Bobby","middle":"Nolan","last":"Doe"},"childDateOfBirth":"2005-09-22"},{"childInHousehold":true,"childAddress":{"street":"123 8th st","city":"Hadley","country":"USA","state":"ME","postalCode":"01050"},"monthlyPayment":2300,"childPlaceOfBirth":"Troy, MT","childSocialSecurityNumber":"333224444","childRelationship":"BIOLOGICAL","previouslyMarried":false,"disabled":true,"fullName":{"first":"Jack","middle":"Sawyer","last":"Doe"},"childDateOfBirth":"2010-04-01"},{"childInHousehold":true,"childAddress":{"street":"123 8th st","city":"Hadley","country":"USA","state":"ME","postalCode":"01050"},"monthlyPayment":3300,"childPlaceOfBirth":"Portland, ME","childSocialSecurityNumber":"122222222","childRelationship":"ADOPTED","previouslyMarried":false,"disabled":false,"fullName":{"first":"Sam","middle":"Jason","last":"Doe"},"childDateOfBirth":"2020-06-29"}],"totalNetWorth":false,"netWorthEstimation":1550,"hasCareExpenses":true,"careExpenses":[{"recipients":"VETERAN","provider":"NYC Care Provider Family Medical Facility","careType":"CARE_FACILITY","ratePerHour":100,"hoursPerWeek":"20","careDateRange":{"from":"2020-08-01","to":"2023-05-25"},"paymentFrequency":"ONCE_MONTH","paymentAmount":2500},{"recipients":"SPOUSE","provider":"MA Care Provider","careType":"IN_HOME_CARE_PROVIDER","ratePerHour":150,"hoursPerWeek":"15","careDateRange":{"from":"2021-08-01","to":"2022-05-25"},"paymentFrequency":"ONCE_MONTH","paymentAmount":1500},{"recipients":"DEPENDENT","childName":"Joe Doe","provider":"LA Care Provider","careType":"CARE_FACILITY","ratePerHour":200,"hoursPerWeek":"10","careDateRange":{"from":"2020-08-01"},"noCareEndDate":true,"paymentFrequency":"ONCE_YEAR","paymentAmount":22500}],"hasMedicalExpenses":true,"medicalExpenses":[{"recipients":"VETERAN","provider":"Funeral Home","purpose":"Burial expenses","paymentDate":"2020-03-15","paymentFrequency":"ONE_TIME","paymentAmount":10000},{"recipients":"DEPENDENT","childName":"Joe Doe","provider":"Health Provider","purpose":"Medical expenses","paymentDate":"2023-07-01","paymentFrequency":"ONE_TIME","paymentAmount":10000},{"recipients":"SPOUSE","provider":"Health Provider","purpose":"Medical expenses","paymentDate":"2023-07-01","paymentFrequency":"ONCE_MONTH","paymentAmount":500},{"recipients":"DEPENDENT","childName":"Joe Doe","provider":"Health Provider","purpose":"Medical expenses","paymentDate":"2023-07-01","paymentFrequency":"ONCE_YEAR","paymentAmount":5000},{"recipients":"SPOUSE","provider":"Health Provider","purpose":"Medical expenses","paymentDate":"2023-07-01","paymentFrequency":"ONCE_MONTH","paymentAmount":200},{"recipients":"DEPENDENT","childName":"Joe Doe","provider":"Health Provider","purpose":"Medical fee","paymentDate":"2023-07-01","paymentFrequency":"ONE_TIME","paymentAmount":100},{"recipients":"DEPENDENT","childName":"Jack Doe","provider":"Health Provider","purpose":"Medical fee","paymentDate":"2023-07-01","paymentFrequency":"ONE_TIME","paymentAmount":150}],"transferredAssets":true,"homeOwnership":true,"homeAcreageMoreThanTwo":true,"homeAcreageValue":75000,"landMarketable":true,"receivesIncome":true,"incomeSources":[{"typeOfIncome":"SOCIAL_SECURITY","receiver":"VETERAN","payer":"John Doe","amount":278.05},{"typeOfIncome":"INTEREST_DIVIDEND","receiver":"VETERAN","payer":"John Doe","amount":78.5},{"typeOfIncome":"OTHER","otherTypeExplanation":"part-time Uber","receiver":"SPOUSE","payer":"John Doe","amount":278.99},{"typeOfIncome":"OTHER","otherTypeExplanation":"full time job","receiver":"SPOUSE","payer":"John Doe","amount":3278.75},{"typeOfIncome":"PENSION_RETIREMENT","receiver":"VETERAN","payer":"John Doe","amount":55.27}],"bankAccount":{"accountType":"checking","bankName":"Best Bank","accountNumber":"001122334455","routingNumber":"123123123"},"veteranAddress":{"street":"123 8th st","street2":"A-3","city":"ThisIsAReallyLongCityName","country":"USA","state":"ME","postalCode":"01050","isMilitary":false},"email":"test@example.com","phone":"5551234567","mobilePhone":"5551234567","internationalPhone":"001-555-123-4567-8910","isOver65":false,"noRapidProcessing":true,"statementOfTruthCertified":true,"statementOfTruthSignature":"John Edmund Doe"} diff --git a/dist/versions/24.3.3/21P-527EZ-OVERFLOW-schema.json b/dist/versions/24.3.3/21P-527EZ-OVERFLOW-schema.json new file mode 100644 index 00000000..69a944d9 --- /dev/null +++ b/dist/versions/24.3.3/21P-527EZ-OVERFLOW-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"APPLICATION FOR PENSION","type":"object","additionalProperties":false,"anyOf":[{"required":["vaFileNumber"]},{"required":["veteranSocialSecurityNumber"]}],"definitions":{"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}},"bankAccount":{"type":"object","properties":{"accountType":{"type":"string","enum":["checking","savings"]},"routingNumber":{"type":"string","pattern":"^\\d{9}$"},"accountNumber":{"type":"string"},"bankName":{"type":"string"}}},"noSuffixMarriages":{"type":"array","items":{"type":"object","properties":{"dateOfMarriage":{"$ref":"#/definitions/date"},"locationOfMarriage":{"type":"string"},"otherExplanation":{"type":"string"},"marriageType":{"type":"string"},"spouseFullName":{"$ref":"#/definitions/fullNameNoSuffix"},"dateOfSeparation":{"$ref":"#/definitions/date"},"locationOfSeparation":{"type":"string"},"reasonForSeparation":{"type":"string"}}}},"fullNameNoSuffix":{"type":"object","additionalProperties":false,"required":["first","last"],"properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30}}},"date":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"maritalStatus":{"type":"string","enum":["MARRIED","NEVER_MARRIED","SEPARATED","WIDOWED","DIVORCED"]},"incomeSources":{"type":"array","items":{"type":"object","required":["typeOfIncome","receiver","payer","amount"],"properties":{"typeOfIncome":{"type":"string","enum":["SOCIAL_SECURITY","INTEREST_DIVIDEND","CIVIL_SERVICE","PENSION_RETIREMENT","OTHER"]},"otherTypeExplanation":{"type":"string"},"receiver":{"type":"string"},"childName":{"type":"string"},"payer":{"type":"string"},"amount":{"type":"number","default":0},"dependentName":{"type":"string"}}}},"careExpenses":{"type":"array","items":{"type":"object","required":["recipients","provider","careType","paymentFrequency","paymentAmount"],"properties":{"recipients":{"type":"string","enum":["VETERAN","SPOUSE","DEPENDENT"]},"childName":{"type":"string"},"provider":{"type":"string"},"careType":{"type":"string","enum":["CARE_FACILITY","IN_HOME_CARE_PROVIDER"]},"ratePerHour":{"type":"number"},"hoursPerWeek":{"type":"string"},"careDateRange":{"$ref":"#/definitions/dateRange"},"noCareEndDate":{"type":"boolean"},"paymentFrequency":{"type":"string","enum":["ONCE_MONTH","ONCE_YEAR"]},"paymentAmount":{"type":"number"}}}},"medicalExpenses":{"type":"array","items":{"type":"object","required":["recipients","provider","purpose","paymentDate","paymentFrequency","paymentAmount"],"properties":{"recipients":{"type":"string","enum":["VETERAN","SPOUSE","DEPENDENT"]},"childName":{"type":"string"},"provider":{"type":"string"},"purpose":{"type":"string"},"paymentDate":{"$ref":"#/definitions/date"},"paymentFrequency":{"type":"string","enum":["ONCE_MONTH","ONCE_YEAR","ONE_TIME"]},"paymentAmount":{"type":"number"}}}},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"centralMailVaFile":{"type":"string","pattern":"^\\d{8,9}$"},"profileAddress":{"type":"object","properties":{"isMilitary":{"type":"boolean"},"view:militaryBaseDescription":{"type":"object","properties":{}},"country":{"type":"string","enum":["USA","AFG","ALB","DZA","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GTM","GIN","GNB","GUY","HTI","HMD","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","ISR","ITA","JAM","JPN","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","ANT","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","NOR","OMN","PAK","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","QAT","REU","ROU","RUS","RWA","SHN","KNA","LCA","SPM","VCT","SMR","STP","SAU","SEN","SCG","SYC","SLE","SGP","SVK","SVN","SLB","SOM","ZAF","SGS","ESP","LKA","SDN","SUR","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","URY","UZB","VUT","VAT","VEN","VNM","VGB","WLF","ESH","YEM","ZMB","ZWE"],"enumNames":["United States","Afghanistan","Albania","Algeria","Andorra","Angola","Anguilla","Antarctica","Antigua","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia","Botswana","Bouvet Island","Brazil","British Indian Ocean Territories","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman","Central African Republic","Chad","Chile","China","Christmas Island","Cocos Islands","Colombia","Comoros","Congo","Democratic Republic of the Congo","Cook Islands","Costa Rica","Ivory Coast","Croatia","Cuba","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Falkland Islands","Faroe Islands","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guatemala","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel","Italy","Jamaica","Japan","Jordan","Kazakhstan","Kenya","Kiribati","North Korea","South Korea","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands Antilles","Netherlands","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk","Norway","Oman","Pakistan","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn","Poland","Portugal","Qatar","Reunion","Romania","Russia","Rwanda","Saint Helena","Saint Kitts and Nevis","Saint Lucia","Saint Pierre and Miquelon","Saint Vincent and the Grenadines","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","Spain","Sri Lanka","Sudan","Suriname","Swaziland","Sweden","Switzerland","Syrian Arab Republic","Taiwan","Tajikistan","Tanzania","Thailand","Timor-Leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","Uruguay","Uzbekistan","Vanuatu","Vatican","Venezuela","Vietnam","British Virgin Islands","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"]},"street":{"type":"string","minLength":1,"maxLength":100},"street2":{"type":"string","minLength":1,"maxLength":100},"street3":{"type":"string","minLength":1,"maxLength":100},"city":{"type":"string","minLength":1,"maxLength":100},"state":{"type":"string"},"postalCode":{"type":"string"}}},"usaPhone":{"type":"string","pattern":"^\\d{10}$"},"marriages":{"type":"array","items":{"type":"object","properties":{"dateOfMarriage":{"$ref":"#/definitions/date"},"locationOfMarriage":{"type":"string"},"otherExplanation":{"type":"string"},"marriageType":{"type":"string"},"spouseFullName":{"$ref":"#/definitions/fullName"},"dateOfSeparation":{"$ref":"#/definitions/date"},"locationOfSeparation":{"type":"string"},"reasonForSeparation":{"type":"string"}}}},"files":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"size":{"type":"integer"},"confirmationCode":{"type":"string"}}}}},"properties":{"email":{"type":"string","format":"email"},"vaClaimsHistory":{"type":"boolean"},"internationalPhone":{"type":"string"},"serviceBranch":{"type":"object","properties":{"army":{"type":"boolean"},"navy":{"type":"boolean"},"airForce":{"type":"boolean"},"coastGuard":{"type":"boolean"},"marineCorps":{"type":"boolean"},"spaceForce":{"type":"boolean"},"usphs":{"type":"boolean"},"noaa":{"type":"boolean"}}},"activeServiceDateRange":{"$ref":"#/definitions/dateRange"},"serviceNumber":{"type":"string"},"serveUnderOtherNames":{"type":"boolean"},"previousNames":{"type":"array","items":{"type":"object","properties":{"previousFullName":{"$ref":"#/definitions/fullName"}}}},"placeOfSeparation":{"type":"string"},"noRapidProcessing":{"type":"boolean"},"powStatus":{"type":"boolean"},"isOver65":{"type":"boolean"},"socialSecurityDisability":{"type":"boolean"},"medicalCondition":{"type":"boolean"},"nursingHome":{"type":"boolean"},"medicaidCoverage":{"type":"boolean"},"medicaidStatus":{"type":"boolean"},"specialMonthlyPension":{"type":"boolean"},"vaTreatmentHistory":{"type":"boolean"},"vaMedicalCenters":{"type":"array","items":{"type":"object","required":["medicalCenter"],"properties":{"medicalCenter":{"type":"string"}}}},"federalTreatmentHistory":{"type":"boolean"},"federalMedicalCenters":{"type":"array","items":{"type":"object","required":["medicalCenter"],"properties":{"medicalCenter":{"type":"string"}}}},"currentEmployment":{"type":"boolean"},"currentEmployers":{"type":"array","items":{"type":"object","required":["jobType","jobHoursWeek"],"properties":{"jobType":{"type":"string"},"jobHoursWeek":{"type":"string"}}}},"previousEmployers":{"type":"array","items":{"type":"object","required":["jobType","jobHoursWeek","jobTitle"],"properties":{"jobDate":{"$ref":"#/definitions/date"},"jobType":{"type":"string"},"jobHoursWeek":{"type":"string"},"jobTitle":{"type":"string"}}}},"maritalStatus":{"$ref":"#/definitions/maritalStatus"},"spouseIsVeteran":{"type":"boolean"},"liveWithSpouse":{"type":"boolean"},"reasonForCurrentSeparation":{"type":"string","enum":["MEDICAL_CARE","LOCATION","RELATIONSHIP","OTHER"]},"otherExplanation":{"type":"string"},"reasonForNotLivingWithSpouse":{"type":"string"},"currentSpouseMonthlySupport":{"type":"number"},"currentSpouseMaritalHistory":{"type":"string","enum":["YES","NO","IDK"]},"dependents":{"type":"array","items":{"type":"object","properties":{"fullName":{"$ref":"#/definitions/fullNameNoSuffix"},"childDateOfBirth":{"$ref":"#/definitions/date"},"childInHousehold":{"type":"boolean"},"childAddress":{"$ref":"#/definitions/profileAddress"},"personWhoLivesWithChild":{"$ref":"#/definitions/fullName"},"monthlyPayment":{"type":"number"},"childPlaceOfBirth":{"type":"string"},"childSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"childRelationship":{"type":"string","enum":["BIOLOGICAL","ADOPTED","STEP_CHILD"]},"attendingCollege":{"type":"boolean"},"disabled":{"type":"boolean"},"previouslyMarried":{"type":"boolean"},"married":{"type":"boolean"}}}},"totalNetWorth":{"type":"boolean"},"netWorthEstimation":{"type":"number"},"transferredAssets":{"type":"boolean"},"homeOwnership":{"type":"boolean"},"homeAcreageMoreThanTwo":{"type":"boolean"},"homeAcreageValue":{"type":"number"},"landMarketable":{"type":"boolean"},"receivesIncome":{"type":"boolean"},"incomeSources":{"$ref":"#/definitions/incomeSources"},"hasCareExpenses":{"type":"boolean"},"careExpenses":{"$ref":"#/definitions/careExpenses"},"hasMedicalExpenses":{"type":"boolean"},"medicalExpenses":{"$ref":"#/definitions/medicalExpenses"},"statementOfTruthCertified":{"type":"boolean"},"statementOfTruthSignature":{"type":"string"},"veteranFullName":{"$ref":"#/definitions/fullName"},"veteranSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"vaFileNumber":{"$ref":"#/definitions/centralMailVaFile"},"veteranAddress":{"$ref":"#/definitions/profileAddress"},"dayPhone":{"$ref":"#/definitions/usaPhone"},"nightPhone":{"$ref":"#/definitions/usaPhone"},"phone":{"$ref":"#/definitions/usaPhone"},"mobilePhone":{"$ref":"#/definitions/usaPhone"},"powDateRange":{"$ref":"#/definitions/dateRange"},"veteranDateOfBirth":{"$ref":"#/definitions/date"},"spouseDateOfBirth":{"$ref":"#/definitions/date"},"spouseSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"spouseVaFileNumber":{"$ref":"#/definitions/centralMailVaFile"},"spouseAddress":{"$ref":"#/definitions/profileAddress"},"marriages":{"$ref":"#/definitions/noSuffixMarriages"},"spouseMarriages":{"$ref":"#/definitions/marriages"},"bankAccount":{"$ref":"#/definitions/bankAccount"},"files":{"$ref":"#/definitions/files"}},"required":["veteranFullName","veteranAddress","statementOfTruthCertified","statementOfTruthSignature"]} diff --git a/dist/versions/24.3.3/21P-527EZ-SIMPLE-cypress-example.json b/dist/versions/24.3.3/21P-527EZ-SIMPLE-cypress-example.json new file mode 100644 index 00000000..850e381f --- /dev/null +++ b/dist/versions/24.3.3/21P-527EZ-SIMPLE-cypress-example.json @@ -0,0 +1 @@ +{"data":{"veteranFullName":{"first":"John","middle":"","last":"Doe","suffix":"Sr."},"veteranSocialSecurityNumber":"333224444","vaClaimsHistory":false,"veteranDateOfBirth":"1960-01-01","serviceBranch":{"army":true},"activeServiceDateRange":{"from":"2003-03-02","to":"2007-03-20"},"serviceNumber":"123456","serveUnderOtherNames":false,"view:isAddingOtherNames":false,"placeOfSeparation":"Westbrook, MA","powStatus":false,"socialSecurityDisability":true,"medicalCondition":false,"nursingHome":false,"specialMonthlyPension":false,"vaTreatmentHistory":false,"view:isAddingVAMedicalCenters":false,"federalTreatmentHistory":false,"view:isAddingFederalMedicalCenters":false,"currentEmployment":false,"view:isAddingPreviousEmployment":false,"previousEmployers":[{"jobDate":"2020-06-15","jobType":"Customer service","jobHoursWeek":"20","jobTitle":"Manager"}],"maritalStatus":"NEVER_MARRIED","view:hasDependents":false,"view:isAddingDependents":false,"totalNetWorth":true,"hasCareExpenses":false,"hasMedicalExpenses":false,"transferredAssets":false,"homeOwnership":false,"receivesIncome":false,"view:isAddingIncomeSources":false,"view:usingDirectDeposit":false,"veteranAddress":{"street":"123 8th st","city":"Hadley","country":"USA","state":"ME","postalCode":"01050","isMilitary":false},"email":"test@example.com","mobilePhone":"5551234567","view:aidAttendance":true,"isOver65":false,"noRapidProcessing":true,"statementOfTruthCertified":true,"statementOfTruthSignature":"John Doe"}} diff --git a/dist/versions/24.3.3/21P-527EZ-SIMPLE-example.json b/dist/versions/24.3.3/21P-527EZ-SIMPLE-example.json new file mode 100644 index 00000000..a81159b7 --- /dev/null +++ b/dist/versions/24.3.3/21P-527EZ-SIMPLE-example.json @@ -0,0 +1 @@ +{"veteranFullName":{"first":"John","middle":"","last":"Doe","suffix":"Sr."},"veteranSocialSecurityNumber":"333224444","vaClaimsHistory":false,"veteranDateOfBirth":"1960-01-01","serviceBranch":{"army":true},"activeServiceDateRange":{"from":"2003-03-02","to":"2007-03-20"},"serviceNumber":"123456","serveUnderOtherNames":false,"placeOfSeparation":"Westbrook, MA","powStatus":false,"socialSecurityDisability":true,"medicalCondition":false,"nursingHome":false,"specialMonthlyPension":false,"vaTreatmentHistory":false,"federalTreatmentHistory":false,"currentEmployment":false,"previousEmployers":[{"jobDate":"2020-06-15","jobType":"Customer service","jobHoursWeek":"20","jobTitle":"Manager"}],"maritalStatus":"NEVER_MARRIED","totalNetWorth":true,"hasCareExpenses":false,"hasMedicalExpenses":false,"transferredAssets":false,"homeOwnership":false,"receivesIncome":false,"veteranAddress":{"street":"123 8th st","city":"Hadley","country":"USA","state":"ME","postalCode":"01050","isMilitary":false},"email":"test@example.com","mobilePhone":"5551234567","isOver65":false,"noRapidProcessing":true,"statementOfTruthCertified":true,"statementOfTruthSignature":"John Doe"} diff --git a/dist/versions/24.3.3/21P-527EZ-SIMPLE-schema.json b/dist/versions/24.3.3/21P-527EZ-SIMPLE-schema.json new file mode 100644 index 00000000..69a944d9 --- /dev/null +++ b/dist/versions/24.3.3/21P-527EZ-SIMPLE-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"APPLICATION FOR PENSION","type":"object","additionalProperties":false,"anyOf":[{"required":["vaFileNumber"]},{"required":["veteranSocialSecurityNumber"]}],"definitions":{"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}},"bankAccount":{"type":"object","properties":{"accountType":{"type":"string","enum":["checking","savings"]},"routingNumber":{"type":"string","pattern":"^\\d{9}$"},"accountNumber":{"type":"string"},"bankName":{"type":"string"}}},"noSuffixMarriages":{"type":"array","items":{"type":"object","properties":{"dateOfMarriage":{"$ref":"#/definitions/date"},"locationOfMarriage":{"type":"string"},"otherExplanation":{"type":"string"},"marriageType":{"type":"string"},"spouseFullName":{"$ref":"#/definitions/fullNameNoSuffix"},"dateOfSeparation":{"$ref":"#/definitions/date"},"locationOfSeparation":{"type":"string"},"reasonForSeparation":{"type":"string"}}}},"fullNameNoSuffix":{"type":"object","additionalProperties":false,"required":["first","last"],"properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30}}},"date":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"maritalStatus":{"type":"string","enum":["MARRIED","NEVER_MARRIED","SEPARATED","WIDOWED","DIVORCED"]},"incomeSources":{"type":"array","items":{"type":"object","required":["typeOfIncome","receiver","payer","amount"],"properties":{"typeOfIncome":{"type":"string","enum":["SOCIAL_SECURITY","INTEREST_DIVIDEND","CIVIL_SERVICE","PENSION_RETIREMENT","OTHER"]},"otherTypeExplanation":{"type":"string"},"receiver":{"type":"string"},"childName":{"type":"string"},"payer":{"type":"string"},"amount":{"type":"number","default":0},"dependentName":{"type":"string"}}}},"careExpenses":{"type":"array","items":{"type":"object","required":["recipients","provider","careType","paymentFrequency","paymentAmount"],"properties":{"recipients":{"type":"string","enum":["VETERAN","SPOUSE","DEPENDENT"]},"childName":{"type":"string"},"provider":{"type":"string"},"careType":{"type":"string","enum":["CARE_FACILITY","IN_HOME_CARE_PROVIDER"]},"ratePerHour":{"type":"number"},"hoursPerWeek":{"type":"string"},"careDateRange":{"$ref":"#/definitions/dateRange"},"noCareEndDate":{"type":"boolean"},"paymentFrequency":{"type":"string","enum":["ONCE_MONTH","ONCE_YEAR"]},"paymentAmount":{"type":"number"}}}},"medicalExpenses":{"type":"array","items":{"type":"object","required":["recipients","provider","purpose","paymentDate","paymentFrequency","paymentAmount"],"properties":{"recipients":{"type":"string","enum":["VETERAN","SPOUSE","DEPENDENT"]},"childName":{"type":"string"},"provider":{"type":"string"},"purpose":{"type":"string"},"paymentDate":{"$ref":"#/definitions/date"},"paymentFrequency":{"type":"string","enum":["ONCE_MONTH","ONCE_YEAR","ONE_TIME"]},"paymentAmount":{"type":"number"}}}},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"centralMailVaFile":{"type":"string","pattern":"^\\d{8,9}$"},"profileAddress":{"type":"object","properties":{"isMilitary":{"type":"boolean"},"view:militaryBaseDescription":{"type":"object","properties":{}},"country":{"type":"string","enum":["USA","AFG","ALB","DZA","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GTM","GIN","GNB","GUY","HTI","HMD","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","ISR","ITA","JAM","JPN","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","ANT","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","NOR","OMN","PAK","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","QAT","REU","ROU","RUS","RWA","SHN","KNA","LCA","SPM","VCT","SMR","STP","SAU","SEN","SCG","SYC","SLE","SGP","SVK","SVN","SLB","SOM","ZAF","SGS","ESP","LKA","SDN","SUR","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","URY","UZB","VUT","VAT","VEN","VNM","VGB","WLF","ESH","YEM","ZMB","ZWE"],"enumNames":["United States","Afghanistan","Albania","Algeria","Andorra","Angola","Anguilla","Antarctica","Antigua","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia","Botswana","Bouvet Island","Brazil","British Indian Ocean Territories","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman","Central African Republic","Chad","Chile","China","Christmas Island","Cocos Islands","Colombia","Comoros","Congo","Democratic Republic of the Congo","Cook Islands","Costa Rica","Ivory Coast","Croatia","Cuba","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Falkland Islands","Faroe Islands","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guatemala","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel","Italy","Jamaica","Japan","Jordan","Kazakhstan","Kenya","Kiribati","North Korea","South Korea","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands Antilles","Netherlands","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk","Norway","Oman","Pakistan","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn","Poland","Portugal","Qatar","Reunion","Romania","Russia","Rwanda","Saint Helena","Saint Kitts and Nevis","Saint Lucia","Saint Pierre and Miquelon","Saint Vincent and the Grenadines","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","Spain","Sri Lanka","Sudan","Suriname","Swaziland","Sweden","Switzerland","Syrian Arab Republic","Taiwan","Tajikistan","Tanzania","Thailand","Timor-Leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","Uruguay","Uzbekistan","Vanuatu","Vatican","Venezuela","Vietnam","British Virgin Islands","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"]},"street":{"type":"string","minLength":1,"maxLength":100},"street2":{"type":"string","minLength":1,"maxLength":100},"street3":{"type":"string","minLength":1,"maxLength":100},"city":{"type":"string","minLength":1,"maxLength":100},"state":{"type":"string"},"postalCode":{"type":"string"}}},"usaPhone":{"type":"string","pattern":"^\\d{10}$"},"marriages":{"type":"array","items":{"type":"object","properties":{"dateOfMarriage":{"$ref":"#/definitions/date"},"locationOfMarriage":{"type":"string"},"otherExplanation":{"type":"string"},"marriageType":{"type":"string"},"spouseFullName":{"$ref":"#/definitions/fullName"},"dateOfSeparation":{"$ref":"#/definitions/date"},"locationOfSeparation":{"type":"string"},"reasonForSeparation":{"type":"string"}}}},"files":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"size":{"type":"integer"},"confirmationCode":{"type":"string"}}}}},"properties":{"email":{"type":"string","format":"email"},"vaClaimsHistory":{"type":"boolean"},"internationalPhone":{"type":"string"},"serviceBranch":{"type":"object","properties":{"army":{"type":"boolean"},"navy":{"type":"boolean"},"airForce":{"type":"boolean"},"coastGuard":{"type":"boolean"},"marineCorps":{"type":"boolean"},"spaceForce":{"type":"boolean"},"usphs":{"type":"boolean"},"noaa":{"type":"boolean"}}},"activeServiceDateRange":{"$ref":"#/definitions/dateRange"},"serviceNumber":{"type":"string"},"serveUnderOtherNames":{"type":"boolean"},"previousNames":{"type":"array","items":{"type":"object","properties":{"previousFullName":{"$ref":"#/definitions/fullName"}}}},"placeOfSeparation":{"type":"string"},"noRapidProcessing":{"type":"boolean"},"powStatus":{"type":"boolean"},"isOver65":{"type":"boolean"},"socialSecurityDisability":{"type":"boolean"},"medicalCondition":{"type":"boolean"},"nursingHome":{"type":"boolean"},"medicaidCoverage":{"type":"boolean"},"medicaidStatus":{"type":"boolean"},"specialMonthlyPension":{"type":"boolean"},"vaTreatmentHistory":{"type":"boolean"},"vaMedicalCenters":{"type":"array","items":{"type":"object","required":["medicalCenter"],"properties":{"medicalCenter":{"type":"string"}}}},"federalTreatmentHistory":{"type":"boolean"},"federalMedicalCenters":{"type":"array","items":{"type":"object","required":["medicalCenter"],"properties":{"medicalCenter":{"type":"string"}}}},"currentEmployment":{"type":"boolean"},"currentEmployers":{"type":"array","items":{"type":"object","required":["jobType","jobHoursWeek"],"properties":{"jobType":{"type":"string"},"jobHoursWeek":{"type":"string"}}}},"previousEmployers":{"type":"array","items":{"type":"object","required":["jobType","jobHoursWeek","jobTitle"],"properties":{"jobDate":{"$ref":"#/definitions/date"},"jobType":{"type":"string"},"jobHoursWeek":{"type":"string"},"jobTitle":{"type":"string"}}}},"maritalStatus":{"$ref":"#/definitions/maritalStatus"},"spouseIsVeteran":{"type":"boolean"},"liveWithSpouse":{"type":"boolean"},"reasonForCurrentSeparation":{"type":"string","enum":["MEDICAL_CARE","LOCATION","RELATIONSHIP","OTHER"]},"otherExplanation":{"type":"string"},"reasonForNotLivingWithSpouse":{"type":"string"},"currentSpouseMonthlySupport":{"type":"number"},"currentSpouseMaritalHistory":{"type":"string","enum":["YES","NO","IDK"]},"dependents":{"type":"array","items":{"type":"object","properties":{"fullName":{"$ref":"#/definitions/fullNameNoSuffix"},"childDateOfBirth":{"$ref":"#/definitions/date"},"childInHousehold":{"type":"boolean"},"childAddress":{"$ref":"#/definitions/profileAddress"},"personWhoLivesWithChild":{"$ref":"#/definitions/fullName"},"monthlyPayment":{"type":"number"},"childPlaceOfBirth":{"type":"string"},"childSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"childRelationship":{"type":"string","enum":["BIOLOGICAL","ADOPTED","STEP_CHILD"]},"attendingCollege":{"type":"boolean"},"disabled":{"type":"boolean"},"previouslyMarried":{"type":"boolean"},"married":{"type":"boolean"}}}},"totalNetWorth":{"type":"boolean"},"netWorthEstimation":{"type":"number"},"transferredAssets":{"type":"boolean"},"homeOwnership":{"type":"boolean"},"homeAcreageMoreThanTwo":{"type":"boolean"},"homeAcreageValue":{"type":"number"},"landMarketable":{"type":"boolean"},"receivesIncome":{"type":"boolean"},"incomeSources":{"$ref":"#/definitions/incomeSources"},"hasCareExpenses":{"type":"boolean"},"careExpenses":{"$ref":"#/definitions/careExpenses"},"hasMedicalExpenses":{"type":"boolean"},"medicalExpenses":{"$ref":"#/definitions/medicalExpenses"},"statementOfTruthCertified":{"type":"boolean"},"statementOfTruthSignature":{"type":"string"},"veteranFullName":{"$ref":"#/definitions/fullName"},"veteranSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"vaFileNumber":{"$ref":"#/definitions/centralMailVaFile"},"veteranAddress":{"$ref":"#/definitions/profileAddress"},"dayPhone":{"$ref":"#/definitions/usaPhone"},"nightPhone":{"$ref":"#/definitions/usaPhone"},"phone":{"$ref":"#/definitions/usaPhone"},"mobilePhone":{"$ref":"#/definitions/usaPhone"},"powDateRange":{"$ref":"#/definitions/dateRange"},"veteranDateOfBirth":{"$ref":"#/definitions/date"},"spouseDateOfBirth":{"$ref":"#/definitions/date"},"spouseSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"spouseVaFileNumber":{"$ref":"#/definitions/centralMailVaFile"},"spouseAddress":{"$ref":"#/definitions/profileAddress"},"marriages":{"$ref":"#/definitions/noSuffixMarriages"},"spouseMarriages":{"$ref":"#/definitions/marriages"},"bankAccount":{"$ref":"#/definitions/bankAccount"},"files":{"$ref":"#/definitions/files"}},"required":["veteranFullName","veteranAddress","statementOfTruthCertified","statementOfTruthSignature"]} diff --git a/dist/versions/24.3.3/21P-527EZ-schema.json b/dist/versions/24.3.3/21P-527EZ-schema.json new file mode 100644 index 00000000..69a944d9 --- /dev/null +++ b/dist/versions/24.3.3/21P-527EZ-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"APPLICATION FOR PENSION","type":"object","additionalProperties":false,"anyOf":[{"required":["vaFileNumber"]},{"required":["veteranSocialSecurityNumber"]}],"definitions":{"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}},"bankAccount":{"type":"object","properties":{"accountType":{"type":"string","enum":["checking","savings"]},"routingNumber":{"type":"string","pattern":"^\\d{9}$"},"accountNumber":{"type":"string"},"bankName":{"type":"string"}}},"noSuffixMarriages":{"type":"array","items":{"type":"object","properties":{"dateOfMarriage":{"$ref":"#/definitions/date"},"locationOfMarriage":{"type":"string"},"otherExplanation":{"type":"string"},"marriageType":{"type":"string"},"spouseFullName":{"$ref":"#/definitions/fullNameNoSuffix"},"dateOfSeparation":{"$ref":"#/definitions/date"},"locationOfSeparation":{"type":"string"},"reasonForSeparation":{"type":"string"}}}},"fullNameNoSuffix":{"type":"object","additionalProperties":false,"required":["first","last"],"properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30}}},"date":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"maritalStatus":{"type":"string","enum":["MARRIED","NEVER_MARRIED","SEPARATED","WIDOWED","DIVORCED"]},"incomeSources":{"type":"array","items":{"type":"object","required":["typeOfIncome","receiver","payer","amount"],"properties":{"typeOfIncome":{"type":"string","enum":["SOCIAL_SECURITY","INTEREST_DIVIDEND","CIVIL_SERVICE","PENSION_RETIREMENT","OTHER"]},"otherTypeExplanation":{"type":"string"},"receiver":{"type":"string"},"childName":{"type":"string"},"payer":{"type":"string"},"amount":{"type":"number","default":0},"dependentName":{"type":"string"}}}},"careExpenses":{"type":"array","items":{"type":"object","required":["recipients","provider","careType","paymentFrequency","paymentAmount"],"properties":{"recipients":{"type":"string","enum":["VETERAN","SPOUSE","DEPENDENT"]},"childName":{"type":"string"},"provider":{"type":"string"},"careType":{"type":"string","enum":["CARE_FACILITY","IN_HOME_CARE_PROVIDER"]},"ratePerHour":{"type":"number"},"hoursPerWeek":{"type":"string"},"careDateRange":{"$ref":"#/definitions/dateRange"},"noCareEndDate":{"type":"boolean"},"paymentFrequency":{"type":"string","enum":["ONCE_MONTH","ONCE_YEAR"]},"paymentAmount":{"type":"number"}}}},"medicalExpenses":{"type":"array","items":{"type":"object","required":["recipients","provider","purpose","paymentDate","paymentFrequency","paymentAmount"],"properties":{"recipients":{"type":"string","enum":["VETERAN","SPOUSE","DEPENDENT"]},"childName":{"type":"string"},"provider":{"type":"string"},"purpose":{"type":"string"},"paymentDate":{"$ref":"#/definitions/date"},"paymentFrequency":{"type":"string","enum":["ONCE_MONTH","ONCE_YEAR","ONE_TIME"]},"paymentAmount":{"type":"number"}}}},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"centralMailVaFile":{"type":"string","pattern":"^\\d{8,9}$"},"profileAddress":{"type":"object","properties":{"isMilitary":{"type":"boolean"},"view:militaryBaseDescription":{"type":"object","properties":{}},"country":{"type":"string","enum":["USA","AFG","ALB","DZA","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GTM","GIN","GNB","GUY","HTI","HMD","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","ISR","ITA","JAM","JPN","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","ANT","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","NOR","OMN","PAK","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","QAT","REU","ROU","RUS","RWA","SHN","KNA","LCA","SPM","VCT","SMR","STP","SAU","SEN","SCG","SYC","SLE","SGP","SVK","SVN","SLB","SOM","ZAF","SGS","ESP","LKA","SDN","SUR","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","URY","UZB","VUT","VAT","VEN","VNM","VGB","WLF","ESH","YEM","ZMB","ZWE"],"enumNames":["United States","Afghanistan","Albania","Algeria","Andorra","Angola","Anguilla","Antarctica","Antigua","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia","Botswana","Bouvet Island","Brazil","British Indian Ocean Territories","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman","Central African Republic","Chad","Chile","China","Christmas Island","Cocos Islands","Colombia","Comoros","Congo","Democratic Republic of the Congo","Cook Islands","Costa Rica","Ivory Coast","Croatia","Cuba","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Falkland Islands","Faroe Islands","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guatemala","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel","Italy","Jamaica","Japan","Jordan","Kazakhstan","Kenya","Kiribati","North Korea","South Korea","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands Antilles","Netherlands","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk","Norway","Oman","Pakistan","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn","Poland","Portugal","Qatar","Reunion","Romania","Russia","Rwanda","Saint Helena","Saint Kitts and Nevis","Saint Lucia","Saint Pierre and Miquelon","Saint Vincent and the Grenadines","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","Spain","Sri Lanka","Sudan","Suriname","Swaziland","Sweden","Switzerland","Syrian Arab Republic","Taiwan","Tajikistan","Tanzania","Thailand","Timor-Leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","Uruguay","Uzbekistan","Vanuatu","Vatican","Venezuela","Vietnam","British Virgin Islands","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"]},"street":{"type":"string","minLength":1,"maxLength":100},"street2":{"type":"string","minLength":1,"maxLength":100},"street3":{"type":"string","minLength":1,"maxLength":100},"city":{"type":"string","minLength":1,"maxLength":100},"state":{"type":"string"},"postalCode":{"type":"string"}}},"usaPhone":{"type":"string","pattern":"^\\d{10}$"},"marriages":{"type":"array","items":{"type":"object","properties":{"dateOfMarriage":{"$ref":"#/definitions/date"},"locationOfMarriage":{"type":"string"},"otherExplanation":{"type":"string"},"marriageType":{"type":"string"},"spouseFullName":{"$ref":"#/definitions/fullName"},"dateOfSeparation":{"$ref":"#/definitions/date"},"locationOfSeparation":{"type":"string"},"reasonForSeparation":{"type":"string"}}}},"files":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"size":{"type":"integer"},"confirmationCode":{"type":"string"}}}}},"properties":{"email":{"type":"string","format":"email"},"vaClaimsHistory":{"type":"boolean"},"internationalPhone":{"type":"string"},"serviceBranch":{"type":"object","properties":{"army":{"type":"boolean"},"navy":{"type":"boolean"},"airForce":{"type":"boolean"},"coastGuard":{"type":"boolean"},"marineCorps":{"type":"boolean"},"spaceForce":{"type":"boolean"},"usphs":{"type":"boolean"},"noaa":{"type":"boolean"}}},"activeServiceDateRange":{"$ref":"#/definitions/dateRange"},"serviceNumber":{"type":"string"},"serveUnderOtherNames":{"type":"boolean"},"previousNames":{"type":"array","items":{"type":"object","properties":{"previousFullName":{"$ref":"#/definitions/fullName"}}}},"placeOfSeparation":{"type":"string"},"noRapidProcessing":{"type":"boolean"},"powStatus":{"type":"boolean"},"isOver65":{"type":"boolean"},"socialSecurityDisability":{"type":"boolean"},"medicalCondition":{"type":"boolean"},"nursingHome":{"type":"boolean"},"medicaidCoverage":{"type":"boolean"},"medicaidStatus":{"type":"boolean"},"specialMonthlyPension":{"type":"boolean"},"vaTreatmentHistory":{"type":"boolean"},"vaMedicalCenters":{"type":"array","items":{"type":"object","required":["medicalCenter"],"properties":{"medicalCenter":{"type":"string"}}}},"federalTreatmentHistory":{"type":"boolean"},"federalMedicalCenters":{"type":"array","items":{"type":"object","required":["medicalCenter"],"properties":{"medicalCenter":{"type":"string"}}}},"currentEmployment":{"type":"boolean"},"currentEmployers":{"type":"array","items":{"type":"object","required":["jobType","jobHoursWeek"],"properties":{"jobType":{"type":"string"},"jobHoursWeek":{"type":"string"}}}},"previousEmployers":{"type":"array","items":{"type":"object","required":["jobType","jobHoursWeek","jobTitle"],"properties":{"jobDate":{"$ref":"#/definitions/date"},"jobType":{"type":"string"},"jobHoursWeek":{"type":"string"},"jobTitle":{"type":"string"}}}},"maritalStatus":{"$ref":"#/definitions/maritalStatus"},"spouseIsVeteran":{"type":"boolean"},"liveWithSpouse":{"type":"boolean"},"reasonForCurrentSeparation":{"type":"string","enum":["MEDICAL_CARE","LOCATION","RELATIONSHIP","OTHER"]},"otherExplanation":{"type":"string"},"reasonForNotLivingWithSpouse":{"type":"string"},"currentSpouseMonthlySupport":{"type":"number"},"currentSpouseMaritalHistory":{"type":"string","enum":["YES","NO","IDK"]},"dependents":{"type":"array","items":{"type":"object","properties":{"fullName":{"$ref":"#/definitions/fullNameNoSuffix"},"childDateOfBirth":{"$ref":"#/definitions/date"},"childInHousehold":{"type":"boolean"},"childAddress":{"$ref":"#/definitions/profileAddress"},"personWhoLivesWithChild":{"$ref":"#/definitions/fullName"},"monthlyPayment":{"type":"number"},"childPlaceOfBirth":{"type":"string"},"childSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"childRelationship":{"type":"string","enum":["BIOLOGICAL","ADOPTED","STEP_CHILD"]},"attendingCollege":{"type":"boolean"},"disabled":{"type":"boolean"},"previouslyMarried":{"type":"boolean"},"married":{"type":"boolean"}}}},"totalNetWorth":{"type":"boolean"},"netWorthEstimation":{"type":"number"},"transferredAssets":{"type":"boolean"},"homeOwnership":{"type":"boolean"},"homeAcreageMoreThanTwo":{"type":"boolean"},"homeAcreageValue":{"type":"number"},"landMarketable":{"type":"boolean"},"receivesIncome":{"type":"boolean"},"incomeSources":{"$ref":"#/definitions/incomeSources"},"hasCareExpenses":{"type":"boolean"},"careExpenses":{"$ref":"#/definitions/careExpenses"},"hasMedicalExpenses":{"type":"boolean"},"medicalExpenses":{"$ref":"#/definitions/medicalExpenses"},"statementOfTruthCertified":{"type":"boolean"},"statementOfTruthSignature":{"type":"string"},"veteranFullName":{"$ref":"#/definitions/fullName"},"veteranSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"vaFileNumber":{"$ref":"#/definitions/centralMailVaFile"},"veteranAddress":{"$ref":"#/definitions/profileAddress"},"dayPhone":{"$ref":"#/definitions/usaPhone"},"nightPhone":{"$ref":"#/definitions/usaPhone"},"phone":{"$ref":"#/definitions/usaPhone"},"mobilePhone":{"$ref":"#/definitions/usaPhone"},"powDateRange":{"$ref":"#/definitions/dateRange"},"veteranDateOfBirth":{"$ref":"#/definitions/date"},"spouseDateOfBirth":{"$ref":"#/definitions/date"},"spouseSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"spouseVaFileNumber":{"$ref":"#/definitions/centralMailVaFile"},"spouseAddress":{"$ref":"#/definitions/profileAddress"},"marriages":{"$ref":"#/definitions/noSuffixMarriages"},"spouseMarriages":{"$ref":"#/definitions/marriages"},"bankAccount":{"$ref":"#/definitions/bankAccount"},"files":{"$ref":"#/definitions/files"}},"required":["veteranFullName","veteranAddress","statementOfTruthCertified","statementOfTruthSignature"]} diff --git a/dist/versions/24.3.3/21P-530V2-schema.json b/dist/versions/24.3.3/21P-530V2-schema.json new file mode 100644 index 00000000..ee547b5a --- /dev/null +++ b/dist/versions/24.3.3/21P-530V2-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"APPLICATION FOR BURIAL BENEFITS","type":"object","additionalProperties":true,"definitions":{"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}},"privacyAgreementAccepted":{"type":"boolean","enum":[true]},"profileAddress":{"type":"object","properties":{"isMilitary":{"type":"boolean"},"view:militaryBaseDescription":{"type":"object","properties":{}},"country":{"type":"string","enum":["USA","AFG","ALB","DZA","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GTM","GIN","GNB","GUY","HTI","HMD","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","ISR","ITA","JAM","JPN","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","ANT","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","NOR","OMN","PAK","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","QAT","REU","ROU","RUS","RWA","SHN","KNA","LCA","SPM","VCT","SMR","STP","SAU","SEN","SCG","SYC","SLE","SGP","SVK","SVN","SLB","SOM","ZAF","SGS","ESP","LKA","SDN","SUR","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","URY","UZB","VUT","VAT","VEN","VNM","VGB","WLF","ESH","YEM","ZMB","ZWE"],"enumNames":["United States","Afghanistan","Albania","Algeria","Andorra","Angola","Anguilla","Antarctica","Antigua","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia","Botswana","Bouvet Island","Brazil","British Indian Ocean Territories","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman","Central African Republic","Chad","Chile","China","Christmas Island","Cocos Islands","Colombia","Comoros","Congo","Democratic Republic of the Congo","Cook Islands","Costa Rica","Ivory Coast","Croatia","Cuba","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Falkland Islands","Faroe Islands","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guatemala","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel","Italy","Jamaica","Japan","Jordan","Kazakhstan","Kenya","Kiribati","North Korea","South Korea","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands Antilles","Netherlands","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk","Norway","Oman","Pakistan","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn","Poland","Portugal","Qatar","Reunion","Romania","Russia","Rwanda","Saint Helena","Saint Kitts and Nevis","Saint Lucia","Saint Pierre and Miquelon","Saint Vincent and the Grenadines","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","Spain","Sri Lanka","Sudan","Suriname","Swaziland","Sweden","Switzerland","Syrian Arab Republic","Taiwan","Tajikistan","Tanzania","Thailand","Timor-Leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","Uruguay","Uzbekistan","Vanuatu","Vatican","Venezuela","Vietnam","British Virgin Islands","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"]},"street":{"type":"string","minLength":1,"maxLength":100},"street2":{"type":"string","minLength":1,"maxLength":100},"street3":{"type":"string","minLength":1,"maxLength":100},"city":{"type":"string","minLength":1,"maxLength":100},"state":{"type":"string"},"postalCode":{"type":"string"}}},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"centralMailVaFile":{"type":"string","pattern":"^\\d{8,9}$"},"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"files":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"size":{"type":"integer"},"confirmationCode":{"type":"string"}}}}},"anyOf":[{"required":["vaFileNumber"]},{"required":["veteranSocialSecurityNumber"]}],"properties":{"locationOfDeath":{"type":"object","required":["location"],"properties":{"location":{"type":"string","enum":["atHome","nursingHomeUnpaid","nursingHomePaid","vaMedicalCenter","stateVeteransHome","other"]},"nursingHomeUnpaid":{"type":"object","properties":{"facilityName":{"type":"string"},"facilityLocation":{"type":"string"}}},"nursingHomePaid":{"type":"object","properties":{"facilityName":{"type":"string"},"facilityLocation":{"type":"string"}}},"vaMedicalCenter":{"type":"object","properties":{"facilityName":{"type":"string"},"facilityLocation":{"type":"string"}}},"stateVeteransHome":{"type":"object","properties":{"facilityName":{"type":"string"},"facilityLocation":{"type":"string"}}},"other":{"type":"string"}}},"finalRestingPlace":{"type":"object","required":["location"],"properties":{"location":{"type":"string","enum":["cemetery","mausoleum","privateResidence","other"]},"other":{"type":"string"}}},"toursOfDuty":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","properties":{"serviceBranch":{"type":"string","enum":["Air Force","Air Force Reserve","Air National Guard","Army","Army National Guard","Army Reserve","Coast Guard","Coast Guard Reserve","Marine Corps","Marine Corps Reserve","Navy","Navy Reserve","Other"]},"dateRange":{"$ref":"#/definitions/dateRange"},"placeOfEntry":{"type":"string"},"placeOfSeparation":{"type":"string"},"rank":{"type":"string"},"unit":{"type":"string"}}}},"previousNames":{"type":"array","items":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]}},"serviceNumber":{"type":"string"},"unclaimedRemains":{"type":"boolean"},"burialCost":{"type":"number"},"burialExpenseResponsibility":{"type":"boolean"},"plotExpenseResponsibility":{"type":"boolean"},"allowanceStatementOfTruth":{"type":"boolean"},"previouslyReceivedAllowance":{"type":"boolean"},"benefitsUnclaimedRemains":{"type":"boolean"},"placeOfRemains":{"type":"string"},"federalCemetery":{"type":"boolean"},"stateCemetery":{"type":"boolean"},"govtContributions":{"type":"boolean"},"transportationExpenses":{"type":"boolean"},"formV2":{"type":"boolean","default":true},"placeOfBirth":{"type":"string"},"privacyAgreementAccepted":{"$ref":"#/definitions/privacyAgreementAccepted"},"claimantAddress":{"$ref":"#/definitions/profileAddress"},"claimantFullName":{"$ref":"#/definitions/fullName"},"veteranFullName":{"$ref":"#/definitions/fullName"},"claimantSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"veteranSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"vaFileNumber":{"$ref":"#/definitions/centralMailVaFile"},"burialDate":{"$ref":"#/definitions/date"},"deathDate":{"$ref":"#/definitions/date"},"claimantDateOfBirth":{"$ref":"#/definitions/date"},"veteranDateOfBirth":{"$ref":"#/definitions/date"},"militarySeparationDocuments":{"$ref":"#/definitions/files"},"deathCertificate":{"$ref":"#/definitions/files"},"transportationReceipts":{"$ref":"#/definitions/files"},"additionalEvidence":{"$ref":"#/definitions/files"}},"required":["privacyAgreementAccepted","claimantAddress","veteranFullName"]} diff --git a/dist/versions/24.3.3/22-0993-schema.json b/dist/versions/24.3.3/22-0993-schema.json new file mode 100644 index 00000000..01cd09a0 --- /dev/null +++ b/dist/versions/24.3.3/22-0993-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"REQUEST TO OPT-OUT OF INFORMATION SHARING WITH EDUCATIONAL INSTITUTIONS (VA FORM 22-0993)","type":"object","definitions":{"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"vaFileNumber":{"type":"string","pattern":"^[cC]{0,1}\\d{7,9}$"},"privacyAgreementAccepted":{"type":"boolean","enum":[true]}},"additionalProperties":false,"properties":{"claimantFullName":{"$ref":"#/definitions/fullName"},"claimantSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"vaFileNumber":{"$ref":"#/definitions/vaFileNumber"},"privacyAgreementAccepted":{"$ref":"#/definitions/privacyAgreementAccepted"}},"anyOf":[{"required":["vaFileNumber"]},{"required":["claimantSocialSecurityNumber"]}],"required":["privacyAgreementAccepted","claimantFullName"]} diff --git a/dist/versions/24.3.3/22-0994-schema.json b/dist/versions/24.3.3/22-0994-schema.json new file mode 100644 index 00000000..7153cda7 --- /dev/null +++ b/dist/versions/24.3.3/22-0994-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"APPLICATION FOR VETERAN EMPLOYMENT THROUGH TECHNOLOGY EDUCATION COURSES (VET TEC) HIGH TECHNOLOGY PROGRAM","type":"object","definitions":{"phone":{"type":"string","pattern":"^\\d{10}$"},"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30,"pattern":"^.*\\S.*"},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"bankAccount":{"type":"object","properties":{"accountType":{"type":"string","enum":["checking","savings"]},"routingNumber":{"type":"string","pattern":"^\\d{9}$"},"accountNumber":{"type":"string"}}},"gender":{"type":"string","enum":["F","M"]},"email":{"type":"string","minLength":6,"maxLength":80,"pattern":"^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$"},"address":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"state":{"type":"string","maxLength":51},"postalCode":{"type":"string","maxLength":51}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":50,"pattern":"^.*\\S.*"},"street2":{"type":"string","minLength":1,"maxLength":50},"city":{"type":"string","minLength":1,"maxLength":51,"pattern":"^.*\\S.*"},"street3":{"type":"string","minLength":1,"maxLength":50}}},"privacyAgreementAccepted":{"type":"boolean","enum":[true]}},"properties":{"applicantFullName":{"$ref":"#/definitions/fullName"},"applicantSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"mailingAddress":{"$ref":"#/definitions/address"},"applicantGender":{"$ref":"#/definitions/gender"},"dateOfBirth":{"$ref":"#/definitions/date"},"expectedReleaseDate":{"$ref":"#/definitions/date"},"expectedActiveDutyStatusChange":{"type":"boolean"},"emailAddress":{"$ref":"#/definitions/email"},"mobilePhone":{"$ref":"#/definitions/phone"},"homePhone":{"$ref":"#/definitions/phone"},"appliedForVaEducationBenefits":{"type":"boolean"},"activeDuty":{"type":"boolean"},"activeDutyDuringVetTec":{"type":"boolean"},"hasSelectedPrograms":{"type":"boolean"},"bankAccount":{"$ref":"#/definitions/bankAccount"},"prefillBankAccount":{"type":"object","properties":{"bankAccountType":{"type":"string","enum":["checking","savings"]},"bankAccountNumber":{"type":"string"},"bankRoutingNumber":{"type":"string"},"bankName":{"type":"string"}}},"vetTecPrograms":{"type":"array","maxItems":3,"items":{"type":"object","properties":{"providerName":{"type":"string"},"programName":{"type":"string"},"courseType":{"type":"string","enum":["inPerson","online","both"]},"location":{"type":"object","properties":{"city":{"type":"string","maxLength":30,"pattern":"^.*\\S.*"},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PI","PR","RI","SC","SD","TN","TX","UM","UT","VT","VI","VA","WA","WV","WI","WY"],"enumNames":["Alabama","Alaska","American Samoa","Arizona","Arkansas","Armed Forces Americas (AA)","Armed Forces Europe (AE)","Armed Forces Pacific (AP)","California","Colorado","Connecticut","Delaware","District Of Columbia","Federated States Of Micronesia","Florida","Georgia","Guam","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Marshall Islands","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Northern Mariana Islands","Ohio","Oklahoma","Oregon","Palau","Pennsylvania","Philippine Islands","Puerto Rico","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","U.S. Minor Outlying Islands","Utah","Vermont","Virgin Islands","Virginia","Washington","West Virginia","Wisconsin","Wyoming"]}}},"plannedStartDate":{"$ref":"#/definitions/date"}}}},"pastHighTechnologyEmployment":{"type":"boolean"},"currentHighTechnologyEmployment":{"type":"boolean"},"highTechnologyEmploymentTypes":{"type":"array","items":{"type":"string","enum":["computerProgramming","dataProcessing","computerSoftware","informationSciences","mediaApplication"]}},"currentSalary":{"type":"string","enum":["lessThanTwenty","twentyToThirtyFive","thirtyFiveToFifty","fiftyToSeventyFive","moreThanSeventyFive"]},"highestLevelofEducation":{"type":"string","enum":["some_high_school","high_school_diploma_or_GED","some_college","associates_degree","bachelors_degree","masters_degree","doctoral_degree","other"],"enumNames":["Some high school","High school diploma or GED","Some college","Associate’s degree","Bachelor’s degree","Master’s degree","Doctoral degree","Other"]},"otherEducation":{"type":"string"},"privacyAgreementAccepted":{"$ref":"#/definitions/privacyAgreementAccepted"}},"required":["privacyAgreementAccepted","applicantFullName","applicantSocialSecurityNumber","dateOfBirth","appliedForVaEducationBenefits","activeDuty","mobilePhone","emailAddress"]} diff --git a/dist/versions/24.3.3/22-10203-schema.json b/dist/versions/24.3.3/22-10203-schema.json new file mode 100644 index 00000000..b78b2f5a --- /dev/null +++ b/dist/versions/24.3.3/22-10203-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"APPLICATION FOR STEM (22-10203)","type":"object","additionalProperties":false,"definitions":{"address":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"state":{"type":"string","maxLength":51},"postalCode":{"type":"string","maxLength":51}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":50},"street2":{"type":"string","minLength":1,"maxLength":50},"city":{"type":"string","minLength":1,"maxLength":51}}},"bankAccount":{"type":"object","properties":{"accountType":{"type":"string","enum":["checking","savings"]},"routingNumber":{"type":"string","pattern":"^\\d{9}$"},"accountNumber":{"type":"string"}}},"email":{"type":"string","maxLength":256,"format":"email"},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"usaPhone":{"type":"string","pattern":"^\\d{10}$"},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"privacyAgreementAccepted":{"type":"boolean","enum":[true]},"usaStates":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]}},"properties":{"veteranFullName":{"$ref":"#/definitions/fullName"},"veteranSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"benefit":{"type":"string","enum":["chapter33","chapter30","chapter1606","transferOfEntitlement","chapter32"]},"isEnrolledStem":{"type":"boolean"},"isPursuingTeachingCert":{"type":"boolean"},"isPursuingClinicalTraining":{"type":"boolean"},"benefitLeft":{"type":"string","enum":["moreThanSixMonths","sixMonthsOrLess","none"]},"degreeName":{"type":"string"},"schoolName":{"type":"string"},"schoolCity":{"type":"string"},"schoolState":{"type":"string"},"schoolCountry":{"type":"string","enum":["USA","AFG","ALB","DZA","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GTM","GIN","GNB","GUY","HTI","HMD","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","ISR","ITA","JAM","JPN","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","ANT","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","NOR","OMN","PAK","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","QAT","REU","ROU","RUS","RWA","SHN","KNA","LCA","SPM","VCT","SMR","STP","SAU","SEN","SCG","SYC","SLE","SGP","SVK","SVN","SLB","SOM","ZAF","SGS","ESP","LKA","SDN","SUR","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","URY","UZB","VUT","VAT","VEN","VNM","VGB","WLF","ESH","YEM","ZMB","ZWE"]},"schoolStudentId":{"type":"string"},"schoolEmailAddress":{"$ref":"#/definitions/email"},"isActiveDuty":{"type":"boolean"},"veteranAddress":{"$ref":"#/definitions/address"},"email":{"$ref":"#/definitions/email"},"mobilePhone":{"$ref":"#/definitions/usaPhone"},"homePhone":{"$ref":"#/definitions/usaPhone"},"preferredContactMethod":{"type":"string","enum":["mail","email","mobilePhone","homePhone"]},"bankAccount":{"$ref":"#/definitions/bankAccount"},"privacyAgreementAccepted":{"$ref":"#/definitions/privacyAgreementAccepted"},"declineDirectDeposit":{"type":"boolean"},"scoEmailSent":{"type":"boolean"},"receiveTexts":{"type":"boolean"}},"required":["veteranFullName","veteranSocialSecurityNumber","benefit","isEnrolledStem","benefitLeft","degreeName","schoolName","schoolCity","schoolCountry","isActiveDuty","veteranAddress","email","privacyAgreementAccepted"]} diff --git a/dist/versions/24.3.3/22-10282-schema.json b/dist/versions/24.3.3/22-10282-schema.json new file mode 100644 index 00000000..2200f509 --- /dev/null +++ b/dist/versions/24.3.3/22-10282-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"22-10282 IBM Skillsbuild Training Program Intake Application","type":"object","additionalProperties":false,"definitions":{"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"email":{"type":"string","maxLength":256,"format":"email"},"usaPhone":{"type":"string","pattern":"^\\d{10}$"},"country":{"type":"string","enum":["Afghanistan","Aland Islands","Albania","Algeria","Andorra","Angola","Anguilla","Antarctica","Antigua and Barbuda","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia, Plurinational State of","Bonaire, Sint Eustatius and Saba","Bosnia and Herzegovina","Botswana","Bouvet Island","Brazil","British Indian Ocean Territory","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman Islands","Central African Republic","Chad","Chile","China","Chinese Taipei","Christmas Island","Cocos (Keeling) Islands","Colombia","Comoros","Congo","Congo, the Democratic Republic of the","Cook Islands","Costa Rica","Cote d'Ivoire","Croatia","Cuba","Curaçao","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Falkland Islands (Malvinas)","Faroe Islands","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guatemala","Guernsey","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island and McDonald Islands","Holy See (Vatican City State)","Honduras","Hungary","Iceland","India","Indonesia","Iran, Islamic Republic of","Iraq","Ireland","Isle of Man","Israel","Italy","Jamaica","Japan","Jersey","Jordan","Kazakhstan","Kenya","Kiribati","Korea, Democratic People's Republic of","Korea, Republic of","Kuwait","Kyrgyzstan","Lao People's Democratic Republic","Latvia","Lebanon","Lesotho","Liberia","Libyan Arab Jamahiriya","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia, the former Yugoslav Republic of","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Moldova, Republic of","Monaco","Mongolia","Montenegro","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk Island","Norway","Oman","Pakistan","Palestinian Territory, Occupied","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn","Poland","Portugal","Qatar","Reunion","Romania","Russian Federation","Rwanda","Saint Barthélemy","Saint Helena, Ascension and Tristan da Cunha","Saint Kitts and Nevis","Saint Lucia","Saint Martin (French part)","Saint Pierre and Miquelon","Saint Vincent and the Grenadines","Samoa","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Sint Maarten (Dutch part)","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","South Sudan","Spain","Sri Lanka","Sudan","Suriname","Svalbard and Jan Mayen","Swaziland","Sweden","Switzerland","Syrian Arab Republic","Tajikistan","Tanzania, United Republic of","Thailand","Timor-Leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","United States","Uruguay","Uzbekistan","Vanuatu","Venezuela, Bolivarian Republic of","Viet Nam","Virgin Islands, British","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"raceAndGender":{"type":"string","enum":["Yes","No"]}},"properties":{"veteranFullName":{"$ref":"#/definitions/fullName"},"veteranDesc":{"type":"string","enum":["veteran","veteransSpouse","veteransChild","veteransCaregiver","activeduty","nationalGuard","reservist","individualReadyReserve"]},"email":{"type":"string","format":"email"},"mobilePhone":{"$ref":"#/definitions/usaPhone"},"homePhone":{"$ref":"#/definitions/usaPhone"},"country":{"$ref":"#/definitions/country"},"state":{"$ref":"#/definitions/state"},"raceAndGender":{"type":"string","enum":["Yes","No"]},"ethnicity":{"type":"string","enum":["Hispanic or Latino","Not Hispanic or Latino","Prefer not to answer"]},"orginRace":{"type":"string","enum":["American Indian or Alaskan Native","Asian","Black or African American","Native Hawaiian or Other Pacific Islander","White","Middle Eastern or North African","Other","Prefer not to answer"]},"gender":{"type":"string","enum":["Man","Non-binary","Transgender man","Transgender woman","Woman","Prefer not to answer","A gender not listed here"]},"highestLevelOfEducation":{"type":"object","properties":{"level":{"type":"string","enum":["A high school diploma or GED","An associate degree","A bachelor's degree","A master's degree","A doctoral degree like a PhD","Something else"]},"otherEducation":{"type":"string","minLength":0}}},"currentlyEmployed":{"type":"string","enum":["Yes","No"]},"currentAnnualSalary":{"type":"string","enum":["Less than $20,000","Between $20,001 and $35,000","Between $35,001 and $50,000","Between $50,001 and $75,000","More than $75,000"]},"isWorkingInTechIndustry":{"type":"string","enum":["Yes","No"]},"techIndustryFocusArea":{"type":"string","enum":["Computer programming","Data processing","Computer software","Information sciences","Media application","Something else not listed here"]}},"required":["veteranFullName","veteranDesc","email","country","state"]} diff --git a/dist/versions/24.3.3/22-1990-schema.json b/dist/versions/24.3.3/22-1990-schema.json new file mode 100644 index 00000000..c97adf12 --- /dev/null +++ b/dist/versions/24.3.3/22-1990-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"APPLICATION FOR VA EDUCATION BENEFITS (22-1990)","type":"object","definitions":{"year":{"type":"integer","minimum":1900},"address":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"state":{"type":"string","maxLength":51},"postalCode":{"type":"string","maxLength":51}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":50},"street2":{"type":"string","minLength":1,"maxLength":50},"city":{"type":"string","minLength":1,"maxLength":51}}},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"usaPhone":{"type":"string","pattern":"^\\d{10}$"},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"bankAccount":{"type":"object","properties":{"accountType":{"type":"string","enum":["checking","savings"]},"routingNumber":{"type":"string","pattern":"^\\d{9}$"},"accountNumber":{"type":"string"}}},"serviceBefore1977":{"type":"object","properties":{"married":{"type":"boolean"},"haveDependents":{"type":"boolean"},"parentDependent":{"type":"boolean"}},"required":["married","haveDependents","parentDependent"]},"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}},"educationType":{"type":"string","enum":["college","correspondence","apprenticeship","flightTraining","testReimbursement","licensingReimbursement","tuitionTopUp"]},"educationProgram":{"type":"object","properties":{"name":{"type":"string"},"address":{"$ref":"#/definitions/address"},"educationType":{"$ref":"#/definitions/educationType"}}},"preferredContactMethod":{"type":"string","enum":["mail","email","mobile","phone"]},"privacyAgreementAccepted":{"type":"boolean","enum":[true]},"gender":{"type":"string","enum":["F","M"]},"postHighSchoolTrainings":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"city":{"type":"string"},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"dateRange":{"$ref":"#/definitions/dateRange"},"hours":{"type":"number"},"hoursType":{"type":"string","enum":["semester","quarter","clock"]},"degreeReceived":{"type":"string"},"major":{"type":"string"}}}},"nonMilitaryJobs":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"months":{"type":"number"},"licenseOrRating":{"type":"string"},"postMilitaryJob":{"type":"boolean"}}}},"toursOfDuty":{"type":"array","items":{"type":"object","properties":{"dateRange":{"$ref":"#/definitions/dateRange"},"serviceBranch":{"type":"string"},"serviceStatus":{"type":"string"},"applyPeriodToSelected":{"type":"boolean"},"benefitsToApplyTo":{"type":"string"}},"required":["dateRange","serviceBranch"]}},"currentlyActiveDuty":{"type":"object","properties":{"yes":{"type":"boolean"},"onTerminalLeave":{"type":"boolean"},"nonVaAssistance":{"type":"boolean"}}}},"additionalProperties":false,"properties":{"chapter33":{"type":"boolean"},"chapter30":{"type":"boolean"},"chapter1606":{"type":"boolean"},"chapter32":{"type":"boolean"},"benefitsRelinquished":{"type":"string","enum":["unknown","chapter30","chapter1606","chapter1607"]},"veteranFullName":{"$ref":"#/definitions/fullName"},"gender":{"$ref":"#/definitions/gender"},"veteranDateOfBirth":{"$ref":"#/definitions/date"},"veteranSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"veteranAddress":{"$ref":"#/definitions/address"},"email":{"type":"string","format":"email"},"homePhone":{"$ref":"#/definitions/usaPhone"},"mobilePhone":{"$ref":"#/definitions/usaPhone"},"preferredContactMethod":{"$ref":"#/definitions/preferredContactMethod"},"secondaryContact":{"type":"object","properties":{"fullName":{"type":"string"},"sameAddress":{"type":"boolean"},"address":{"$ref":"#/definitions/address"},"phone":{"$ref":"#/definitions/usaPhone"}}},"bankAccount":{"$ref":"#/definitions/bankAccount"},"educationStartDate":{"$ref":"#/definitions/date"},"educationObjective":{"type":"string"},"educationType":{"$ref":"#/definitions/educationType"},"educationProgram":{"$ref":"#/definitions/educationProgram"},"highSchoolOrGedCompletionDate":{"$ref":"#/definitions/date"},"faaFlightCertificatesInformation":{"type":"string"},"serviceAcademyGraduationYear":{"$ref":"#/definitions/year"},"seniorRotc":{"type":"object","properties":{"commissionYear":{"$ref":"#/definitions/year"},"rotcScholarshipAmounts":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer"},"amount":{"type":"number"}}}}}},"seniorRotcScholarshipProgram":{"type":"boolean"},"civilianBenefitsAssistance":{"type":"boolean"},"additionalContributions":{"type":"boolean"},"activeDutyKicker":{"type":"boolean"},"reserveKicker":{"type":"boolean"},"activeDutyRepayingPeriod":{"$ref":"#/definitions/dateRange"},"serviceBefore1977":{"$ref":"#/definitions/serviceBefore1977"},"postHighSchoolTrainings":{"$ref":"#/definitions/postHighSchoolTrainings"},"nonMilitaryJobs":{"$ref":"#/definitions/nonMilitaryJobs"},"applyingUsingOwnBenefits":{"type":"boolean"},"benefitsRelinquishedDate":{"$ref":"#/definitions/date"},"privacyAgreementAccepted":{"$ref":"#/definitions/privacyAgreementAccepted"},"minorHighSchoolQuestions":{"type":"object","properties":{"minorHighSchoolQuestion":{"type":"boolean"},"highSchoolGedGradDate":{"$ref":"#/definitions/date"},"highSchoolGedExpectedGradDate":{"$ref":"#/definitions/date"}}},"minorQuestions":{"type":"object","properties":{"guardianFirstName":{"type":"string"},"guardianMiddleName":{"type":"string"},"guardianLastName":{"type":"string"},"guardianAddress":{"$ref":"#/definitions/address"},"guardianMobilePhone":{"$ref":"#/definitions/usaPhone"},"guardianHomePhone":{"$ref":"#/definitions/usaPhone"},"guardianEmail":{"type":"string","format":"email"}}},"toursOfDuty":{"$ref":"#/definitions/toursOfDuty"},"currentlyActiveDuty":{"$ref":"#/definitions/currentlyActiveDuty"}},"required":["privacyAgreementAccepted","veteranFullName"]} diff --git a/dist/versions/24.3.3/22-1990E-schema.json b/dist/versions/24.3.3/22-1990E-schema.json new file mode 100644 index 00000000..2117386e --- /dev/null +++ b/dist/versions/24.3.3/22-1990E-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"APPLICATION FOR FAMILY MEMBER TO USE TRANSFERRED BENEFITS (22-1990E)","type":"object","additionalProperties":true,"definitions":{"privacyAgreementAccepted":{"type":"boolean","enum":[true]},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"gender":{"type":"string","enum":["F","M"]},"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"address":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"state":{"type":"string","maxLength":51},"postalCode":{"type":"string","maxLength":51}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":50},"street2":{"type":"string","minLength":1,"maxLength":50},"city":{"type":"string","minLength":1,"maxLength":51}}},"usaPhone":{"type":"string","pattern":"^\\d{10}$"},"bankAccount":{"type":"object","properties":{"accountType":{"type":"string","enum":["checking","savings"]},"routingNumber":{"type":"string","pattern":"^\\d{9}$"},"accountNumber":{"type":"string"}}},"educationType":{"type":"string","enum":["college","correspondence","apprenticeship","flightTraining","testReimbursement","licensingReimbursement","tuitionTopUp"]},"educationProgram":{"type":"object","properties":{"name":{"type":"string"},"address":{"$ref":"#/definitions/address"},"educationType":{"$ref":"#/definitions/educationType"}}},"postHighSchoolTrainings":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"city":{"type":"string"},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"dateRange":{"$ref":"#/definitions/dateRange"},"hours":{"type":"number"},"hoursType":{"type":"string","enum":["semester","quarter","clock"]},"degreeReceived":{"type":"string"},"major":{"type":"string"}}}},"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}},"nonMilitaryJobs":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"months":{"type":"number"},"licenseOrRating":{"type":"string"},"postMilitaryJob":{"type":"boolean"}}}},"preferredContactMethod":{"type":"string","enum":["mail","email","mobile","phone"]},"relationship":{"type":"string","enum":["spouse","child"]},"vaFileNumber":{"type":"string","pattern":"^[cC]{0,1}\\d{7,9}$"}},"anyOf":[{"required":["vaFileNumber"]},{"required":["veteranSocialSecurityNumber"]}],"properties":{"privacyAgreementAccepted":{"$ref":"#/definitions/privacyAgreementAccepted"},"relativeSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"gender":{"$ref":"#/definitions/gender"},"relativeDateOfBirth":{"$ref":"#/definitions/date"},"relativeFullName":{"$ref":"#/definitions/fullName"},"relativeAddress":{"$ref":"#/definitions/address"},"homePhone":{"$ref":"#/definitions/usaPhone"},"mobilePhone":{"$ref":"#/definitions/usaPhone"},"email":{"type":"string","format":"email"},"bankAccount":{"$ref":"#/definitions/bankAccount"},"highSchoolOrGedCompletionDate":{"$ref":"#/definitions/date"},"benefit":{"type":"string","enum":["chapter33","chapter30"]},"educationProgram":{"$ref":"#/definitions/educationProgram"},"educationObjective":{"type":"string"},"faaFlightCertificatesInformation":{"type":"string"},"postHighSchoolTrainings":{"$ref":"#/definitions/postHighSchoolTrainings"},"nonMilitaryJobs":{"$ref":"#/definitions/nonMilitaryJobs"},"nonVaAssistance":{"type":"boolean"},"civilianBenefitsAssistance":{"type":"boolean"},"veteranSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"serviceBranch":{"type":"string"},"veteranFullName":{"$ref":"#/definitions/fullName"},"veteranAddress":{"$ref":"#/definitions/address"},"preferredContactMethod":{"$ref":"#/definitions/preferredContactMethod"},"relationship":{"$ref":"#/definitions/relationship"},"vaFileNumber":{"$ref":"#/definitions/vaFileNumber"}},"required":["privacyAgreementAccepted","relativeFullName"]} diff --git a/dist/versions/24.3.3/22-1990EMEB-schema.json b/dist/versions/24.3.3/22-1990EMEB-schema.json new file mode 100644 index 00000000..18526bb0 --- /dev/null +++ b/dist/versions/24.3.3/22-1990EMEB-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"APPLICATION FOR FAMILY MEMBER TO USE TRANSFERRED BENEFITS (22-1990E)","type":"object","additionalProperties":false,"definitions":{"address":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"state":{"type":"string","maxLength":51},"postalCode":{"type":"string","maxLength":51}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":50},"street2":{"type":"string","minLength":1,"maxLength":50},"city":{"type":"string","minLength":1,"maxLength":51}}},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"bankAccount":{"type":"object","properties":{"accountType":{"type":"string","enum":["checking","savings"]},"routingNumber":{"type":"string","pattern":"^\\d{9}$"},"accountNumber":{"type":"string"}}},"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"preferredContactMethod":{"type":"string","enum":["mail","email","mobile","phone"]},"privacyAgreementAccepted":{"type":"boolean","enum":[true]},"internationalPhone":{"type":"string","pattern":"^\\d{10,15}$"},"year":{"type":"integer","minimum":1900}},"properties":{"userFullName":{"$ref":"#/definitions/fullName"},"dateOfBirth":{"$ref":"#/definitions/date"},"parentGuardianSponsor":{"type":"string"},"selectedSponsors":{"type":"array","items":{"type":"string"}},"relationshipToServiceMember":{"type":"string","enum":["Spouse","Child"]},"sponsorFullName":{"$ref":"#/definitions/fullName"},"sponsorDateOfBirth":{"$ref":"#/definitions/date"},"firstSponsor":{"type":"string"},"highSchoolDiploma":{"type":"string","enum":["Yes","No"]},"highSchoolDiplomaDate":{"$ref":"#/definitions/date"},"mobilePhoneNumber":{"$ref":"#/definitions/internationalPhone"},"phoneNumber":{"$ref":"#/definitions/internationalPhone"},"email":{"type":"string","format":"email"},"livesOnMilitaryBase":{"type":"boolean"},"address":{"$ref":"#/definitions/address"},"contactMethod":{"$ref":"#/definitions/preferredContactMethod"},"receiveTextMessages":{"type":"string","enum":["Yes, send me text message notifications","No, just send me email notifications"]},"bankAccount":{"$ref":"#/definitions/bankAccount"},"privacyAgreementAccepted":{"$ref":"#/definitions/privacyAgreementAccepted"}},"required":["bankAccount","dateOfBirth","email","userFullName"]} diff --git a/dist/versions/24.3.3/22-1990EZ-schema.json b/dist/versions/24.3.3/22-1990EZ-schema.json new file mode 100644 index 00000000..5765dd0e --- /dev/null +++ b/dist/versions/24.3.3/22-1990EZ-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"APPLICATION FOR VA EDUCATION BENEFITS (22-1990)","type":"object","definitions":{"year":{"type":"integer","minimum":1900},"address":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"state":{"type":"string","maxLength":51},"postalCode":{"type":"string","maxLength":51}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":50},"street2":{"type":"string","minLength":1,"maxLength":50},"city":{"type":"string","minLength":1,"maxLength":51}}},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"usaPhone":{"type":"string","pattern":"^\\d{10}$"},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"bankAccount":{"type":"object","properties":{"accountType":{"type":"string","enum":["checking","savings"]},"routingNumber":{"type":"string","pattern":"^\\d{9}$"},"accountNumber":{"type":"string"}}},"serviceBefore1977":{"type":"object","properties":{"married":{"type":"boolean"},"haveDependents":{"type":"boolean"},"parentDependent":{"type":"boolean"}},"required":["married","haveDependents","parentDependent"]},"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}},"educationType":{"type":"string","enum":["college","correspondence","apprenticeship","flightTraining","testReimbursement","licensingReimbursement","tuitionTopUp"]},"educationProgram":{"type":"object","properties":{"name":{"type":"string"},"address":{"$ref":"#/definitions/address"},"educationType":{"$ref":"#/definitions/educationType"}}},"preferredContactMethod":{"type":"string","enum":["mail","email","mobile","phone"]},"privacyAgreementAccepted":{"type":"boolean","enum":[true]},"gender":{"type":"string","enum":["F","M"]},"postHighSchoolTrainings":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"city":{"type":"string"},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"dateRange":{"$ref":"#/definitions/dateRange"},"hours":{"type":"number"},"hoursType":{"type":"string","enum":["semester","quarter","clock"]},"degreeReceived":{"type":"string"},"major":{"type":"string"}}}},"nonMilitaryJobs":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"months":{"type":"number"},"licenseOrRating":{"type":"string"},"postMilitaryJob":{"type":"boolean"}}}},"toursOfDuty":{"type":"array","items":{"type":"object","properties":{"dateRange":{"$ref":"#/definitions/dateRange"},"serviceBranch":{"type":"string"},"serviceStatus":{"type":"string"},"applyPeriodToSelected":{"type":"boolean"},"benefitsToApplyTo":{"type":"string"}},"required":["dateRange","serviceBranch"]}},"currentlyActiveDuty":{"type":"object","properties":{"yes":{"type":"boolean"},"onTerminalLeave":{"type":"boolean"},"nonVaAssistance":{"type":"boolean"}}}},"additionalProperties":false,"properties":{"chapter33":{"type":"boolean"},"chapter30":{"type":"boolean"},"chapter1606":{"type":"boolean"},"chapter32":{"type":"boolean"},"benefitsRelinquished":{"type":"string","enum":["unknown","chapter30","chapter1606","chapter1607"]},"veteranFullName":{"$ref":"#/definitions/fullName"},"gender":{"$ref":"#/definitions/gender"},"veteranDateOfBirth":{"$ref":"#/definitions/date"},"veteranSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"veteranAddress":{"$ref":"#/definitions/address"},"email":{"type":"string","format":"email"},"homePhone":{"$ref":"#/definitions/usaPhone"},"mobilePhone":{"$ref":"#/definitions/usaPhone"},"preferredContactMethod":{"$ref":"#/definitions/preferredContactMethod"},"secondaryContact":{"type":"object","properties":{"fullName":{"type":"string"},"sameAddress":{"type":"boolean"},"address":{"$ref":"#/definitions/address"},"phone":{"$ref":"#/definitions/usaPhone"}}},"bankAccount":{"$ref":"#/definitions/bankAccount"},"educationStartDate":{"$ref":"#/definitions/date"},"educationObjective":{"type":"string"},"educationType":{"$ref":"#/definitions/educationType"},"educationProgram":{"$ref":"#/definitions/educationProgram"},"highSchoolOrGedCompletionDate":{"$ref":"#/definitions/date"},"faaFlightCertificatesInformation":{"type":"string"},"serviceAcademyGraduationYear":{"$ref":"#/definitions/year"},"seniorRotc":{"type":"object","properties":{"commissionYear":{"$ref":"#/definitions/year"},"rotcScholarshipAmounts":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer"},"amount":{"type":"number"}}}}}},"seniorRotcScholarshipProgram":{"type":"boolean"},"civilianBenefitsAssistance":{"type":"boolean"},"additionalContributions":{"type":"boolean"},"activeDutyKicker":{"type":"boolean"},"reserveKicker":{"type":"boolean"},"activeDutyRepayingPeriod":{"$ref":"#/definitions/dateRange"},"serviceBefore1977":{"$ref":"#/definitions/serviceBefore1977"},"postHighSchoolTrainings":{"$ref":"#/definitions/postHighSchoolTrainings"},"nonMilitaryJobs":{"$ref":"#/definitions/nonMilitaryJobs"},"applyingUsingOwnBenefits":{"type":"boolean"},"benefitsRelinquishedDate":{"$ref":"#/definitions/date"},"privacyAgreementAccepted":{"$ref":"#/definitions/privacyAgreementAccepted"},"toursOfDuty":{"$ref":"#/definitions/toursOfDuty"},"currentlyActiveDuty":{"$ref":"#/definitions/currentlyActiveDuty"}},"required":["privacyAgreementAccepted","veteranFullName"]} diff --git a/dist/versions/24.3.3/22-1990N-schema.json b/dist/versions/24.3.3/22-1990N-schema.json new file mode 100644 index 00000000..f4ee3217 --- /dev/null +++ b/dist/versions/24.3.3/22-1990N-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"APPLICATION FOR VA EDUCATION BENEFITS UNDER THE NATIONAL CALL TO SERVICE (NCS) PROGRAM (22-1990N)","type":"object","additionalProperties":false,"definitions":{"educationType":{"type":"string","enum":["college","correspondence","apprenticeship","flightTraining","testReimbursement","licensingReimbursement"]},"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}},"privacyAgreementAccepted":{"type":"boolean","enum":[true]},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"gender":{"type":"string","enum":["F","M"]},"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"address":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"state":{"type":"string","maxLength":51},"postalCode":{"type":"string","maxLength":51}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":50},"street2":{"type":"string","minLength":1,"maxLength":50},"city":{"type":"string","minLength":1,"maxLength":51}}},"phone":{"type":"string","minLength":10},"bankAccount":{"type":"object","properties":{"accountType":{"type":"string","enum":["checking","savings"]},"routingNumber":{"type":"string","pattern":"^\\d{9}$"},"accountNumber":{"type":"string"}}},"educationProgram":{"type":"object","properties":{"name":{"type":"string"},"address":{"$ref":"#/definitions/address"},"educationType":{"$ref":"#/definitions/educationType"}}},"currentlyActiveDuty":{"type":"object","properties":{"yes":{"type":"boolean"},"onTerminalLeave":{"type":"boolean"},"nonVaAssistance":{"type":"boolean"}}},"toursOfDuty":{"type":"array","items":{"type":"object","properties":{"dateRange":{"$ref":"#/definitions/dateRange"},"serviceBranch":{"type":"string"},"serviceStatus":{"type":"string"},"applyPeriodToSelected":{"type":"boolean"},"benefitsToApplyTo":{"type":"string"}},"required":["dateRange","serviceBranch"]}},"preferredContactMethod":{"type":"string","enum":["mail","email","mobile","phone"]}},"properties":{"email":{"type":"string","format":"email"},"educationObjective":{"type":"string"},"payHighestRateBenefit":{"type":"boolean"},"seniorRotcScholarshipProgram":{"type":"boolean"},"civilianBenefitsAssistance":{"type":"boolean"},"civilianBenefitsSource":{"type":"string"},"privacyAgreementAccepted":{"$ref":"#/definitions/privacyAgreementAccepted"},"veteranSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"gender":{"$ref":"#/definitions/gender"},"veteranDateOfBirth":{"$ref":"#/definitions/date"},"veteranFullName":{"$ref":"#/definitions/fullName"},"veteranAddress":{"$ref":"#/definitions/address"},"homePhone":{"$ref":"#/definitions/phone"},"mobilePhone":{"$ref":"#/definitions/phone"},"bankAccount":{"$ref":"#/definitions/bankAccount"},"educationProgram":{"$ref":"#/definitions/educationProgram"},"currentlyActiveDuty":{"$ref":"#/definitions/currentlyActiveDuty"},"toursOfDuty":{"$ref":"#/definitions/toursOfDuty"},"preferredContactMethod":{"$ref":"#/definitions/preferredContactMethod"}},"required":["privacyAgreementAccepted","veteranFullName"]} diff --git a/dist/versions/24.3.3/22-1995-schema.json b/dist/versions/24.3.3/22-1995-schema.json new file mode 100644 index 00000000..15059a1d --- /dev/null +++ b/dist/versions/24.3.3/22-1995-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"REQUEST FOR CHANGE OF PROGRAM OR PLACE OF TRAINING (22-1995)","type":"object","additionalProperties":false,"definitions":{"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"address":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"state":{"type":"string","maxLength":51},"postalCode":{"type":"string","maxLength":51}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":50},"street2":{"type":"string","minLength":1,"maxLength":50},"city":{"type":"string","minLength":1,"maxLength":51}}},"usaPhone":{"type":"string","pattern":"^\\d{10}$"},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"school":{"type":"object","properties":{"name":{"type":"string"},"address":{"$ref":"#/definitions/address"}}},"bankAccount":{"type":"object","properties":{"accountType":{"type":"string","enum":["checking","savings"]},"routingNumber":{"type":"string","pattern":"^\\d{9}$"},"accountNumber":{"type":"string"}}},"serviceBefore1977":{"type":"object","properties":{"married":{"type":"boolean"},"haveDependents":{"type":"boolean"},"parentDependent":{"type":"boolean"}},"required":["married","haveDependents","parentDependent"]},"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}},"educationType":{"type":"string","enum":["college","correspondence","apprenticeship","flightTraining","testReimbursement","licensingReimbursement","tuitionTopUp","cooperativeTraining"]},"educationTypeUpdate":{"type":"string","enum":["college","nonCollegeDegree","apprenticeship","flightTraining","testReimbursement","licensingReimbursement","prepCourseForLoC","correspondence"]},"preferredContactMethod":{"type":"string","enum":["mail","email","mobile","phone"]},"privacyAgreementAccepted":{"type":"boolean","enum":[true]},"vaFileNumber":{"type":"string","pattern":"^[cC]{0,1}\\d{7,9}$"},"bankAccountChange":{"type":"string","enum":["noChange","startUpdate","stop"]},"bankAccountChangeUpdate":{"type":"string","enum":["noChange","startUpdate"]}},"anyOf":[{"required":["vaFileNumber"]},{"required":["veteranSocialSecurityNumber"]}],"properties":{"veteranFullName":{"$ref":"#/definitions/fullName"},"sponsorFullName":{"$ref":"#/definitions/fullName"},"guardianFullName":{"$ref":"#/definitions/fullName"},"dateOfBirth":{"$ref":"#/definitions/date"},"applicantGender":{"type":"string","enum":["F","M"]},"applicantServed":{"type":"string","enum":["Yes","No"]},"veteranAddress":{"$ref":"#/definitions/address"},"homePhone":{"$ref":"#/definitions/usaPhone"},"mobilePhone":{"$ref":"#/definitions/usaPhone"},"email":{"type":"string","format":"email"},"preferredContactMethod":{"$ref":"#/definitions/preferredContactMethod"},"veteranSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"sponsorSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"benefit":{"type":"string","enum":["chapter33Post911","chapter33FryScholarship","chapter30","chapter1606","transferOfEntitlement","chapter32"]},"benefitUpdate":{"type":"string","enum":["chapter33Post911","chapter33FryScholarship","chapter30","chapter1606","transferOfEntitlement","chapter35"]},"rudisillReview":{"type":"string","enum":["Yes","No"]},"changeAnotherBenefit":{"type":"string","enum":["Yes","No"]},"benefitAppliedFor":{"type":"string","enum":["chapter33Post911","chapter33FryScholarship","chapter30","chapter1606","transferOfEntitlement","chapter35"]},"educationType":{"$ref":"#/definitions/educationType"},"educationTypeUpdate":{"$ref":"#/definitions/educationTypeUpdate"},"sponsorStatus":{"type":"string","enum":["diedOnDuty","diedFromDisabilityOrOnReserve","powOrMia"]},"minorHighSchoolQuestions":{"type":"object","properties":{"minorHighSchoolQuestion":{"type":"boolean"},"highSchoolGedGradDate":{"$ref":"#/definitions/date"},"highSchoolGedExpectedGradDate":{"$ref":"#/definitions/date"}}},"minorQuestions":{"type":"object","properties":{"guardianFirstName":{"type":"string"},"guardianMiddleName":{"type":"string"},"guardianLastName":{"type":"string"},"guardianSuffix":{"enum":["Jr.","Sr.","II","III","IV","V"]},"guardianAddress":{"$ref":"#/definitions/address"},"guardianMobilePhone":{"$ref":"#/definitions/usaPhone"},"guardianHomePhone":{"$ref":"#/definitions/usaPhone"},"guardianEmail":{"type":"string","format":"email"}}},"educationObjective":{"type":"string"},"programName":{"type":"string"},"newSchool":{"$ref":"#/definitions/school"},"oldSchool":{"$ref":"#/definitions/school"},"trainingEndDate":{"$ref":"#/definitions/date"},"reasonForChange":{"type":"string"},"bankAccount":{"$ref":"#/definitions/bankAccount"},"serviceBefore1977":{"$ref":"#/definitions/serviceBefore1977"},"toursOfDuty":{"type":"array","items":{"type":"object","properties":{"serviceBranch":{"type":"string"},"dateRange":{"$ref":"#/definitions/dateRange"}}}},"civilianBenefitsAssistance":{"type":"boolean"},"nonVaAssistance":{"type":"boolean"},"remarks":{"type":"string"},"privacyAgreementAccepted":{"$ref":"#/definitions/privacyAgreementAccepted"},"isEdithNourseRogersScholarship":{"type":"boolean"},"isEnrolledStem":{"type":"boolean"},"isPursuingTeachingCert":{"type":"boolean"},"isActiveDuty":{"type":"boolean"},"vaFileNumber":{"$ref":"#/definitions/vaFileNumber"},"bankAccountChange":{"$ref":"#/definitions/bankAccountChange"},"bankAccountChangeUpdate":{"$ref":"#/definitions/bankAccountChangeUpdate"}},"required":["privacyAgreementAccepted","veteranFullName"]} diff --git a/dist/versions/24.3.3/22-5490-schema.json b/dist/versions/24.3.3/22-5490-schema.json new file mode 100644 index 00000000..d52b9530 --- /dev/null +++ b/dist/versions/24.3.3/22-5490-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"DEPENDENTS' APPLICATION FOR VA EDUCATION BENEFITS (22-5490)","type":"object","additionalProperties":false,"definitions":{"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}},"address":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"state":{"type":"string","maxLength":51},"postalCode":{"type":"string","maxLength":51}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":50},"street2":{"type":"string","minLength":1,"maxLength":50},"city":{"type":"string","minLength":1,"maxLength":51}}},"educationType":{"type":"string","enum":["college","correspondence","apprenticeship","flightTraining","testReimbursement","licensingReimbursement","tuitionTopUp","farmCoop"]},"privacyAgreementAccepted":{"type":"boolean","enum":[true]},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"gender":{"type":"string","enum":["F","M"]},"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"phone":{"type":"string","minLength":10},"bankAccount":{"type":"object","properties":{"accountType":{"type":"string","enum":["checking","savings"]},"routingNumber":{"type":"string","pattern":"^\\d{9}$"},"accountNumber":{"type":"string"}}},"vaFileNumber":{"type":"string","pattern":"^[cC]{0,1}\\d{7,9}$"},"relationshipAndChildType":{"type":"string","enum":["spouse","adopted","biological","step"]},"nonMilitaryJobs":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"months":{"type":"number"},"licenseOrRating":{"type":"string"},"postMilitaryJob":{"type":"boolean"}}}},"preferredContactMethod":{"type":"string","enum":["mail","email","mobile","phone"]}},"properties":{"email":{"type":"string","format":"email"},"currentSameAsPrevious":{"type":"boolean"},"serviceBranch":{"type":"string"},"currentlyActiveDuty":{"type":"boolean"},"outstandingFelony":{"type":"boolean"},"restorativeTraining":{"type":"boolean"},"vocationalTraining":{"type":"boolean"},"trainingState":{"type":"string"},"educationObjective":{"type":"string"},"educationalCounseling":{"type":"boolean"},"spouseInfo":{"type":"object","properties":{"marriageDate":{"$ref":"#/definitions/date"},"divorcePending":{"type":"boolean"},"remarried":{"type":"boolean"},"remarriageDate":{"$ref":"#/definitions/date"}}},"benefit":{"type":"string","enum":["chapter35","chapter33"]},"previousBenefits":{"type":"object","properties":{"disability":{"type":"boolean"},"dic":{"type":"boolean"},"chapter31":{"type":"boolean"},"ownServiceBenefits":{"type":"string"},"chapter35":{"type":"boolean"},"chapter33":{"type":"boolean"},"transferOfEntitlement":{"type":"boolean"},"other":{"type":"string"},"veteranFullName":{"$ref":"#/definitions/fullName"},"vaFileNumber":{"$ref":"#/definitions/vaFileNumber"},"veteranSocialSecurityNumber":{"$ref":"#/definitions/ssn"}}},"toursOfDuty":{"type":"array","items":{"type":"object","properties":{"dateRange":{"$ref":"#/definitions/dateRange"},"serviceBranch":{"type":"string"},"serviceStatus":{"type":"string"},"applyPeriodToSelected":{"type":"boolean"}},"required":["dateRange","serviceBranch"]}},"civilianBenefitsAssistance":{"type":"boolean"},"civilianBenefitsSource":{"type":"string"},"remarks":{"type":"string"},"eduBenefitsPamphlet":{"type":"boolean"},"sponsorStatus":{"type":"string","enum":["diedOnDuty","diedFromDisabilityOrOnReserve","powOrMia"]},"minorHighSchoolQuestions":{"type":"object","properties":{"minorHighSchoolQuestion":{"type":"boolean"},"highSchoolGedGradDate":{"$ref":"#/definitions/date"},"highSchoolGedExpectedGradDate":{"$ref":"#/definitions/date"}}},"minorQuestions":{"type":"object","properties":{"guardianFirstName":{"type":"string"},"guardianMiddleName":{"type":"string"},"guardianLastName":{"type":"string"},"guardianAddress":{"$ref":"#/definitions/address"},"guardianMobilePhone":{"$ref":"#/definitions/phone"},"guardianHomePhone":{"$ref":"#/definitions/phone"},"guardianEmail":{"type":"string","format":"email"}}},"privacyAgreementAccepted":{"$ref":"#/definitions/privacyAgreementAccepted"},"relativeSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"gender":{"$ref":"#/definitions/gender"},"relativeDateOfBirth":{"$ref":"#/definitions/date"},"relativeFullName":{"$ref":"#/definitions/fullName"},"relativeAddress":{"$ref":"#/definitions/address"},"homePhone":{"$ref":"#/definitions/phone"},"mobilePhone":{"$ref":"#/definitions/phone"},"bankAccount":{"$ref":"#/definitions/bankAccount"},"veteranFullName":{"$ref":"#/definitions/fullName"},"veteranSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"vaFileNumber":{"$ref":"#/definitions/vaFileNumber"},"veteranDateOfBirth":{"$ref":"#/definitions/date"},"veteranDateOfDeath":{"$ref":"#/definitions/date"},"relationshipAndChildType":{"$ref":"#/definitions/relationshipAndChildType"},"benefitsRelinquishedDate":{"$ref":"#/definitions/date"},"nonMilitaryJobs":{"$ref":"#/definitions/nonMilitaryJobs"},"preferredContactMethod":{"$ref":"#/definitions/preferredContactMethod"}},"required":["privacyAgreementAccepted","relativeFullName"]} diff --git a/dist/versions/24.3.3/22-5490E-schema.json b/dist/versions/24.3.3/22-5490E-schema.json new file mode 100644 index 00000000..5e8c52a1 --- /dev/null +++ b/dist/versions/24.3.3/22-5490E-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"DEPENDENTS' APPLICATION FOR VA EDUCATION BENEFITS (22-5490E)","type":"object","additionalProperties":false,"definitions":{"address":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"state":{"type":"string","maxLength":51},"postalCode":{"type":"string","maxLength":51}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":50},"street2":{"type":"string","minLength":1,"maxLength":50},"city":{"type":"string","minLength":1,"maxLength":51}}},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"bankAccount":{"type":"object","properties":{"accountType":{"type":"string","enum":["checking","savings"]},"routingNumber":{"type":"string","pattern":"^\\d{9}$"},"accountNumber":{"type":"string"}}},"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"preferredContactMethod":{"type":"string","enum":["mail","email","mobile","phone"]},"privacyAgreementAccepted":{"type":"boolean","enum":[true]},"internationalPhone":{"type":"string","pattern":"^\\d{10,15}$"},"year":{"type":"integer","minimum":1900}},"properties":{"userFullName":{"$ref":"#/definitions/fullName"},"dateOfBirth":{"$ref":"#/definitions/date"},"selectedVeteran":{"type":"string"},"relationshipToVeteran":{"type":"string","enum":["Spouse","Child"]},"veteranFullName":{"$ref":"#/definitions/fullName"},"benefitSelection":{"type":"string","enum":["Fry Scholarship (Chapter 33)","Survivors’ and Dependents’ Educational Assistance (DEA, Chapter 35)"]},"highSchoolDiploma":{"type":"string","enum":["Yes","No"]},"highSchoolDiplomaDate":{"$ref":"#/definitions/date"},"marriageDate":{"$ref":"#/definitions/date"},"marriageInformation":{"type":"string","enum":["Married","Divorced (or a divorce is in progress)","Marriage was annulled (or annulment is in progress)","Widowed"]},"remarriage":{"type":"boolean"},"remarriageDate":{"$ref":"#/definitions/date"},"outstandingFelony":{"type":"boolean"},"mobilePhoneNumber":{"$ref":"#/definitions/internationalPhone"},"phoneNumber":{"$ref":"#/definitions/internationalPhone"},"email":{"type":"string","format":"email"},"livesOnMilitaryBase":{"type":"boolean"},"address":{"$ref":"#/definitions/address"},"contactMethod":{"$ref":"#/definitions/preferredContactMethod"},"receiveTextMessages":{"type":"string","enum":["Yes, send me text message notifications","No, just send me email notifications"]},"bankAccount":{"$ref":"#/definitions/bankAccount"},"privacyAgreementAccepted":{"$ref":"#/definitions/privacyAgreementAccepted"}},"required":["bankAccount","dateOfBirth","email","userFullName"]} diff --git a/dist/versions/24.3.3/22-5495-schema.json b/dist/versions/24.3.3/22-5495-schema.json new file mode 100644 index 00000000..ef526f08 --- /dev/null +++ b/dist/versions/24.3.3/22-5495-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"DEPENDENTS' REQUEST FOR CHANGE OF PROGRAM OR PLACE OF TRAINING (22-5495)","type":"object","additionalProperties":false,"definitions":{"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}},"educationType":{"type":"string","enum":["college","correspondence","apprenticeship","flightTraining","testReimbursement","licensingReimbursement"]},"privacyAgreementAccepted":{"type":"boolean","enum":[true]},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"vaFileNumber":{"type":"string","pattern":"^[cC]{0,1}\\d{7,9}$"},"gender":{"type":"string","enum":["F","M"]},"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"address":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"state":{"type":"string","maxLength":51},"postalCode":{"type":"string","maxLength":51}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":50},"street2":{"type":"string","minLength":1,"maxLength":50},"city":{"type":"string","minLength":1,"maxLength":51}}},"phone":{"type":"string","minLength":10},"preferredContactMethod":{"type":"string","enum":["mail","email","mobile","phone"]},"bankAccount":{"type":"object","properties":{"accountType":{"type":"string","enum":["checking","savings"]},"routingNumber":{"type":"string","pattern":"^\\d{9}$"},"accountNumber":{"type":"string"}}},"secondaryContact":{"type":"object","properties":{"fullName":{"type":"string"},"sameAddress":{"type":"boolean"},"address":{"$ref":"#/definitions/address"},"phone":{"$ref":"#/definitions/phone"}}},"relationship":{"type":"string","enum":["spouse","child"]},"toursOfDuty":{"type":"array","items":{"type":"object","properties":{"dateRange":{"$ref":"#/definitions/dateRange"},"serviceBranch":{"type":"string"},"serviceStatus":{"type":"string"},"applyPeriodToSelected":{"type":"boolean"},"benefitsToApplyTo":{"type":"string"}},"required":["dateRange","serviceBranch"]}},"educationProgram":{"type":"object","properties":{"name":{"type":"string"},"address":{"$ref":"#/definitions/address"},"educationType":{"$ref":"#/definitions/educationType"}}},"school":{"type":"object","properties":{"name":{"type":"string"},"address":{"$ref":"#/definitions/address"}}},"bankAccountChange":{"type":"string","enum":["noChange","startUpdate","stop"]}},"properties":{"email":{"type":"string","format":"email"},"serviceBranch":{"type":"string"},"currentlyActiveDuty":{"type":"boolean"},"outstandingFelony":{"type":"boolean"},"benefit":{"type":"string","enum":["chapter35","chapter33"]},"educationObjective":{"type":"string"},"programName":{"type":"string"},"reasonForChange":{"type":"string"},"remarks":{"type":"string"},"privacyAgreementAccepted":{"$ref":"#/definitions/privacyAgreementAccepted"},"relativeFullName":{"$ref":"#/definitions/fullName"},"relativeSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"relativeVaFileNumber":{"$ref":"#/definitions/vaFileNumber"},"vaFileNumber":{"$ref":"#/definitions/vaFileNumber"},"gender":{"$ref":"#/definitions/gender"},"relativeDateOfBirth":{"$ref":"#/definitions/date"},"relativeAddress":{"$ref":"#/definitions/address"},"homePhone":{"$ref":"#/definitions/phone"},"mobilePhone":{"$ref":"#/definitions/phone"},"preferredContactMethod":{"$ref":"#/definitions/preferredContactMethod"},"bankAccount":{"$ref":"#/definitions/bankAccount"},"secondaryContact":{"$ref":"#/definitions/secondaryContact"},"veteranFullName":{"$ref":"#/definitions/fullName"},"veteranSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"veteranDateOfBirth":{"$ref":"#/definitions/date"},"veteranDateOfDeath":{"$ref":"#/definitions/date"},"trainingEndDate":{"$ref":"#/definitions/date"},"relationship":{"$ref":"#/definitions/relationship"},"toursOfDuty":{"$ref":"#/definitions/toursOfDuty"},"educationProgram":{"$ref":"#/definitions/educationProgram"},"oldSchool":{"$ref":"#/definitions/school"},"bankAccountChange":{"$ref":"#/definitions/bankAccountChange"}},"required":["privacyAgreementAccepted","relativeFullName"]} diff --git a/dist/versions/24.3.3/24-0296-schema.json b/dist/versions/24.3.3/24-0296-schema.json new file mode 100644 index 00000000..08c7e8ce --- /dev/null +++ b/dist/versions/24.3.3/24-0296-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"DIRECT DEPOSIT ENROLLMENT","type":"object","additionalProperties":false,"definitions":{"privacyAgreementAccepted":{"type":"boolean","enum":[true]},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"vaFileNumber":{"type":"string","pattern":"^[cC]{0,1}\\d{7,9}$"},"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"address":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"state":{"type":"string","maxLength":51},"postalCode":{"type":"string","maxLength":51}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":50},"street2":{"type":"string","minLength":1,"maxLength":50},"city":{"type":"string","minLength":1,"maxLength":51}}},"bankAccount":{"type":"object","properties":{"accountType":{"type":"string","enum":["checking","savings"]},"routingNumber":{"type":"string","pattern":"^\\d{9}$"},"accountNumber":{"type":"string"}}},"phone":{"type":"string","minLength":10}},"properties":{"institutionName":{"type":"string","maxLength":100},"beneficiaryAddressIsNew":{"type":"boolean"},"benefitType":{"type":"string","maxLength":100},"privacyAgreementAccepted":{"$ref":"#/definitions/privacyAgreementAccepted"},"veteranFullName":{"$ref":"#/definitions/fullName"},"veteranSSN":{"$ref":"#/definitions/ssn"},"veteranVAFileNumber":{"$ref":"#/definitions/vaFileNumber"},"veteranDOB":{"$ref":"#/definitions/date"},"beneficiaryFullName":{"$ref":"#/definitions/fullName"},"beneficiarySSN":{"$ref":"#/definitions/ssn"},"beneficiaryVAFileNumber":{"$ref":"#/definitions/vaFileNumber"},"beneficiaryAddress":{"$ref":"#/definitions/address"},"institutionAccount":{"$ref":"#/definitions/bankAccount"},"institutionAddress":{"$ref":"#/definitions/address"},"institutionPhone":{"$ref":"#/definitions/phone"},"payeePhone":{"$ref":"#/definitions/phone"}},"anyOf":[{"required":["beneficiarySSN"]},{"required":["beneficiaryVAFileNumber"]}],"required":["privacyAgreementAccepted","veteranFullName","veteranDOB","benefitType","beneficiaryAddress","beneficiaryAddressIsNew","institutionName","institutionAccount","institutionAddress","institutionPhone","payeePhone"]} diff --git a/dist/versions/24.3.3/26-1880-schema.json b/dist/versions/24.3.3/26-1880-schema.json new file mode 100644 index 00000000..7cc533d3 --- /dev/null +++ b/dist/versions/24.3.3/26-1880-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"Apply for Certificate of Eligibility (26-1880)","type":"object","additionalProperties":true,"definitions":{"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}},"required":["from"]},"files":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"size":{"type":"integer"},"confirmationCode":{"type":"string"}}}},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"profileAddress":{"type":"object","properties":{"isMilitary":{"type":"boolean"},"country":{"type":"string","enum":["AFG","ALB","DZA","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GTM","GIN","GNB","GUY","HTI","HMD","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","ISR","ITA","JAM","JPN","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","ANT","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","NOR","OMN","PAK","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","QAT","REU","ROU","RUS","RWA","SHN","KNA","LCA","SPM","VCT","SMR","STP","SAU","SEN","SCG","SYC","SLE","SGP","SVK","SVN","SLB","SOM","ZAF","SGS","ESP","LKA","SDN","SUR","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","URY","UZB","VUT","VAT","VEN","VNM","VGB","WLF","ESH","YEM","ZMB","ZWE"],"enumNames":["Afghanistan","Albania","Algeria","Andorra","Angola","Anguilla","Antarctica","Antigua","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia","Botswana","Bouvet Island","Brazil","British Indian Ocean Territories","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman","Central African Republic","Chad","Chile","China","Christmas Island","Cocos Islands","Colombia","Comoros","Congo","Democratic Republic of the Congo","Cook Islands","Costa Rica","Ivory Coast","Croatia","Cuba","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Falkland Islands","Faroe Islands","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guatemala","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel","Italy","Jamaica","Japan","Jordan","Kazakhstan","Kenya","Kiribati","North Korea","South Korea","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands Antilles","Netherlands","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk","Norway","Oman","Pakistan","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn","Poland","Portugal","Qatar","Reunion","Romania","Russia","Rwanda","Saint Helena","Saint Kitts and Nevis","Saint Lucia","Saint Pierre and Miquelon","Saint Vincent and the Grenadines","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","Spain","Sri Lanka","Sudan","Suriname","Swaziland","Sweden","Switzerland","Syrian Arab Republic","Taiwan","Tajikistan","Tanzania","Thailand","Timor-Leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","Uruguay","Uzbekistan","Vanuatu","Vatican","Venezuela","Vietnam","British Virgin Islands","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"]},"view:militaryBaseDescription":{"type":"object","properties":{}},"street":{"type":"string","minLength":1,"maxLength":100},"street2":{"type":"string","minLength":1,"maxLength":100},"city":{"type":"string","minLength":1,"maxLength":100},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"],"enumNames":["Alabama","Alaska","American Samoa","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District Of Columbia","Federated States Of Micronesia","Florida","Georgia","Guam","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Marshall Islands","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Northern Mariana Islands","Ohio","Oklahoma","Oregon","Palau","Pennsylvania","Puerto Rico","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virgin Islands","Virginia","Washington","West Virginia","Wisconsin","Wyoming"]},"postalCode":{"type":"string","pattern":"^(\\d{5})(?:[-](\\d{4}))?$"}}},"loanAddress":{"type":"object","additionalProperties":false,"required":["propertyAddress1","propertyCity","propertyState","propertyZip"],"properties":{"propertyAddress1":{"type":"string","minLength":1,"maxLength":50},"propertyAddress2":{"type":"string","minLength":1,"maxLength":50},"propertyCity":{"type":"string","minLength":1,"maxLength":51},"propertyState":{"type":"string","enum":["AL","AK","AS","AZ","AR","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"],"enumNames":["Alabama","Alaska","American Samoa","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District Of Columbia","Federated States Of Micronesia","Florida","Georgia","Guam","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Marshall Islands","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Northern Mariana Islands","Ohio","Oklahoma","Oregon","Palau","Pennsylvania","Puerto Rico","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virgin Islands","Virginia","Washington","West Virginia","Wisconsin","Wyoming"]},"propertyZip":{"type":"string","pattern":"^(\\d{5})(?:[-](\\d{4}))?$"}}},"loanNumber":{"type":"string","pattern":"^\\d[- \\d]*$"},"usaPhone":{"type":"string","pattern":"^\\d{10}$"},"email":{"type":"string","maxLength":256,"format":"email"}},"properties":{"personalInformation":{"type":"object","properties":{"fullName":{"$ref":"#/definitions/fullName"},"dateOfBirth":{"$ref":"#/definitions/date"}},"required":["dateOfBirth"]},"contactInformation":{"type":"object","mailingAddress":{"type":"object","properties":{"applicantAddress":{"$ref":"#/definitions/profileAddress"}}},"additionalInformation":{"type":"object","properties":{"contactPhone":{"$ref":"#/definitions/usaPhone"},"contactEmail":{"$ref":"#/definitions/email"}},"required":["contactPhone","contactEmail"]}},"serviceStatus":{"type":"object","properties":{"identity":{"type":"string","enum":["VETERAN","ADSM","NADNA","DNANA","DRNA"]}},"required":["identity"]},"serviceHistory":{"type":"object","required":["periodsOfService"],"properties":{"periodsOfService":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","title":"service period","properties":{"serviceBranch":{"type":"string","enum":["Air Force","Air Force Reserve","Air National Guard","Army","Army National Guard","Army Reserve","Coast Guard","Coast Guard Reserve","Marine Corps","Marine Corps Reserve","Navy","Navy Reserve","Other"]},"dateRange":{"$ref":"#/definitions/dateRange"}},"required":["serviceBranch","dateRange"]}}}},"existingLoanSummary":{"type":"object","properties":{}},"hasExistingLoan":{"type":"object","required":["vaLoanIndicator"],"properties":{"vaLoanIndicator":{"type":"boolean"}}},"loanIntent":{"type":"object","properties":{"intent":{"type":"string","enum":["ONETIMERESTORATION","REFI","IRRRL","INQUIRY"]}}},"loanHistory":{"type":"object","properties":{"relevantPriorLoans":{"type":"array","minItems":1,"items":{"type":"object","properties":{"dateRange":{"$ref":"#/definitions/dateRange"},"propertyAddress":{"$ref":"#/definitions/loanAddress"},"vaLoanNumber":{"$ref":"#/definitions/loanNumber"},"propertyOwned":{"type":"boolean"},"willRefinance":{"type":"boolean"}}}}}},"documentScreener":{"type":"object","properties":{"willUploadDocs":{"type":"boolean"}}},"documentUpload":{"type":"object","properties":{"files":{"$ref":"#/definitions/files"}}}}} diff --git a/dist/versions/24.3.3/26-4555-schema.json b/dist/versions/24.3.3/26-4555-schema.json new file mode 100644 index 00000000..e0d9a3f6 --- /dev/null +++ b/dist/versions/24.3.3/26-4555-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"Apply for Specially Adapted Housing Grant (26-4555)","type":"object","additionalProperties":false,"definitions":{"address":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"state":{"type":"string","maxLength":51},"postalCode":{"type":"string","maxLength":51}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":50},"street2":{"type":"string","minLength":1,"maxLength":50},"city":{"type":"string","minLength":1,"maxLength":51}}},"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"email":{"type":"string","maxLength":256,"format":"email"},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"phone":{"type":"string","minLength":10},"profileAddress":{"type":"object","properties":{"isMilitary":{"type":"boolean"},"view:militaryBaseDescription":{"type":"object","properties":{}},"country":{"type":"string","enum":["USA","AFG","ALB","DZA","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GTM","GIN","GNB","GUY","HTI","HMD","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","ISR","ITA","JAM","JPN","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","ANT","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","NOR","OMN","PAK","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","QAT","REU","ROU","RUS","RWA","SHN","KNA","LCA","SPM","VCT","SMR","STP","SAU","SEN","SCG","SYC","SLE","SGP","SVK","SVN","SLB","SOM","ZAF","SGS","ESP","LKA","SDN","SUR","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","URY","UZB","VUT","VAT","VEN","VNM","VGB","WLF","ESH","YEM","ZMB","ZWE"],"enumNames":["United States","Afghanistan","Albania","Algeria","Andorra","Angola","Anguilla","Antarctica","Antigua","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia","Botswana","Bouvet Island","Brazil","British Indian Ocean Territories","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman","Central African Republic","Chad","Chile","China","Christmas Island","Cocos Islands","Colombia","Comoros","Congo","Democratic Republic of the Congo","Cook Islands","Costa Rica","Ivory Coast","Croatia","Cuba","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Falkland Islands","Faroe Islands","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guatemala","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel","Italy","Jamaica","Japan","Jordan","Kazakhstan","Kenya","Kiribati","North Korea","South Korea","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands Antilles","Netherlands","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk","Norway","Oman","Pakistan","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn","Poland","Portugal","Qatar","Reunion","Romania","Russia","Rwanda","Saint Helena","Saint Kitts and Nevis","Saint Lucia","Saint Pierre and Miquelon","Saint Vincent and the Grenadines","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","Spain","Sri Lanka","Sudan","Suriname","Swaziland","Sweden","Switzerland","Syrian Arab Republic","Taiwan","Tajikistan","Tanzania","Thailand","Timor-Leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","Uruguay","Uzbekistan","Vanuatu","Vatican","Venezuela","Vietnam","British Virgin Islands","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"]},"street":{"type":"string","minLength":1,"maxLength":100},"street2":{"type":"string","minLength":1,"maxLength":100},"street3":{"type":"string","minLength":1,"maxLength":100},"city":{"type":"string","minLength":1,"maxLength":100},"state":{"type":"string"},"postalCode":{"type":"string"}}},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"centralMailVaFile":{"type":"string","pattern":"^\\d{8,9}$"},"privacyAgreementAccepted":{"type":"boolean","enum":[true]}},"properties":{"veteran":{"type":"object","additionalProperties":false,"required":["fullName","ssn","address","homePhone"],"properties":{"fullName":{"$ref":"#/definitions/fullName"},"dateOfBirth":{"$ref":"#/definitions/date"},"ssn":{"$ref":"#/definitions/ssn"},"vaFileNumber":{"$ref":"#/definitions/centralMailVaFile"},"address":{"$ref":"#/definitions/profileAddress"},"homePhone":{"$ref":"#/definitions/phone"},"mobilePhone":{"$ref":"#/definitions/phone"},"email":{"$ref":"#/definitions/email"}}},"previousSahApplication":{"type":"object","additionalProperties":false,"required":["hasPreviousSahApplication"],"properties":{"hasPreviousSahApplication":{"type":"boolean"},"previousSahApplicationDate":{"$ref":"#/definitions/date"},"previousSahApplicationAddress":{"$ref":"#/definitions/address"}}},"previousHiApplication":{"type":"object","additionalProperties":false,"required":["hasPreviousHiApplication"],"properties":{"hasPreviousHiApplication":{"type":"boolean"},"previousHiApplicationDate":{"$ref":"#/definitions/date"},"previousHiApplicationAddress":{"$ref":"#/definitions/address"}}},"livingSituation":{"type":"object","additionalProperties":false,"required":["isInCareFacility"],"properties":{"isInCareFacility":{"type":"boolean"},"careFacilityName":{"type":"string"},"careFacilityAddress":{"$ref":"#/definitions/address"}}},"remarks":{"type":"string"},"privacyAgreementAccepted":{"$ref":"#/definitions/privacyAgreementAccepted"}},"required":["privacyAgreementAccepted"]} diff --git a/dist/versions/24.3.3/28-1900-schema.json b/dist/versions/24.3.3/28-1900-schema.json new file mode 100644 index 00000000..8d189f6c --- /dev/null +++ b/dist/versions/24.3.3/28-1900-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"DISABLED VETERANS APPLICATION FOR VOCATIONAL REHABILITATION (28-1900)","type":"object","additionalProperties":true,"definitions":{"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"phone":{"type":"string","minLength":10},"email":{"type":"string","maxLength":256,"format":"email"},"profileAddress":{"type":"object","properties":{"isMilitary":{"type":"boolean"},"view:militaryBaseDescription":{"type":"object","properties":{}},"country":{"type":"string","enum":["USA","AFG","ALB","DZA","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GTM","GIN","GNB","GUY","HTI","HMD","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","ISR","ITA","JAM","JPN","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","ANT","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","NOR","OMN","PAK","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","QAT","REU","ROU","RUS","RWA","SHN","KNA","LCA","SPM","VCT","SMR","STP","SAU","SEN","SCG","SYC","SLE","SGP","SVK","SVN","SLB","SOM","ZAF","SGS","ESP","LKA","SDN","SUR","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","URY","UZB","VUT","VAT","VEN","VNM","VGB","WLF","ESH","YEM","ZMB","ZWE"],"enumNames":["United States","Afghanistan","Albania","Algeria","Andorra","Angola","Anguilla","Antarctica","Antigua","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia","Botswana","Bouvet Island","Brazil","British Indian Ocean Territories","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman","Central African Republic","Chad","Chile","China","Christmas Island","Cocos Islands","Colombia","Comoros","Congo","Democratic Republic of the Congo","Cook Islands","Costa Rica","Ivory Coast","Croatia","Cuba","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Falkland Islands","Faroe Islands","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guatemala","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel","Italy","Jamaica","Japan","Jordan","Kazakhstan","Kenya","Kiribati","North Korea","South Korea","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands Antilles","Netherlands","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk","Norway","Oman","Pakistan","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn","Poland","Portugal","Qatar","Reunion","Romania","Russia","Rwanda","Saint Helena","Saint Kitts and Nevis","Saint Lucia","Saint Pierre and Miquelon","Saint Vincent and the Grenadines","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","Spain","Sri Lanka","Sudan","Suriname","Swaziland","Sweden","Switzerland","Syrian Arab Republic","Taiwan","Tajikistan","Tanzania","Thailand","Timor-Leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","Uruguay","Uzbekistan","Vanuatu","Vatican","Venezuela","Vietnam","British Virgin Islands","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"]},"street":{"type":"string","minLength":1,"maxLength":100},"street2":{"type":"string","minLength":1,"maxLength":100},"street3":{"type":"string","minLength":1,"maxLength":100},"city":{"type":"string","minLength":1,"maxLength":100},"state":{"type":"string"},"postalCode":{"type":"string"}}}},"properties":{"veteranInformation":{"type":"object","properties":{"fullName":{"$ref":"#/definitions/fullName"},"dob":{"$ref":"#/definitions/date"}}},"veteranAddress":{"$ref":"#/definitions/profileAddress"},"mainPhone":{"$ref":"#/definitions/phone"},"cellPhone":{"$ref":"#/definitions/phone"},"email":{"$ref":"#/definitions/email"},"yearsOfEducation":{"type":"string","enum":["10","12","14","15","17","19"],"enumNames":["Some high school","High school / GED","Some college","Associate degree","Bachelor’s degree","Master’s degree or higher"]},"isMoving":{"type":"boolean"},"newAddress":{"$ref":"#/definitions/profileAddress"},"useEva":{"type":"boolean"},"useTelecounseling":{"type":"boolean"},"appointmentTimePreferences":{"type":"object","properties":{"morning":{"type":"boolean","default":false},"midDay":{"type":"boolean","default":false},"afternoon":{"type":"boolean","default":false}}}}} diff --git a/dist/versions/24.3.3/28-8832-schema.json b/dist/versions/24.3.3/28-8832-schema.json new file mode 100644 index 00000000..59f77c9e --- /dev/null +++ b/dist/versions/24.3.3/28-8832-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"EDUCATIONAL/VOCATIONAL COUNSELING APPLICATION (28-8832)","type":"object","definitions":{"address":{"type":"object","properties":{"isMilitary":{"type":"boolean"},"view:militaryBaseDescription":{"type":"object","properties":{}},"country":{"type":"string","enum":["USA","AFG","ALB","DZA","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GTM","GIN","GNB","GUY","HTI","HMD","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","ISR","ITA","JAM","JPN","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","ANT","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","NOR","OMN","PAK","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","QAT","REU","ROU","RUS","RWA","SHN","KNA","LCA","SPM","VCT","SMR","STP","SAU","SEN","SCG","SYC","SLE","SGP","SVK","SVN","SLB","SOM","ZAF","SGS","ESP","LKA","SDN","SUR","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","URY","UZB","VUT","VAT","VEN","VNM","VGB","WLF","ESH","YEM","ZMB","ZWE"],"enumNames":["United States","Afghanistan","Albania","Algeria","Andorra","Angola","Anguilla","Antarctica","Antigua","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia","Botswana","Bouvet Island","Brazil","British Indian Ocean Territories","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman","Central African Republic","Chad","Chile","China","Christmas Island","Cocos Islands","Colombia","Comoros","Congo","Democratic Republic of the Congo","Cook Islands","Costa Rica","Ivory Coast","Croatia","Cuba","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Falkland Islands","Faroe Islands","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guatemala","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel","Italy","Jamaica","Japan","Jordan","Kazakhstan","Kenya","Kiribati","North Korea","South Korea","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands Antilles","Netherlands","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk","Norway","Oman","Pakistan","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn","Poland","Portugal","Qatar","Reunion","Romania","Russia","Rwanda","Saint Helena","Saint Kitts and Nevis","Saint Lucia","Saint Pierre and Miquelon","Saint Vincent and the Grenadines","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","Spain","Sri Lanka","Sudan","Suriname","Swaziland","Sweden","Switzerland","Syrian Arab Republic","Taiwan","Tajikistan","Tanzania","Thailand","Timor-Leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","Uruguay","Uzbekistan","Vanuatu","Vatican","Venezuela","Vietnam","British Virgin Islands","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"]},"street":{"type":"string","minLength":1,"maxLength":100},"street2":{"type":"string","minLength":1,"maxLength":100},"street3":{"type":"string","minLength":1,"maxLength":100},"city":{"type":"string","minLength":1,"maxLength":100},"state":{"type":"string"},"postalCode":{"type":"string"}}}},"properties":{"claimantInformation":{"type":"object","properties":{"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"VAFileNumber":{"type":"string","pattern":"^[cC]{0,1}\\d{7,9}$"},"dateOfBirth":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"}}},"claimantStaticInformation":{"type":"object","properties":{}},"claimantAddress":{"$ref":"#/definitions/address"},"claimantPhoneNumber":{"type":"string","minLength":10},"claimantEmailAddress":{"type":"string","maxLength":256,"format":"email"},"status":{"type":"string","enum":["isActiveDuty","isVeteran","isSpouse","isChild"],"enumNames":["Active duty service member","Veteran","Spouse of a Veteran or service member","Child of a Veteran or service member"]},"veteranInformation":{"type":"object","properties":{"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"ssn":{"type":"string","pattern":"^[0-9]{9}$"}}}}} diff --git a/dist/versions/24.3.3/40-10007-INTEGRATION-schema.json b/dist/versions/24.3.3/40-10007-INTEGRATION-schema.json new file mode 100644 index 00000000..27236a9d --- /dev/null +++ b/dist/versions/24.3.3/40-10007-INTEGRATION-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"APPLICATION FOR PRE-NEED DETERMINATION OF ELIGIBILITY IN A VA NATIONAL CEMETERY","type":"object","additionalProperties":false,"definitions":{"address":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"],"maxLength":3},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"],"maxLength":3},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"],"maxLength":3},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"state":{"type":"string","maxLength":3},"postalCode":{"type":"string","maxLength":10}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":35},"street2":{"type":"string","minLength":1,"maxLength":35},"city":{"type":"string","minLength":1,"maxLength":20}},"required":["street","city","state","postalCode"]},"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}},"files":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"size":{"type":"integer"},"confirmationCode":{"type":"string"}}}},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":15},"middle":{"type":"string","maxLength":15},"last":{"type":"string","minLength":1,"maxLength":25},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"],"maxLength":3}},"required":["first","last"]},"phone":{"type":"string","minLength":10,"maxLength":20,"pattern":"^(?:\\D*\\d){10,15}\\D*$"},"ssn":{"type":"string","pattern":"^\\d{3}-\\d{2}-\\d{4}$"},"centralMailVaFile":{"type":"string","pattern":"^\\d{8,9}$"},"date":{"type":"string","format":"date"},"ethnicity":{"type":"string","enum":["isSpanishHispanicLatino","notSpanishHispanicLatino","unknown","na"]},"race":{"type":"object","properties":{"isAmericanIndianOrAlaskanNative":{"type":"boolean"},"isAsian":{"type":"boolean"},"isBlackOrAfricanAmerican":{"type":"boolean"},"isNativeHawaiianOrOtherPacificIslander":{"type":"boolean"},"isWhite":{"type":"boolean"},"na":{"type":"boolean"},"isOther":{"type":"boolean"}}}},"properties":{"application":{"type":"object","required":["applicant","claimant","hasCurrentlyBuried","veteran"],"properties":{"applicant":{"type":"object","required":["applicantRelationshipToClaimant","applicantEmail","applicantPhoneNumber","mailingAddress","name"],"properties":{"applicantEmail":{"type":"string","maxLength":50,"format":"email"},"applicantPhoneNumber":{"$ref":"#/definitions/phone"},"applicantRelationshipToClaimant":{"type":"string","enum":["Self","Authorized Agent/Rep"]},"completingReason":{"type":"string","maxLength":256},"mailingAddress":{"$ref":"#/definitions/address"},"name":{"$ref":"#/definitions/fullName"}}},"claimant":{"type":"object","required":["address","dateOfBirth","name","relationshipToVet","ssn"],"properties":{"address":{"$ref":"#/definitions/address"},"dateOfBirth":{"$ref":"#/definitions/date"},"desiredCemetery":{"type":"string","pattern":"^\\d{3}$"},"email":{"type":"string","maxLength":50,"format":"email"},"name":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":15},"middle":{"type":"string","maxLength":15},"last":{"type":"string","minLength":1,"maxLength":25},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV","V"],"maxLength":3},"maiden":{"type":"string","maxLength":15}},"required":["first","last"]},"phoneNumber":{"$ref":"#/definitions/phone"},"relationshipToVet":{"type":"string","enum":["veteran","husband","wife","daughter","son","stepdaughter","stepson","other"]},"ssn":{"$ref":"#/definitions/ssn"}}},"veteran":{"type":"object","required":["currentName","gender","isDeceased","maritalStatus","serviceName","serviceRecords","ssn","militaryStatus"],"properties":{"address":{"$ref":"#/definitions/address"},"email":{"type":"string","maxLength":50,"format":"email"},"currentName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":15},"middle":{"type":"string","maxLength":15},"last":{"type":"string","minLength":1,"maxLength":25},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV","V"],"maxLength":3},"maiden":{"type":"string","maxLength":15}},"required":["first","last"]},"phoneNumber":{"$ref":"#/definitions/phone"},"dateOfBirth":{"$ref":"#/definitions/date"},"dateOfDeath":{"$ref":"#/definitions/date"},"gender":{"type":"string","enum":["Female","Male","na"]},"ethnicity":{"$ref":"#/definitions/ethnicity"},"race":{"$ref":"#/definitions/race"},"isDeceased":{"type":"string","enum":["yes","no","unsure"]},"maritalStatus":{"type":"string","enum":["Single","Separated","Married","Divorced","Widowed","na"]},"militaryServiceNumber":{"type":"string","maxLength":9,"pattern":"^[A-Za-z0-9]{4,9}$"},"militaryStatus":{"type":"string","minLength":1,"maxLength":1,"enum":["A","I","D","S","R","E","O","V","X"]},"cityOfBirth":{"type":"string","maxLength":100},"stateOfBirth":{"type":"string","maxLength":100},"serviceName":{"$ref":"#/definitions/fullName"},"serviceRecords":{"type":"array","items":{"type":"object","properties":{"dateRange":{"$ref":"#/definitions/dateRange"},"serviceBranch":{"type":"string","enum":["AL","FS","FT","ES","CM","C3","C2","C4","C7","C5","GS","CI","FP","CS","CV","XG","CB","FF","GP","MO","NO","NN","NM","PA","PG","KC","PS","RO","CF","CE","AF","XF","AG","AR","AC","AA","AT","NG","XR","CO","CA","CC","GC","CG","XC","MC","MM","NA","XA","CD","PH","GU","WP","WA","WS","WR","AD","AS","AV","CW","DT","FC","IR","NC","O1","O2","O3","O4","O5","O6","OA","OB","OC","OD","OE","OF","OH","OI","OJ","OK","OL","ON","OP","OR","OT","OU","OV","OW","OX","OY","OZ","QC","RA","RR","SA","SF","SP","UT"]},"dischargeType":{"type":"string","enum":["1","2","3","4","5","6","7","8"]},"highestRank":{"type":"string","maxLength":20},"nationalGuardState":{"type":"string","maxLength":3,"enum":["AL","AK","AZ","AR","CA","CO","CT","DE","DC","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"],"enumNames":["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District Of Columbia","Florida","Georgia","Guam","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Puerto Rico","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virgin Islands","Virginia","Washington","West Virginia","Wisconsin","Wyoming"]}},"required":["serviceBranch"]},"minItems":1},"ssn":{"$ref":"#/definitions/ssn"},"vaClaimNumber":{"$ref":"#/definitions/centralMailVaFile"}}},"hasCurrentlyBuried":{"type":"string","enum":["1","2","3"]},"currentlyBuriedPersons":{"type":"array","items":{"type":"object","required":["name"],"properties":{"name":{"$ref":"#/definitions/fullName"},"cemeteryNumber":{"type":"string","pattern":"^\\d{3}$"}}}},"preneedAttachments":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":50},"size":{"type":"integer"},"confirmationCode":{"type":"string"},"attachmentId":{"type":"string","enum":["1","2","3","5","6"],"enumNames":["Discharge","Marriage related","Dependent related","Letter","Other"]}},"required":["attachmentId","confirmationCode","name"]}}}}}} diff --git a/dist/versions/24.3.3/40-10007-schema.json b/dist/versions/24.3.3/40-10007-schema.json new file mode 100644 index 00000000..f304b858 --- /dev/null +++ b/dist/versions/24.3.3/40-10007-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"APPLICATION FOR PRE-NEED DETERMINATION OF ELIGIBILITY IN A VA NATIONAL CEMETERY","type":"object","additionalProperties":false,"definitions":{"address":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"],"maxLength":3},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"],"maxLength":3},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"],"maxLength":3},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"state":{"type":"string","maxLength":3},"postalCode":{"type":"string","maxLength":10}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":20},"street2":{"type":"string","minLength":1,"maxLength":20},"city":{"type":"string","minLength":1,"maxLength":20}},"required":["street","city","state","postalCode"]},"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}},"files":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"size":{"type":"integer"},"confirmationCode":{"type":"string"}}}},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":15},"middle":{"type":"string","maxLength":15},"last":{"type":"string","minLength":1,"maxLength":25},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"],"maxLength":3}},"required":["first","last"]},"phone":{"type":"string","minLength":10,"maxLength":20,"pattern":"^(?:\\D*\\d){10,15}\\D*$"},"ssn":{"type":"string","pattern":"^\\d{3}-\\d{2}-\\d{4}$"},"centralMailVaFile":{"type":"string","pattern":"^\\d{8,9}$"},"date":{"type":"string","format":"date"},"race":{"type":"object","properties":{"isAmericanIndianOrAlaskanNative":{"type":"boolean"},"isAsian":{"type":"boolean"},"isBlackOrAfricanAmerican":{"type":"boolean"},"isSpanishHispanicLatino":{"type":"boolean"},"notSpanishHispanicLatino":{"type":"boolean"},"isNativeHawaiianOrOtherPacificIslander":{"type":"boolean"},"isWhite":{"type":"boolean"}}}},"properties":{"application":{"type":"object","required":["applicant","claimant","hasCurrentlyBuried","veteran"],"properties":{"applicant":{"type":"object","required":["applicantRelationshipToClaimant","applicantEmail","applicantPhoneNumber","mailingAddress","name"],"properties":{"applicantEmail":{"type":"string","maxLength":50,"format":"email"},"applicantPhoneNumber":{"$ref":"#/definitions/phone"},"applicantRelationshipToClaimant":{"type":"string","enum":["Self","Authorized Agent/Rep"]},"completingReason":{"type":"string","maxLength":256},"mailingAddress":{"$ref":"#/definitions/address"},"name":{"$ref":"#/definitions/fullName"}}},"claimant":{"type":"object","required":["address","dateOfBirth","name","relationshipToVet","ssn"],"properties":{"address":{"$ref":"#/definitions/address"},"dateOfBirth":{"$ref":"#/definitions/date"},"desiredCemetery":{"type":"string","pattern":"^\\d{3}$"},"email":{"type":"string","maxLength":50,"format":"email"},"name":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":15},"middle":{"type":"string","maxLength":15},"last":{"type":"string","minLength":1,"maxLength":25},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"],"maxLength":3},"maiden":{"type":"string","maxLength":15}},"required":["first","last"]},"phoneNumber":{"$ref":"#/definitions/phone"},"relationshipToVet":{"type":"string","enum":["1","2","3","4"]},"ssn":{"$ref":"#/definitions/ssn"}}},"veteran":{"type":"object","required":["currentName","gender","isDeceased","maritalStatus","serviceName","serviceRecords","ssn","militaryStatus"],"properties":{"address":{"$ref":"#/definitions/address"},"currentName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":15},"middle":{"type":"string","maxLength":15},"last":{"type":"string","minLength":1,"maxLength":25},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"],"maxLength":3},"maiden":{"type":"string","maxLength":15}},"required":["first","last"]},"dateOfBirth":{"$ref":"#/definitions/date"},"dateOfDeath":{"$ref":"#/definitions/date"},"gender":{"type":"string","enum":["Female","Male"]},"race":{"$ref":"#/definitions/race"},"isDeceased":{"type":"string","enum":["yes","no","unsure"]},"maritalStatus":{"type":"string","enum":["Single","Separated","Married","Divorced","Widowed"]},"militaryServiceNumber":{"type":"string","maxLength":9,"pattern":"^[A-Za-z0-9]{4,9}$"},"militaryStatus":{"type":"string","minLength":1,"maxLength":1,"enum":["A","I","D","S","R","E","O","V","X"]},"placeOfBirth":{"type":"string","maxLength":100},"serviceName":{"$ref":"#/definitions/fullName"},"serviceRecords":{"type":"array","items":{"type":"object","properties":{"dateRange":{"$ref":"#/definitions/dateRange"},"serviceBranch":{"type":"string","enum":["AL","FS","FT","ES","CM","C3","C2","C4","C7","C5","GS","CI","FP","CS","CV","XG","CB","FF","GP","MO","NO","NN","NM","PA","PG","KC","PS","RO","CF","CE","AF","XF","AG","AR","AC","AA","AT","NG","XR","CO","CA","CC","GC","CG","XC","MC","MM","NA","XA","CD","PH","GU","WP","WA","WS","WR","AD","AS","AV","CW","DT","FC","IR","NC","O1","O2","O3","O4","O5","O6","OA","OB","OC","OD","OE","OF","OH","OI","OJ","OK","OL","ON","OP","OR","OT","OU","OV","OW","OX","OY","OZ","QC","RA","RR","SA","SF","SP","UT"]},"dischargeType":{"type":"string","enum":["1","2","3","4","5","6","7"]},"highestRank":{"type":"string","maxLength":20},"nationalGuardState":{"type":"string","maxLength":3,"enum":["AL","AK","AZ","AR","CA","CO","CT","DE","DC","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"],"enumNames":["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District Of Columbia","Florida","Georgia","Guam","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Puerto Rico","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virgin Islands","Virginia","Washington","West Virginia","Wisconsin","Wyoming"]}},"required":["serviceBranch"]},"minItems":1},"ssn":{"$ref":"#/definitions/ssn"},"vaClaimNumber":{"$ref":"#/definitions/centralMailVaFile"}}},"hasCurrentlyBuried":{"type":"string","enum":["1","2","3"]},"currentlyBuriedPersons":{"type":"array","items":{"type":"object","required":["name"],"properties":{"name":{"$ref":"#/definitions/fullName"},"cemeteryNumber":{"type":"string","pattern":"^\\d{3}$"}}}},"preneedAttachments":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":50},"size":{"type":"integer"},"confirmationCode":{"type":"string"},"attachmentId":{"type":"string","enum":["1","2","3","5","6"],"enumNames":["Discharge","Marriage related","Dependent related","Letter","Other"]}},"required":["attachmentId","confirmationCode","name"]}}}}}} diff --git a/dist/versions/24.3.3/5655-schema.json b/dist/versions/24.3.3/5655-schema.json new file mode 100644 index 00000000..a66a62cf --- /dev/null +++ b/dist/versions/24.3.3/5655-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"FINANCIAL STATUS REPORT","type":"object","definitions":{"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"address":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"state":{"type":"string","maxLength":51},"postalCode":{"type":"string","maxLength":51}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":50},"street2":{"type":"string","minLength":1,"maxLength":50},"city":{"type":"string","minLength":1,"maxLength":51}}},"phone":{"type":"string","minLength":10},"email":{"type":"string","maxLength":256,"format":"email"},"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"nullableDate":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":["string","null"]},"ssnLastFour":{"type":"string","pattern":"^(?!0000)[0-9]{4}$"},"employmentHistory":{"type":"array","items":{"type":"object","properties":{"veteranORSpouse":{"type":"string"},"occupationName":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"present":{"type":"boolean"},"employerName":{"type":"string"},"employerAddress":{"$ref":"#/definitions/address"}}}}},"properties":{"personalIdentification":{"type":"object","properties":{"sSN":{"$ref":"#/definitions/ssnLastFour"},"fileNumber":{"$ref":"#/definitions/ssnLastFour"},"fsrReason":{"type":"string"}}},"personalData":{"type":"object","properties":{"veteranFullName":{"$ref":"#/definitions/fullName"},"address":{"$ref":"#/definitions/address"},"telephoneNumber":{"$ref":"#/definitions/phone"},"email":{"$ref":"#/definitions/email"},"dateOfBirth":{"$ref":"#/definitions/date"},"married":{"type":"boolean"},"spouseFullName":{"$ref":"#/definitions/fullName"},"agesOfOtherDependents":{"type":"array","items":{"type":"string"}},"employmentHistory":{"$ref":"#/definitions/employmentHistory"}}},"income":{"type":"array","items":{"type":"object","properties":{"veteranORSpouse":{"type":"string"},"monthlyGrossSalary":{"type":"string"},"deductions":{"type":"object","properties":{"taxes":{"type":"string"},"retirement":{"type":"string"},"socialSecurity":{"type":"string"},"otherDeductions":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"amount":{"type":"string"}}}}},"totalDeductions":{"type":"string"},"netTakeHomePay":{"type":"string"},"compensationAndPension":{"type":"string"},"education":{"type":"string"},"otherIncome":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"amount":{"type":"string"}}}},"totalMonthlyNetIncome":{"type":"string"}}}}},"expenses":{"type":"object","properties":{"rentOrMortgage":{"type":"string"},"food":{"type":"string"},"utilities":{"type":"string"},"otherLivingExpenses":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"amount":{"type":"string"}}}},"installmentContractsAndOtherDebts":{"type":"string"},"totalMonthlyExpenses":{"type":"string"}}},"discretionaryIncome":{"type":"object","properties":{"netMonthlyIncomeLessExpenses":{"type":"string"},"amountCanBePaidTowardDebt":{"type":"string"}}},"assets":{"type":"object","properties":{"cashInBank":{"type":"string"},"cashOnHand":{"type":"string"},"automobiles":{"type":"array","items":{"type":"object","properties":{"make":{"type":"string"},"model":{"type":"string"},"year":{"type":"string"},"resaleValue":{"type":"string"}}}},"trailersBoatsCampers":{"type":"string"},"usSavingsBonds":{"type":"string"},"stocksAndOtherBonds":{"type":"string"},"realEstateOwned":{"type":"string"},"otherAssets":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"amount":{"type":"string"}}}},"totalAssets":{"type":"string"}}},"installmentContractsAndOtherDebts":{"type":"array","items":{"type":"object","properties":{"creditorName":{"type":"string"},"creditorAddress":{"$ref":"#/definitions/address"},"dateStarted":{"$ref":"#/definitions/date"},"purpose":{"type":"string"},"originalAmount":{"type":"string"},"unpaidBalance":{"type":"string"},"amountDueMonthly":{"type":"string"},"amountPastDue":{"type":"string"}}}},"additionalData":{"type":"object","properties":{"bankruptcy":{"type":"object","properties":{"hasBeenAdjudicatedBankrupt":{"type":"boolean"},"dateDischarged":{"$ref":"#/definitions/nullableDate"},"courtLocation":{"type":["string","null"]},"docketNumber":{"type":["string","null"]}}},"additionalComments":{"type":["string","null"]}}}}} diff --git a/dist/versions/24.3.3/686C-674-V2-schema.json b/dist/versions/24.3.3/686C-674-V2-schema.json new file mode 100644 index 00000000..b3fb773d --- /dev/null +++ b/dist/versions/24.3.3/686C-674-V2-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"SUPPLEMENTAL CLAIM FOR COMPENSATION (21-686C & 21-674)","type":"object","definitions":{},"properties":{}} diff --git a/dist/versions/24.3.3/686C-674-schema.json b/dist/versions/24.3.3/686C-674-schema.json new file mode 100644 index 00000000..49708d9f --- /dev/null +++ b/dist/versions/24.3.3/686C-674-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"SUPPLEMENTAL CLAIM FOR COMPENSATION (21-686C & 21-674)","type":"object","definitions":{"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[A-Za-zÀ-ÖØ-öø-ÿ-]+(?:s[A-Za-zÀ-ÖØ-öø-ÿ-][?]+)*$"},"middle":{"type":"string","pattern":"^[A-Za-zÀ-ÖØ-öø-ÿ-]+(?:s[A-Za-zÀ-ÖØ-öø-ÿ-][?]+)*$","maxLength":20},"last":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[A-Za-zÀ-ÖØ-öø-ÿ-]+(?:s[A-Za-zÀ-ÖØ-öø-ÿ-][?]+)*$"}},"required":["first","last"]},"phone":{"type":"string","minLength":10},"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"email":{"type":"string","maxLength":256,"format":"email"},"files":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"size":{"type":"integer"},"confirmationCode":{"type":"string"}}}},"privacyAgreementAccepted":{"type":"boolean","enum":[true]},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"genericLocation":{"type":"object","properties":{"isOutsideUs":{"type":"boolean","default":false},"country":{"type":"string","enum":["AFG","ALB","DZA","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GTM","GIN","GNB","GUY","HTI","HMD","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","ISR","ITA","JAM","JPN","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","ANT","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","NOR","OMN","PAK","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","QAT","REU","ROU","RUS","RWA","SHN","KNA","LCA","SPM","VCT","SMR","STP","SAU","SEN","SCG","SYC","SLE","SGP","SVK","SVN","SLB","SOM","ZAF","SGS","ESP","LKA","SDN","SUR","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","URY","UZB","VUT","VAT","VEN","VNM","VGB","WLF","ESH","YEM","ZMB","ZWE"],"enumNames":["Afghanistan","Albania","Algeria","Andorra","Angola","Anguilla","Antarctica","Antigua","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia","Botswana","Bouvet Island","Brazil","British Indian Ocean Territories","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman","Central African Republic","Chad","Chile","China","Christmas Island","Cocos Islands","Colombia","Comoros","Congo","Democratic Republic of the Congo","Cook Islands","Costa Rica","Ivory Coast","Croatia","Cuba","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Falkland Islands","Faroe Islands","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guatemala","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel","Italy","Jamaica","Japan","Jordan","Kazakhstan","Kenya","Kiribati","North Korea","South Korea","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands Antilles","Netherlands","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk","Norway","Oman","Pakistan","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn","Poland","Portugal","Qatar","Reunion","Romania","Russia","Rwanda","Saint Helena","Saint Kitts and Nevis","Saint Lucia","Saint Pierre and Miquelon","Saint Vincent and the Grenadines","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","Spain","Sri Lanka","Sudan","Suriname","Swaziland","Sweden","Switzerland","Syrian Arab Republic","Taiwan","Tajikistan","Tanzania","Thailand","Timor-Leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","Uruguay","Uzbekistan","Vanuatu","Vatican","Venezuela","Vietnam","British Virgin Islands","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"],"enumNames":["Alabama","Alaska","American Samoa","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District Of Columbia","Federated States Of Micronesia","Florida","Georgia","Guam","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Marshall Islands","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Northern Mariana Islands","Ohio","Oklahoma","Oregon","Palau","Pennsylvania","Puerto Rico","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virgin Islands","Virginia","Washington","West Virginia","Wisconsin","Wyoming"]},"city":{"type":"string","maxLength":30,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*0-9]+$"}}},"genericTextInput":{"type":"string","maxLength":50},"genericTrueFalse":{"type":"boolean"},"genericNumberAndDashInput":{"type":"string","maxLength":50,"minLength":4,"pattern":"^[0-9]*[-]*[0-9]*[-]*[0-9]*$"},"currencyInput":{"type":"string","pattern":"^\\d+(\\.\\d{1,2})?$"},"addressSchema":{"type":"object","properties":{"view:editMailingAddressSubheader":{"type":"object","properties":{}},"view:livesOnMilitaryBase":{"$ref":"#/definitions/genericTrueFalse"},"view:livesOnMilitaryBaseInfo":{"type":"object","properties":{}},"countryName":{"type":"string","enum":["USA","AFG","ALB","DZA","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GTM","GIN","GNB","GUY","HTI","HMD","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","ISR","ITA","JAM","JPN","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","ANT","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","NOR","OMN","PAK","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","QAT","REU","ROU","RUS","RWA","SHN","KNA","LCA","SPM","VCT","SMR","STP","SAU","SEN","SCG","SYC","SLE","SGP","SVK","SVN","SLB","SOM","ZAF","SGS","ESP","LKA","SDN","SUR","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","URY","UZB","VUT","VAT","VEN","VNM","VGB","WLF","ESH","YEM","ZMB","ZWE"],"enumNames":["United States","Afghanistan","Albania","Algeria","Andorra","Angola","Anguilla","Antarctica","Antigua","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia","Botswana","Bouvet Island","Brazil","British Indian Ocean Territories","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman","Central African Republic","Chad","Chile","China","Christmas Island","Cocos Islands","Colombia","Comoros","Congo","Democratic Republic of the Congo","Cook Islands","Costa Rica","Ivory Coast","Croatia","Cuba","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Falkland Islands","Faroe Islands","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guatemala","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel","Italy","Jamaica","Japan","Jordan","Kazakhstan","Kenya","Kiribati","North Korea","South Korea","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands Antilles","Netherlands","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk","Norway","Oman","Pakistan","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn","Poland","Portugal","Qatar","Reunion","Romania","Russia","Rwanda","Saint Helena","Saint Kitts and Nevis","Saint Lucia","Saint Pierre and Miquelon","Saint Vincent and the Grenadines","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","Spain","Sri Lanka","Sudan","Suriname","Swaziland","Sweden","Switzerland","Syrian Arab Republic","Taiwan","Tajikistan","Tanzania","Thailand","Timor-Leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","Uruguay","Uzbekistan","Vanuatu","Vatican","Venezuela","Vietnam","British Virgin Islands","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"]},"addressLine1":{"type":"string","minLength":1,"maxLength":100,"pattern":"^.*\\S.*"},"addressLine2":{"type":"string","minLength":1,"maxLength":100,"pattern":"^.*\\S.*"},"addressLine3":{"type":"string","minLength":1,"maxLength":100,"pattern":"^.*\\S.*"},"city":{"type":"string"},"stateCode":{"type":"string","enum":["AL","AK","AS","AZ","AR","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"],"enumNames":["Alabama","Alaska","American Samoa","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District Of Columbia","Federated States Of Micronesia","Florida","Georgia","Guam","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Marshall Islands","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Northern Mariana Islands","Ohio","Oklahoma","Oregon","Palau","Pennsylvania","Puerto Rico","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virgin Islands","Virginia","Washington","West Virginia","Wisconsin","Wyoming"]},"province":{"type":"string"},"zipCode":{"type":"string","pattern":"^\\d{5}$"},"internationalPostalCode":{"type":"string"}}}},"properties":{"optionSelection":{"type":"object","view:selectable686Options":{"type":"object","properties":{"addSpouse":{"$ref":"#/definitions/genericTrueFalse","default":false},"addChild":{"$ref":"#/definitions/genericTrueFalse","default":false},"report674":{"$ref":"#/definitions/genericTrueFalse","default":false},"reportDivorce":{"$ref":"#/definitions/genericTrueFalse","default":false},"reportStepchildNotInHousehold":{"$ref":"#/definitions/genericTrueFalse","default":false},"reportDeath":{"$ref":"#/definitions/genericTrueFalse","default":false},"reportMarriageOfChildUnder18":{"$ref":"#/definitions/genericTrueFalse","default":false},"reportChild18OrOlderIsNotAttendingSchool":{"$ref":"#/definitions/genericTrueFalse","default":false}}}},"veteranInformation":{"type":"object","properties":{"veteranInformation":{"type":"object","properties":{}},"veteranAddress":{"type":"object","properties":{"veteranAddress":{"$ref":"#/definitions/addressSchema"},"phoneNumber":{"$ref":"#/definitions/phone"},"emailAddress":{"$ref":"#/definitions/email"}}}}},"addChild":{"type":"object","properties":{"addChildInformation":{"type":"object","properties":{"childrenToAdd":{"type":"array","minItems":1,"items":{"type":"object","properties":{"fullName":{"$ref":"#/definitions/fullName"},"ssn":{"$ref":"#/definitions/ssn"},"birthDate":{"$ref":"#/definitions/date"}}}}}},"addChildPlaceOfBirth":{"type":"object","properties":{"childrenToAdd":{"type":"array","minItems":1,"items":{"type":"object","properties":{"placeOfBirth":{"$ref":"#/definitions/genericLocation"},"childStatus":{"type":"object","properties":{"biological":{"$ref":"#/definitions/genericTrueFalse"},"adopted":{"$ref":"#/definitions/genericTrueFalse"},"stepchild":{"$ref":"#/definitions/genericTrueFalse"},"biologicalStepchild":{"$ref":"#/definitions/genericTrueFalse"},"dateBecameDependent":{"$ref":"#/definitions/date"},"stepchildParent":{"$ref":"#/definitions/fullName"},"ssn":{"$ref":"#/definitions/ssn"},"birthDate":{"$ref":"#/definitions/date"}}},"view:childStatusInformation":{"type":"object","properties":{}},"notSelfSufficient":{"$ref":"#/definitions/genericTrueFalse"},"view:notSelfSufficientDescription":{"type":"object","properties":{}},"previouslyMarried":{"type":"string","enum":["Yes","No"]},"previousMarriageDetails":{"type":"object","properties":{"dateMarriageEnded":{"$ref":"#/definitions/date"},"reasonMarriageEnded":{"type":"string","enum":["Divorce","Death","Annulment","Other"]},"otherReasonMarriageEnded":{"$ref":"#/definitions/genericTextInput"}}},"childIncome":{"$ref":"#/definitions/genericTrueFalse"}}}}}},"addChildAdditionalInformation":{"type":"object","properties":{"childrenToAdd":{"type":"array","minItems":1,"items":{"type":"object","properties":{"doesChildLiveWithYou":{"$ref":"#/definitions/genericTrueFalse"},"childAddressInfo":{"type":"object","properties":{"personChildLivesWith":{"$ref":"#/definitions/fullName"},"address":{"$ref":"#/definitions/addressSchema"}}}}}}}},"childAdditionalEvidence":{"type":"object","properties":{"view:additionalEvidenceDescription":{"type":"object","properties":{}},"childEvidenceDocumentType":{"type":"string","enum":["13","25","58","59","663","10"],"enumNames":["Adoption Decree","Birth Certificate","Medical Treatment Record - Government Facility","Medical Treatment Record - Non-Government Facility","Medical Opinion","Unknown"]},"childSupportingDocuments":{"$ref":"#/definitions/files"}}}}},"addSpouse":{"type":"object","properties":{"spouseNameInformation":{"type":"object","properties":{"fullName":{"$ref":"#/definitions/fullName"},"ssn":{"$ref":"#/definitions/ssn"},"birthDate":{"$ref":"#/definitions/date"},"isVeteran":{"$ref":"#/definitions/genericTrueFalse"},"vaFileNumber":{"$ref":"#/definitions/genericNumberAndDashInput"},"serviceNumber":{"$ref":"#/definitions/genericNumberAndDashInput"}}},"currentMarriageInformation":{"type":"object","properties":{"date":{"$ref":"#/definitions/date"},"location":{"$ref":"#/definitions/genericLocation"},"type":{"type":"string","enum":["CEREMONIAL","COMMON-LAW","TRIBAL","PROXY","OTHER"],"enumNames":["Religious or civil ceremony (minister, justice of the peace, etc.)","Common-law","Tribal","Proxy","Other"]},"typeOther":{"$ref":"#/definitions/genericTextInput"},"view:marriageTypeInformation":{"type":"object","properties":{}}}},"doesLiveWithSpouse":{"type":"object","properties":{"spouseDoesLiveWithVeteran":{"$ref":"#/definitions/genericTrueFalse"},"currentSpouseReasonForSeparation":{"type":"string","enum":["Death","Divorce","Other"]},"address":{"$ref":"#/definitions/addressSchema"},"spouseIncome":{"$ref":"#/definitions/genericTrueFalse"}}},"spouseMarriageHistory":{"type":"object","properties":{"spouseWasMarriedBefore":{"$ref":"#/definitions/genericTrueFalse"},"spouseMarriageHistory":{"type":"array","items":{"type":"object","properties":{"fullName":{"$ref":"#/definitions/fullName"}}}}}},"spouseMarriageHistoryDetails":{"type":"object","properties":{"spouseMarriageHistory":{"type":"array","items":{"type":"object","properties":{"startDate":{"$ref":"#/definitions/date"},"startLocation":{"$ref":"#/definitions/genericLocation"},"reasonMarriageEnded":{"type":"string","enum":["Divorce","Death","Other"],"enumNames":["Divorce","Death","Annulment/Other"]},"reasonMarriageEndedOther":{"$ref":"#/definitions/genericTextInput"},"endDate":{"$ref":"#/definitions/date"},"endLocation":{"$ref":"#/definitions/genericLocation"}}}}}},"veteranMarriageHistory":{"type":"object","properties":{"veteranWasMarriedBefore":{"$ref":"#/definitions/genericTrueFalse"},"veteranMarriageHistory":{"type":"array","items":{"type":"object","properties":{"fullName":{"$ref":"#/definitions/fullName"}}}}}},"veteranMarriageHistoryDetails":{"type":"object","properties":{"veteranMarriageHistory":{"type":"array","items":{"type":"object","properties":{"startDate":{"$ref":"#/definitions/date"},"startLocation":{"$ref":"#/definitions/genericLocation"},"reasonMarriageEnded":{"type":"string","enum":["Divorce","Death","Other"],"enumNames":["Divorce","Death","Annulment/Other"]},"reasonMarriageEndedOther":{"$ref":"#/definitions/genericTextInput"},"endDate":{"$ref":"#/definitions/date"},"endLocation":{"$ref":"#/definitions/genericLocation"}}}}}},"marriageAdditionalEvidence":{"type":"object","properties":{"view:additionalEvidenceDescription":{"type":"object","properties":{}},"spouseEvidenceDocumentType":{"type":"string","enum":["14","61","119","10"],"enumNames":["Affidavit","Marriage Certificate / License","VA 21-4171 Supporting Statement Regarding Marriage","Unknown"]},"spouseSupportingDocuments":{"$ref":"#/definitions/files"}}}}},"reportDivorce":{"type":"object","properties":{"fullName":{"$ref":"#/definitions/fullName"},"ssn":{"$ref":"#/definitions/ssn"},"birthDate":{"$ref":"#/definitions/date"},"date":{"$ref":"#/definitions/date"},"location":{"$ref":"#/definitions/genericLocation"},"reasonMarriageEnded":{"type":"string","enum":["Divorce","Other"],"enumNames":["Divorce","Annulment/Other"]},"explanationOfOther":{"$ref":"#/definitions/genericTextInput"},"spouseIncome":{"$ref":"#/definitions/genericTrueFalse"}}},"deceasedDependents":{"type":"object","properties":{"dependentInformation":{"type":"object","properties":{"deaths":{"type":"array","minItems":1,"items":{"type":"object","properties":{"fullName":{"$ref":"#/definitions/fullName"},"ssn":{"$ref":"#/definitions/ssn"},"birthDate":{"$ref":"#/definitions/date"},"dependentType":{"type":"string","enum":["SPOUSE","DEPENDENT_PARENT","CHILD"],"enumNames":["Spouse","Dependent Parent","Child"]},"childStatus":{"type":"object","properties":{"childUnder18":{"$ref":"#/definitions/genericTrueFalse"},"stepChild":{"$ref":"#/definitions/genericTrueFalse"},"adopted":{"$ref":"#/definitions/genericTrueFalse"},"disabled":{"$ref":"#/definitions/genericTrueFalse"},"childOver18InSchool":{"$ref":"#/definitions/genericTrueFalse"}}}}}}}},"dependentAdditionalInformation":{"type":"object","properties":{"deaths":{"type":"array","minItems":1,"items":{"type":"object","properties":{"date":{"$ref":"#/definitions/date"},"location":{"$ref":"#/definitions/genericLocation"},"dependentIncome":{"$ref":"#/definitions/genericTrueFalse"}}}}}}}},"reportChildMarriage":{"type":"object","properties":{"fullName":{"$ref":"#/definitions/fullName"},"ssn":{"$ref":"#/definitions/ssn"},"birthDate":{"$ref":"#/definitions/date"},"dateMarried":{"$ref":"#/definitions/date"},"dependentIncome":{"$ref":"#/definitions/genericTrueFalse"}}},"reportChildStoppedAttendingSchool":{"type":"object","properties":{"fullName":{"$ref":"#/definitions/fullName"},"ssn":{"$ref":"#/definitions/ssn"},"birthDate":{"$ref":"#/definitions/date"},"dateChildLeftSchool":{"$ref":"#/definitions/date"},"dependentIncome":{"$ref":"#/definitions/genericTrueFalse"}}},"reportStepchildNotInHousehold":{"type":"object","properties":{"stepchildren":{"type":"object","properties":{"stepChildren":{"type":"array","minItems":1,"items":{"type":"object","properties":{"fullName":{"$ref":"#/definitions/fullName"},"ssn":{"$ref":"#/definitions/ssn"},"birthDate":{"$ref":"#/definitions/date"}}}}}},"stepchildInformation":{"type":"object","properties":{"stepChildren":{"type":"array","minItems":1,"items":{"type":"object","properties":{"supportingStepchild":{"$ref":"#/definitions/genericTrueFalse","default":false},"livingExpensesPaid":{"type":"string","enum":["More than half","Half","Less than half"]},"whoDoesTheStepchildLiveWith":{"$ref":"#/definitions/fullName"},"address":{"$ref":"#/definitions/addressSchema"}}}}}}}},"report674":{"type":"object","properties":{"studentNameAndSsn":{"type":"object","properties":{"view:674Information":{"type":"object","properties":{}},"fullName":{"$ref":"#/definitions/fullName"},"ssn":{"$ref":"#/definitions/ssn"},"birthDate":{"$ref":"#/definitions/date"},"isParent":{"$ref":"#/definitions/genericTrueFalse"},"dependentIncome":{"$ref":"#/definitions/genericTrueFalse"}}},"studentAddressMarriageTuition":{"type":"object","properties":{"address":{"$ref":"#/definitions/addressSchema"},"wasMarried":{"$ref":"#/definitions/genericTrueFalse"},"marriageDate":{"$ref":"#/definitions/date"},"tuitionIsPaidByGovAgency":{"$ref":"#/definitions/genericTrueFalse"},"agencyName":{"$ref":"#/definitions/genericTextInput"},"datePaymentsBegan":{"$ref":"#/definitions/date"}}},"studentSchoolAddress":{"type":"object","properties":{"schoolInformation":{"type":"object","properties":{"name":{"$ref":"#/definitions/genericTextInput"},"schoolType":{"type":"string","enum":["HighSch","College","HomeSch"],"enumNames":["High School","Postsecondary","Home School"]},"trainingProgram":{"$ref":"#/definitions/genericTextInput"},"address":{"$ref":"#/definitions/addressSchema"}}}}},"studentTermDates":{"type":"object","properties":{"currentTermDates":{"type":"object","properties":{"officialSchoolStartDate":{"$ref":"#/definitions/date"},"expectedStudentStartDate":{"$ref":"#/definitions/date"},"expectedGraduationDate":{"$ref":"#/definitions/date"}}},"programInformation":{"type":"object","properties":{"studentIsEnrolledFullTime":{"$ref":"#/definitions/genericTrueFalse"},"courseOfStudy":{"$ref":"#/definitions/genericTextInput"},"classesPerWeek":{"type":"number"},"hoursPerWeek":{"type":"number"}}}}},"studentLastTerm":{"type":"object","properties":{"studentDidAttendSchoolLastTerm":{"$ref":"#/definitions/genericTrueFalse"},"lastTermSchoolInformation":{"type":"object","properties":{"name":{"$ref":"#/definitions/genericTextInput"},"address":{"$ref":"#/definitions/addressSchema"},"termBegin":{"$ref":"#/definitions/date"},"dateTermEnded":{"$ref":"#/definitions/date"},"classesPerWeek":{"type":"number"},"hoursPerWeek":{"type":"number"}}}}},"studentIncomeInformation":{"type":"object","properties":{"studentDoesEarnIncome":{"$ref":"#/definitions/genericTrueFalse"},"studentEarningsFromSchoolYear":{"type":"object","properties":{"earningsFromAllEmployment":{"$ref":"#/definitions/currencyInput"},"annualSocialSecurityPayments":{"$ref":"#/definitions/currencyInput"},"otherAnnuitiesIncome":{"$ref":"#/definitions/currencyInput"},"allOtherIncome":{"$ref":"#/definitions/currencyInput"}}},"studentWillEarnIncomeNextYear":{"$ref":"#/definitions/genericTrueFalse"},"studentExpectedEarningsNextYear":{"type":"object","properties":{"earningsFromAllEmployment":{"$ref":"#/definitions/currencyInput"},"annualSocialSecurityPayments":{"$ref":"#/definitions/currencyInput"},"otherAnnuitiesIncome":{"$ref":"#/definitions/currencyInput"},"allOtherIncome":{"$ref":"#/definitions/currencyInput"}}}}},"studentNetworthInformation":{"type":"object","properties":{"studentDoesHaveNetworth":{"$ref":"#/definitions/genericTrueFalse"},"studentNetworthInformation":{"type":"object","properties":{"savings":{"$ref":"#/definitions/currencyInput"},"securities":{"$ref":"#/definitions/currencyInput"},"realEstate":{"$ref":"#/definitions/currencyInput"},"otherAssets":{"$ref":"#/definitions/currencyInput"},"remarks":{"type":"string","maxLength":500,"pattern":"^(?!\\s)(?!.*?\\s{2,})[^<>%$#@!^&*]+$"}}}}}}},"householdIncome":{"type":"object","properties":{"householdIncome":{"$ref":"#/definitions/genericTrueFalse"}}}}} diff --git a/dist/versions/24.3.3/COVID-VACCINATION-EXPANSION-schema.json b/dist/versions/24.3.3/COVID-VACCINATION-EXPANSION-schema.json new file mode 100644 index 00000000..634ffbae --- /dev/null +++ b/dist/versions/24.3.3/COVID-VACCINATION-EXPANSION-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"COVID VACCINATION EXPANSION","type":"object","additionalProperties":false,"definitions":{"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"vaFileNumber":{"type":"string","pattern":"^[cC]{0,1}\\d{7,9}$"},"phone":{"type":"string","minLength":10},"email":{"type":"string","maxLength":256,"format":"email"},"profileAddress":{"type":"object","properties":{"isMilitary":{"type":"boolean"},"view:militaryBaseDescription":{"type":"object","properties":{}},"country":{"type":"string","enum":["USA","AFG","ALB","DZA","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GTM","GIN","GNB","GUY","HTI","HMD","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","ISR","ITA","JAM","JPN","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","ANT","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","NOR","OMN","PAK","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","QAT","REU","ROU","RUS","RWA","SHN","KNA","LCA","SPM","VCT","SMR","STP","SAU","SEN","SCG","SYC","SLE","SGP","SVK","SVN","SLB","SOM","ZAF","SGS","ESP","LKA","SDN","SUR","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","URY","UZB","VUT","VAT","VEN","VNM","VGB","WLF","ESH","YEM","ZMB","ZWE"],"enumNames":["United States","Afghanistan","Albania","Algeria","Andorra","Angola","Anguilla","Antarctica","Antigua","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia","Botswana","Bouvet Island","Brazil","British Indian Ocean Territories","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman","Central African Republic","Chad","Chile","China","Christmas Island","Cocos Islands","Colombia","Comoros","Congo","Democratic Republic of the Congo","Cook Islands","Costa Rica","Ivory Coast","Croatia","Cuba","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Falkland Islands","Faroe Islands","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guatemala","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel","Italy","Jamaica","Japan","Jordan","Kazakhstan","Kenya","Kiribati","North Korea","South Korea","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands Antilles","Netherlands","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk","Norway","Oman","Pakistan","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn","Poland","Portugal","Qatar","Reunion","Romania","Russia","Rwanda","Saint Helena","Saint Kitts and Nevis","Saint Lucia","Saint Pierre and Miquelon","Saint Vincent and the Grenadines","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","Spain","Sri Lanka","Sudan","Suriname","Swaziland","Sweden","Switzerland","Syrian Arab Republic","Taiwan","Tajikistan","Tanzania","Thailand","Timor-Leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","Uruguay","Uzbekistan","Vanuatu","Vatican","Venezuela","Vietnam","British Virgin Islands","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"]},"street":{"type":"string","minLength":1,"maxLength":100},"street2":{"type":"string","minLength":1,"maxLength":100},"street3":{"type":"string","minLength":1,"maxLength":100},"city":{"type":"string","minLength":1,"maxLength":100},"state":{"type":"string"},"postalCode":{"type":"string"}}},"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}}},"properties":{"attestation":{"type":"object","properties":{"introText":{"type":"object","properties":{"view:introText":{"type":"object","properties":{}}}},"applicantType":{"type":"string","enum":["veteran","spouse","caregiverOfVeteran","CHAMPVA"]}}},"militaryHistory":{"type":"object","properties":{"lastBranchOfService":{"type":"string","enum":["Air Force","Army","Coast Guard","Marine Corps","Merchant Seaman","Navy","Noaa","USPHS","Filipino Commonwealth Army","Filipino Guerilla Forces","Filipino New Scout","Filipino Old Scout","Other"]},"dateRange":"required","characterOfService":{"type":"string","enum":["Honorable","General","Other Than Honorable","Bad Conduct","Dishonorable","Undesirable"]}}},"veteranInformation":{"type":"object","properties":{"veteranFirstName":{"type":"string"},"veteranLastName":{"type":"string"}},"required":["veteranFirstName","veteranLastName"]},"personalInformation":{"type":"object","properties":{"firstName":{"type":"string","maxLength":25},"middleName":{"type":"string","maxLength":25},"lastName":{"type":"string","maxLength":35},"birthDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"birthSex":{"type":"string","enum":["Female","Male","Prefer not to answer"]},"ssn":{"type":"string"}},"required":["firstName","lastName","birthDate","ssn"]},"addressInformation":{"type":"object","properties":{"addressLine1":{"type":"string","minLength":1,"maxLength":100,"pattern":"^.*\\S.*"},"addressLine2":{"type":"string","minLength":1,"maxLength":100,"pattern":"^.*\\S.*"},"addressLine3":{"type":"string","minLength":1,"maxLength":100,"pattern":"^.*\\S.*"},"city":{"type":"string"},"stateCode":{"type":"string","enum":["AL","AK","AZ","AR","CA","CO","CT","DE","DC","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"],"enumNames":["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District Of Columbia","Florida","Georgia","Guam","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Puerto Rico","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virgin Islands","Virginia","Washington","West Virginia","Wisconsin","Wyoming"]},"zipCode":{"type":"string","pattern":"^\\d{5}$"},"emailAddress":{"type":"string","format":"email"},"phone":{"type":"string","pattern":"\\(?\\d{3}\\)?-?\\d{3}-?\\d{4}$"},"smsAcknowledgement":{"type":"boolean"}},"required":["city","stateCode","addressLine1","zipCode","phone"]},"vaLocation":{"type":"object","properties":{"preferredFacility":{"type":"string"}}}}} diff --git a/dist/versions/24.3.3/COVID-VACCINE-TRIAL-schema.json b/dist/versions/24.3.3/COVID-VACCINE-TRIAL-schema.json new file mode 100644 index 00000000..5f5e3a23 --- /dev/null +++ b/dist/versions/24.3.3/COVID-VACCINE-TRIAL-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"Covid Vaccine Trial","type":"object","additionalProperties":false,"definitions":{"email":{"type":"string","maxLength":256,"format":"email"},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"usaPostalCode":{"type":"string","pattern":"^(\\d{5})(?:[-](\\d{4}))?$"},"usaPhone":{"type":"string","pattern":"^\\d{10}$"}},"properties":{"residentsInHome":{"type":"string","enum":["ONE_TWO","THREE_FIVE","SIX_TEN","MORE_THAN_TEN"]},"HEALTH_HISTORY":{"type":"object","properties":{"HEALTH_HISTORY::ALLERGY_VACCINE":{"type":"boolean"},"HEALTH_HISTORY::AUTOIMMUNE_DISEASE":{"type":"boolean"},"HEALTH_HISTORY::CANCER":{"type":"boolean"},"HEALTH_HISTORY::IMMUNOCOMPROMISED":{"type":"boolean"},"HEALTH_HISTORY::DIABETES":{"type":"boolean"},"HEALTH_HISTORY::HEART_DISEASE":{"type":"boolean"},"HEALTH_HISTORY::HIGH_BLOOD_PRESSURE":{"type":"boolean"},"HEALTH_HISTORY::KIDNEY_LIVER_DISEASE":{"type":"boolean"},"HEALTH_HISTORY::LUNG_DISEASE":{"type":"boolean"},"HEALTH_HISTORY::STROKE":{"type":"boolean"},"HEALTH_HISTORY::ANOTHER_SERIOUS_CHRONIC_ILLNESS":{"type":"boolean"},"HEALTH_HISTORY::NONE_OF_ABOVE":{"type":"boolean"}}},"diagnosed":{"type":"boolean"},"DIAGNOSED_DETAILS":{"type":"object","properties":{"DIAGNOSED_DETAILS::SYMPTOMS_ONLY":{"type":"boolean"},"DIAGNOSED_DETAILS::ANTIBODY_BLOOD_TEST":{"type":"boolean"},"DIAGNOSED_DETAILS::NASAL_SWAB_TEST_POSITIVE":{"type":"boolean"},"DIAGNOSED_DETAILS::DIFFERENT_METHOD":{"type":"boolean"}}},"closeContactPositive":{"type":"string","enum":["YES","NO","UNSURE"]},"hospitalized":{"type":"boolean"},"smokeOrVape":{"type":"boolean"},"EMPLOYMENT_STATUS":{"type":"object","properties":{"EMPLOYMENT_STATUS::EMPLOYED_HOME":{"type":"boolean"},"EMPLOYMENT_STATUS::EMPLOYED_OUTSIDE_OF_HOME":{"type":"boolean"},"EMPLOYMENT_STATUS::FRONTLINE_WORKER":{"type":"boolean"},"EMPLOYMENT_STATUS::FURLOUGHED_UNEMPLOYED":{"type":"boolean"},"EMPLOYMENT_STATUS::RETIRED":{"type":"boolean"},"EMPLOYMENT_STATUS::STUDENT":{"type":"boolean"},"EMPLOYMENT_STATUS::NONE_OF_ABOVE":{"type":"boolean"}}},"TRANSPORTATION":{"type":"object","properties":{"TRANSPORTATION::CAR":{"type":"boolean"},"TRANSPORTATION::CARPOOL_OR_VANPOOL":{"type":"boolean"},"TRANSPORTATION::FREQUENT_AIR_TRAVEL":{"type":"boolean"},"TRANSPORTATION::PUBLIC_TRANSPORT":{"type":"boolean"},"TRANSPORTATION::WALK_BIKE":{"type":"boolean"},"TRANSPORTATION::WORK_FROM_HOME":{"type":"boolean"},"TRANSPORTATION::NONE_OF_ABOVE":{"type":"boolean"}}},"closeContact":{"type":"string","enum":["ZERO","ONE_TEN","ELEVEN_THIRTY","THIRTYONE_FIFTY","MORE_THAN_FIFTY"]},"VETERAN":{"type":"object","properties":{"VETERAN::VETERAN":{"type":"boolean"},"VETERAN::ACTIVE_DUTY":{"type":"boolean"},"VETERAN::NATIONAL_GUARD_RESERVES":{"type":"boolean"},"VETERAN::VA_EMPLOYEE":{"type":"boolean"},"VETERAN::FAMILY_MEMBER_CAREGIVER":{"type":"boolean"},"VETERAN::VA_HEALTHCARE_CHAMPVA":{"type":"boolean"},"VETERAN::NONE_OF_ABOVE":{"type":"boolean"}}},"GENDER":{"type":"object","properties":{"GENDER::MALE":{"type":"boolean"},"GENDER::FEMALE":{"type":"boolean"},"GENDER::TRANSGENDER_MALE":{"type":"boolean"},"GENDER::TRANSGENDER_FEMALE":{"type":"boolean"},"GENDER::NON_BINARY":{"type":"boolean"},"GENDER::NONE_OF_ABOVE":{"type":"boolean"},"GENDER::SELF_IDENTIFY":{"type":"boolean"}}},"GENDER_SELF_IDENTIFY_DETAILS":{"type":"string","maxLength":255},"RACE_ETHNICITY":{"type":"object","properties":{"RACE_ETHNICITY::AMERICAN_INDIAN_ALASKA_NATIVE":{"type":"boolean"},"RACE_ETHNICITY::ASIAN":{"type":"boolean"},"RACE_ETHNICITY::BLACK_AFRICAN_AMERICAN":{"type":"boolean"},"RACE_ETHNICITY::HISPANIC_LATINO_SPANISH_ORIGIN":{"type":"boolean"},"RACE_ETHNICITY::HAWAIIAN_PACIFIC_ISLANDER":{"type":"boolean"},"RACE_ETHNICITY::WHITE":{"type":"boolean"},"RACE_ETHNICITY::OTHER_RACE_ETHNICITY":{"type":"boolean"},"RACE_ETHNICITY::NONE_OF_ABOVE":{"type":"boolean"}}},"consentAgreementAccepted":{"type":"boolean"},"email":{"$ref":"#/definitions/email"},"veteranFullName":{"$ref":"#/definitions/fullName"},"veteranDateOfBirth":{"$ref":"#/definitions/date"},"zipCode":{"$ref":"#/definitions/usaPostalCode"},"phone":{"$ref":"#/definitions/usaPhone"}},"required":["email","veteranFullName","veteranDateOfBirth","zipCode","phone","residentsInHome","HEALTH_HISTORY","diagnosed","closeContactPositive","hospitalized","smokeOrVape","EMPLOYMENT_STATUS","TRANSPORTATION","closeContact","VETERAN","GENDER","RACE_ETHNICITY"]} diff --git a/dist/versions/24.3.3/DECISION-REVIEW-GET-CONTESTABLE-ISSUES-RESPONSE-200_V1-example.json b/dist/versions/24.3.3/DECISION-REVIEW-GET-CONTESTABLE-ISSUES-RESPONSE-200_V1-example.json new file mode 100644 index 00000000..25f478df --- /dev/null +++ b/dist/versions/24.3.3/DECISION-REVIEW-GET-CONTESTABLE-ISSUES-RESPONSE-200_V1-example.json @@ -0,0 +1 @@ +{"data":[{"type":"contestableIssue","attributes":{"ratingIssueSubjectText":"right knee","ratingIssuePercentNumber":"10","ratingIssueReferenceId":"826209920000","ratingIssueProfileDate":"2019-02-22","ratingIssueDiagnosticCode":null,"description":"Right knee","isRating":true,"latestIssuesInChain":[{"id":null,"approxDecisionDate":"2019-02-26"}],"decisionIssueId":null,"ratingDecisionReferenceId":null,"approxDecisionDate":"2019-02-26","rampClaimId":null,"titleOfActiveReview":null,"sourceReviewType":null,"timely":true}},{"type":"contestableIssue","attributes":{"ratingIssueSubjectText":"ptsd","ratingIssueReferenceId":"826209441170","ratingIssueProfileDate":"2019-02-22","ratingIssueDiagnosticCode":null,"description":"PTSD","isRating":true,"latestIssuesInChain":[{"id":null,"approxDecisionDate":"2019-02-25"}],"decisionIssueId":null,"ratingDecisionReferenceId":null,"approxDecisionDate":"2019-02-25","rampClaimId":null,"titleOfActiveReview":null,"sourceReviewType":null,"timely":true}},{"type":"contestableIssue","attributes":{"ratingIssueSubjectText":"left knee","ratingIssueReferenceId":"826209597423","ratingIssueProfileDate":"2019-02-22","ratingIssueDiagnosticCode":null,"description":"Left knee","isRating":true,"latestIssuesInChain":[{"id":null,"approxDecisionDate":"2019-02-24"}],"decisionIssueId":null,"ratingDecisionReferenceId":null,"approxDecisionDate":"2019-02-24","rampClaimId":null,"titleOfActiveReview":null,"sourceReviewType":null,"timely":true}}]} diff --git a/dist/versions/24.3.3/DECISION-REVIEW-GET-CONTESTABLE-ISSUES-RESPONSE-200_V1-schema.json b/dist/versions/24.3.3/DECISION-REVIEW-GET-CONTESTABLE-ISSUES-RESPONSE-200_V1-schema.json new file mode 100644 index 00000000..606ad54e --- /dev/null +++ b/dist/versions/24.3.3/DECISION-REVIEW-GET-CONTESTABLE-ISSUES-RESPONSE-200_V1-schema.json @@ -0,0 +1 @@ +{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","description":"A contestable issue (to contest this, you include it as a RequestIssue when creating a HigherLevelReview, SupplementalClaim, or Appeal)","properties":{"type":{"type":"string","enum":["contestableIssue"]},"id":{"type":["string","null"]},"attributes":{"type":"object","properties":{"ratingIssueReferenceId":{"type":["string","null"],"description":"RatingIssue ID"},"ratingIssueProfileDate":{"type":["string","null"],"format":"date","description":"(yyyy-mm-dd) RatingIssue profile date"},"ratingIssueDiagnosticCode":{"type":["string","null"],"description":"RatingIssue diagnostic code"},"ratingDecisionReferenceId":{"type":["string","null"],"description":"The BGS ID for the contested rating decision. This may be populated while ratingIssueReferenceId is nil"},"decisionIssueId":{"type":["integer","null"],"description":"DecisionIssue ID"},"approxDecisionDate":{"type":["string","null"],"format":"date","description":"(yyyy-mm-dd) Approximate decision date"},"description":{"type":["string","null"],"description":"Description"},"rampClaimId":{"type":["string","null"],"description":"RampClaim ID"},"titleOfActiveReview":{"type":["string","null"],"description":"Title of DecisionReview that this issue is still active on"},"sourceReviewType":{"type":["string","null"],"description":"The type of DecisionReview (HigherLevelReview, SupplementalClaim, Appeal) the issue was last decided on (if any)"},"timely":{"type":"boolean","description":"An issue is timely if the receipt date is within 372 dates of the decision date."},"latestIssuesInChain":{"type":"array","description":"Shows the chain of decision and rating issues that preceded this issue. Only the most recent issue can be contested (the object itself that contains the latestIssuesInChain attribute).","items":{"type":"object","properties":{"id":{"type":["string","null","integer"]},"approxDecisionDate":{"type":["string","null"],"format":"date"}}}},"ratingIssueSubjectText":{"type":["string","null"],"description":"Short description of RatingIssue"},"ratingIssuePercentNumber":{"type":["string","null"],"description":"Numerical rating for RatingIssue"},"isRating":{"type":"boolean","description":"Whether or not this is a RatingIssue"}}}}}}},"$schema":"http://json-schema.org/draft-04/schema#"} diff --git a/dist/versions/24.3.3/FEEDBACK-TOOL-schema.json b/dist/versions/24.3.3/FEEDBACK-TOOL-schema.json new file mode 100644 index 00000000..b4cdc354 --- /dev/null +++ b/dist/versions/24.3.3/FEEDBACK-TOOL-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"GI BILL SCHOOL FEEDBACK TOOL","type":"object","additionalProperties":false,"definitions":{"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"ssnLastFour":{"type":"string","pattern":"^(?!0000)[0-9]{4}$"},"privacyAgreementAccepted":{"type":"boolean","enum":[true]},"usaPhone":{"type":"string","pattern":"^\\d{10}$"},"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}}},"required":["onBehalfOf","educationDetails","issue","issueDescription","privacyAgreementAccepted","issueResolution"],"properties":{"address":{"type":"object","required":["street","city","state","country","postalCode"],"properties":{"country":{"type":"string","enum":["US"],"enumNames":["United States"],"default":"US"},"street":{"type":"string","minLength":1,"maxLength":499},"street2":{"type":"string","minLength":1,"maxLength":499},"city":{"type":"string","minLength":1,"maxLength":25},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"],"enumNames":["Alabama","Alaska","American Samoa","Arizona","Arkansas","Armed Forces Americas (AA)","Armed Forces Europe (AE)","Armed Forces Pacific (AP)","California","Colorado","Connecticut","Delaware","District Of Columbia","Federated States Of Micronesia","Florida","Georgia","Guam","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Marshall Islands","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Northern Mariana Islands","Ohio","Oklahoma","Oregon","Palau","Pennsylvania","Puerto Rico","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virgin Islands","Virginia","Washington","West Virginia","Wisconsin","Wyoming"]},"postalCode":{"type":"string","pattern":"^\\d{5}$"}}},"onBehalfOf":{"type":"string","enum":["Myself","Someone else","Anonymous"],"enumNames":["Myself","Someone else","I want to submit my feedback anonymously"]},"serviceBranch":{"type":"string","enum":["Air Force","Army","Coast Guard","Marine Corps","Navy","NOAA","Public Health Service"]},"serviceAffiliation":{"type":"string","enum":["Servicemember","Veteran","Spouse","Child","Other"]},"fullName":{"properties":{"middle":{"type":"string","minLength":1,"maxLength":30},"prefix":{"type":"string","enum":["Mr.","Mrs.","Ms.","Dr.","Other"]},"first":{"type":"string","minLength":1,"maxLength":30},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","III","IV","Sr.","Other"]}},"type":"object","required":["first","last"]},"anonymousEmail":{"type":"string","format":"email"},"applicantEmail":{"type":"string","format":"email"},"educationDetails":{"type":"object","required":["school","programs"],"properties":{"school":{"type":"object","required":["address","name"],"properties":{"address":{"type":"object","anyOf":[{"required":["street","city","state","country","postalCode"],"properties":{"country":{"type":"string","enum":["United States"],"default":"United States"},"street":{"type":"string","minLength":1,"maxLength":84},"street2":{"type":"string","minLength":1,"maxLength":84},"street3":{"type":"string","minLength":1,"maxLength":84},"city":{"type":"string","minLength":1,"maxLength":255},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"],"enumNames":["Alabama","Alaska","American Samoa","Arizona","Arkansas","Armed Forces Americas (AA)","Armed Forces Europe (AE)","Armed Forces Pacific (AP)","California","Colorado","Connecticut","Delaware","District Of Columbia","Federated States Of Micronesia","Florida","Georgia","Guam","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Marshall Islands","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Northern Mariana Islands","Ohio","Oklahoma","Oregon","Palau","Pennsylvania","Puerto Rico","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virgin Islands","Virginia","Washington","West Virginia","Wisconsin","Wyoming"]},"postalCode":{"type":"string","pattern":"^\\d{5}$"}}},{"required":["street","city","country"],"properties":{"country":{"type":"string","enum":["Afghanistan","Aland Islands","Albania","Algeria","Andorra","Angola","Anguilla","Antarctica","Antigua and Barbuda","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia, Plurinational State of","Bonaire, Sint Eustatius and Saba","Bosnia and Herzegovina","Botswana","Bouvet Island","Brazil","British Indian Ocean Territory","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman Islands","Central African Republic","Chad","Chile","China","Chinese Taipei","Christmas Island","Cocos (Keeling) Islands","Colombia","Comoros","Congo","Congo, the Democratic Republic of the","Cook Islands","Costa Rica","Cote d'Ivoire","Croatia","Cuba","Curaçao","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Falkland Islands (Malvinas)","Faroe Islands","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guatemala","Guernsey","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island and McDonald Islands","Holy See (Vatican City State)","Honduras","Hungary","Iceland","India","Indonesia","Iran, Islamic Republic of","Iraq","Ireland","Isle of Man","Israel","Italy","Jamaica","Japan","Jersey","Jordan","Kazakhstan","Kenya","Kiribati","Korea, Democratic People's Republic of","Korea, Republic of","Kuwait","Kyrgyzstan","Lao People's Democratic Republic","Latvia","Lebanon","Lesotho","Liberia","Libyan Arab Jamahiriya","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia, the former Yugoslav Republic of","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Moldova, Republic of","Monaco","Mongolia","Montenegro","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk Island","Norway","Oman","Pakistan","Palestinian Territory, Occupied","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn","Poland","Portugal","Qatar","Reunion","Romania","Russian Federation","Rwanda","Saint Barthélemy","Saint Helena, Ascension and Tristan da Cunha","Saint Kitts and Nevis","Saint Lucia","Saint Martin (French part)","Saint Pierre and Miquelon","Saint Vincent and the Grenadines","Samoa","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Sint Maarten (Dutch part)","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","South Sudan","Spain","Sri Lanka","Sudan","Suriname","Svalbard and Jan Mayen","Swaziland","Sweden","Switzerland","Syrian Arab Republic","Tajikistan","Tanzania, United Republic of","Thailand","Timor-Leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","Uruguay","Uzbekistan","Vanuatu","Venezuela, Bolivarian Republic of","Viet Nam","Virgin Islands, British","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"]},"street":{"type":"string","minLength":1,"maxLength":52},"street2":{"type":"string","minLength":1,"maxLength":52},"street3":{"type":"string","minLength":1,"maxLength":52},"city":{"type":"string","minLength":1,"maxLength":40},"state":{"type":"string","minLength":1,"maxLength":20},"postalCode":{"type":"string","minLength":1,"maxLength":30}}},{"required":["street","city","country"],"properties":{"country":{"type":"string","minLength":1,"maxLength":255},"street":{"type":"string","minLength":1,"maxLength":52},"street2":{"type":"string","minLength":1,"maxLength":52},"street3":{"type":"string","minLength":1,"maxLength":52},"city":{"type":"string","minLength":1,"maxLength":40},"state":{"type":"string","minLength":1,"maxLength":20},"postalCode":{"type":"string","minLength":1,"maxLength":30}}}]},"facilityCode":{"type":"string"},"name":{"type":"string","minLength":1,"maxLength":255}}},"programs":{"type":"object","properties":{"chapter33":{"type":"boolean","default":false,"title":"Post-9/11 GI Bill (Chapter 33)"},"chapter30":{"type":"boolean","default":false,"title":"Montgomery GI Bill - Active Duty (MGIB-AD, Chapter 30)"},"chapter1606":{"type":"boolean","default":false,"title":"Montgomery GI Bill - Selected Reserve (MGIB-SR, Chapter 1606)"},"tatu":{"type":"boolean","default":false,"title":"Tuition Assistance Top-Up"},"chapter35":{"type":"boolean","default":false,"title":"Survivors’ and Dependents’ Assistance (DEA) (Chapter 35)"},"chapter31":{"type":"boolean","default":false,"title":"Vocational Rehabilitation and Employment (VR&E) (Chapter 31)"}}},"assistance":{"type":"object","properties":{"ta":{"type":"boolean","default":false,"title":"Federal Tuition Assistance (TA)"},"taAgr":{"type":"boolean","default":false,"title":"State-funded Tuition Assistance (TA) for Servicemembers on Active Guard and Reserve (AGR) duties"},"myCaa":{"type":"boolean","default":false,"title":"Military Spouse Career Advancement Accounts (MyCAA)"},"ffa":{"type":"boolean","default":false,"title":"Federal financial aid"}}}}},"issue":{"type":"object","properties":{"other":{"type":"boolean","default":false},"recruiting":{"type":"boolean","default":false},"studentLoans":{"type":"boolean","default":false},"quality":{"type":"boolean","default":false},"creditTransfer":{"type":"boolean","default":false},"accreditation":{"type":"boolean","default":false},"jobOpportunities":{"type":"boolean","default":false},"gradePolicy":{"type":"boolean","default":false},"refundIssues":{"type":"boolean","default":false},"financialIssues":{"type":"boolean","default":false},"changeInDegree":{"type":"boolean","default":false},"transcriptRelease":{"type":"boolean","default":false}}},"issueDescription":{"type":"string","maxLength":32000},"issueResolution":{"type":"string","maxLength":1000},"privacyAgreementAccepted":{"$ref":"#/definitions/privacyAgreementAccepted"},"phone":{"$ref":"#/definitions/usaPhone"},"serviceDateRange":{"$ref":"#/definitions/dateRange"}}} diff --git a/dist/versions/24.3.3/HLR-CREATE-REQUEST-BODY-example.json b/dist/versions/24.3.3/HLR-CREATE-REQUEST-BODY-example.json new file mode 100644 index 00000000..452a41b6 --- /dev/null +++ b/dist/versions/24.3.3/HLR-CREATE-REQUEST-BODY-example.json @@ -0,0 +1 @@ +{"data":{"type":"higherLevelReview","attributes":{"informalConference":true,"sameOffice":true,"benefitType":"compensation","veteran":{"address":{"zipCode5":"66002"},"phone":{"countryCode":"34","areaCode":"555","phoneNumber":"8001111","phoneNumberExt":"2"},"emailAddressText":"josie@example.com","timezone":"America/Chicago"},"informalConferenceTimes":["1230-1400 ET","1400-1630 ET"],"informalConferenceRep":{"name":"Helen Holly","phone":{"countryCode":"6","areaCode":"555","phoneNumber":"8001111","phoneNumberExt":"2"}}}},"included":[{"type":"contestableIssue","attributes":{"issue":"tinnitus","decisionDate":"1900-01-01","decisionIssueId":1,"ratingIssueReferenceId":"2","ratingDecisionReferenceId":"3"}},{"type":"contestableIssue","attributes":{"issue":"left knee","decisionDate":"1900-01-02","decisionIssueId":4,"ratingIssueReferenceId":"5"}},{"type":"contestableIssue","attributes":{"issue":"right knee","decisionDate":"1900-01-03","ratingIssueReferenceId":"6","ratingDecisionReferenceId":"7"}},{"type":"contestableIssue","attributes":{"issue":"PTSD","decisionDate":"1900-01-04","decisionIssueId":8,"ratingDecisionReferenceId":"9"}},{"type":"contestableIssue","attributes":{"issue":"Traumatic Brain Injury","decisionDate":"1900-01-05","decisionIssueId":10}},{"type":"contestableIssue","attributes":{"issue":"right shoulder","decisionDate":"1900-01-06"}}]} diff --git a/dist/versions/24.3.3/HLR-CREATE-REQUEST-BODY-schema.json b/dist/versions/24.3.3/HLR-CREATE-REQUEST-BODY-schema.json new file mode 100644 index 00000000..08b564fa --- /dev/null +++ b/dist/versions/24.3.3/HLR-CREATE-REQUEST-BODY-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","description":"JSON Schema for VA Form 20-0996 copied from https://github.com/department-of-veterans-affairs/vets-api/blob/master/modules/appeals_api/config/schemas/v1/200996.json","$ref":"#/definitions/hlrCreate","definitions":{"nonBlankString":{"type":"string","pattern":"[^ \\f\\n\\r\\t\\v\\u00a0\\u1680\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff]","$comment":"The pattern used ensures that a string has at least one non-whitespace character. The pattern comes from JavaScript's \\s character class. \"\\s Matches a single white space character, including space, tab, form feed, line feed, and other Unicode spaces. Equivalent to [ \\f\\n\\r\\t\\v\\u00a0\\u1680\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff].\": https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions/Character_Classes We are using simple character classes at JSON Schema's recommendation: https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-4.3"},"nonBlankStringMaxLength140":{"allOf":[{"$ref":"#/definitions/nonBlankString"},{"maxLength":140}]},"date":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$"},"hlrCreate":{"type":"object","properties":{"data":{"$ref":"#/definitions/hlrCreateData"},"included":{"$ref":"#/definitions/hlrCreateIncluded"}},"additionalProperties":false,"required":["data","included"]},"hlrCreateData":{"type":"object","properties":{"type":{"type":"string","enum":["higherLevelReview"]},"attributes":{"$ref":"#/definitions/hlrCreateDataAttributes"}},"additionalProperties":false,"required":["type","attributes"]},"hlrCreateDataAttributes":{"description":"If informal conference requested (`informalConference: true`), availability must be specified (`informalConferenceTimes`). Explanation of abbreviated benefit types: `pension`: Pension / Survivor's Benefits, `voc_rehab`: Vocational Rehabilitation and Employment, `vha`: Veterans Health Administration, `nca`: National Cemetery Administration","oneOf":[{"type":"object","properties":{"informalConference":{"type":"boolean","enum":[false]},"sameOffice":{"type":"boolean"},"benefitType":{"$ref":"#/definitions/hlrCreateBenefitType"},"veteran":{"$ref":"#/definitions/hlrCreateVeteran"}},"additionalProperties":false,"required":["informalConference","sameOffice","benefitType","veteran"]},{"$comment":"if informalConference requested, desired times must be included (rep is optional)","type":"object","properties":{"informalConference":{"type":"boolean","enum":[true]},"sameOffice":{"type":"boolean"},"benefitType":{"$ref":"#/definitions/hlrCreateBenefitType"},"veteran":{"$ref":"#/definitions/hlrCreateVeteran"},"informalConferenceTimes":{"$ref":"#/definitions/hlrCreateInformalConferenceTimes"},"informalConferenceRep":{"$ref":"#/definitions/hlrCreateInformalConferenceRep"}},"additionalProperties":false,"required":["informalConference","sameOffice","benefitType","veteran","informalConferenceTimes"]}]},"hlrCreateBenefitType":{"type":"string","enum":["compensation"]},"hlrCreateInformalConferenceTimes":{"type":"array","items":{"$ref":"#/definitions/hlrCreateInformalConferenceTime"},"minItems":1,"maxItems":2,"uniqueItems":true},"hlrCreateInformalConferenceTime":{"type":"string","description":"time ranges in Eastern Time","enum":["800-1000 ET","1000-1230 ET","1230-1400 ET","1400-1630 ET"]},"hlrCreateInformalConferenceRep":{"type":"object","properties":{"name":{"$ref":"#/definitions/nonBlankString"},"phone":{"$ref":"#/definitions/hlrCreatePhone"}},"additionalProperties":false,"required":["name","phone"]},"hlrCreatePhone":{"$comment":"the phone fields must not exceed 20 chars, when concatenated","type":"object","description":"The phone number of the veteran. Cannot exceed 20 characters when all fields are concatenated.","properties":{"countryCode":{"type":"string","pattern":"^[0-9]+$"},"areaCode":{"type":"string","pattern":"^[2-9][0-9]{2}$"},"phoneNumber":{"type":"string","pattern":"^[0-9]{1,14}$"},"phoneNumberExt":{"type":"string","pattern":"^[a-zA-Z0-9]{1,10}$"}},"required":["areaCode","phoneNumber"]},"hlrCreateVeteran":{"type":"object","properties":{"address":{"$ref":"#/definitions/hlrCreateAddress"},"phone":{"$ref":"#/definitions/hlrCreatePhone"},"emailAddressText":{"type":"string","format":"email","maxLength":44},"timezone":{"type":"string","description":"Veteran's timezone (either [IANA](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) or [Rails](https://github.com/rails/rails/blob/master/activesupport/lib/active_support/values/time_zone.rb) style). Used for adding the current date to the signature according to the veteran's local time. If not specified, the current UTC date will be used for the signature (which may be ahead or behind the local date).","$comment":"Generated using: File.write('timezones.json', (TZInfo::Timezone.all.map(&:name) + ActiveSupport::TimeZone.all.map(&:name)).uniq.sort) #Although this might seem like it should be generated dynamically, it's been written to file in case TZInfo or ActiveSupport deletes/modifies a timezone with a future version, which would change our APIs enum (a non-additve change to the current API version).","enum":["Abu Dhabi","Adelaide","Africa/Abidjan","Africa/Accra","Africa/Addis_Ababa","Africa/Algiers","Africa/Asmara","Africa/Asmera","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Douala","Africa/El_Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao_Tome","Africa/Timbuktu","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","Alaska","Almaty","America/Adak","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/ComodRivadavia","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Aruba","America/Asuncion","America/Atikokan","America/Atka","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Buenos_Aires","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Catamarca","America/Cayenne","America/Cayman","America/Chicago","America/Chihuahua","America/Coral_Harbour","America/Cordoba","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Dominica","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Ensenada","America/Fort_Nelson","America/Fort_Wayne","America/Fortaleza","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Grenada","America/Guadeloupe","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Indianapolis","America/Inuvik","America/Iqaluit","America/Jamaica","America/Jujuy","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/Knox_IN","America/Kralendijk","America/La_Paz","America/Lima","America/Los_Angeles","America/Louisville","America/Lower_Princes","America/Maceio","America/Managua","America/Manaus","America/Marigot","America/Martinique","America/Matamoros","America/Mazatlan","America/Mendoza","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Montreal","America/Montserrat","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Acre","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Rosario","America/Santa_Isabel","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Shiprock","America/Sitka","America/St_Barthelemy","America/St_Johns","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Tortola","America/Vancouver","America/Virgin","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","American Samoa","Amsterdam","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/McMurdo","Antarctica/Palmer","Antarctica/Rothera","Antarctica/South_Pole","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Arctic/Longyearbyen","Arizona","Asia/Aden","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Ashkhabad","Asia/Atyrau","Asia/Baghdad","Asia/Bahrain","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Calcutta","Asia/Chita","Asia/Choibalsan","Asia/Chongqing","Asia/Chungking","Asia/Colombo","Asia/Dacca","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Harbin","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Istanbul","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kashgar","Asia/Kathmandu","Asia/Katmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Kuwait","Asia/Macao","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Muscat","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Phnom_Penh","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Rangoon","Asia/Riyadh","Asia/Saigon","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Tel_Aviv","Asia/Thimbu","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ujung_Pandang","Asia/Ulaanbaatar","Asia/Ulan_Bator","Asia/Urumqi","Asia/Ust-Nera","Asia/Vientiane","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Astana","Athens","Atlantic Time (Canada)","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faeroe","Atlantic/Faroe","Atlantic/Jan_Mayen","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/St_Helena","Atlantic/Stanley","Auckland","Australia/ACT","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Canberra","Australia/Currie","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/LHI","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/NSW","Australia/North","Australia/Perth","Australia/Queensland","Australia/South","Australia/Sydney","Australia/Tasmania","Australia/Victoria","Australia/West","Australia/Yancowinna","Azores","Baghdad","Baku","Bangkok","Beijing","Belgrade","Berlin","Bern","Bogota","Brasilia","Bratislava","Brazil/Acre","Brazil/DeNoronha","Brazil/East","Brazil/West","Brisbane","Brussels","Bucharest","Budapest","Buenos Aires","CET","CST6CDT","Cairo","Canada/Atlantic","Canada/Central","Canada/Eastern","Canada/Mountain","Canada/Newfoundland","Canada/Pacific","Canada/Saskatchewan","Canada/Yukon","Canberra","Cape Verde Is.","Caracas","Casablanca","Central America","Central Time (US & Canada)","Chatham Is.","Chennai","Chihuahua","Chile/Continental","Chile/EasterIsland","Chongqing","Copenhagen","Cuba","Darwin","Dhaka","Dublin","EET","EST","EST5EDT","Eastern Time (US & Canada)","Edinburgh","Egypt","Eire","Ekaterinburg","Etc/GMT","Etc/GMT+0","Etc/GMT+1","Etc/GMT+10","Etc/GMT+11","Etc/GMT+12","Etc/GMT+2","Etc/GMT+3","Etc/GMT+4","Etc/GMT+5","Etc/GMT+6","Etc/GMT+7","Etc/GMT+8","Etc/GMT+9","Etc/GMT-0","Etc/GMT-1","Etc/GMT-10","Etc/GMT-11","Etc/GMT-12","Etc/GMT-13","Etc/GMT-14","Etc/GMT-2","Etc/GMT-3","Etc/GMT-4","Etc/GMT-5","Etc/GMT-6","Etc/GMT-7","Etc/GMT-8","Etc/GMT-9","Etc/GMT0","Etc/Greenwich","Etc/UCT","Etc/UTC","Etc/Universal","Etc/Zulu","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belfast","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Busingen","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Guernsey","Europe/Helsinki","Europe/Isle_of_Man","Europe/Istanbul","Europe/Jersey","Europe/Kaliningrad","Europe/Kiev","Europe/Kirov","Europe/Lisbon","Europe/Ljubljana","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Mariehamn","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Nicosia","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/San_Marino","Europe/Sarajevo","Europe/Saratov","Europe/Simferopol","Europe/Skopje","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Tiraspol","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zagreb","Europe/Zaporozhye","Europe/Zurich","Factory","Fiji","GB","GB-Eire","GMT","GMT+0","GMT-0","GMT0","Georgetown","Greenland","Greenwich","Guadalajara","Guam","HST","Hanoi","Harare","Hawaii","Helsinki","Hobart","Hong Kong","Hongkong","Iceland","Indian/Antananarivo","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Comoro","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Mayotte","Indian/Reunion","Indiana (East)","International Date Line West","Iran","Irkutsk","Islamabad","Israel","Istanbul","Jakarta","Jamaica","Japan","Jerusalem","Kabul","Kaliningrad","Kamchatka","Karachi","Kathmandu","Kolkata","Krasnoyarsk","Kuala Lumpur","Kuwait","Kwajalein","Kyiv","La Paz","Libya","Lima","Lisbon","Ljubljana","London","MET","MST","MST7MDT","Madrid","Magadan","Marshall Is.","Mazatlan","Melbourne","Mexico City","Mexico/BajaNorte","Mexico/BajaSur","Mexico/General","Mid-Atlantic","Midway Island","Minsk","Monrovia","Monterrey","Montevideo","Moscow","Mountain Time (US & Canada)","Mumbai","Muscat","NZ","NZ-CHAT","Nairobi","Navajo","New Caledonia","New Delhi","Newfoundland","Novosibirsk","Nuku'alofa","Osaka","PRC","PST8PDT","Pacific Time (US & Canada)","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chatham","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Johnston","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Midway","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Ponape","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Saipan","Pacific/Samoa","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Truk","Pacific/Wake","Pacific/Wallis","Pacific/Yap","Paris","Perth","Poland","Port Moresby","Portugal","Prague","Pretoria","Puerto Rico","Quito","ROC","ROK","Rangoon","Riga","Riyadh","Rome","Samara","Samoa","Santiago","Sapporo","Sarajevo","Saskatchewan","Seoul","Singapore","Skopje","Sofia","Solomon Is.","Srednekolymsk","Sri Jayawardenepura","St. Petersburg","Stockholm","Sydney","Taipei","Tallinn","Tashkent","Tbilisi","Tehran","Tijuana","Tokelau Is.","Tokyo","Turkey","UCT","US/Alaska","US/Aleutian","US/Arizona","US/Central","US/East-Indiana","US/Eastern","US/Hawaii","US/Indiana-Starke","US/Michigan","US/Mountain","US/Pacific","US/Pacific-New","US/Samoa","UTC","Ulaanbaatar","Universal","Urumqi","Vienna","Vilnius","Vladivostok","Volgograd","W-SU","WET","Warsaw","Wellington","West Central Africa","Yakutsk","Yerevan","Zagreb","Zulu","Zurich"]}},"additionalProperties":false,"required":["address"]},"hlrCreateAddress":{"type":"object","properties":{"zipCode5":{"type":"string","description":"5-digit zipcode. Use \"00000\" if Veteran is outside the United States","pattern":"^[0-9]{5}$"}},"additionalProperties":false,"required":["zipCode5"]},"hlrCreateIncluded":{"type":"array","items":{"$ref":"#/definitions/hlrCreateContestableIssue"},"minItems":1,"uniqueItems":true},"hlrCreateContestableIssue":{"type":"object","properties":{"type":{"type":"string","enum":["contestableIssue"]},"attributes":{"$ref":"#/definitions/hlrCreateContestableIssueAttributes"}},"additionalProperties":false,"required":["type","attributes"]},"hlrCreateContestableIssueAttributes":{"type":"object","properties":{"issue":{"$ref":"#/definitions/nonBlankStringMaxLength140"},"decisionDate":{"$ref":"#/definitions/date"},"decisionIssueId":{"type":"integer"},"ratingIssueReferenceId":{"type":"string"},"ratingDecisionReferenceId":{"type":"string"}},"additionalProperties":false,"required":["issue","decisionDate"]}}} diff --git a/dist/versions/24.3.3/HLR-CREATE-REQUEST-BODY_V1-example.json b/dist/versions/24.3.3/HLR-CREATE-REQUEST-BODY_V1-example.json new file mode 100644 index 00000000..a1a5757c --- /dev/null +++ b/dist/versions/24.3.3/HLR-CREATE-REQUEST-BODY_V1-example.json @@ -0,0 +1 @@ +{"data":{"type":"higherLevelReview","attributes":{"informalConference":true,"benefitType":"compensation","veteran":{"homeless":false,"address":{"addressLine1":"1039 Frog Valley Drive","city":"Cataula","zipCode5":"66002","countryCodeISO2":"US"},"phone":{"countryCode":"34","areaCode":"555","phoneNumber":"8001111","phoneNumberExt":"2"},"email":"josie@example.com","timezone":"America/Chicago"},"informalConferenceContact":"veteran","informalConferenceTime":"800-1200 ET","socOptIn":true,"informalConferenceRep":{"firstName":"Helen","lastName":"Holly","phone":{"countryCode":"6","areaCode":"555","phoneNumber":"8001111","phoneNumberExt":"2"}}}},"included":[{"type":"contestableIssue","attributes":{"issue":"tinnitus","decisionDate":"1900-01-01","decisionIssueId":1,"ratingIssueReferenceId":"2","ratingDecisionReferenceId":"3","disagreementArea":"Issue is debilitating"}},{"type":"contestableIssue","attributes":{"issue":"left knee","decisionDate":"1900-01-02","decisionIssueId":4,"ratingIssueReferenceId":"5"}},{"type":"contestableIssue","attributes":{"issue":"right knee","decisionDate":"1900-01-03","ratingIssueReferenceId":"6","ratingDecisionReferenceId":"7"}},{"type":"contestableIssue","attributes":{"issue":"PTSD","decisionDate":"1900-01-04","decisionIssueId":8,"ratingDecisionReferenceId":"9"}},{"type":"contestableIssue","attributes":{"issue":"Traumatic Brain Injury","decisionDate":"1900-01-05","decisionIssueId":10}},{"type":"contestableIssue","attributes":{"issue":"right shoulder","decisionDate":"1900-01-06"}}]} diff --git a/dist/versions/24.3.3/HLR-CREATE-REQUEST-BODY_V1-schema.json b/dist/versions/24.3.3/HLR-CREATE-REQUEST-BODY_V1-schema.json new file mode 100644 index 00000000..3ccebd1a --- /dev/null +++ b/dist/versions/24.3.3/HLR-CREATE-REQUEST-BODY_V1-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-07/schema#","description":"Lighthouse V2 JSON Schema for VA Form 20-0996","$ref":"#/definitions/hlrCreate","definitions":{"nonBlankString":{"type":"string","pattern":"[^ \\f\\n\\r\\t\\v\\u00a0\\u1680\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff]","$comment":"The pattern used ensures that a string has at least one non-whitespace character. The pattern comes from JavaScript's \\s character class. \"\\s Matches a single white space character, including space, tab, form feed, line feed, and other Unicode spaces. Equivalent to [ \\f\\n\\r\\t\\v\\u00a0\\u1680\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff].\": https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions/Character_Classes We are using simple character classes at JSON Schema's recommendation: https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-4.3"},"date":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$"},"hlrCreatePhone":{"type":"object","properties":{"countryCode":{"type":"string","pattern":"^[0-9]+$","minLength":1,"maxLength":3},"areaCode":{"type":"string","pattern":"^[0-9]{1,4}$","minLength":1,"maxLength":4},"phoneNumber":{"type":"string","pattern":"^[0-9]{1,14}$","minLength":1,"maxLength":14},"phoneNumberExt":{"type":"string","pattern":"^[a-zA-Z0-9]{1,10}$","minLength":1,"maxLength":10}},"required":["areaCode","phoneNumber"]},"hlrCreate":{"type":"object","properties":{"data":{"type":"object","properties":{"type":{"type":"string","enum":["higherLevelReview"]},"attributes":{"description":"If informal conference requested (`informalConference: true`), contact (`informalConferenceContact`) and time (`informalConferenceTime`) must be specified.","type":"object","additionalProperties":false,"properties":{"informalConference":{"type":"boolean"},"benefitType":{"type":"string","enum":["compensation"]},"veteran":{"type":"object","properties":{"homeless":{"type":"boolean"},"address":{"type":"object","properties":{"addressLine1":{"type":"string","maxLength":60},"addressLine2":{"type":"string","maxLength":30},"addressLine3":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":60},"stateCode":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"countryCodeISO2":{"type":"string","pattern":"^[A-Z]{2}$"},"zipCode5":{"type":"string","description":"5-digit zipcode. Use \"00000\" if Veteran is outside the United States","pattern":"^[0-9]{5}$"},"internationalPostalCode":{"type":"string","maxLength":16}},"additionalProperties":false,"required":["addressLine1","city","countryCodeISO2","zipCode5"]},"phone":{"$ref":"#/definitions/hlrCreatePhone"},"email":{"type":"string","format":"email","minLength":6,"maxLength":255},"timezone":{"type":"string","description":"The list of accepted timezones is maintained by Lighthouse's backend (Appeals API)"}},"additionalProperties":false,"required":["homeless"],"if":{"properties":{"homeless":{"const":false}}},"then":{"required":["address"]}},"informalConferenceContact":{"type":"string","enum":["veteran","representative"]},"informalConferenceTime":{"type":"string","enum":["800-1200 ET","1200-1630 ET"]},"informalConferenceRep":{"type":"object","description":"The Representative information listed MUST match the current Power of Attorney for the Veteran. Any changes to the Power of Attorney must be submitted via a VA 21-22 form separately.","properties":{"firstName":{"type":"string","maxLength":30},"lastName":{"type":"string","maxLength":40},"phone":{"$ref":"#/definitions/hlrCreatePhone"},"email":{"type":"string","format":"email","minLength":6,"maxLength":255}},"additionalProperties":false,"required":["firstName","lastName","phone"]},"socOptIn":{"type":"boolean"}},"required":["informalConference","benefitType","veteran","socOptIn"],"if":{"properties":{"informalConference":{"const":true}}},"then":{"required":["informalConferenceContact","informalConferenceTime"]}}},"additionalProperties":false,"required":["type","attributes"]},"included":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["contestableIssue"]},"attributes":{"type":"object","properties":{"issue":{"allOf":[{"$ref":"#/definitions/nonBlankString"},{"maxLength":140}]},"decisionDate":{"$ref":"#/definitions/date"},"decisionIssueId":{"type":"integer"},"ratingIssueReferenceId":{"type":"string"},"ratingDecisionReferenceId":{"type":"string"},"socDate":{"$ref":"#/definitions/date"},"disagreementArea":{"type":"string","maxLength":90}},"additionalProperties":false,"required":["issue","decisionDate"]}},"additionalProperties":false,"required":["type","attributes"]},"minItems":1,"uniqueItems":true}},"additionalProperties":false,"required":["data","included"]}}} diff --git a/dist/versions/24.3.3/HLR-CREATE-REQUEST-HEADERS-example.json b/dist/versions/24.3.3/HLR-CREATE-REQUEST-HEADERS-example.json new file mode 100644 index 00000000..c16c84da --- /dev/null +++ b/dist/versions/24.3.3/HLR-CREATE-REQUEST-HEADERS-example.json @@ -0,0 +1 @@ +{"X-VA-SSN":"123456789","X-VA-First-Name":"Jane","X-VA-Middle-Initial":"Z","X-VA-Last-Name":"Doe","X-VA-Birth-Date":"1969-12-31","X-VA-File-Number":"987654321","X-VA-Service-Number":"876543210","X-VA-Insurance-Policy-Number":"987654321123456789"} diff --git a/dist/versions/24.3.3/HLR-CREATE-REQUEST-HEADERS-schema.json b/dist/versions/24.3.3/HLR-CREATE-REQUEST-HEADERS-schema.json new file mode 100644 index 00000000..55f73ded --- /dev/null +++ b/dist/versions/24.3.3/HLR-CREATE-REQUEST-HEADERS-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","description":"JSON Schema for Higher-Level Review Creation endpoint headers (Decision Reviews API) copied from https://github.com/department-of-veterans-affairs/vets-api/blob/master/modules/appeals_api/config/schemas/v1/10182_headers.json","$ref":"#/definitions/hlrCreateParameters","definitions":{"hlrCreateParameters":{"type":"object","properties":{"X-VA-SSN":{"$ref":"#/definitions/X-VA-SSN"},"X-VA-First-Name":{"$ref":"#/definitions/X-VA-First-Name"},"X-VA-Middle-Initial":{"$ref":"#/definitions/X-VA-Middle-Initial"},"X-VA-Last-Name":{"$ref":"#/definitions/X-VA-Last-Name"},"X-VA-Birth-Date":{"$ref":"#/definitions/X-VA-Birth-Date"},"X-VA-File-Number":{"$ref":"#/definitions/X-VA-File-Number"},"X-VA-Service-Number":{"$ref":"#/definitions/X-VA-Service-Number"},"X-VA-Insurance-Policy-Number":{"$ref":"#/definitions/X-VA-Insurance-Policy-Number"},"X-Consumer-Username":{"$ref":"#/definitions/X-Consumer-Username"},"X-Consumer-ID":{"$ref":"#/definitions/X-Consumer-ID"}},"additionalProperties":false,"required":["X-VA-SSN","X-VA-First-Name","X-VA-Last-Name","X-VA-Birth-Date"]},"X-VA-SSN":{"allOf":[{"description":"veteran's SSN"},{"type":"string","pattern":"^[0-9]{9}$"}]},"X-VA-First-Name":{"allOf":[{"description":"veteran's first name"},{"type":"string","maxLength":12,"$comment":"can be whitespace, to accommodate those with 1 legal name"}]},"X-VA-Middle-Initial":{"allOf":[{"description":"veteran's middle initial"},{"$ref":"#/definitions/nonBlankStringMaxLength1"}]},"X-VA-Last-Name":{"allOf":[{"description":"veteran's last name"},{"$ref":"#/definitions/nonBlankStringMaxLength18"}]},"X-VA-Birth-Date":{"allOf":[{"description":"veteran's birth date"},{"$ref":"#/definitions/date"}]},"X-VA-File-Number":{"allOf":[{"description":"veteran's file number"},{"$ref":"#/definitions/nonBlankStringMaxLength9"}]},"X-VA-Service-Number":{"allOf":[{"description":"veteran's service number"},{"$ref":"#/definitions/nonBlankStringMaxLength9"}]},"X-VA-Insurance-Policy-Number":{"allOf":[{"description":"veteran's insurance policy number"},{"$ref":"#/definitions/nonBlankStringMaxLength18"}]},"X-Consumer-Username":{"allOf":[{"description":"Consumer User Name (passed from Kong)"},{"$ref":"#/definitions/nonBlankString"}]},"X-Consumer-ID":{"allOf":[{"description":"Consumer GUID"},{"$ref":"#/definitions/nonBlankString"}]},"nonBlankString":{"type":"string","pattern":"[^ \\f\\n\\r\\t\\v\\u00a0\\u1680\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff]","$comment":"The pattern used ensures that a string has at least one non-whitespace character. The pattern comes from JavaScript's \\s character class. \"\\s Matches a single white space character, including space, tab, form feed, line feed, and other Unicode spaces. Equivalent to [ \\f\\n\\r\\t\\v\\u00a0\\u1680\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff].\": https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions/Character_Classes We are using simple character classes at JSON Schema's recommendation: https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-4.3"},"nonBlankStringMaxLength18":{"allOf":[{"$ref":"#/definitions/nonBlankString"},{"maxLength":18}]},"nonBlankStringMaxLength9":{"allOf":[{"$ref":"#/definitions/nonBlankString"},{"maxLength":9}]},"nonBlankStringMaxLength1":{"allOf":[{"$ref":"#/definitions/nonBlankString"},{"maxLength":1}]},"date":{"type":"string","pattern":"^[0-9]{4}(-[0-9]{2}){2}$"}}} diff --git a/dist/versions/24.3.3/HLR-CREATE-RESPONSE-200-example.json b/dist/versions/24.3.3/HLR-CREATE-RESPONSE-200-example.json new file mode 100644 index 00000000..cc584688 --- /dev/null +++ b/dist/versions/24.3.3/HLR-CREATE-RESPONSE-200-example.json @@ -0,0 +1 @@ +{"data":{"id":"1234567a-89b0-123c-d456-789e01234f56","type":"higherLevelReview","attributes":{"status":"processing","updatedAt":"2020-04-23T21:06:12.531Z","createdAt":"2020-04-23T21:06:12.531Z","formData":{"data":{"type":"higherLevelReview","attributes":{"informalConference":true,"sameOffice":true,"benefitType":"compensation","veteran":{"address":{"zipCode5":"66002"},"phone":{"countryCode":"34","areaCode":"555","phoneNumber":"8001111","phoneNumberExt":"2"},"emailAddressText":"josie@example.com","timezone":"America/Chicago"},"informalConferenceTimes":["1230-1400 ET","1400-1630 ET"],"informalConferenceRep":{"name":"Helen Holly","phone":{"countryCode":"6","areaCode":"555","phoneNumber":"8001111","phoneNumberExt":"2"}}}},"included":[{"type":"contestableIssue","attributes":{"issue":"tinnitus","decisionDate":"1900-01-01","decisionIssueId":1,"ratingIssueReferenceId":"2","ratingDecisionReferenceId":"3"}},{"type":"contestableIssue","attributes":{"issue":"left knee","decisionDate":"1900-01-02","decisionIssueId":4,"ratingIssueReferenceId":"5"}},{"type":"contestableIssue","attributes":{"issue":"right knee","decisionDate":"1900-01-03","ratingIssueReferenceId":"6","ratingDecisionReferenceId":"7"}},{"type":"contestableIssue","attributes":{"issue":"PTSD","decisionDate":"1900-01-04","decisionIssueId":8,"ratingDecisionReferenceId":"9"}},{"type":"contestableIssue","attributes":{"issue":"Traumatic Brain Injury","decisionDate":"1900-01-05","decisionIssueId":10}},{"type":"contestableIssue","attributes":{"issue":"right shoulder","decisionDate":"1900-01-06"}}]}}}} diff --git a/dist/versions/24.3.3/HLR-CREATE-RESPONSE-200-schema.json b/dist/versions/24.3.3/HLR-CREATE-RESPONSE-200-schema.json new file mode 100644 index 00000000..d1eef2d4 --- /dev/null +++ b/dist/versions/24.3.3/HLR-CREATE-RESPONSE-200-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","description":"JSON Schema for VA Form 20-0996 copied from https://github.com/department-of-veterans-affairs/vets-api/blob/master/modules/appeals_api/config/schemas/v1/200996.json","$ref":"#/definitions/root","definitions":{"nonBlankString":{"type":"string","pattern":"[^ \\f\\n\\r\\t\\v\\u00a0\\u1680\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff]","$comment":"The pattern used ensures that a string has at least one non-whitespace character. The pattern comes from JavaScript's \\s character class. \"\\s Matches a single white space character, including space, tab, form feed, line feed, and other Unicode spaces. Equivalent to [ \\f\\n\\r\\t\\v\\u00a0\\u1680\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff].\": https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions/Character_Classes We are using simple character classes at JSON Schema's recommendation: https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-4.3"},"nonBlankStringMaxLength140":{"allOf":[{"$ref":"#/definitions/nonBlankString"},{"maxLength":140}]},"date":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$"},"hlrCreate":{"type":"object","properties":{"data":{"$ref":"#/definitions/hlrCreateData"},"included":{"$ref":"#/definitions/hlrCreateIncluded"}},"additionalProperties":false,"required":["data","included"]},"hlrCreateData":{"type":"object","properties":{"type":{"type":"string","enum":["higherLevelReview"]},"attributes":{"$ref":"#/definitions/hlrCreateDataAttributes"}},"additionalProperties":false,"required":["type","attributes"]},"hlrCreateDataAttributes":{"description":"If informal conference requested (`informalConference: true`), availability must be specified (`informalConferenceTimes`). Explanation of abbreviated benefit types: `pension`: Pension / Survivor's Benefits, `voc_rehab`: Vocational Rehabilitation and Employment, `vha`: Veterans Health Administration, `nca`: National Cemetery Administration","oneOf":[{"type":"object","properties":{"informalConference":{"type":"boolean","enum":[false]},"sameOffice":{"type":"boolean"},"benefitType":{"$ref":"#/definitions/hlrCreateBenefitType"},"veteran":{"$ref":"#/definitions/hlrCreateVeteran"}},"additionalProperties":false,"required":["informalConference","sameOffice","benefitType","veteran"]},{"$comment":"if informalConference requested, desired times must be included (rep is optional)","type":"object","properties":{"informalConference":{"type":"boolean","enum":[true]},"sameOffice":{"type":"boolean"},"benefitType":{"$ref":"#/definitions/hlrCreateBenefitType"},"veteran":{"$ref":"#/definitions/hlrCreateVeteran"},"informalConferenceTimes":{"$ref":"#/definitions/hlrCreateInformalConferenceTimes"},"informalConferenceRep":{"$ref":"#/definitions/hlrCreateInformalConferenceRep"}},"additionalProperties":false,"required":["informalConference","sameOffice","benefitType","veteran","informalConferenceTimes"]}]},"hlrCreateBenefitType":{"type":"string","enum":["compensation"]},"hlrCreateInformalConferenceTimes":{"type":"array","items":{"$ref":"#/definitions/hlrCreateInformalConferenceTime"},"minItems":1,"maxItems":2,"uniqueItems":true},"hlrCreateInformalConferenceTime":{"type":"string","description":"time ranges in Eastern Time","enum":["800-1000 ET","1000-1230 ET","1230-1400 ET","1400-1630 ET"]},"hlrCreateInformalConferenceRep":{"type":"object","properties":{"name":{"$ref":"#/definitions/nonBlankString"},"phone":{"$ref":"#/definitions/hlrCreatePhone"}},"additionalProperties":false,"required":["name","phone"]},"hlrCreatePhone":{"$comment":"the phone fields must not exceed 20 chars, when concatenated","type":"object","description":"The phone number of the veteran. Cannot exceed 20 characters when all fields are concatenated.","properties":{"countryCode":{"type":"string","pattern":"^[0-9]+$"},"areaCode":{"type":"string","pattern":"^[2-9][0-9]{2}$"},"phoneNumber":{"type":"string","pattern":"^[0-9]{1,14}$"},"phoneNumberExt":{"type":"string","pattern":"^[a-zA-Z0-9]{1,10}$"}},"required":["areaCode","phoneNumber"]},"hlrCreateVeteran":{"type":"object","properties":{"address":{"$ref":"#/definitions/hlrCreateAddress"},"phone":{"$ref":"#/definitions/hlrCreatePhone"},"emailAddressText":{"type":"string","format":"email","maxLength":44},"timezone":{"type":"string","description":"Veteran's timezone (either [IANA](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) or [Rails](https://github.com/rails/rails/blob/master/activesupport/lib/active_support/values/time_zone.rb) style). Used for adding the current date to the signature according to the veteran's local time. If not specified, the current UTC date will be used for the signature (which may be ahead or behind the local date).","$comment":"Generated using: File.write('timezones.json', (TZInfo::Timezone.all.map(&:name) + ActiveSupport::TimeZone.all.map(&:name)).uniq.sort) #Although this might seem like it should be generated dynamically, it's been written to file in case TZInfo or ActiveSupport deletes/modifies a timezone with a future version, which would change our APIs enum (a non-additve change to the current API version).","enum":["Abu Dhabi","Adelaide","Africa/Abidjan","Africa/Accra","Africa/Addis_Ababa","Africa/Algiers","Africa/Asmara","Africa/Asmera","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Douala","Africa/El_Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao_Tome","Africa/Timbuktu","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","Alaska","Almaty","America/Adak","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/ComodRivadavia","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Aruba","America/Asuncion","America/Atikokan","America/Atka","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Buenos_Aires","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Catamarca","America/Cayenne","America/Cayman","America/Chicago","America/Chihuahua","America/Coral_Harbour","America/Cordoba","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Dominica","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Ensenada","America/Fort_Nelson","America/Fort_Wayne","America/Fortaleza","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Grenada","America/Guadeloupe","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Indianapolis","America/Inuvik","America/Iqaluit","America/Jamaica","America/Jujuy","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/Knox_IN","America/Kralendijk","America/La_Paz","America/Lima","America/Los_Angeles","America/Louisville","America/Lower_Princes","America/Maceio","America/Managua","America/Manaus","America/Marigot","America/Martinique","America/Matamoros","America/Mazatlan","America/Mendoza","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Montreal","America/Montserrat","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Acre","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Rosario","America/Santa_Isabel","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Shiprock","America/Sitka","America/St_Barthelemy","America/St_Johns","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Tortola","America/Vancouver","America/Virgin","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","American Samoa","Amsterdam","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/McMurdo","Antarctica/Palmer","Antarctica/Rothera","Antarctica/South_Pole","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Arctic/Longyearbyen","Arizona","Asia/Aden","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Ashkhabad","Asia/Atyrau","Asia/Baghdad","Asia/Bahrain","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Calcutta","Asia/Chita","Asia/Choibalsan","Asia/Chongqing","Asia/Chungking","Asia/Colombo","Asia/Dacca","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Harbin","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Istanbul","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kashgar","Asia/Kathmandu","Asia/Katmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Kuwait","Asia/Macao","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Muscat","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Phnom_Penh","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Rangoon","Asia/Riyadh","Asia/Saigon","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Tel_Aviv","Asia/Thimbu","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ujung_Pandang","Asia/Ulaanbaatar","Asia/Ulan_Bator","Asia/Urumqi","Asia/Ust-Nera","Asia/Vientiane","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Astana","Athens","Atlantic Time (Canada)","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faeroe","Atlantic/Faroe","Atlantic/Jan_Mayen","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/St_Helena","Atlantic/Stanley","Auckland","Australia/ACT","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Canberra","Australia/Currie","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/LHI","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/NSW","Australia/North","Australia/Perth","Australia/Queensland","Australia/South","Australia/Sydney","Australia/Tasmania","Australia/Victoria","Australia/West","Australia/Yancowinna","Azores","Baghdad","Baku","Bangkok","Beijing","Belgrade","Berlin","Bern","Bogota","Brasilia","Bratislava","Brazil/Acre","Brazil/DeNoronha","Brazil/East","Brazil/West","Brisbane","Brussels","Bucharest","Budapest","Buenos Aires","CET","CST6CDT","Cairo","Canada/Atlantic","Canada/Central","Canada/Eastern","Canada/Mountain","Canada/Newfoundland","Canada/Pacific","Canada/Saskatchewan","Canada/Yukon","Canberra","Cape Verde Is.","Caracas","Casablanca","Central America","Central Time (US & Canada)","Chatham Is.","Chennai","Chihuahua","Chile/Continental","Chile/EasterIsland","Chongqing","Copenhagen","Cuba","Darwin","Dhaka","Dublin","EET","EST","EST5EDT","Eastern Time (US & Canada)","Edinburgh","Egypt","Eire","Ekaterinburg","Etc/GMT","Etc/GMT+0","Etc/GMT+1","Etc/GMT+10","Etc/GMT+11","Etc/GMT+12","Etc/GMT+2","Etc/GMT+3","Etc/GMT+4","Etc/GMT+5","Etc/GMT+6","Etc/GMT+7","Etc/GMT+8","Etc/GMT+9","Etc/GMT-0","Etc/GMT-1","Etc/GMT-10","Etc/GMT-11","Etc/GMT-12","Etc/GMT-13","Etc/GMT-14","Etc/GMT-2","Etc/GMT-3","Etc/GMT-4","Etc/GMT-5","Etc/GMT-6","Etc/GMT-7","Etc/GMT-8","Etc/GMT-9","Etc/GMT0","Etc/Greenwich","Etc/UCT","Etc/UTC","Etc/Universal","Etc/Zulu","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belfast","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Busingen","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Guernsey","Europe/Helsinki","Europe/Isle_of_Man","Europe/Istanbul","Europe/Jersey","Europe/Kaliningrad","Europe/Kiev","Europe/Kirov","Europe/Lisbon","Europe/Ljubljana","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Mariehamn","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Nicosia","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/San_Marino","Europe/Sarajevo","Europe/Saratov","Europe/Simferopol","Europe/Skopje","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Tiraspol","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zagreb","Europe/Zaporozhye","Europe/Zurich","Factory","Fiji","GB","GB-Eire","GMT","GMT+0","GMT-0","GMT0","Georgetown","Greenland","Greenwich","Guadalajara","Guam","HST","Hanoi","Harare","Hawaii","Helsinki","Hobart","Hong Kong","Hongkong","Iceland","Indian/Antananarivo","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Comoro","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Mayotte","Indian/Reunion","Indiana (East)","International Date Line West","Iran","Irkutsk","Islamabad","Israel","Istanbul","Jakarta","Jamaica","Japan","Jerusalem","Kabul","Kaliningrad","Kamchatka","Karachi","Kathmandu","Kolkata","Krasnoyarsk","Kuala Lumpur","Kuwait","Kwajalein","Kyiv","La Paz","Libya","Lima","Lisbon","Ljubljana","London","MET","MST","MST7MDT","Madrid","Magadan","Marshall Is.","Mazatlan","Melbourne","Mexico City","Mexico/BajaNorte","Mexico/BajaSur","Mexico/General","Mid-Atlantic","Midway Island","Minsk","Monrovia","Monterrey","Montevideo","Moscow","Mountain Time (US & Canada)","Mumbai","Muscat","NZ","NZ-CHAT","Nairobi","Navajo","New Caledonia","New Delhi","Newfoundland","Novosibirsk","Nuku'alofa","Osaka","PRC","PST8PDT","Pacific Time (US & Canada)","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chatham","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Johnston","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Midway","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Ponape","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Saipan","Pacific/Samoa","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Truk","Pacific/Wake","Pacific/Wallis","Pacific/Yap","Paris","Perth","Poland","Port Moresby","Portugal","Prague","Pretoria","Puerto Rico","Quito","ROC","ROK","Rangoon","Riga","Riyadh","Rome","Samara","Samoa","Santiago","Sapporo","Sarajevo","Saskatchewan","Seoul","Singapore","Skopje","Sofia","Solomon Is.","Srednekolymsk","Sri Jayawardenepura","St. Petersburg","Stockholm","Sydney","Taipei","Tallinn","Tashkent","Tbilisi","Tehran","Tijuana","Tokelau Is.","Tokyo","Turkey","UCT","US/Alaska","US/Aleutian","US/Arizona","US/Central","US/East-Indiana","US/Eastern","US/Hawaii","US/Indiana-Starke","US/Michigan","US/Mountain","US/Pacific","US/Pacific-New","US/Samoa","UTC","Ulaanbaatar","Universal","Urumqi","Vienna","Vilnius","Vladivostok","Volgograd","W-SU","WET","Warsaw","Wellington","West Central Africa","Yakutsk","Yerevan","Zagreb","Zulu","Zurich"]}},"additionalProperties":false,"required":["address"]},"hlrCreateAddress":{"type":"object","properties":{"zipCode5":{"type":"string","description":"5-digit zipcode. Use \"00000\" if Veteran is outside the United States","pattern":"^[0-9]{5}$"}},"additionalProperties":false,"required":["zipCode5"]},"hlrCreateIncluded":{"type":"array","items":{"$ref":"#/definitions/hlrCreateContestableIssue"},"minItems":1,"uniqueItems":true},"hlrCreateContestableIssue":{"type":"object","properties":{"type":{"type":"string","enum":["contestableIssue"]},"attributes":{"$ref":"#/definitions/hlrCreateContestableIssueAttributes"}},"additionalProperties":false,"required":["type","attributes"]},"hlrCreateContestableIssueAttributes":{"type":"object","properties":{"issue":{"$ref":"#/definitions/nonBlankStringMaxLength140"},"decisionDate":{"$ref":"#/definitions/date"},"decisionIssueId":{"type":"integer"},"ratingIssueReferenceId":{"type":"string"},"ratingDecisionReferenceId":{"type":"string"}},"additionalProperties":false,"required":["issue","decisionDate"]},"root":{"type":"object","properties":{"data":{"$ref":"#/definitions/data"}},"required":["data"],"additionalProperties":false},"data":{"type":"object","properties":{"id":{"$ref":"#/definitions/uuid"},"type":{"type":"string","enum":["higherLevelReview"]},"attributes":{"type":"object","properties":{"status":{"$ref":"#/definitions/hlrStatus"},"updatedAt":{"$ref":"#/definitions/timeStamp"},"createdAt":{"$ref":"#/definitions/timeStamp"},"formData":{"$ref":"#/definitions/hlrCreate"}},"required":["status","updatedAt","createdAt","formData"],"additionalProperties":false}},"required":["id","type","attributes"],"additionalProperties":false},"uuid":{"type":"string","pattern":"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"},"timeStamp":{"type":"string","pattern":"\\d{4}(-\\d{2}){2}T\\d{2}(:\\d{2}){2}.\\d{3}Z"},"hlrStatus":{"type":"string","enum":["pending","submitting","submitted","processing","error","uploaded","received","success","vbms","expired"]}}} diff --git a/dist/versions/24.3.3/HLR-CREATE-RESPONSE-200_V1-schema.json b/dist/versions/24.3.3/HLR-CREATE-RESPONSE-200_V1-schema.json new file mode 100644 index 00000000..0b5d611a --- /dev/null +++ b/dist/versions/24.3.3/HLR-CREATE-RESPONSE-200_V1-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-07/schema#","description":"Lighthouse V2 JSON Schema for VA Form 20-0996","$ref":"#/definitions/root","definitions":{"nonBlankString":{"type":"string","pattern":"[^ \\f\\n\\r\\t\\v\\u00a0\\u1680\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff]","$comment":"The pattern used ensures that a string has at least one non-whitespace character. The pattern comes from JavaScript's \\s character class. \"\\s Matches a single white space character, including space, tab, form feed, line feed, and other Unicode spaces. Equivalent to [ \\f\\n\\r\\t\\v\\u00a0\\u1680\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff].\": https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions/Character_Classes We are using simple character classes at JSON Schema's recommendation: https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-4.3"},"date":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$"},"hlrCreatePhone":{"type":"object","properties":{"countryCode":{"type":"string","pattern":"^[0-9]+$","minLength":1,"maxLength":3},"areaCode":{"type":"string","pattern":"^[0-9]{1,4}$","minLength":1,"maxLength":4},"phoneNumber":{"type":"string","pattern":"^[0-9]{1,14}$","minLength":1,"maxLength":14},"phoneNumberExt":{"type":"string","pattern":"^[a-zA-Z0-9]{1,10}$","minLength":1,"maxLength":10}},"required":["areaCode","phoneNumber"]},"hlrCreate":{"type":"object","properties":{"data":{"type":"object","properties":{"type":{"type":"string","enum":["higherLevelReview"]},"attributes":{"description":"If informal conference requested (`informalConference: true`), contact (`informalConferenceContact`) and time (`informalConferenceTime`) must be specified.","type":"object","additionalProperties":false,"properties":{"informalConference":{"type":"boolean"},"benefitType":{"type":"string","enum":["compensation"]},"veteran":{"type":"object","properties":{"homeless":{"type":"boolean"},"address":{"type":"object","properties":{"addressLine1":{"type":"string","maxLength":60},"addressLine2":{"type":"string","maxLength":30},"addressLine3":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":60},"stateCode":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"countryCodeISO2":{"type":"string","pattern":"^[A-Z]{2}$"},"zipCode5":{"type":"string","description":"5-digit zipcode. Use \"00000\" if Veteran is outside the United States","pattern":"^[0-9]{5}$"},"internationalPostalCode":{"type":"string","maxLength":16}},"additionalProperties":false,"required":["addressLine1","city","countryCodeISO2","zipCode5"]},"phone":{"$ref":"#/definitions/hlrCreatePhone"},"email":{"type":"string","format":"email","minLength":6,"maxLength":255},"timezone":{"type":"string","description":"The list of accepted timezones is maintained by Lighthouse's backend (Appeals API)"}},"additionalProperties":false,"required":["homeless"],"if":{"properties":{"homeless":{"const":false}}},"then":{"required":["address"]}},"informalConferenceContact":{"type":"string","enum":["veteran","representative"]},"informalConferenceTime":{"type":"string","enum":["800-1200 ET","1200-1630 ET"]},"informalConferenceRep":{"type":"object","description":"The Representative information listed MUST match the current Power of Attorney for the Veteran. Any changes to the Power of Attorney must be submitted via a VA 21-22 form separately.","properties":{"firstName":{"type":"string","maxLength":30},"lastName":{"type":"string","maxLength":40},"phone":{"$ref":"#/definitions/hlrCreatePhone"},"email":{"type":"string","format":"email","minLength":6,"maxLength":255}},"additionalProperties":false,"required":["firstName","lastName","phone"]},"socOptIn":{"type":"boolean"}},"required":["informalConference","benefitType","veteran","socOptIn"],"if":{"properties":{"informalConference":{"const":true}}},"then":{"required":["informalConferenceContact","informalConferenceTime"]}}},"additionalProperties":false,"required":["type","attributes"]},"included":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["contestableIssue"]},"attributes":{"type":"object","properties":{"issue":{"allOf":[{"$ref":"#/definitions/nonBlankString"},{"maxLength":140}]},"decisionDate":{"$ref":"#/definitions/date"},"decisionIssueId":{"type":"integer"},"ratingIssueReferenceId":{"type":"string"},"ratingDecisionReferenceId":{"type":"string"},"socDate":{"$ref":"#/definitions/date"},"disagreementArea":{"type":"string","maxLength":90}},"additionalProperties":false,"required":["issue","decisionDate"]}},"additionalProperties":false,"required":["type","attributes"]},"minItems":1,"uniqueItems":true}},"additionalProperties":false,"required":["data","included"]},"root":{"type":"object","properties":{"data":{"$ref":"#/definitions/data"}},"required":["data"],"additionalProperties":false},"data":{"type":"object","properties":{"id":{"$ref":"#/definitions/uuid"},"type":{"type":"string","enum":["higherLevelReview"]},"attributes":{"type":"object","properties":{"status":{"$ref":"#/definitions/hlrStatus"},"updatedAt":{"$ref":"#/definitions/timeStamp"},"createdAt":{"$ref":"#/definitions/timeStamp"},"formData":{"$ref":"#/definitions/hlrCreate"}},"required":["status","updatedAt","createdAt","formData"],"additionalProperties":false}},"required":["id","type","attributes"],"additionalProperties":false},"uuid":{"type":"string","pattern":"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"},"timeStamp":{"type":"string","pattern":"\\d{4}(-\\d{2}){2}T\\d{2}(:\\d{2}){2}.\\d{3}Z"},"hlrStatus":{"type":"string","enum":["pending","submitting","submitted","processing","success","complete","error"]}}} diff --git a/dist/versions/24.3.3/HLR-CREATE-RESPONSE-422-example.json b/dist/versions/24.3.3/HLR-CREATE-RESPONSE-422-example.json new file mode 100644 index 00000000..52f8b817 --- /dev/null +++ b/dist/versions/24.3.3/HLR-CREATE-RESPONSE-422-example.json @@ -0,0 +1 @@ +{"errors":[{"status":422,"detail":"The property /data/attributes did not contain the required key benefitType","source":"/data/attributes"}]} diff --git a/dist/versions/24.3.3/HLR-CREATE-RESPONSE-422-schema.json b/dist/versions/24.3.3/HLR-CREATE-RESPONSE-422-schema.json new file mode 100644 index 00000000..e3bbf1ee --- /dev/null +++ b/dist/versions/24.3.3/HLR-CREATE-RESPONSE-422-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/root","definitions":{"root":{"type":"object","properties":{"errors":{"$ref":"#/definitions/errors"}},"required":["errors"],"additionalProperties":false},"errors":{"type":"array","minItems":1,"maxItems":1,"items":{"$ref":"#/definitions/failed_json_schema"}},"failed_json_schema":{"type":"object","properties":{"status":{"type":"integer","enum":[422]},"detail":{"type":"string"},"source":{"oneOf":[{"type":"string"},{"type":"boolean","enum":[false]}]}},"required":["status","detail","source"],"additionalProperties":false}}} diff --git a/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-REQUEST-BENEFIT-TYPE-schema.json b/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-REQUEST-BENEFIT-TYPE-schema.json new file mode 100644 index 00000000..633e39d2 --- /dev/null +++ b/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-REQUEST-BENEFIT-TYPE-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","type":"string","enum":["compensation"]} diff --git a/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-REQUEST-BENEFIT-TYPE_V1-schema.json b/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-REQUEST-BENEFIT-TYPE_V1-schema.json new file mode 100644 index 00000000..633e39d2 --- /dev/null +++ b/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-REQUEST-BENEFIT-TYPE_V1-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","type":"string","enum":["compensation"]} diff --git a/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-REQUEST-HEADERS-example.json b/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-REQUEST-HEADERS-example.json new file mode 100644 index 00000000..3e389a92 --- /dev/null +++ b/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-REQUEST-HEADERS-example.json @@ -0,0 +1 @@ +{"X-VA-SSN":"123456789","X-VA-Receipt-Date":"1970-01-01"} diff --git a/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-REQUEST-HEADERS-schema.json b/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-REQUEST-HEADERS-schema.json new file mode 100644 index 00000000..0eb61b82 --- /dev/null +++ b/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-REQUEST-HEADERS-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/root","definitions":{"root":{"type":"object","properties":{"X-VA-SSN":{"$ref":"#/definitions/X-VA-SSN"},"X-VA-Receipt-Date":{"$ref":"#/definitions/X-VA-Receipt-Date"}},"additionalProperties":false,"required":["X-VA-SSN","X-VA-Receipt-Date"]},"X-VA-SSN":{"type":"string","pattern":"^[0-9]{9}$"},"X-VA-Receipt-Date":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$"}}} diff --git a/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-RESPONSE-200-example.json b/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-RESPONSE-200-example.json new file mode 100644 index 00000000..16ec5ebf --- /dev/null +++ b/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-RESPONSE-200-example.json @@ -0,0 +1 @@ +{"data":[{"type":"contestableIssue","id":"string","attributes":{"ratingIssueReferenceId":"string","ratingIssueProfileDate":"2020-08-31","ratingIssueDiagnosticCode":"string","ratingDecisionReferenceId":"string","decisionIssueId":0,"approxDecisionDate":"2020-08-31","description":"string","rampClaimId":"string","titleOfActiveReview":"string","sourceReviewType":"string","timely":true,"latestIssuesInChain":[{"id":"string","approxDecisionDate":"2020-08-31"}],"ratingIssueSubjectText":"string","ratingIssuePercentNumber":"string","isRating":true}}]} diff --git a/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-RESPONSE-200-schema.json b/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-RESPONSE-200-schema.json new file mode 100644 index 00000000..606ad54e --- /dev/null +++ b/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-RESPONSE-200-schema.json @@ -0,0 +1 @@ +{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","description":"A contestable issue (to contest this, you include it as a RequestIssue when creating a HigherLevelReview, SupplementalClaim, or Appeal)","properties":{"type":{"type":"string","enum":["contestableIssue"]},"id":{"type":["string","null"]},"attributes":{"type":"object","properties":{"ratingIssueReferenceId":{"type":["string","null"],"description":"RatingIssue ID"},"ratingIssueProfileDate":{"type":["string","null"],"format":"date","description":"(yyyy-mm-dd) RatingIssue profile date"},"ratingIssueDiagnosticCode":{"type":["string","null"],"description":"RatingIssue diagnostic code"},"ratingDecisionReferenceId":{"type":["string","null"],"description":"The BGS ID for the contested rating decision. This may be populated while ratingIssueReferenceId is nil"},"decisionIssueId":{"type":["integer","null"],"description":"DecisionIssue ID"},"approxDecisionDate":{"type":["string","null"],"format":"date","description":"(yyyy-mm-dd) Approximate decision date"},"description":{"type":["string","null"],"description":"Description"},"rampClaimId":{"type":["string","null"],"description":"RampClaim ID"},"titleOfActiveReview":{"type":["string","null"],"description":"Title of DecisionReview that this issue is still active on"},"sourceReviewType":{"type":["string","null"],"description":"The type of DecisionReview (HigherLevelReview, SupplementalClaim, Appeal) the issue was last decided on (if any)"},"timely":{"type":"boolean","description":"An issue is timely if the receipt date is within 372 dates of the decision date."},"latestIssuesInChain":{"type":"array","description":"Shows the chain of decision and rating issues that preceded this issue. Only the most recent issue can be contested (the object itself that contains the latestIssuesInChain attribute).","items":{"type":"object","properties":{"id":{"type":["string","null","integer"]},"approxDecisionDate":{"type":["string","null"],"format":"date"}}}},"ratingIssueSubjectText":{"type":["string","null"],"description":"Short description of RatingIssue"},"ratingIssuePercentNumber":{"type":["string","null"],"description":"Numerical rating for RatingIssue"},"isRating":{"type":"boolean","description":"Whether or not this is a RatingIssue"}}}}}}},"$schema":"http://json-schema.org/draft-04/schema#"} diff --git a/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-RESPONSE-404-example.json b/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-RESPONSE-404-example.json new file mode 100644 index 00000000..8e15e267 --- /dev/null +++ b/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-RESPONSE-404-example.json @@ -0,0 +1 @@ +{"errors":[{"status":404,"code":"veteran_not_found","title":"Veteran Not Found"}]} diff --git a/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-RESPONSE-404-schema.json b/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-RESPONSE-404-schema.json new file mode 100644 index 00000000..cf920d36 --- /dev/null +++ b/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-RESPONSE-404-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/root","definitions":{"root":{"type":"object","properties":{"errors":{"$ref":"#/definitions/errors"}},"required":["errors"],"additionalProperties":false},"errors":{"type":"array","minItems":1,"maxItems":1,"items":{"$ref":"#/definitions/not_found"}},"not_found":{"type":"object","properties":{"status":{"type":"integer","enum":[404]},"code":{"type":"string","enum":["veteran_not_found"]},"title":{"type":"string","enum":["Veteran Not Found"]}},"required":["status","code","title"],"additionalProperties":false}}} diff --git a/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-RESPONSE-422-example.json b/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-RESPONSE-422-example.json new file mode 100644 index 00000000..97aaabc9 --- /dev/null +++ b/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-RESPONSE-422-example.json @@ -0,0 +1 @@ +{"errors":[{"status":422,"code":"invalid_veteran_ssn","title":"Invalid Veteran SSN","detail":"SSN regex: /^\\d{9}$/)."}],"code":"invalid_veteran_ssn","detail":"Invalid Veteran SSN","source":"SSN regex: /^\\d{9}$/)."} diff --git a/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-RESPONSE-422-schema.json b/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-RESPONSE-422-schema.json new file mode 100644 index 00000000..5d634dbe --- /dev/null +++ b/dist/versions/24.3.3/HLR-GET-CONTESTABLE-ISSUES-RESPONSE-422-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/root","definitions":{"root":{"type":"object","properties":{"errors":{"$ref":"#/definitions/errors"}},"required":["errors"],"additionalProperties":true},"errors":{"type":"array","minItems":1,"items":{"oneOf":[{"$ref":"#/definitions/before_ama"},{"$ref":"#/definitions/future_receipt_date"},{"$ref":"#/definitions/unparsable_date"},{"$ref":"#/definitions/invalid_benefit_type"},{"$ref":"#/definitions/invalid_veteran_ssn"}]}},"before_ama":{"type":"object","properties":{"status":{"type":"integer","enum":[422]},"code":{"type":"string","enum":["invalid_receipt_date"]},"title":{"type":"string","enum":["Invalid Receipt Date"]},"detail":{"type":"string","pattern":"is before AMA Activation Date"}},"required":["status","code","title","detail"],"additionalProperties":false},"future_receipt_date":{"type":"object","properties":{"status":{"type":"integer","enum":[422]},"code":{"type":"string","enum":["invalid_receipt_date"]},"title":{"type":"string","enum":["Invalid Receipt Date"]},"detail":{"type":"string","pattern":"is in the future"}},"required":["status","code","title","detail"],"additionalProperties":false},"unparsable_date":{"type":"object","properties":{"status":{"type":"integer","enum":[422]},"code":{"type":"string","enum":["invalid_receipt_date"]},"title":{"type":"string","enum":["Invalid Receipt Date"]},"detail":{"type":"string","pattern":"is not a valid date"}},"required":["status","code","title","detail"],"additionalProperties":false},"invalid_benefit_type":{"type":"object","properties":{"status":{"type":"integer","enum":[422]},"code":{"type":"string","enum":["invalid_benefit_type"]},"title":{"type":"string","enum":["Invalid Benefit Type"]},"detail":{"type":"string","pattern":"Benefit type .*? is invalid"}},"required":["status","code","title","detail"],"additionalProperties":false},"invalid_veteran_ssn":{"type":"object","properties":{"status":{"type":"integer","enum":[422]},"code":{"ssn":"string","enum":["invalid_veteran_ssn"]},"title":{"ssn":"string","enum":["Invalid Veteran SSN"]},"detail":{"type":"string","pattern":"SSN regex:"}},"required":["status","code","title","detail"],"additionalProperties":false}}} diff --git a/dist/versions/24.3.3/HLR-GET-LEGACY-APPEALS-RESPONSE-200-schema.json b/dist/versions/24.3.3/HLR-GET-LEGACY-APPEALS-RESPONSE-200-schema.json new file mode 100644 index 00000000..631e635e --- /dev/null +++ b/dist/versions/24.3.3/HLR-GET-LEGACY-APPEALS-RESPONSE-200-schema.json @@ -0,0 +1 @@ +{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","description":"A contestable issue (to contest this, you include it as a RequestIssue when creating a HigherLevelReview, SupplementalClaim, or Appeal)","properties":{"type":{"type":"string","enum":["legacyAppeal"]},"id":{"type":"string","description":"ID from VACOLS (Veteran Appeals Control and Locator Service)","example":"3085659"},"attributes":{"type":"object","properties":{"issues":{"type":"array","description":"Issues on the Appeal.","items":{"type":"object","properties":{"summary":{"type":"string","description":"Summary of a single Issue.","example":"Service connection, hearing loss"}}}},"veteranFullName":{"type":"string","example":"Junior L Fritsch"},"decisionDate":{"type":"string","description":"Date of the Appeal's original decision.","example":"2018-09-28T00:00:00.000Z"},"latestSocSsocDate":{"type":"string","description":"Date of the Appeal's most recent SOC/SSOC (Statement of Case/Supplemental Statement of Case)","example":"2018-12-29T00:00:00.000Z"}}}}}}},"$schema":"http://json-schema.org/draft-04/schema#"} diff --git a/dist/versions/24.3.3/HLR-SHOW-RESPONSE-200-example.json b/dist/versions/24.3.3/HLR-SHOW-RESPONSE-200-example.json new file mode 100644 index 00000000..cc584688 --- /dev/null +++ b/dist/versions/24.3.3/HLR-SHOW-RESPONSE-200-example.json @@ -0,0 +1 @@ +{"data":{"id":"1234567a-89b0-123c-d456-789e01234f56","type":"higherLevelReview","attributes":{"status":"processing","updatedAt":"2020-04-23T21:06:12.531Z","createdAt":"2020-04-23T21:06:12.531Z","formData":{"data":{"type":"higherLevelReview","attributes":{"informalConference":true,"sameOffice":true,"benefitType":"compensation","veteran":{"address":{"zipCode5":"66002"},"phone":{"countryCode":"34","areaCode":"555","phoneNumber":"8001111","phoneNumberExt":"2"},"emailAddressText":"josie@example.com","timezone":"America/Chicago"},"informalConferenceTimes":["1230-1400 ET","1400-1630 ET"],"informalConferenceRep":{"name":"Helen Holly","phone":{"countryCode":"6","areaCode":"555","phoneNumber":"8001111","phoneNumberExt":"2"}}}},"included":[{"type":"contestableIssue","attributes":{"issue":"tinnitus","decisionDate":"1900-01-01","decisionIssueId":1,"ratingIssueReferenceId":"2","ratingDecisionReferenceId":"3"}},{"type":"contestableIssue","attributes":{"issue":"left knee","decisionDate":"1900-01-02","decisionIssueId":4,"ratingIssueReferenceId":"5"}},{"type":"contestableIssue","attributes":{"issue":"right knee","decisionDate":"1900-01-03","ratingIssueReferenceId":"6","ratingDecisionReferenceId":"7"}},{"type":"contestableIssue","attributes":{"issue":"PTSD","decisionDate":"1900-01-04","decisionIssueId":8,"ratingDecisionReferenceId":"9"}},{"type":"contestableIssue","attributes":{"issue":"Traumatic Brain Injury","decisionDate":"1900-01-05","decisionIssueId":10}},{"type":"contestableIssue","attributes":{"issue":"right shoulder","decisionDate":"1900-01-06"}}]}}}} diff --git a/dist/versions/24.3.3/HLR-SHOW-RESPONSE-200-schema.json b/dist/versions/24.3.3/HLR-SHOW-RESPONSE-200-schema.json new file mode 100644 index 00000000..d1eef2d4 --- /dev/null +++ b/dist/versions/24.3.3/HLR-SHOW-RESPONSE-200-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","description":"JSON Schema for VA Form 20-0996 copied from https://github.com/department-of-veterans-affairs/vets-api/blob/master/modules/appeals_api/config/schemas/v1/200996.json","$ref":"#/definitions/root","definitions":{"nonBlankString":{"type":"string","pattern":"[^ \\f\\n\\r\\t\\v\\u00a0\\u1680\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff]","$comment":"The pattern used ensures that a string has at least one non-whitespace character. The pattern comes from JavaScript's \\s character class. \"\\s Matches a single white space character, including space, tab, form feed, line feed, and other Unicode spaces. Equivalent to [ \\f\\n\\r\\t\\v\\u00a0\\u1680\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff].\": https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions/Character_Classes We are using simple character classes at JSON Schema's recommendation: https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-4.3"},"nonBlankStringMaxLength140":{"allOf":[{"$ref":"#/definitions/nonBlankString"},{"maxLength":140}]},"date":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$"},"hlrCreate":{"type":"object","properties":{"data":{"$ref":"#/definitions/hlrCreateData"},"included":{"$ref":"#/definitions/hlrCreateIncluded"}},"additionalProperties":false,"required":["data","included"]},"hlrCreateData":{"type":"object","properties":{"type":{"type":"string","enum":["higherLevelReview"]},"attributes":{"$ref":"#/definitions/hlrCreateDataAttributes"}},"additionalProperties":false,"required":["type","attributes"]},"hlrCreateDataAttributes":{"description":"If informal conference requested (`informalConference: true`), availability must be specified (`informalConferenceTimes`). Explanation of abbreviated benefit types: `pension`: Pension / Survivor's Benefits, `voc_rehab`: Vocational Rehabilitation and Employment, `vha`: Veterans Health Administration, `nca`: National Cemetery Administration","oneOf":[{"type":"object","properties":{"informalConference":{"type":"boolean","enum":[false]},"sameOffice":{"type":"boolean"},"benefitType":{"$ref":"#/definitions/hlrCreateBenefitType"},"veteran":{"$ref":"#/definitions/hlrCreateVeteran"}},"additionalProperties":false,"required":["informalConference","sameOffice","benefitType","veteran"]},{"$comment":"if informalConference requested, desired times must be included (rep is optional)","type":"object","properties":{"informalConference":{"type":"boolean","enum":[true]},"sameOffice":{"type":"boolean"},"benefitType":{"$ref":"#/definitions/hlrCreateBenefitType"},"veteran":{"$ref":"#/definitions/hlrCreateVeteran"},"informalConferenceTimes":{"$ref":"#/definitions/hlrCreateInformalConferenceTimes"},"informalConferenceRep":{"$ref":"#/definitions/hlrCreateInformalConferenceRep"}},"additionalProperties":false,"required":["informalConference","sameOffice","benefitType","veteran","informalConferenceTimes"]}]},"hlrCreateBenefitType":{"type":"string","enum":["compensation"]},"hlrCreateInformalConferenceTimes":{"type":"array","items":{"$ref":"#/definitions/hlrCreateInformalConferenceTime"},"minItems":1,"maxItems":2,"uniqueItems":true},"hlrCreateInformalConferenceTime":{"type":"string","description":"time ranges in Eastern Time","enum":["800-1000 ET","1000-1230 ET","1230-1400 ET","1400-1630 ET"]},"hlrCreateInformalConferenceRep":{"type":"object","properties":{"name":{"$ref":"#/definitions/nonBlankString"},"phone":{"$ref":"#/definitions/hlrCreatePhone"}},"additionalProperties":false,"required":["name","phone"]},"hlrCreatePhone":{"$comment":"the phone fields must not exceed 20 chars, when concatenated","type":"object","description":"The phone number of the veteran. Cannot exceed 20 characters when all fields are concatenated.","properties":{"countryCode":{"type":"string","pattern":"^[0-9]+$"},"areaCode":{"type":"string","pattern":"^[2-9][0-9]{2}$"},"phoneNumber":{"type":"string","pattern":"^[0-9]{1,14}$"},"phoneNumberExt":{"type":"string","pattern":"^[a-zA-Z0-9]{1,10}$"}},"required":["areaCode","phoneNumber"]},"hlrCreateVeteran":{"type":"object","properties":{"address":{"$ref":"#/definitions/hlrCreateAddress"},"phone":{"$ref":"#/definitions/hlrCreatePhone"},"emailAddressText":{"type":"string","format":"email","maxLength":44},"timezone":{"type":"string","description":"Veteran's timezone (either [IANA](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) or [Rails](https://github.com/rails/rails/blob/master/activesupport/lib/active_support/values/time_zone.rb) style). Used for adding the current date to the signature according to the veteran's local time. If not specified, the current UTC date will be used for the signature (which may be ahead or behind the local date).","$comment":"Generated using: File.write('timezones.json', (TZInfo::Timezone.all.map(&:name) + ActiveSupport::TimeZone.all.map(&:name)).uniq.sort) #Although this might seem like it should be generated dynamically, it's been written to file in case TZInfo or ActiveSupport deletes/modifies a timezone with a future version, which would change our APIs enum (a non-additve change to the current API version).","enum":["Abu Dhabi","Adelaide","Africa/Abidjan","Africa/Accra","Africa/Addis_Ababa","Africa/Algiers","Africa/Asmara","Africa/Asmera","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Douala","Africa/El_Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao_Tome","Africa/Timbuktu","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","Alaska","Almaty","America/Adak","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/ComodRivadavia","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Aruba","America/Asuncion","America/Atikokan","America/Atka","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Buenos_Aires","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Catamarca","America/Cayenne","America/Cayman","America/Chicago","America/Chihuahua","America/Coral_Harbour","America/Cordoba","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Dominica","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Ensenada","America/Fort_Nelson","America/Fort_Wayne","America/Fortaleza","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Grenada","America/Guadeloupe","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Indianapolis","America/Inuvik","America/Iqaluit","America/Jamaica","America/Jujuy","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/Knox_IN","America/Kralendijk","America/La_Paz","America/Lima","America/Los_Angeles","America/Louisville","America/Lower_Princes","America/Maceio","America/Managua","America/Manaus","America/Marigot","America/Martinique","America/Matamoros","America/Mazatlan","America/Mendoza","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Montreal","America/Montserrat","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Acre","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Rosario","America/Santa_Isabel","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Shiprock","America/Sitka","America/St_Barthelemy","America/St_Johns","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Tortola","America/Vancouver","America/Virgin","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","American Samoa","Amsterdam","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/McMurdo","Antarctica/Palmer","Antarctica/Rothera","Antarctica/South_Pole","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Arctic/Longyearbyen","Arizona","Asia/Aden","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Ashkhabad","Asia/Atyrau","Asia/Baghdad","Asia/Bahrain","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Calcutta","Asia/Chita","Asia/Choibalsan","Asia/Chongqing","Asia/Chungking","Asia/Colombo","Asia/Dacca","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Harbin","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Istanbul","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kashgar","Asia/Kathmandu","Asia/Katmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Kuwait","Asia/Macao","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Muscat","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Phnom_Penh","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Rangoon","Asia/Riyadh","Asia/Saigon","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Tel_Aviv","Asia/Thimbu","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ujung_Pandang","Asia/Ulaanbaatar","Asia/Ulan_Bator","Asia/Urumqi","Asia/Ust-Nera","Asia/Vientiane","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Astana","Athens","Atlantic Time (Canada)","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faeroe","Atlantic/Faroe","Atlantic/Jan_Mayen","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/St_Helena","Atlantic/Stanley","Auckland","Australia/ACT","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Canberra","Australia/Currie","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/LHI","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/NSW","Australia/North","Australia/Perth","Australia/Queensland","Australia/South","Australia/Sydney","Australia/Tasmania","Australia/Victoria","Australia/West","Australia/Yancowinna","Azores","Baghdad","Baku","Bangkok","Beijing","Belgrade","Berlin","Bern","Bogota","Brasilia","Bratislava","Brazil/Acre","Brazil/DeNoronha","Brazil/East","Brazil/West","Brisbane","Brussels","Bucharest","Budapest","Buenos Aires","CET","CST6CDT","Cairo","Canada/Atlantic","Canada/Central","Canada/Eastern","Canada/Mountain","Canada/Newfoundland","Canada/Pacific","Canada/Saskatchewan","Canada/Yukon","Canberra","Cape Verde Is.","Caracas","Casablanca","Central America","Central Time (US & Canada)","Chatham Is.","Chennai","Chihuahua","Chile/Continental","Chile/EasterIsland","Chongqing","Copenhagen","Cuba","Darwin","Dhaka","Dublin","EET","EST","EST5EDT","Eastern Time (US & Canada)","Edinburgh","Egypt","Eire","Ekaterinburg","Etc/GMT","Etc/GMT+0","Etc/GMT+1","Etc/GMT+10","Etc/GMT+11","Etc/GMT+12","Etc/GMT+2","Etc/GMT+3","Etc/GMT+4","Etc/GMT+5","Etc/GMT+6","Etc/GMT+7","Etc/GMT+8","Etc/GMT+9","Etc/GMT-0","Etc/GMT-1","Etc/GMT-10","Etc/GMT-11","Etc/GMT-12","Etc/GMT-13","Etc/GMT-14","Etc/GMT-2","Etc/GMT-3","Etc/GMT-4","Etc/GMT-5","Etc/GMT-6","Etc/GMT-7","Etc/GMT-8","Etc/GMT-9","Etc/GMT0","Etc/Greenwich","Etc/UCT","Etc/UTC","Etc/Universal","Etc/Zulu","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belfast","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Busingen","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Guernsey","Europe/Helsinki","Europe/Isle_of_Man","Europe/Istanbul","Europe/Jersey","Europe/Kaliningrad","Europe/Kiev","Europe/Kirov","Europe/Lisbon","Europe/Ljubljana","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Mariehamn","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Nicosia","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/San_Marino","Europe/Sarajevo","Europe/Saratov","Europe/Simferopol","Europe/Skopje","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Tiraspol","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zagreb","Europe/Zaporozhye","Europe/Zurich","Factory","Fiji","GB","GB-Eire","GMT","GMT+0","GMT-0","GMT0","Georgetown","Greenland","Greenwich","Guadalajara","Guam","HST","Hanoi","Harare","Hawaii","Helsinki","Hobart","Hong Kong","Hongkong","Iceland","Indian/Antananarivo","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Comoro","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Mayotte","Indian/Reunion","Indiana (East)","International Date Line West","Iran","Irkutsk","Islamabad","Israel","Istanbul","Jakarta","Jamaica","Japan","Jerusalem","Kabul","Kaliningrad","Kamchatka","Karachi","Kathmandu","Kolkata","Krasnoyarsk","Kuala Lumpur","Kuwait","Kwajalein","Kyiv","La Paz","Libya","Lima","Lisbon","Ljubljana","London","MET","MST","MST7MDT","Madrid","Magadan","Marshall Is.","Mazatlan","Melbourne","Mexico City","Mexico/BajaNorte","Mexico/BajaSur","Mexico/General","Mid-Atlantic","Midway Island","Minsk","Monrovia","Monterrey","Montevideo","Moscow","Mountain Time (US & Canada)","Mumbai","Muscat","NZ","NZ-CHAT","Nairobi","Navajo","New Caledonia","New Delhi","Newfoundland","Novosibirsk","Nuku'alofa","Osaka","PRC","PST8PDT","Pacific Time (US & Canada)","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chatham","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Johnston","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Midway","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Ponape","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Saipan","Pacific/Samoa","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Truk","Pacific/Wake","Pacific/Wallis","Pacific/Yap","Paris","Perth","Poland","Port Moresby","Portugal","Prague","Pretoria","Puerto Rico","Quito","ROC","ROK","Rangoon","Riga","Riyadh","Rome","Samara","Samoa","Santiago","Sapporo","Sarajevo","Saskatchewan","Seoul","Singapore","Skopje","Sofia","Solomon Is.","Srednekolymsk","Sri Jayawardenepura","St. Petersburg","Stockholm","Sydney","Taipei","Tallinn","Tashkent","Tbilisi","Tehran","Tijuana","Tokelau Is.","Tokyo","Turkey","UCT","US/Alaska","US/Aleutian","US/Arizona","US/Central","US/East-Indiana","US/Eastern","US/Hawaii","US/Indiana-Starke","US/Michigan","US/Mountain","US/Pacific","US/Pacific-New","US/Samoa","UTC","Ulaanbaatar","Universal","Urumqi","Vienna","Vilnius","Vladivostok","Volgograd","W-SU","WET","Warsaw","Wellington","West Central Africa","Yakutsk","Yerevan","Zagreb","Zulu","Zurich"]}},"additionalProperties":false,"required":["address"]},"hlrCreateAddress":{"type":"object","properties":{"zipCode5":{"type":"string","description":"5-digit zipcode. Use \"00000\" if Veteran is outside the United States","pattern":"^[0-9]{5}$"}},"additionalProperties":false,"required":["zipCode5"]},"hlrCreateIncluded":{"type":"array","items":{"$ref":"#/definitions/hlrCreateContestableIssue"},"minItems":1,"uniqueItems":true},"hlrCreateContestableIssue":{"type":"object","properties":{"type":{"type":"string","enum":["contestableIssue"]},"attributes":{"$ref":"#/definitions/hlrCreateContestableIssueAttributes"}},"additionalProperties":false,"required":["type","attributes"]},"hlrCreateContestableIssueAttributes":{"type":"object","properties":{"issue":{"$ref":"#/definitions/nonBlankStringMaxLength140"},"decisionDate":{"$ref":"#/definitions/date"},"decisionIssueId":{"type":"integer"},"ratingIssueReferenceId":{"type":"string"},"ratingDecisionReferenceId":{"type":"string"}},"additionalProperties":false,"required":["issue","decisionDate"]},"root":{"type":"object","properties":{"data":{"$ref":"#/definitions/data"}},"required":["data"],"additionalProperties":false},"data":{"type":"object","properties":{"id":{"$ref":"#/definitions/uuid"},"type":{"type":"string","enum":["higherLevelReview"]},"attributes":{"type":"object","properties":{"status":{"$ref":"#/definitions/hlrStatus"},"updatedAt":{"$ref":"#/definitions/timeStamp"},"createdAt":{"$ref":"#/definitions/timeStamp"},"formData":{"$ref":"#/definitions/hlrCreate"}},"required":["status","updatedAt","createdAt","formData"],"additionalProperties":false}},"required":["id","type","attributes"],"additionalProperties":false},"uuid":{"type":"string","pattern":"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"},"timeStamp":{"type":"string","pattern":"\\d{4}(-\\d{2}){2}T\\d{2}(:\\d{2}){2}.\\d{3}Z"},"hlrStatus":{"type":"string","enum":["pending","submitting","submitted","processing","error","uploaded","received","success","vbms","expired"]}}} diff --git a/dist/versions/24.3.3/HLR-SHOW-RESPONSE-200_V1-schema.json b/dist/versions/24.3.3/HLR-SHOW-RESPONSE-200_V1-schema.json new file mode 100644 index 00000000..0b5d611a --- /dev/null +++ b/dist/versions/24.3.3/HLR-SHOW-RESPONSE-200_V1-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-07/schema#","description":"Lighthouse V2 JSON Schema for VA Form 20-0996","$ref":"#/definitions/root","definitions":{"nonBlankString":{"type":"string","pattern":"[^ \\f\\n\\r\\t\\v\\u00a0\\u1680\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff]","$comment":"The pattern used ensures that a string has at least one non-whitespace character. The pattern comes from JavaScript's \\s character class. \"\\s Matches a single white space character, including space, tab, form feed, line feed, and other Unicode spaces. Equivalent to [ \\f\\n\\r\\t\\v\\u00a0\\u1680\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff].\": https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions/Character_Classes We are using simple character classes at JSON Schema's recommendation: https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-4.3"},"date":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$"},"hlrCreatePhone":{"type":"object","properties":{"countryCode":{"type":"string","pattern":"^[0-9]+$","minLength":1,"maxLength":3},"areaCode":{"type":"string","pattern":"^[0-9]{1,4}$","minLength":1,"maxLength":4},"phoneNumber":{"type":"string","pattern":"^[0-9]{1,14}$","minLength":1,"maxLength":14},"phoneNumberExt":{"type":"string","pattern":"^[a-zA-Z0-9]{1,10}$","minLength":1,"maxLength":10}},"required":["areaCode","phoneNumber"]},"hlrCreate":{"type":"object","properties":{"data":{"type":"object","properties":{"type":{"type":"string","enum":["higherLevelReview"]},"attributes":{"description":"If informal conference requested (`informalConference: true`), contact (`informalConferenceContact`) and time (`informalConferenceTime`) must be specified.","type":"object","additionalProperties":false,"properties":{"informalConference":{"type":"boolean"},"benefitType":{"type":"string","enum":["compensation"]},"veteran":{"type":"object","properties":{"homeless":{"type":"boolean"},"address":{"type":"object","properties":{"addressLine1":{"type":"string","maxLength":60},"addressLine2":{"type":"string","maxLength":30},"addressLine3":{"type":"string","maxLength":10},"city":{"type":"string","maxLength":60},"stateCode":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"countryCodeISO2":{"type":"string","pattern":"^[A-Z]{2}$"},"zipCode5":{"type":"string","description":"5-digit zipcode. Use \"00000\" if Veteran is outside the United States","pattern":"^[0-9]{5}$"},"internationalPostalCode":{"type":"string","maxLength":16}},"additionalProperties":false,"required":["addressLine1","city","countryCodeISO2","zipCode5"]},"phone":{"$ref":"#/definitions/hlrCreatePhone"},"email":{"type":"string","format":"email","minLength":6,"maxLength":255},"timezone":{"type":"string","description":"The list of accepted timezones is maintained by Lighthouse's backend (Appeals API)"}},"additionalProperties":false,"required":["homeless"],"if":{"properties":{"homeless":{"const":false}}},"then":{"required":["address"]}},"informalConferenceContact":{"type":"string","enum":["veteran","representative"]},"informalConferenceTime":{"type":"string","enum":["800-1200 ET","1200-1630 ET"]},"informalConferenceRep":{"type":"object","description":"The Representative information listed MUST match the current Power of Attorney for the Veteran. Any changes to the Power of Attorney must be submitted via a VA 21-22 form separately.","properties":{"firstName":{"type":"string","maxLength":30},"lastName":{"type":"string","maxLength":40},"phone":{"$ref":"#/definitions/hlrCreatePhone"},"email":{"type":"string","format":"email","minLength":6,"maxLength":255}},"additionalProperties":false,"required":["firstName","lastName","phone"]},"socOptIn":{"type":"boolean"}},"required":["informalConference","benefitType","veteran","socOptIn"],"if":{"properties":{"informalConference":{"const":true}}},"then":{"required":["informalConferenceContact","informalConferenceTime"]}}},"additionalProperties":false,"required":["type","attributes"]},"included":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["contestableIssue"]},"attributes":{"type":"object","properties":{"issue":{"allOf":[{"$ref":"#/definitions/nonBlankString"},{"maxLength":140}]},"decisionDate":{"$ref":"#/definitions/date"},"decisionIssueId":{"type":"integer"},"ratingIssueReferenceId":{"type":"string"},"ratingDecisionReferenceId":{"type":"string"},"socDate":{"$ref":"#/definitions/date"},"disagreementArea":{"type":"string","maxLength":90}},"additionalProperties":false,"required":["issue","decisionDate"]}},"additionalProperties":false,"required":["type","attributes"]},"minItems":1,"uniqueItems":true}},"additionalProperties":false,"required":["data","included"]},"root":{"type":"object","properties":{"data":{"$ref":"#/definitions/data"}},"required":["data"],"additionalProperties":false},"data":{"type":"object","properties":{"id":{"$ref":"#/definitions/uuid"},"type":{"type":"string","enum":["higherLevelReview"]},"attributes":{"type":"object","properties":{"status":{"$ref":"#/definitions/hlrStatus"},"updatedAt":{"$ref":"#/definitions/timeStamp"},"createdAt":{"$ref":"#/definitions/timeStamp"},"formData":{"$ref":"#/definitions/hlrCreate"}},"required":["status","updatedAt","createdAt","formData"],"additionalProperties":false}},"required":["id","type","attributes"],"additionalProperties":false},"uuid":{"type":"string","pattern":"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"},"timeStamp":{"type":"string","pattern":"\\d{4}(-\\d{2}){2}T\\d{2}(:\\d{2}){2}.\\d{3}Z"},"hlrStatus":{"type":"string","enum":["pending","submitting","submitted","processing","success","complete","error"]}}} diff --git a/dist/versions/24.3.3/HLR-SHOW-RESPONSE-200_V2-example.json b/dist/versions/24.3.3/HLR-SHOW-RESPONSE-200_V2-example.json new file mode 100644 index 00000000..2f7595df --- /dev/null +++ b/dist/versions/24.3.3/HLR-SHOW-RESPONSE-200_V2-example.json @@ -0,0 +1 @@ +{"data":{"id":"00000000-1111-2222-3333-444444444444","type":"higherLevelReview","attributes":{"status":"pending","updatedAt":"2020-01-02T03:04:05.067Z","createdAt":"2020-01-02T03:04:05.067Z"}}} diff --git a/dist/versions/24.3.3/HLR-SHOW-RESPONSE-200_V2-schema.json b/dist/versions/24.3.3/HLR-SHOW-RESPONSE-200_V2-schema.json new file mode 100644 index 00000000..7e46466d --- /dev/null +++ b/dist/versions/24.3.3/HLR-SHOW-RESPONSE-200_V2-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-07/schema#","description":"Info about a single Higher-Level Review","$ref":"#/definitions/root","definitions":{"root":{"type":"object","properties":{"data":{"$ref":"#/definitions/data"}},"required":["data"],"additionalProperties":false},"data":{"type":"object","properties":{"id":{"$ref":"#/definitions/uuid"},"type":{"type":"string","enum":["higherLevelReview"]},"attributes":{"type":"object","properties":{"status":{"$ref":"#/definitions/hlrStatus"},"updatedAt":{"$ref":"#/definitions/timeStamp"},"createdAt":{"$ref":"#/definitions/timeStamp"}},"required":["status","updatedAt","createdAt"],"additionalProperties":false}},"required":["id","type","attributes"]},"uuid":{"type":"string","pattern":"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"},"timeStamp":{"type":"string","pattern":"\\d{4}(-\\d{2}){2}T\\d{2}(:\\d{2}){2}.\\d{3}Z"},"hlrStatus":{"type":"string","enum":["pending","submitting","submitted","processing","success","complete","error"]}}} diff --git a/dist/versions/24.3.3/HLR-SHOW-RESPONSE-404-example.json b/dist/versions/24.3.3/HLR-SHOW-RESPONSE-404-example.json new file mode 100644 index 00000000..ff3d3bdb --- /dev/null +++ b/dist/versions/24.3.3/HLR-SHOW-RESPONSE-404-example.json @@ -0,0 +1 @@ +{"errors":[{"status":404,"detail":"HigherLevelReview with uuid nil not found."}]} diff --git a/dist/versions/24.3.3/HLR-SHOW-RESPONSE-404-schema.json b/dist/versions/24.3.3/HLR-SHOW-RESPONSE-404-schema.json new file mode 100644 index 00000000..7dbf1da4 --- /dev/null +++ b/dist/versions/24.3.3/HLR-SHOW-RESPONSE-404-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/root","definitions":{"root":{"type":"object","properties":{"errors":{"$ref":"#/definitions/errors"}},"required":["errors"],"additionalProperties":false},"errors":{"type":"array","minItems":1,"maxItems":1,"items":{"$ref":"#/definitions/not_found"}},"not_found":{"type":"object","properties":{"status":{"type":"integer","enum":[404]},"detail":{"type":"string"}},"required":["status","detail"],"additionalProperties":false}}} diff --git a/dist/versions/24.3.3/MDOT-schema.json b/dist/versions/24.3.3/MDOT-schema.json new file mode 100644 index 00000000..1305327e --- /dev/null +++ b/dist/versions/24.3.3/MDOT-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"MEDICAL DEVICES ORDERING TOOL","type":"object","additionalProperties":false,"definitions":{"supplies":{"type":"array","items":{"type":"object","properties":{"deviceName":{"type":"string"},"productName":{"type":"string"},"productGroup":{"type":"string"},"productId":{"type":"integer"},"availableForReorder":{"type":"boolean"},"lastOrderDate":{"$ref":"#/definitions/date"},"nextAvailabilityDate":{"$ref":"#/definitions/date"},"quantity":{"type":"number"},"size":{"type":"string"},"prescribedDate":{"$ref":"#/definitions/date"}}}},"eligibility":{"type":"object","properties":{"batteries":{"type":"boolean"},"accessories":{"type":"boolean"}}},"addressWithIsMilitaryBase":{"type":"object","properties":{"isMilitaryBase":{"type":"boolean","default":false},"country":{"type":"string"},"street":{"type":"string","minLength":1,"maxLength":50},"street2":{"type":"string","maxLength":50},"city":{"type":"string","minLength":1,"maxLength":51},"state":{"type":"string"},"province":{"type":"string"},"postalCode":{"type":"string","pattern":"(^\\d{5}$)|(^\\d{5}-\\d{4}$)"},"internationalPostalCode":{"type":"string"}}},"email":{"type":"string","maxLength":256,"format":"email"},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"ssnLastFour":{"type":"string","pattern":"^(?!0000)[0-9]{4}$"},"gender":{"type":"string","enum":["F","M"]},"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"}},"properties":{"vetEmail":{"$ref":"#/definitions/email"},"fullName":{"$ref":"#/definitions/fullName"},"permanentAddress":{"$ref":"#/definitions/addressWithIsMilitaryBase"},"temporaryAddress":{"$ref":"#/definitions/addressWithIsMilitaryBase"},"ssnLastFour":{"$ref":"#/definitions/ssnLastFour"},"gender":{"$ref":"#/definitions/gender"},"dateOfBirth":{"$ref":"#/definitions/date"},"eligibility":{"$ref":"#/definitions/eligibility"},"supplies":{"$ref":"#/definitions/supplies"}},"required":["fullName","permanentAddress","gender","vetEmail","dateOfBirth","supplies","eligibility"]} diff --git a/dist/versions/24.3.3/NOD-CREATE-REQUEST-BODY_V1-example.json b/dist/versions/24.3.3/NOD-CREATE-REQUEST-BODY_V1-example.json new file mode 100644 index 00000000..710713e9 --- /dev/null +++ b/dist/versions/24.3.3/NOD-CREATE-REQUEST-BODY_V1-example.json @@ -0,0 +1 @@ +{"data":{"id":"00000000-1111-2222-3333-444444444444","type":"noticeOfDisagreement","attributes":{"status":"pending","updatedAt":"2020-01-02T03:04:05.067Z","createdAt":"2020-01-02T03:04:05.067Z","formData":{"data":{"type":"noticeOfDisagreement","attributes":{"veteran":{"homeless":false,"address":{"addressLine1":"123 Main St","city":"North Pole","countryCodeISO2":"CA","zipCode5":"00000"},"phone":{"areaCode":"555","phoneNumber":"8001111"},"email":"clause@north.com","timezone":"America/Chicago"},"representative":{"name":"Tony Danza"},"boardReviewOption":"evidence_submission","requestingExtension":false,"appealingVhaDenial":false}},"included":[{"type":"contestableIssue","attributes":{"issue":"tinnitus","decisionDate":"1900-01-01","decisionIssueId":1,"ratingIssueReferenceId":"2","ratingDecisionReferenceId":"3","disagreementArea":"Effective Date"}},{"type":"contestableIssue","attributes":{"issue":"left knee","decisionDate":"1900-01-02","decisionIssueId":4,"ratingIssueReferenceId":"5"}}]}}}} diff --git a/dist/versions/24.3.3/NOD-CREATE-REQUEST-BODY_V1-schema.json b/dist/versions/24.3.3/NOD-CREATE-REQUEST-BODY_V1-schema.json new file mode 100644 index 00000000..13c91082 --- /dev/null +++ b/dist/versions/24.3.3/NOD-CREATE-REQUEST-BODY_V1-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-07/schema#","description":"JSON Schema for VA Form 10182","$ref":"#/definitions/nodCreate","definitions":{"address":{"type":"object","properties":{"addressLine1":{"type":"string","minLength":1,"maxLength":60},"addressLine2":{"type":"string","minLength":1,"maxLength":30},"addressLine3":{"type":"string","minLength":1,"maxLength":10},"city":{"type":"string","minLength":1,"maxLength":60},"stateCode":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"countryCodeISO2":{"type":"string","pattern":"^[A-Z]{2}$","minLength":2,"maxLength":2},"zipCode5":{"type":"string","description":"5-digit zipcode. Use \"00000\" if address is outside the United States","pattern":"^[0-9]{5}$","minLength":5,"maxLength":5},"internationalPostalCode":{"type":"string","minLength":1,"maxLength":16}},"required":["addressLine1","city","countryCodeISO2","zipCode5"]},"date":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","maxLength":10,"minLength":10},"phone":{"type":"object","properties":{"countryCode":{"type":"string","pattern":"^[0-9]+$","minLength":1,"maxLength":3},"areaCode":{"type":"string","pattern":"^[0-9]{1,4}$","minLength":1,"maxLength":4},"phoneNumber":{"type":"string","pattern":"^[0-9]{1,14}$","minLength":1,"maxLength":14},"phoneNumberExt":{"type":"string","pattern":"^[a-zA-Z0-9]{1,10}$","minLength":1,"maxLength":10}},"required":["areaCode","phoneNumber"]},"nodCreate":{"type":"object","properties":{"data":{"type":"object","properties":{"type":{"type":"string","enum":["noticeOfDisagreement"]},"attributes":{"type":"object","properties":{"veteran":{"type":"object","properties":{"homeless":{"type":"boolean"},"address":{"$ref":"#/definitions/address"},"phone":{"allOf":[{"$ref":"#/definitions/phone"},{}]},"email":{"type":"string","format":"email","minLength":6,"maxLength":255},"timezone":{"type":"string"}},"required":["homeless","phone","email"],"if":{"properties":{"homeless":{"const":false}}},"then":{"required":["address"]}},"representative":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120}}},"boardReviewOption":{"type":"string","enum":["direct_review","evidence_submission","hearing"]},"hearingTypePreference":{"type":"string","enum":["virtual_hearing","video_conference","central_office"]},"requestingExtension":{"type":"boolean","description":"Set to true to request a filing extension. An extensionReason must be provided if true."},"extensionReason":{"type":"string","minLength":1,"maxLength":2300,"description":"Explanation why you believe there is good cause for the extension. If an extensionReason is provided, requestingExtension must be true."},"appealingVhaDenial":{"type":"boolean","description":"Set to true if you are appealing a denial of benefits by the Veterans Health Administration (VHA)."}},"required":["boardReviewOption"],"if":{"properties":{"requestingExtension":{"const":true}}},"then":{"required":["extensionReason"]}}},"required":["type","attributes"]},"included":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["contestableIssue"]},"attributes":{"type":"object","properties":{"issue":{"type":"string","minLength":1,"maxLength":180},"decisionDate":{"$ref":"#/definitions/date"},"decisionIssueId":{"type":"integer"},"ratingIssueReferenceId":{"type":"string","minLength":1,"maxLength":255},"ratingDecisionReferenceId":{"type":"string","minLength":1,"maxLength":255},"disagreementArea":{"type":"string","maxLength":90}},"required":["issue","decisionDate"]}},"required":["type","attributes"]},"minItems":1,"maxItems":100,"uniqueItems":true}},"required":["data","included"]}}} diff --git a/dist/versions/24.3.3/NOD-CREATE-RESPONSE-200_V1-schema.json b/dist/versions/24.3.3/NOD-CREATE-RESPONSE-200_V1-schema.json new file mode 100644 index 00000000..92733b3b --- /dev/null +++ b/dist/versions/24.3.3/NOD-CREATE-RESPONSE-200_V1-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-07/schema#","description":"JSON Schema for VA Form 10182","$ref":"#/definitions/root","definitions":{"address":{"type":"object","properties":{"addressLine1":{"type":"string","minLength":1,"maxLength":60},"addressLine2":{"type":"string","minLength":1,"maxLength":30},"addressLine3":{"type":"string","minLength":1,"maxLength":10},"city":{"type":"string","minLength":1,"maxLength":60},"stateCode":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"countryCodeISO2":{"type":"string","pattern":"^[A-Z]{2}$","minLength":2,"maxLength":2},"zipCode5":{"type":"string","description":"5-digit zipcode. Use \"00000\" if address is outside the United States","pattern":"^[0-9]{5}$","minLength":5,"maxLength":5},"internationalPostalCode":{"type":"string","minLength":1,"maxLength":16}},"required":["addressLine1","city","countryCodeISO2","zipCode5"]},"date":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","maxLength":10,"minLength":10},"phone":{"type":"object","properties":{"countryCode":{"type":"string","pattern":"^[0-9]+$","minLength":1,"maxLength":3},"areaCode":{"type":"string","pattern":"^[0-9]{1,4}$","minLength":1,"maxLength":4},"phoneNumber":{"type":"string","pattern":"^[0-9]{1,14}$","minLength":1,"maxLength":14},"phoneNumberExt":{"type":"string","pattern":"^[a-zA-Z0-9]{1,10}$","minLength":1,"maxLength":10}},"required":["areaCode","phoneNumber"]},"nodCreate":{"type":"object","properties":{"data":{"type":"object","properties":{"type":{"type":"string","enum":["noticeOfDisagreement"]},"attributes":{"type":"object","properties":{"veteran":{"type":"object","properties":{"homeless":{"type":"boolean"},"address":{"$ref":"#/definitions/address"},"phone":{"allOf":[{"$ref":"#/definitions/phone"},{}]},"email":{"type":"string","format":"email","minLength":6,"maxLength":255},"timezone":{"type":"string"}},"required":["homeless","phone","email"],"if":{"properties":{"homeless":{"const":false}}},"then":{"required":["address"]}},"representative":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120}}},"boardReviewOption":{"type":"string","enum":["direct_review","evidence_submission","hearing"]},"hearingTypePreference":{"type":"string","enum":["virtual_hearing","video_conference","central_office"]},"requestingExtension":{"type":"boolean","description":"Set to true to request a filing extension. An extensionReason must be provided if true."},"extensionReason":{"type":"string","minLength":1,"maxLength":2300,"description":"Explanation why you believe there is good cause for the extension. If an extensionReason is provided, requestingExtension must be true."},"appealingVhaDenial":{"type":"boolean","description":"Set to true if you are appealing a denial of benefits by the Veterans Health Administration (VHA)."}},"required":["boardReviewOption"],"if":{"properties":{"requestingExtension":{"const":true}}},"then":{"required":["extensionReason"]}}},"required":["type","attributes"]},"included":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["contestableIssue"]},"attributes":{"type":"object","properties":{"issue":{"type":"string","minLength":1,"maxLength":180},"decisionDate":{"$ref":"#/definitions/date"},"decisionIssueId":{"type":"integer"},"ratingIssueReferenceId":{"type":"string","minLength":1,"maxLength":255},"ratingDecisionReferenceId":{"type":"string","minLength":1,"maxLength":255},"disagreementArea":{"type":"string","maxLength":90}},"required":["issue","decisionDate"]}},"required":["type","attributes"]},"minItems":1,"maxItems":100,"uniqueItems":true}},"required":["data","included"]},"root":{"type":"object","properties":{"data":{"$ref":"#/definitions/data"}},"required":["data"],"additionalProperties":false},"data":{"type":"object","properties":{"id":{"$ref":"#/definitions/uuid"},"type":{"type":"string","enum":["noticeOfDisagreement"]},"attributes":{"type":"object","properties":{"status":{"$ref":"#/definitions/nodStatus"},"updatedAt":{"$ref":"#/definitions/timeStamp"},"createdAt":{"$ref":"#/definitions/timeStamp"},"formData":{"$ref":"#/definitions/nodCreate"}},"required":["status","updatedAt","createdAt","formData"],"additionalProperties":false}},"required":["id","type","attributes"],"additionalProperties":false},"uuid":{"type":"string","pattern":"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"},"timeStamp":{"type":"string","pattern":"\\d{4}(-\\d{2}){2}T\\d{2}(:\\d{2}){2}.\\d{3}Z"},"nodStatus":{"type":"string","enum":["pending","submitting","submitted","processing","success","complete","error"]}}} diff --git a/dist/versions/24.3.3/NOD-SHOW-RESPONSE-200_V1-example.json b/dist/versions/24.3.3/NOD-SHOW-RESPONSE-200_V1-example.json new file mode 100644 index 00000000..710713e9 --- /dev/null +++ b/dist/versions/24.3.3/NOD-SHOW-RESPONSE-200_V1-example.json @@ -0,0 +1 @@ +{"data":{"id":"00000000-1111-2222-3333-444444444444","type":"noticeOfDisagreement","attributes":{"status":"pending","updatedAt":"2020-01-02T03:04:05.067Z","createdAt":"2020-01-02T03:04:05.067Z","formData":{"data":{"type":"noticeOfDisagreement","attributes":{"veteran":{"homeless":false,"address":{"addressLine1":"123 Main St","city":"North Pole","countryCodeISO2":"CA","zipCode5":"00000"},"phone":{"areaCode":"555","phoneNumber":"8001111"},"email":"clause@north.com","timezone":"America/Chicago"},"representative":{"name":"Tony Danza"},"boardReviewOption":"evidence_submission","requestingExtension":false,"appealingVhaDenial":false}},"included":[{"type":"contestableIssue","attributes":{"issue":"tinnitus","decisionDate":"1900-01-01","decisionIssueId":1,"ratingIssueReferenceId":"2","ratingDecisionReferenceId":"3","disagreementArea":"Effective Date"}},{"type":"contestableIssue","attributes":{"issue":"left knee","decisionDate":"1900-01-02","decisionIssueId":4,"ratingIssueReferenceId":"5"}}]}}}} diff --git a/dist/versions/24.3.3/NOD-SHOW-RESPONSE-200_V1-schema.json b/dist/versions/24.3.3/NOD-SHOW-RESPONSE-200_V1-schema.json new file mode 100644 index 00000000..92733b3b --- /dev/null +++ b/dist/versions/24.3.3/NOD-SHOW-RESPONSE-200_V1-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-07/schema#","description":"JSON Schema for VA Form 10182","$ref":"#/definitions/root","definitions":{"address":{"type":"object","properties":{"addressLine1":{"type":"string","minLength":1,"maxLength":60},"addressLine2":{"type":"string","minLength":1,"maxLength":30},"addressLine3":{"type":"string","minLength":1,"maxLength":10},"city":{"type":"string","minLength":1,"maxLength":60},"stateCode":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"countryCodeISO2":{"type":"string","pattern":"^[A-Z]{2}$","minLength":2,"maxLength":2},"zipCode5":{"type":"string","description":"5-digit zipcode. Use \"00000\" if address is outside the United States","pattern":"^[0-9]{5}$","minLength":5,"maxLength":5},"internationalPostalCode":{"type":"string","minLength":1,"maxLength":16}},"required":["addressLine1","city","countryCodeISO2","zipCode5"]},"date":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","maxLength":10,"minLength":10},"phone":{"type":"object","properties":{"countryCode":{"type":"string","pattern":"^[0-9]+$","minLength":1,"maxLength":3},"areaCode":{"type":"string","pattern":"^[0-9]{1,4}$","minLength":1,"maxLength":4},"phoneNumber":{"type":"string","pattern":"^[0-9]{1,14}$","minLength":1,"maxLength":14},"phoneNumberExt":{"type":"string","pattern":"^[a-zA-Z0-9]{1,10}$","minLength":1,"maxLength":10}},"required":["areaCode","phoneNumber"]},"nodCreate":{"type":"object","properties":{"data":{"type":"object","properties":{"type":{"type":"string","enum":["noticeOfDisagreement"]},"attributes":{"type":"object","properties":{"veteran":{"type":"object","properties":{"homeless":{"type":"boolean"},"address":{"$ref":"#/definitions/address"},"phone":{"allOf":[{"$ref":"#/definitions/phone"},{}]},"email":{"type":"string","format":"email","minLength":6,"maxLength":255},"timezone":{"type":"string"}},"required":["homeless","phone","email"],"if":{"properties":{"homeless":{"const":false}}},"then":{"required":["address"]}},"representative":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120}}},"boardReviewOption":{"type":"string","enum":["direct_review","evidence_submission","hearing"]},"hearingTypePreference":{"type":"string","enum":["virtual_hearing","video_conference","central_office"]},"requestingExtension":{"type":"boolean","description":"Set to true to request a filing extension. An extensionReason must be provided if true."},"extensionReason":{"type":"string","minLength":1,"maxLength":2300,"description":"Explanation why you believe there is good cause for the extension. If an extensionReason is provided, requestingExtension must be true."},"appealingVhaDenial":{"type":"boolean","description":"Set to true if you are appealing a denial of benefits by the Veterans Health Administration (VHA)."}},"required":["boardReviewOption"],"if":{"properties":{"requestingExtension":{"const":true}}},"then":{"required":["extensionReason"]}}},"required":["type","attributes"]},"included":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["contestableIssue"]},"attributes":{"type":"object","properties":{"issue":{"type":"string","minLength":1,"maxLength":180},"decisionDate":{"$ref":"#/definitions/date"},"decisionIssueId":{"type":"integer"},"ratingIssueReferenceId":{"type":"string","minLength":1,"maxLength":255},"ratingDecisionReferenceId":{"type":"string","minLength":1,"maxLength":255},"disagreementArea":{"type":"string","maxLength":90}},"required":["issue","decisionDate"]}},"required":["type","attributes"]},"minItems":1,"maxItems":100,"uniqueItems":true}},"required":["data","included"]},"root":{"type":"object","properties":{"data":{"$ref":"#/definitions/data"}},"required":["data"],"additionalProperties":false},"data":{"type":"object","properties":{"id":{"$ref":"#/definitions/uuid"},"type":{"type":"string","enum":["noticeOfDisagreement"]},"attributes":{"type":"object","properties":{"status":{"$ref":"#/definitions/nodStatus"},"updatedAt":{"$ref":"#/definitions/timeStamp"},"createdAt":{"$ref":"#/definitions/timeStamp"},"formData":{"$ref":"#/definitions/nodCreate"}},"required":["status","updatedAt","createdAt","formData"],"additionalProperties":false}},"required":["id","type","attributes"],"additionalProperties":false},"uuid":{"type":"string","pattern":"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"},"timeStamp":{"type":"string","pattern":"\\d{4}(-\\d{2}){2}T\\d{2}(:\\d{2}){2}.\\d{3}Z"},"nodStatus":{"type":"string","enum":["pending","submitting","submitted","processing","success","complete","error"]}}} diff --git a/dist/versions/24.3.3/NOD-SHOW-RESPONSE-200_V2-example.json b/dist/versions/24.3.3/NOD-SHOW-RESPONSE-200_V2-example.json new file mode 100644 index 00000000..b08f147d --- /dev/null +++ b/dist/versions/24.3.3/NOD-SHOW-RESPONSE-200_V2-example.json @@ -0,0 +1 @@ +{"data":{"id":"00000000-1111-2222-3333-444444444444","type":"noticeOfDisagreement","attributes":{"status":"pending","updatedAt":"2020-01-02T03:04:05.067Z","createdAt":"2020-01-02T03:04:05.067Z"}}} diff --git a/dist/versions/24.3.3/NOD-SHOW-RESPONSE-200_V2-schema.json b/dist/versions/24.3.3/NOD-SHOW-RESPONSE-200_V2-schema.json new file mode 100644 index 00000000..37e8c2f1 --- /dev/null +++ b/dist/versions/24.3.3/NOD-SHOW-RESPONSE-200_V2-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-07/schema#","description":"Info about a single Notice of Disagreement","$ref":"#/definitions/root","definitions":{"root":{"type":"object","properties":{"data":{"$ref":"#/definitions/data"}},"required":["data"],"additionalProperties":false},"data":{"type":"object","properties":{"id":{"$ref":"#/definitions/uuid"},"type":{"type":"string","enum":["noticeOfDisagreement"]},"attributes":{"type":"object","properties":{"status":{"$ref":"#/definitions/nodStatus"},"updatedAt":{"$ref":"#/definitions/timeStamp"},"createdAt":{"$ref":"#/definitions/timeStamp"}},"required":["status","updatedAt","createdAt"],"additionalProperties":false}},"required":["id","type","attributes"]},"uuid":{"type":"string","pattern":"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"},"timeStamp":{"type":"string","pattern":"\\d{4}(-\\d{2}){2}T\\d{2}(:\\d{2}){2}.\\d{3}Z"},"nodStatus":{"type":"string","enum":["pending","submitting","submitted","processing","success","complete","error"]}}} diff --git a/dist/versions/24.3.3/SC-CREATE-REQUEST-BODY-FOR-VA-GOV-example.json b/dist/versions/24.3.3/SC-CREATE-REQUEST-BODY-FOR-VA-GOV-example.json new file mode 100644 index 00000000..77ce8521 --- /dev/null +++ b/dist/versions/24.3.3/SC-CREATE-REQUEST-BODY-FOR-VA-GOV-example.json @@ -0,0 +1 @@ +{"form4142":{"privacyAgreementAccepted":true,"limitedConsent":"Please limit to only non-psych records","providerFacility":[{"providerFacilityName":"provider 1","treatmentDateRange":[{"from":"1980-1-1","to":"1985-1-1"},{"from":"1986-1-1","to":"1987-1-1"}],"providerFacilityAddress":{"street":"123 Main Street","street2":"1B","city":"Baltimore","state":"MD","country":"USA","postalCode":"21200-1111"}},{"providerFacilityName":"provider 2","treatmentDateRange":[{"from":"1980-2-1","to":"1985-2-1"},{"from":"1986-2-1","to":"1987-2-1"}],"providerFacilityAddress":{"street":"456 Main Street","street2":"1B","city":"Baltimore","state":"MD","country":"USA","postalCode":"21200-1111"}},{"providerFacilityName":"provider 3","treatmentDateRange":[{"from":"1980-3-1","to":"1985-3-1"},{"from":"1986-3-1","to":"1987-3-1"}],"providerFacilityAddress":{"street":"789 Main Street","street2":"1B","city":"Baltimore","state":"MD","country":"USA","postalCode":"21200-1111"}},{"providerFacilityName":"provider 4","treatmentDateRange":[{"from":"1980-4-1","to":"1985-4-1"},{"from":"1986-4-1","to":"1987-4-1"}],"providerFacilityAddress":{"street":"101 Main Street","street2":"1B","city":"Baltimore","state":"MD","country":"USA","postalCode":"21200-1111"}},{"providerFacilityName":"provider 5","treatmentDateRange":[{"from":"1980-5-1","to":"1985-5-1"},{"from":"1986-5-1","to":"1987-5-1"}],"providerFacilityAddress":{"street":"102 Main Street","street2":"1B","city":"Baltimore","state":"MD","country":"USA","postalCode":"21200-1111"}}]},"data":{"type":"supplementalClaim","attributes":{"benefitType":"fiduciary","claimantType":"veteran","veteran":{"address":{"addressLine1":"123 Main St","city":"New York","countryCodeISO2":"US","zipCode5":"30012"},"phone":{"areaCode":"555","phoneNumber":"8001111"},"email":"josie@example.com","timezone":"America/Chicago"},"socOptIn":false,"evidenceSubmission":{"evidenceType":["upload"]}}},"additionalDocuments":[{"name":"buddy-statement.pdf","confirmationCode":"kkkkkkkk-llll-mmmm-nnnn-oooooooooooo","attachmentId":"L015","size":40000,"isEncrypted":false},{"name":"photos.pdf","confirmationCode":"pppppppp-qqqql-rrrr-ssss-ttttttttttt","attachmentId":"L070","size":40000,"isEncrypted":false}],"included":[{"type":"contestableIssue","attributes":{"issue":"right shoulder","decisionDate":"1900-01-06"}}]} diff --git a/dist/versions/24.3.3/SC-CREATE-REQUEST-BODY-FOR-VA-GOV-schema.json b/dist/versions/24.3.3/SC-CREATE-REQUEST-BODY-FOR-VA-GOV-schema.json new file mode 100644 index 00000000..9561249d --- /dev/null +++ b/dist/versions/24.3.3/SC-CREATE-REQUEST-BODY-FOR-VA-GOV-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-07/schema#","description":"JSON Schema for VA Form 20-0995 submission to va.gov vets-api endpoint.","$ref":"#/definitions/scCreate","definitions":{"address":{"type":"object","properties":{"addressLine1":{"type":"string","minLength":1,"maxLength":60},"addressLine2":{"type":"string","minLength":1,"maxLength":30},"addressLine3":{"type":"string","minLength":1,"maxLength":10},"city":{"type":"string","minLength":1,"maxLength":60},"stateCode":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"countryCodeISO2":{"type":"string","pattern":"^[A-Z]{2}$","minLength":2,"maxLength":2},"zipCode5":{"type":"string","description":"5-digit zipcode. Use \"00000\" if address is outside the United States","pattern":"^[0-9]{5}$","minLength":5,"maxLength":5},"internationalPostalCode":{"type":"string","minLength":1,"maxLength":16}},"required":["addressLine1","city","countryCodeISO2","zipCode5"]},"date":{"type":"string","pattern":"^[0-9]{4}(-[0-9]{2}){2}$","minLength":10,"maxLength":10},"dateRange":{"type":"object","properties":{"from":{"$ref":"#/definitions/date"},"to":{"$ref":"#/definitions/date"}}},"centralMailAddress":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NF","NT","NV","NU","ON","PE","QC","SK","YT"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"postalCode":{"type":"string","pattern":"^(\\d{5})(?:[-](\\d{4}))?$"}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"state":{"type":"string","maxLength":51},"postalCode":{"type":"string","maxLength":51}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":50},"street2":{"type":"string","minLength":1,"maxLength":50},"city":{"type":"string","minLength":1,"maxLength":51}},"required":["postalCode"]},"privacyAgreementAccepted":{"type":"boolean","enum":[true]},"phone":{"type":"object","properties":{"countryCode":{"type":"string","pattern":"^[0-9]+$","minLength":1,"maxLength":3},"areaCode":{"type":"string","pattern":"^[0-9]{1,4}$","minLength":1,"maxLength":4},"phoneNumber":{"type":"string","pattern":"^[0-9]{1,14}$","minLength":1,"maxLength":14},"phoneNumberExt":{"type":"string","pattern":"^[a-zA-Z0-9]{1,10}$","minLength":1,"maxLength":10}},"required":["areaCode","phoneNumber"]},"timezone":{"type":"string","enum":["Abu Dhabi","Adelaide","Africa/Abidjan","Africa/Accra","Africa/Addis_Ababa","Africa/Algiers","Africa/Asmara","Africa/Asmera","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Douala","Africa/El_Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao_Tome","Africa/Timbuktu","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","Alaska","Almaty","America/Adak","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/ComodRivadavia","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Aruba","America/Asuncion","America/Atikokan","America/Atka","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Buenos_Aires","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Catamarca","America/Cayenne","America/Cayman","America/Chicago","America/Chihuahua","America/Coral_Harbour","America/Cordoba","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Dominica","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Ensenada","America/Fort_Nelson","America/Fort_Wayne","America/Fortaleza","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Grenada","America/Guadeloupe","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Indianapolis","America/Inuvik","America/Iqaluit","America/Jamaica","America/Jujuy","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/Knox_IN","America/Kralendijk","America/La_Paz","America/Lima","America/Los_Angeles","America/Louisville","America/Lower_Princes","America/Maceio","America/Managua","America/Manaus","America/Marigot","America/Martinique","America/Matamoros","America/Mazatlan","America/Mendoza","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Montreal","America/Montserrat","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Acre","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Rosario","America/Santa_Isabel","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Shiprock","America/Sitka","America/St_Barthelemy","America/St_Johns","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Tortola","America/Vancouver","America/Virgin","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","American Samoa","Amsterdam","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/McMurdo","Antarctica/Palmer","Antarctica/Rothera","Antarctica/South_Pole","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Arctic/Longyearbyen","Arizona","Asia/Aden","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Ashkhabad","Asia/Atyrau","Asia/Baghdad","Asia/Bahrain","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Calcutta","Asia/Chita","Asia/Choibalsan","Asia/Chongqing","Asia/Chungking","Asia/Colombo","Asia/Dacca","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Harbin","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Istanbul","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kashgar","Asia/Kathmandu","Asia/Katmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Kuwait","Asia/Macao","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Muscat","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Phnom_Penh","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Rangoon","Asia/Riyadh","Asia/Saigon","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Tel_Aviv","Asia/Thimbu","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ujung_Pandang","Asia/Ulaanbaatar","Asia/Ulan_Bator","Asia/Urumqi","Asia/Ust-Nera","Asia/Vientiane","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Astana","Athens","Atlantic Time (Canada)","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faeroe","Atlantic/Faroe","Atlantic/Jan_Mayen","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/St_Helena","Atlantic/Stanley","Auckland","Australia/ACT","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Canberra","Australia/Currie","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/LHI","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/NSW","Australia/North","Australia/Perth","Australia/Queensland","Australia/South","Australia/Sydney","Australia/Tasmania","Australia/Victoria","Australia/West","Australia/Yancowinna","Azores","Baghdad","Baku","Bangkok","Beijing","Belgrade","Berlin","Bern","Bogota","Brasilia","Bratislava","Brazil/Acre","Brazil/DeNoronha","Brazil/East","Brazil/West","Brisbane","Brussels","Bucharest","Budapest","Buenos Aires","CET","CST6CDT","Cairo","Canada/Atlantic","Canada/Central","Canada/Eastern","Canada/Mountain","Canada/Newfoundland","Canada/Pacific","Canada/Saskatchewan","Canada/Yukon","Canberra","Cape Verde Is.","Caracas","Casablanca","Central America","Central Time (US & Canada)","Chatham Is.","Chennai","Chihuahua","Chile/Continental","Chile/EasterIsland","Chongqing","Copenhagen","Cuba","Darwin","Dhaka","Dublin","EET","EST","EST5EDT","Eastern Time (US & Canada)","Edinburgh","Egypt","Eire","Ekaterinburg","Etc/GMT","Etc/GMT+0","Etc/GMT+1","Etc/GMT+10","Etc/GMT+11","Etc/GMT+12","Etc/GMT+2","Etc/GMT+3","Etc/GMT+4","Etc/GMT+5","Etc/GMT+6","Etc/GMT+7","Etc/GMT+8","Etc/GMT+9","Etc/GMT-0","Etc/GMT-1","Etc/GMT-10","Etc/GMT-11","Etc/GMT-12","Etc/GMT-13","Etc/GMT-14","Etc/GMT-2","Etc/GMT-3","Etc/GMT-4","Etc/GMT-5","Etc/GMT-6","Etc/GMT-7","Etc/GMT-8","Etc/GMT-9","Etc/GMT0","Etc/Greenwich","Etc/UCT","Etc/UTC","Etc/Universal","Etc/Zulu","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belfast","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Busingen","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Guernsey","Europe/Helsinki","Europe/Isle_of_Man","Europe/Istanbul","Europe/Jersey","Europe/Kaliningrad","Europe/Kiev","Europe/Kirov","Europe/Lisbon","Europe/Ljubljana","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Mariehamn","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Nicosia","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/San_Marino","Europe/Sarajevo","Europe/Saratov","Europe/Simferopol","Europe/Skopje","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Tiraspol","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zagreb","Europe/Zaporozhye","Europe/Zurich","Factory","Fiji","GB","GB-Eire","GMT","GMT+0","GMT-0","GMT0","Georgetown","Greenland","Greenwich","Guadalajara","Guam","HST","Hanoi","Harare","Hawaii","Helsinki","Hobart","Hong Kong","Hongkong","Iceland","Indian/Antananarivo","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Comoro","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Mayotte","Indian/Reunion","Indiana (East)","International Date Line West","Iran","Irkutsk","Islamabad","Israel","Istanbul","Jakarta","Jamaica","Japan","Jerusalem","Kabul","Kaliningrad","Kamchatka","Karachi","Kathmandu","Kolkata","Krasnoyarsk","Kuala Lumpur","Kuwait","Kwajalein","Kyiv","La Paz","Libya","Lima","Lisbon","Ljubljana","London","MET","MST","MST7MDT","Madrid","Magadan","Marshall Is.","Mazatlan","Melbourne","Mexico City","Mexico/BajaNorte","Mexico/BajaSur","Mexico/General","Mid-Atlantic","Midway Island","Minsk","Monrovia","Monterrey","Montevideo","Moscow","Mountain Time (US & Canada)","Mumbai","Muscat","NZ","NZ-CHAT","Nairobi","Navajo","New Caledonia","New Delhi","Newfoundland","Novosibirsk","Nuku'alofa","Osaka","PRC","PST8PDT","Pacific Time (US & Canada)","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chatham","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Johnston","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Midway","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Ponape","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Saipan","Pacific/Samoa","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Truk","Pacific/Wake","Pacific/Wallis","Pacific/Yap","Paris","Perth","Poland","Port Moresby","Portugal","Prague","Pretoria","Puerto Rico","Quito","ROC","ROK","Rangoon","Riga","Riyadh","Rome","Samara","Samoa","Santiago","Sapporo","Sarajevo","Saskatchewan","Seoul","Singapore","Skopje","Sofia","Solomon Is.","Srednekolymsk","Sri Jayawardenepura","St. Petersburg","Stockholm","Sydney","Taipei","Tallinn","Tashkent","Tbilisi","Tehran","Tijuana","Tokelau Is.","Tokyo","Turkey","UCT","US/Alaska","US/Aleutian","US/Arizona","US/Central","US/East-Indiana","US/Eastern","US/Hawaii","US/Indiana-Starke","US/Michigan","US/Mountain","US/Pacific","US/Pacific-New","US/Samoa","UTC","Ulaanbaatar","Universal","Urumqi","Vienna","Vilnius","Vladivostok","Volgograd","W-SU","WET","Warsaw","Wellington","West Central Africa","Yakutsk","Yerevan","Zagreb","Zulu","Zurich"]},"scCreate":{"type":"object","properties":{"data":{"type":"object","properties":{"type":{"type":"string","enum":["supplementalClaim"]},"attributes":{"type":"object","properties":{"benefitType":{"type":"string","description":"If the contested issue is a Disability Compensation issue, acknowledgement of form 5103 is required - see form5103Acknowledged.","enum":["compensation","pensionSurvivorsBenefits","fiduciary","lifeInsurance","veteransHealthAdministration","veteranReadinessAndEmployment","loanGuaranty","education","nationalCemeteryAdministration"]},"claimantType":{"type":"string","enum":["veteran","spouse_of_veteran","child_of_veteran","parent_of_veteran","other"]},"claimantTypeOtherValue":{"type":"string","minLength":1,"maxLength":25},"veteran":{"type":"object","properties":{"address":{"$ref":"#/definitions/address"},"phone":{"allOf":[{"$ref":"#/definitions/phone"},{}]},"email":{"type":"string","format":"email","minLength":6,"maxLength":255},"timezone":{"allOf":[{"description":"Veteran's timezone. Used for adding the current date to the signature according to the veteran's local time. If not specified, the current UTC date will be used for the signature (which may be ahead or behind the local date)."},{"$ref":"#/definitions/timezone"}]}},"required":["address","phone","email"]},"evidenceSubmission":{"description":"Evidence may be uploaded up to 7 days from the 'created_at' date of the associated Supplemental Claim via 'supplemental_claims/evidence_submissions'.","type":"object","properties":{"evidenceType":{"type":"array","items":{"type":"string","enum":["upload","retrieval","none"]},"minItems":1,"uniqueItems":true,"if":{"contains":{"const":"none"}},"then":{"maxItems":1},"else":{"maxItems":2}},"retrieveFrom":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["retrievalEvidence"]},"attributes":{"type":"object","properties":{"locationAndName":{"type":"string","minLength":1,"maxLength":255},"evidenceDates":{"type":"array","items":{"type":"object","properties":{"startDate":{"$ref":"#/definitions/date"},"endDate":{"$ref":"#/definitions/date"}},"required":["startDate","endDate"]},"minItems":1,"maxItems":4}},"required":["locationAndName","evidenceDates"]}},"required":["type","attributes"]},"minItems":1,"uniqueItems":true}},"required":["evidenceType"],"if":{"properties":{"evidenceType":{"contains":{"const":"retrieval"}}}},"then":{"required":["retrieveFrom"]}},"form5103Acknowledged":{"type":"boolean","description":"The 5103 Notice regarding new & relevant evidence must be acknowledged when the issue(s) being contested is a Disability Compensation issue. The notice can be found here: http://www.va.gov/disability/how-to-file-claim/evidence-needed. If the issue(s) being submitted are Disability Compensation and 'No' is selected, the API will return an error. Please ensure the Veteran reviews the content about the 5103 Notice at the link above."},"socOptIn":{"type":"boolean"}},"allOf":[{"required":["veteran","benefitType","claimantType","evidenceSubmission","socOptIn"]},{"if":{"properties":{"benefitType":{"const":"compensation"}}},"then":{"required":["form5103Acknowledged"],"properties":{"form5103Acknowledged":{"enum":[true]}}}},{"if":{"properties":{"claimantType":{"const":"other"}}},"then":{"required":["claimantTypeOtherValue"]}},{"if":{"properties":{"claimantType":{"enum":["spouse_of_veteran","child_of_veteran","parent_of_veteran","other"]}}},"then":{"required":["claimant"]}}]}},"required":["type","attributes"]},"included":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["contestableIssue"]},"attributes":{"type":"object","properties":{"issue":{"type":"string","minLength":1,"maxLength":140},"decisionDate":{"$ref":"#/definitions/date"},"decisionIssueId":{"type":"integer"},"ratingIssueReferenceId":{"type":"string","minLength":1,"maxLength":255},"ratingDecisionReferenceId":{"type":"string","minLength":1,"maxLength":255},"socDate":{"$ref":"#/definitions/date"}},"required":["issue","decisionDate"]}},"required":["type","attributes"]},"minItems":1,"maxItems":100,"uniqueItems":true},"form4142":{"$ref":"#/definitions/form4142"},"additionalDocuments":{"description":"The information related to the uploaded documents, for vets-api to enqueue for upload upon submission.","type":"array","items":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"confirmationCode":{"type":"string"},"attachmentId":{"type":"string"},"size":{"type":"integer"},"isEncrypted":{"type":"boolean"}},"required":["attachmentId","confirmationCode","isEncrypted","name","size"]}}},"required":["data","included"]},"form4142":{"type":"object","properties":{"limitedConsent":{"type":"string"},"providerFacility":{"type":"array","required":["providerFacilityName","treatmentDateRange","providerFacilityAddress"],"items":{"type":"object","properties":{"providerFacilityName":{"type":"string"},"treatmentDateRange":{"type":"array","items":{"$ref":"#/definitions/dateRange"}},"providerFacilityAddress":{"$ref":"#/definitions/centralMailAddress"}}}},"privacyAgreementAccepted":{"$ref":"#/definitions/privacyAgreementAccepted"}}}}} diff --git a/dist/versions/24.3.3/SC-CREATE-REQUEST-BODY_V1-example.json b/dist/versions/24.3.3/SC-CREATE-REQUEST-BODY_V1-example.json new file mode 100644 index 00000000..96427f49 --- /dev/null +++ b/dist/versions/24.3.3/SC-CREATE-REQUEST-BODY_V1-example.json @@ -0,0 +1 @@ +{"data":{"type":"supplementalClaim","attributes":{"benefitType":"fiduciary","claimantType":"veteran","veteran":{"address":{"addressLine1":"123 Main St","city":"New York","countryCodeISO2":"US","zipCode5":"30012"},"phone":{"areaCode":"555","phoneNumber":"8001111"},"email":"josie@example.com","timezone":"America/Chicago"},"socOptIn":false,"evidenceSubmission":{"evidenceType":["upload"]}}},"included":[{"type":"contestableIssue","attributes":{"issue":"right shoulder","decisionDate":"1900-01-06"}}]} diff --git a/dist/versions/24.3.3/SC-CREATE-REQUEST-BODY_V1-schema.json b/dist/versions/24.3.3/SC-CREATE-REQUEST-BODY_V1-schema.json new file mode 100644 index 00000000..fe12ce3e --- /dev/null +++ b/dist/versions/24.3.3/SC-CREATE-REQUEST-BODY_V1-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-07/schema#","description":"JSON Schema for VA Form 20-0995","$ref":"#/definitions/scCreate","definitions":{"address":{"type":"object","properties":{"addressLine1":{"type":"string","minLength":1,"maxLength":60},"addressLine2":{"type":"string","minLength":1,"maxLength":30},"addressLine3":{"type":"string","minLength":1,"maxLength":10},"city":{"type":"string","minLength":1,"maxLength":60},"stateCode":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"countryCodeISO2":{"type":"string","pattern":"^[A-Z]{2}$","minLength":2,"maxLength":2},"zipCode5":{"type":"string","description":"5-digit zipcode. Use \"00000\" if address is outside the United States","pattern":"^[0-9]{5}$","minLength":5,"maxLength":5},"internationalPostalCode":{"type":"string","minLength":1,"maxLength":16}},"required":["addressLine1","city","countryCodeISO2","zipCode5"]},"date":{"type":"string","pattern":"^[0-9]{4}(-[0-9]{2}){2}$","minLength":10,"maxLength":10},"phone":{"type":"object","properties":{"countryCode":{"type":"string","pattern":"^[0-9]+$","minLength":1,"maxLength":3},"areaCode":{"type":"string","pattern":"^[0-9]{1,4}$","minLength":1,"maxLength":4},"phoneNumber":{"type":"string","pattern":"^[0-9]{1,14}$","minLength":1,"maxLength":14},"phoneNumberExt":{"type":"string","pattern":"^[a-zA-Z0-9]{1,10}$","minLength":1,"maxLength":10}},"required":["areaCode","phoneNumber"]},"scCreate":{"type":"object","properties":{"data":{"type":"object","properties":{"type":{"type":"string","enum":["supplementalClaim"]},"attributes":{"type":"object","properties":{"benefitType":{"type":"string","description":"If the contested issue is a Disability Compensation issue, acknowledgement of form 5103 is required - see form5103Acknowledged.","enum":["compensation","pensionSurvivorsBenefits","fiduciary","lifeInsurance","veteransHealthAdministration","veteranReadinessAndEmployment","loanGuaranty","education","nationalCemeteryAdministration"]},"claimantType":{"type":"string","enum":["veteran","spouse_of_veteran","child_of_veteran","parent_of_veteran","other"]},"claimantTypeOtherValue":{"type":"string","minLength":1,"maxLength":25},"veteran":{"type":"object","properties":{"address":{"$ref":"#/definitions/address"},"phone":{"allOf":[{"$ref":"#/definitions/phone"},{}]},"email":{"type":"string","format":"email","minLength":6,"maxLength":255},"timezone":{"type":"string"}},"required":["address","phone","email","timezone"]},"evidenceSubmission":{"description":"Evidence may be uploaded up to 7 days from the 'created_at' date of the associated Supplemental Claim via 'supplemental_claims/evidence_submissions'.","type":"object","properties":{"evidenceType":{"type":"array","items":{"type":"string","enum":["upload","retrieval","none"]},"minItems":1,"uniqueItems":true,"if":{"contains":{"const":"none"}},"then":{"maxItems":1},"else":{"maxItems":2}},"retrieveFrom":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["retrievalEvidence"]},"attributes":{"type":"object","properties":{"locationAndName":{"type":"string","minLength":1,"maxLength":255},"evidenceDates":{"type":"array","items":{"type":"object","properties":{"startDate":{"$ref":"#/definitions/date"},"endDate":{"$ref":"#/definitions/date"}},"required":["startDate","endDate"]},"minItems":1,"maxItems":4}},"required":["locationAndName","evidenceDates"]}},"required":["type","attributes"]},"minItems":1,"uniqueItems":true}},"required":["evidenceType"],"if":{"properties":{"evidenceType":{"contains":{"const":"retrieval"}}}},"then":{"required":["retrieveFrom"]}},"form5103Acknowledged":{"type":"boolean","description":"The 5103 Notice regarding new & relevant evidence must be acknowledged when the issue(s) being contested is a Disability Compensation issue. The notice can be found here: http://www.va.gov/disability/how-to-file-claim/evidence-needed. If the issue(s) being submitted are Disability Compensation and 'No' is selected, the API will return an error. Please ensure the Veteran reviews the content about the 5103 Notice at the link above."},"socOptIn":{"type":"boolean"}},"allOf":[{"required":["veteran","benefitType","claimantType","evidenceSubmission","socOptIn"]},{"if":{"properties":{"benefitType":{"const":"compensation"}}},"then":{"required":["form5103Acknowledged"],"properties":{"form5103Acknowledged":{"enum":[true]}}}},{"if":{"properties":{"claimantType":{"const":"other"}}},"then":{"required":["claimantTypeOtherValue"]}},{"if":{"properties":{"claimantType":{"enum":["spouse_of_veteran","child_of_veteran","parent_of_veteran","other"]}}},"then":{"required":["claimant"]}}]}},"required":["type","attributes"]},"included":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["contestableIssue"]},"attributes":{"type":"object","properties":{"issue":{"type":"string","minLength":1,"maxLength":140},"decisionDate":{"$ref":"#/definitions/date"},"decisionIssueId":{"type":"integer"},"ratingIssueReferenceId":{"type":"string","minLength":1,"maxLength":255},"ratingDecisionReferenceId":{"type":"string","minLength":1,"maxLength":255},"socDate":{"$ref":"#/definitions/date"}},"required":["issue","decisionDate"]}},"required":["type","attributes"]},"minItems":1,"maxItems":100,"uniqueItems":true}},"required":["data","included"]}}} diff --git a/dist/versions/24.3.3/SC-CREATE-RESPONSE-200_V1-schema.json b/dist/versions/24.3.3/SC-CREATE-RESPONSE-200_V1-schema.json new file mode 100644 index 00000000..5c3b228e --- /dev/null +++ b/dist/versions/24.3.3/SC-CREATE-RESPONSE-200_V1-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-07/schema#","description":"JSON Schema for VA Form 20-0995","$ref":"#/definitions/root","definitions":{"address":{"type":"object","properties":{"addressLine1":{"type":"string","minLength":1,"maxLength":60},"addressLine2":{"type":"string","minLength":1,"maxLength":30},"addressLine3":{"type":"string","minLength":1,"maxLength":10},"city":{"type":"string","minLength":1,"maxLength":60},"stateCode":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"countryCodeISO2":{"type":"string","pattern":"^[A-Z]{2}$","minLength":2,"maxLength":2},"zipCode5":{"type":"string","description":"5-digit zipcode. Use \"00000\" if address is outside the United States","pattern":"^[0-9]{5}$","minLength":5,"maxLength":5},"internationalPostalCode":{"type":"string","minLength":1,"maxLength":16}},"required":["addressLine1","city","countryCodeISO2","zipCode5"]},"date":{"type":"string","pattern":"^[0-9]{4}(-[0-9]{2}){2}$","minLength":10,"maxLength":10},"phone":{"type":"object","properties":{"countryCode":{"type":"string","pattern":"^[0-9]+$","minLength":1,"maxLength":3},"areaCode":{"type":"string","pattern":"^[0-9]{1,4}$","minLength":1,"maxLength":4},"phoneNumber":{"type":"string","pattern":"^[0-9]{1,14}$","minLength":1,"maxLength":14},"phoneNumberExt":{"type":"string","pattern":"^[a-zA-Z0-9]{1,10}$","minLength":1,"maxLength":10}},"required":["areaCode","phoneNumber"]},"scCreate":{"type":"object","properties":{"data":{"type":"object","properties":{"type":{"type":"string","enum":["supplementalClaim"]},"attributes":{"type":"object","properties":{"benefitType":{"type":"string","description":"If the contested issue is a Disability Compensation issue, acknowledgement of form 5103 is required - see form5103Acknowledged.","enum":["compensation","pensionSurvivorsBenefits","fiduciary","lifeInsurance","veteransHealthAdministration","veteranReadinessAndEmployment","loanGuaranty","education","nationalCemeteryAdministration"]},"claimantType":{"type":"string","enum":["veteran","spouse_of_veteran","child_of_veteran","parent_of_veteran","other"]},"claimantTypeOtherValue":{"type":"string","minLength":1,"maxLength":25},"veteran":{"type":"object","properties":{"address":{"$ref":"#/definitions/address"},"phone":{"allOf":[{"$ref":"#/definitions/phone"},{}]},"email":{"type":"string","format":"email","minLength":6,"maxLength":255},"timezone":{"type":"string"}},"required":["address","phone","email","timezone"]},"evidenceSubmission":{"description":"Evidence may be uploaded up to 7 days from the 'created_at' date of the associated Supplemental Claim via 'supplemental_claims/evidence_submissions'.","type":"object","properties":{"evidenceType":{"type":"array","items":{"type":"string","enum":["upload","retrieval","none"]},"minItems":1,"uniqueItems":true,"if":{"contains":{"const":"none"}},"then":{"maxItems":1},"else":{"maxItems":2}},"retrieveFrom":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["retrievalEvidence"]},"attributes":{"type":"object","properties":{"locationAndName":{"type":"string","minLength":1,"maxLength":255},"evidenceDates":{"type":"array","items":{"type":"object","properties":{"startDate":{"$ref":"#/definitions/date"},"endDate":{"$ref":"#/definitions/date"}},"required":["startDate","endDate"]},"minItems":1,"maxItems":4}},"required":["locationAndName","evidenceDates"]}},"required":["type","attributes"]},"minItems":1,"uniqueItems":true}},"required":["evidenceType"],"if":{"properties":{"evidenceType":{"contains":{"const":"retrieval"}}}},"then":{"required":["retrieveFrom"]}},"form5103Acknowledged":{"type":"boolean","description":"The 5103 Notice regarding new & relevant evidence must be acknowledged when the issue(s) being contested is a Disability Compensation issue. The notice can be found here: http://www.va.gov/disability/how-to-file-claim/evidence-needed. If the issue(s) being submitted are Disability Compensation and 'No' is selected, the API will return an error. Please ensure the Veteran reviews the content about the 5103 Notice at the link above."},"socOptIn":{"type":"boolean"}},"allOf":[{"required":["veteran","benefitType","claimantType","evidenceSubmission","socOptIn"]},{"if":{"properties":{"benefitType":{"const":"compensation"}}},"then":{"required":["form5103Acknowledged"],"properties":{"form5103Acknowledged":{"enum":[true]}}}},{"if":{"properties":{"claimantType":{"const":"other"}}},"then":{"required":["claimantTypeOtherValue"]}},{"if":{"properties":{"claimantType":{"enum":["spouse_of_veteran","child_of_veteran","parent_of_veteran","other"]}}},"then":{"required":["claimant"]}}]}},"required":["type","attributes"]},"included":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["contestableIssue"]},"attributes":{"type":"object","properties":{"issue":{"type":"string","minLength":1,"maxLength":140},"decisionDate":{"$ref":"#/definitions/date"},"decisionIssueId":{"type":"integer"},"ratingIssueReferenceId":{"type":"string","minLength":1,"maxLength":255},"ratingDecisionReferenceId":{"type":"string","minLength":1,"maxLength":255},"socDate":{"$ref":"#/definitions/date"}},"required":["issue","decisionDate"]}},"required":["type","attributes"]},"minItems":1,"maxItems":100,"uniqueItems":true}},"required":["data","included"]},"root":{"type":"object","properties":{"data":{"$ref":"#/definitions/data"}},"required":["data"],"additionalProperties":false},"data":{"type":"object","properties":{"id":{"$ref":"#/definitions/uuid"},"type":{"type":"string","enum":["supplementalClaim"]},"attributes":{"type":"object","properties":{"status":{"$ref":"#/definitions/scStatus"},"updatedAt":{"$ref":"#/definitions/timeStamp"},"createdAt":{"$ref":"#/definitions/timeStamp"},"formData":{"$ref":"#/definitions/scCreate"}},"required":["status","updatedAt","createdAt","formData"],"additionalProperties":false}},"required":["id","type","attributes"],"additionalProperties":false},"uuid":{"type":"string","pattern":"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"},"timeStamp":{"type":"string","pattern":"\\d{4}(-\\d{2}){2}T\\d{2}(:\\d{2}){2}.\\d{3}Z"},"scStatus":{"type":"string","enum":["pending","submitting","submitted","success","processing","error","complete"]}}} diff --git a/dist/versions/24.3.3/SC-GET-CONTESTABLE-ISSUES-REQUEST-BENEFIT-TYPE_V1-schema.json b/dist/versions/24.3.3/SC-GET-CONTESTABLE-ISSUES-REQUEST-BENEFIT-TYPE_V1-schema.json new file mode 100644 index 00000000..5c00295f --- /dev/null +++ b/dist/versions/24.3.3/SC-GET-CONTESTABLE-ISSUES-REQUEST-BENEFIT-TYPE_V1-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","type":"string","description":"If the contested issue is a Disability Compensation issue, acknowledgement of form 5103 is required - see form5103Acknowledged.","enum":["compensation","pensionSurvivorsBenefits","fiduciary","lifeInsurance","veteransHealthAdministration","veteranReadinessAndEmployment","loanGuaranty","education","nationalCemeteryAdministration"]} diff --git a/dist/versions/24.3.3/SC-SHOW-RESPONSE-200_V1-example.json b/dist/versions/24.3.3/SC-SHOW-RESPONSE-200_V1-example.json new file mode 100644 index 00000000..8ce3bbd8 --- /dev/null +++ b/dist/versions/24.3.3/SC-SHOW-RESPONSE-200_V1-example.json @@ -0,0 +1 @@ +{"data":{"id":"00000000-1111-2222-3333-444444444444","type":"supplementalClaim","attributes":{"status":"pending","updatedAt":"2020-01-02T03:04:05.067Z","createdAt":"2020-01-02T03:04:05.067Z","formData":{"data":{"type":"supplementalClaim","attributes":{"benefitType":"fiduciary","claimantType":"veteran","veteran":{"address":{"addressLine1":"123 Main St","city":"New York","countryCodeISO2":"US","zipCode5":"30012"},"phone":{"areaCode":"555","phoneNumber":"8001111"},"email":"josie@example.com","timezone":"America/Chicago"},"socOptIn":false,"evidenceSubmission":{"evidenceType":["upload"]}}},"included":[{"type":"contestableIssue","attributes":{"issue":"right shoulder","decisionDate":"1900-01-06"}}]}}}} diff --git a/dist/versions/24.3.3/SC-SHOW-RESPONSE-200_V1-schema.json b/dist/versions/24.3.3/SC-SHOW-RESPONSE-200_V1-schema.json new file mode 100644 index 00000000..5c3b228e --- /dev/null +++ b/dist/versions/24.3.3/SC-SHOW-RESPONSE-200_V1-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-07/schema#","description":"JSON Schema for VA Form 20-0995","$ref":"#/definitions/root","definitions":{"address":{"type":"object","properties":{"addressLine1":{"type":"string","minLength":1,"maxLength":60},"addressLine2":{"type":"string","minLength":1,"maxLength":30},"addressLine3":{"type":"string","minLength":1,"maxLength":10},"city":{"type":"string","minLength":1,"maxLength":60},"stateCode":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"countryCodeISO2":{"type":"string","pattern":"^[A-Z]{2}$","minLength":2,"maxLength":2},"zipCode5":{"type":"string","description":"5-digit zipcode. Use \"00000\" if address is outside the United States","pattern":"^[0-9]{5}$","minLength":5,"maxLength":5},"internationalPostalCode":{"type":"string","minLength":1,"maxLength":16}},"required":["addressLine1","city","countryCodeISO2","zipCode5"]},"date":{"type":"string","pattern":"^[0-9]{4}(-[0-9]{2}){2}$","minLength":10,"maxLength":10},"phone":{"type":"object","properties":{"countryCode":{"type":"string","pattern":"^[0-9]+$","minLength":1,"maxLength":3},"areaCode":{"type":"string","pattern":"^[0-9]{1,4}$","minLength":1,"maxLength":4},"phoneNumber":{"type":"string","pattern":"^[0-9]{1,14}$","minLength":1,"maxLength":14},"phoneNumberExt":{"type":"string","pattern":"^[a-zA-Z0-9]{1,10}$","minLength":1,"maxLength":10}},"required":["areaCode","phoneNumber"]},"scCreate":{"type":"object","properties":{"data":{"type":"object","properties":{"type":{"type":"string","enum":["supplementalClaim"]},"attributes":{"type":"object","properties":{"benefitType":{"type":"string","description":"If the contested issue is a Disability Compensation issue, acknowledgement of form 5103 is required - see form5103Acknowledged.","enum":["compensation","pensionSurvivorsBenefits","fiduciary","lifeInsurance","veteransHealthAdministration","veteranReadinessAndEmployment","loanGuaranty","education","nationalCemeteryAdministration"]},"claimantType":{"type":"string","enum":["veteran","spouse_of_veteran","child_of_veteran","parent_of_veteran","other"]},"claimantTypeOtherValue":{"type":"string","minLength":1,"maxLength":25},"veteran":{"type":"object","properties":{"address":{"$ref":"#/definitions/address"},"phone":{"allOf":[{"$ref":"#/definitions/phone"},{}]},"email":{"type":"string","format":"email","minLength":6,"maxLength":255},"timezone":{"type":"string"}},"required":["address","phone","email","timezone"]},"evidenceSubmission":{"description":"Evidence may be uploaded up to 7 days from the 'created_at' date of the associated Supplemental Claim via 'supplemental_claims/evidence_submissions'.","type":"object","properties":{"evidenceType":{"type":"array","items":{"type":"string","enum":["upload","retrieval","none"]},"minItems":1,"uniqueItems":true,"if":{"contains":{"const":"none"}},"then":{"maxItems":1},"else":{"maxItems":2}},"retrieveFrom":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["retrievalEvidence"]},"attributes":{"type":"object","properties":{"locationAndName":{"type":"string","minLength":1,"maxLength":255},"evidenceDates":{"type":"array","items":{"type":"object","properties":{"startDate":{"$ref":"#/definitions/date"},"endDate":{"$ref":"#/definitions/date"}},"required":["startDate","endDate"]},"minItems":1,"maxItems":4}},"required":["locationAndName","evidenceDates"]}},"required":["type","attributes"]},"minItems":1,"uniqueItems":true}},"required":["evidenceType"],"if":{"properties":{"evidenceType":{"contains":{"const":"retrieval"}}}},"then":{"required":["retrieveFrom"]}},"form5103Acknowledged":{"type":"boolean","description":"The 5103 Notice regarding new & relevant evidence must be acknowledged when the issue(s) being contested is a Disability Compensation issue. The notice can be found here: http://www.va.gov/disability/how-to-file-claim/evidence-needed. If the issue(s) being submitted are Disability Compensation and 'No' is selected, the API will return an error. Please ensure the Veteran reviews the content about the 5103 Notice at the link above."},"socOptIn":{"type":"boolean"}},"allOf":[{"required":["veteran","benefitType","claimantType","evidenceSubmission","socOptIn"]},{"if":{"properties":{"benefitType":{"const":"compensation"}}},"then":{"required":["form5103Acknowledged"],"properties":{"form5103Acknowledged":{"enum":[true]}}}},{"if":{"properties":{"claimantType":{"const":"other"}}},"then":{"required":["claimantTypeOtherValue"]}},{"if":{"properties":{"claimantType":{"enum":["spouse_of_veteran","child_of_veteran","parent_of_veteran","other"]}}},"then":{"required":["claimant"]}}]}},"required":["type","attributes"]},"included":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["contestableIssue"]},"attributes":{"type":"object","properties":{"issue":{"type":"string","minLength":1,"maxLength":140},"decisionDate":{"$ref":"#/definitions/date"},"decisionIssueId":{"type":"integer"},"ratingIssueReferenceId":{"type":"string","minLength":1,"maxLength":255},"ratingDecisionReferenceId":{"type":"string","minLength":1,"maxLength":255},"socDate":{"$ref":"#/definitions/date"}},"required":["issue","decisionDate"]}},"required":["type","attributes"]},"minItems":1,"maxItems":100,"uniqueItems":true}},"required":["data","included"]},"root":{"type":"object","properties":{"data":{"$ref":"#/definitions/data"}},"required":["data"],"additionalProperties":false},"data":{"type":"object","properties":{"id":{"$ref":"#/definitions/uuid"},"type":{"type":"string","enum":["supplementalClaim"]},"attributes":{"type":"object","properties":{"status":{"$ref":"#/definitions/scStatus"},"updatedAt":{"$ref":"#/definitions/timeStamp"},"createdAt":{"$ref":"#/definitions/timeStamp"},"formData":{"$ref":"#/definitions/scCreate"}},"required":["status","updatedAt","createdAt","formData"],"additionalProperties":false}},"required":["id","type","attributes"],"additionalProperties":false},"uuid":{"type":"string","pattern":"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"},"timeStamp":{"type":"string","pattern":"\\d{4}(-\\d{2}){2}T\\d{2}(:\\d{2}){2}.\\d{3}Z"},"scStatus":{"type":"string","enum":["pending","submitting","submitted","success","processing","error","complete"]}}} diff --git a/dist/versions/24.3.3/SC-SHOW-RESPONSE-200_V2-example.json b/dist/versions/24.3.3/SC-SHOW-RESPONSE-200_V2-example.json new file mode 100644 index 00000000..c40b29d5 --- /dev/null +++ b/dist/versions/24.3.3/SC-SHOW-RESPONSE-200_V2-example.json @@ -0,0 +1 @@ +{"data":{"id":"00000000-1111-2222-3333-444444444444","type":"supplementalClaim","attributes":{"status":"pending","updatedAt":"2020-01-02T03:04:05.067Z","createdAt":"2020-01-02T03:04:05.067Z"}}} diff --git a/dist/versions/24.3.3/SC-SHOW-RESPONSE-200_V2-schema.json b/dist/versions/24.3.3/SC-SHOW-RESPONSE-200_V2-schema.json new file mode 100644 index 00000000..e14b47fb --- /dev/null +++ b/dist/versions/24.3.3/SC-SHOW-RESPONSE-200_V2-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-07/schema#","description":"Info about a single Supplemental Claim","$ref":"#/definitions/root","definitions":{"root":{"type":"object","properties":{"data":{"$ref":"#/definitions/data"}},"required":["data"],"additionalProperties":false},"data":{"type":"object","properties":{"id":{"$ref":"#/definitions/uuid"},"type":{"type":"string","enum":["supplementalClaim"]},"attributes":{"type":"object","properties":{"status":{"$ref":"#/definitions/scStatus"},"updatedAt":{"$ref":"#/definitions/timeStamp"},"createdAt":{"$ref":"#/definitions/timeStamp"}},"required":["status","updatedAt","createdAt"],"additionalProperties":false}},"required":["id","type","attributes"]},"uuid":{"type":"string","pattern":"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"},"timeStamp":{"type":"string","pattern":"\\d{4}(-\\d{2}){2}T\\d{2}(:\\d{2}){2}.\\d{3}Z"},"scStatus":{"type":"string","enum":["pending","submitting","submitted","processing","success","complete","error"]}}} diff --git a/dist/versions/24.3.3/VRRAP-schema.json b/dist/versions/24.3.3/VRRAP-schema.json new file mode 100644 index 00000000..b45cb4bb --- /dev/null +++ b/dist/versions/24.3.3/VRRAP-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"APPLICATION FOR VRRAP","type":"object","additionalProperties":false,"definitions":{"address":{"type":"object","oneOf":[{"properties":{"country":{"type":"string","enum":["CAN"]},"state":{"type":"string","enum":["AB","BC","MB","NB","NL","NT","NS","NU","ON","PE","QC","SK","YT"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["MEX"]},"state":{"type":"string","enum":["aguascalientes","baja-california-norte","baja-california-sur","campeche","chiapas","chihuahua","coahuila","colima","distrito-federal","durango","guanajuato","guerrero","hidalgo","jalisco","mexico","michoacan","morelos","nayarit","nuevo-leon","oaxaca","puebla","queretaro","quintana-roo","san-luis-potosi","sinaloa","sonora","tabasco","tamaulipas","tlaxcala","veracruz","yucatan","zacatecas"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"type":"string","enum":["USA"]},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]},"postalCode":{"type":"string","maxLength":10}}},{"properties":{"country":{"not":{"type":"string","enum":["CAN","MEX","USA"]}},"state":{"type":"string","maxLength":51},"postalCode":{"type":"string","maxLength":51}}}],"properties":{"street":{"type":"string","minLength":1,"maxLength":50},"street2":{"type":"string","minLength":1,"maxLength":50},"city":{"type":"string","minLength":1,"maxLength":51}}},"bankAccount":{"type":"object","properties":{"accountType":{"type":"string","enum":["checking","savings"]},"routingNumber":{"type":"string","pattern":"^\\d{9}$"},"accountNumber":{"type":"string"}}},"date":{"pattern":"^(\\d{4}|XXXX)-(0[1-9]|1[0-2]|XX)-(0[1-9]|[1-2][0-9]|3[0-1]|XX)$","type":"string"},"email":{"type":"string","maxLength":256,"format":"email"},"fullName":{"type":"object","properties":{"first":{"type":"string","minLength":1,"maxLength":30},"middle":{"type":"string"},"last":{"type":"string","minLength":1,"maxLength":30},"suffix":{"type":"string","enum":["Jr.","Sr.","II","III","IV"]}},"required":["first","last"]},"usaPhone":{"type":"string","pattern":"^\\d{10}$"},"ssn":{"type":"string","pattern":"^[0-9]{9}$"},"privacyAgreementAccepted":{"type":"boolean","enum":[true]},"usaStates":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"]}},"properties":{"veteranFullName":{"$ref":"#/definitions/fullName"},"dateOfBirth":{"$ref":"#/definitions/date"},"veteranSocialSecurityNumber":{"$ref":"#/definitions/ssn"},"email":{"$ref":"#/definitions/email"},"mobilePhone":{"$ref":"#/definitions/usaPhone"},"alternatePhone":{"$ref":"#/definitions/usaPhone"},"address":{"$ref":"#/definitions/address"},"bankAccount":{"$ref":"#/definitions/bankAccount"},"hasSelectedProgram":{"type":"boolean"},"providerName":{"type":"string"},"programName":{"type":"string"},"programCity":{"type":"string"},"programState":{"type":"string"},"learningFormat":{"type":"string","enum":["inPerson","online","onlineAndInPerson"]},"vrrapConfirmation":{"type":"boolean"},"privacyAgreementAccepted":{"$ref":"#/definitions/privacyAgreementAccepted"}},"required":["veteranFullName","dateOfBirth","veteranSocialSecurityNumber","email","privacyAgreementAccepted"]} diff --git a/dist/versions/24.3.3/VYE-ADDRESS-CHANGE-schema.json b/dist/versions/24.3.3/VYE-ADDRESS-CHANGE-schema.json new file mode 100644 index 00000000..c9e6568e --- /dev/null +++ b/dist/versions/24.3.3/VYE-ADDRESS-CHANGE-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"VERIFY YOUR ENROLLMENT CHANGE OF ADDRESS","type":"object","additionalProperties":false,"definitions":{},"properties":{"veteranName":{"type":"string","minLength":1,"maxLength":100},"address1":{"type":"string","minLength":1,"maxLength":20,"pattern":"^((?!http|www\\.|\\.co|\\.net|\\.gov|\\.edu|\\.org).)*$"},"address2":{"type":"string","minLength":1,"maxLength":20,"pattern":"^((?!http|www\\.|\\.co|\\.net|\\.gov|\\.edu|\\.org).)*$"},"address3":{"type":"string","minLength":1,"maxLength":20,"pattern":"^((?!http|www\\.|\\.co|\\.net|\\.gov|\\.edu|\\.org).)*$"},"address4":{"type":"string","minLength":1,"maxLength":20,"pattern":"^((?!http|www\\.|\\.co|\\.net|\\.gov|\\.edu|\\.org).)*$"},"city":{"type":"string","pattern":"^((?!http|www\\.|\\.co|\\.net|\\.gov|\\.edu|\\.org).)*$","minLength":1,"maxLength":51},"state":{"type":"string","enum":["AL","AK","AS","AZ","AR","AA","AE","AP","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"],"enumNames":["Alabama","Alaska","American Samoa","Arizona","Arkansas","Armed Forces Americas (AA)","Armed Forces Europe (AE)","Armed Forces Pacific (AP)","California","Colorado","Connecticut","Delaware","District Of Columbia","Federated States Of Micronesia","Florida","Georgia","Guam","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Marshall Islands","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Northern Mariana Islands","Ohio","Oklahoma","Oregon","Palau","Pennsylvania","Puerto Rico","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virgin Islands","Virginia","Washington","West Virginia","Wisconsin","Wyoming"]},"zipCode":{"type":"string","pattern":"^\\d{5}$","minLength":5,"maxLength":5}},"required":["veteranName","address1","city"]} diff --git a/dist/versions/24.3.3/VYE-DIRECT-DEPOSIT-CHANGE-schema.json b/dist/versions/24.3.3/VYE-DIRECT-DEPOSIT-CHANGE-schema.json new file mode 100644 index 00000000..8e6e8d3e --- /dev/null +++ b/dist/versions/24.3.3/VYE-DIRECT-DEPOSIT-CHANGE-schema.json @@ -0,0 +1 @@ +{"$schema":"http://json-schema.org/draft-04/schema#","title":"VERIFY YOUR ENROLLMENT CHANGE OF DIRECT DEPOSIT","type":"object","additionalProperties":false,"definitions":{"usaPhone":{"type":"string","pattern":"^\\d{10}$"}},"properties":{"fullName":{"type":"string","minLength":1,"maxLength":100},"phone":{"$ref":"#/definitions/usaPhone"},"email":{"type":"string","pattern":"^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$"},"acctNo":{"type":"string","pattern":"^\\d{1,17}$"},"acctType":{"type":"string","enum":["checking","savings"]},"routingNo":{"type":"string","pattern":"^\\d{9}$"},"bankName":{"type":"string"},"bankPhone":{"$ref":"#/definitions/usaPhone"},"usaPhone":{"$ref":"#/definitions/usaPhone"}},"required":["fullName","phone","email","acctNo","acctType","routingNo","bankName","bankPhone"]} diff --git a/src/generate-schemas.js b/src/generate-schemas.js index 96edede0..8e7fa498 100644 --- a/src/generate-schemas.js +++ b/src/generate-schemas.js @@ -1,25 +1,24 @@ import jsonfile from 'jsonfile'; import fs from 'fs'; +import path from 'path'; import definitions from './common/definitions'; import constants from './common/constants'; import vaMedicalFacilities from './common/va-medical-facilities'; import caregiverProgramFacilities from './common/caregiver-program-facilities'; import form1010cgCertifications from './common/form-10-10cg-certifications'; -import path from 'path'; -import { dist_examples as distExamples } from './examples.js'; +import { dist_examples as distExamples } from './examples'; +import distVersions from './versions'; const files = { definitions, constants, vaMedicalFacilities, caregiverProgramFacilities, form1010cgCertifications }; fs.readdirSync('src/schemas').forEach(schema => { if (schema !== '.DS_Store') { + // write default schemafile jsonfile.writeFileSync(`dist/${schema.toUpperCase()}-schema.json`, require(`./schemas/${schema}/schema`).default, { spaces: 2, }); - } -}); -fs.readdirSync('src/schemas').forEach(schema => { - if (schema !== '.DS_Store') { + // write default examples const examples = distExamples(path.resolve(__dirname, '..'), schema); Object.keys(examples).forEach(key => { jsonfile.writeFileSync(`dist/${key}`, examples[key], { spaces: 2 }); @@ -27,9 +26,12 @@ fs.readdirSync('src/schemas').forEach(schema => { } }); +distVersions(); + // eslint-disable-next-line guard-for-in,no-restricted-syntax for (const file in files) { jsonfile.writeFileSync(`dist/${file}.json`, files[file], { spaces: 2 }); } +// eslint-disable-next-line no-console console.info('json built'); diff --git a/src/versions.js b/src/versions.js new file mode 100644 index 00000000..a7ed1492 --- /dev/null +++ b/src/versions.js @@ -0,0 +1,56 @@ +import fs from 'fs'; +import jsonfile from 'jsonfile'; +import path from 'path'; +import { version } from '../package.json'; +import { dist_examples as distExamples } from './examples'; + +const versionsRoot = 'dist/versions'; + +const versionDir = currentVersion => `${versionsRoot}/${currentVersion}/`; + +const addExamplesAndSchemaToCurrentVersion = () => { + fs.readdirSync('src/schemas').forEach(schema => { + if (schema !== '.DS_Store') { + // store schemafile under version + jsonfile.writeFileSync( + `${versionDir(version)}${schema.toUpperCase()}-schema.json`, + require(`./schemas/${schema}/schema`).default, + ); + // store examples under version + const examples = distExamples(path.resolve(__dirname, '..'), schema); + Object.keys(examples).forEach(key => { + jsonfile.writeFileSync(`${versionDir(version)}${key}`, examples[key]); + }); + } + }); +}; + +const storeCurrentVersion = () => { + if (!fs.existsSync(versionDir(version))) { + fs.mkdir(versionDir(version), err => { + if (err) { + throw new Error('Error creating version folder:', err); + } else { + addExamplesAndSchemaToCurrentVersion(); + } + }); + } else { + // eslint-disable-next-line no-console + console.log(`Overwriting current stored version: ${version}`); + addExamplesAndSchemaToCurrentVersion(); + } +}; + +export default () => { + if (!fs.existsSync(versionsRoot)) { + fs.mkdirSync(versionsRoot, err => { + if (err) { + throw new Error('Error creating version folder:', err); + } else { + storeCurrentVersion(); + } + }); + } else { + storeCurrentVersion(); + } +}; diff --git a/test/common/all-schemas.spec.js b/test/common/all-schemas.spec.js index d07a04a6..99e12945 100644 --- a/test/common/all-schemas.spec.js +++ b/test/common/all-schemas.spec.js @@ -52,6 +52,9 @@ describe('all schema tests', () => { // skip "checkObjectTypes" for dist files that contains "-example" (used for example data) AND does not contain "schema" if (k.indexOf('-example') > -1 && k.indexOf('schema') === -1) continue; + // skip versions folder + if (k === 'versions') continue; + it(`${k} - schema properties should have types (or $ref/const/enum)`, () => check_object_recursively(schemas, [k])); } });