|
1 | | -import type { PdfFieldType } from "#constants/pdf"; |
2 | | - |
3 | 1 | /** Auto-generated from ucsnc1-name-change-and-or-sex-designation-change-petition-for-individual-adult.pdf — do not edit */ |
4 | 2 |
|
| 3 | +import type { PdfFieldType } from "#constants/pdf"; |
| 4 | + |
5 | 5 | export const pdfSchema = { |
6 | | - Reset_Form: "button", |
7 | 6 | SealingRequest: "radio", |
8 | 7 | "SealingRequest-specify": "text", |
9 | | - courtType: "text", |
10 | | - courtCounty: "text", |
11 | | - oldName: "text", |
12 | | - indexNumber: "text", |
13 | 8 | SupportingDocument: "radio", |
14 | | - shouldChangeName: "checkbox", |
15 | | - shouldChangeSexDesignation: "checkbox", |
16 | | - newName: "text", |
17 | | - birthplace: "text", |
18 | 9 | SpousalSupportPayments: "radio", |
19 | 10 | PreviousNameChangePetition: "radio", |
20 | 11 | Print_Form: "button", |
21 | | - hasConviction: "radio", |
22 | | - courtOfConviction: "text", |
23 | | - crime: "text", |
24 | | - hasBankruptcy: "radio", |
25 | | - hasJudgementsOrLiens: "radio", |
26 | | - partyToAction: "radio", |
27 | | - partyToActionDetails: "text", |
28 | | - currentlyMarried: "radio", |
29 | | - previouslyMarried: "radio", |
30 | | - childrenUnder21: "radio", |
31 | | - childSupport: "radio", |
32 | | - childSupportPayments: "radio", |
33 | | - childSupportOwed: "text", |
34 | | - courtIssuingChildSupportOrder: "text", |
35 | | - childSupportCollectionsUnit: "text", |
36 | | - spousalSupport: "radio", |
37 | | - spousalSupportOwed: "text", |
38 | | - courtIssuingSpousalSupportOrder: "text", |
39 | | - hasPreviousNameChange: "radio", |
40 | | - previousNameReason: "text", |
41 | | - reasonForChangingName: "text", |
42 | | - newSex: "text", |
43 | | - previousSexDesignationChangePetition: "radio", |
44 | | - previousSexDesignationChangePetitionReason: "text", |
45 | | - providesSexChangeDesignationReason: "radio", |
46 | | - sexChangeDesignationReason: "text", |
47 | | - age: "text", |
48 | | - dateOfBirth: "text", |
49 | | - residenceAddress: "text", |
50 | | - supportingDocumentsDescription: "text", |
51 | | - signatureDate: "text", |
52 | | - signatureDay: "text", |
53 | | - signatureMonth: "text", |
54 | | - signatureYearEnding: "text", |
55 | 12 | } as const satisfies Record<string, PdfFieldType>; |
56 | 13 |
|
57 | 14 | export type PdfFieldName = keyof typeof pdfSchema; |
| 15 | + |
| 16 | +/** Fields present in the PDF but excluded from the schema */ |
| 17 | +export const pdfExcludedFields = [ |
| 18 | + "AffirmDay", |
| 19 | + "AffirmMonth", |
| 20 | + "AffirmYear", |
| 21 | + "Age", |
| 22 | + "Bankruptcy", |
| 23 | + "BankruptcyJudgmentsLiensParty-specify", |
| 24 | + "ChildSupport", |
| 25 | + "ChildSupportArrears", |
| 26 | + "ChildSupportPayments", |
| 27 | + "ChildrenUnder21", |
| 28 | + "ConvictedOfCrime", |
| 29 | + "County", |
| 30 | + "CourtIssuingChildSupportOrder", |
| 31 | + "CourtIssuingSpousalSupportOrder", |
| 32 | + "CourtOfConviction", |
| 33 | + "CourtType", |
| 34 | + "Crime", |
| 35 | + "CurrentAddress", |
| 36 | + "CurrentlyMarried", |
| 37 | + "DOB", |
| 38 | + "IndexNumber", |
| 39 | + "JudgmentsOrLiens", |
| 40 | + "NameChange", |
| 41 | + "NewName", |
| 42 | + "NewSexDesignation", |
| 43 | + "PartyToAction", |
| 44 | + "PetitionerName", |
| 45 | + "PlaceOfBirth", |
| 46 | + "PreviousNameChagePetition-specify", |
| 47 | + "PreviousNameChangePetition0", |
| 48 | + "PreviousSexDesignationChangeRequest", |
| 49 | + "PreviousSexDesignationChangeRequest-specify", |
| 50 | + "PreviouslyMarried", |
| 51 | + "ReasonsForNameChangeRequest-specify", |
| 52 | + "ReasonsForSexDesignationChangeRequest", |
| 53 | + "ReasonsForSexDesignationChangeRequest-specify", |
| 54 | + "Reset_Form", |
| 55 | + "SexDesignationChange", |
| 56 | + "SignatureDate", |
| 57 | + "SpousalSupport", |
| 58 | + "SpousalSupportArrears", |
| 59 | + "SupportCollectionsUnit", |
| 60 | + "SupportingDocument-specify", |
| 61 | +] as const; |
0 commit comments