-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathText.json
More file actions
146 lines (146 loc) · 5.53 KB
/
Text.json
File metadata and controls
146 lines (146 loc) · 5.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"$schema": "https://json-schema.org/draft-07/schema#",
"$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/Text.json",
"version": "8.3.0.1",
"title": "FEC Text",
"description": "TEXT - MISC. TEXT RELATED TO A REPORT, SCHEDULE OR ITEMIZATION",
"type": "object",
"required": [
"rec_type",
"filer_committee_id_number",
"transaction_id_number",
"back_reference_sched_form_name"
],
"fec_recommended": [],
"properties": {
"rec_type": {
"title": "REC TYPE",
"description": "",
"type": "string",
"minLength": 1,
"maxLength": 4,
"pattern": "^[ -~]{0,4}$",
"examples": [
"TEXT"
],
"fec_spec": {
"COL_SEQ": 1,
"FIELD_DESCRIPTION": "REC TYPE",
"TYPE": "A/N-4",
"REQUIRED": "X (error)",
"SAMPLE_DATA": "TEXT",
"VALUE_REFERENCE": null,
"RULE_REFERENCE": null,
"FIELD_FORM_ASSOCIATION": null
}
},
"filer_committee_id_number": {
"title": "FILER COMMITTEE ID NUMBER",
"description": "",
"type": "string",
"minLength": 1,
"maxLength": 9,
"pattern": "^[ -~]{0,9}$",
"examples": [
"C00123456"
],
"fec_spec": {
"COL_SEQ": 2,
"FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER",
"TYPE": "A/N-9",
"REQUIRED": "X (error)",
"SAMPLE_DATA": "C00123456",
"VALUE_REFERENCE": null,
"RULE_REFERENCE": "this is the ID of the Committee Account the report/transaction is associated with",
"FIELD_FORM_ASSOCIATION": null
}
},
"transaction_id_number": {
"title": "TRANSACTION ID NUMBER",
"description": "",
"type": "string",
"minLength": 1,
"maxLength": 20,
"pattern": "^[ -~]{0,20}$",
"examples": [
"T123456789-3456"
],
"fec_spec": {
"COL_SEQ": 3,
"FIELD_DESCRIPTION": "TRANSACTION ID NUMBER",
"TYPE": "A/N-20",
"REQUIRED": "X (error)",
"SAMPLE_DATA": "T123456789-3456",
"VALUE_REFERENCE": null,
"RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments).\nIf a Report level memo, will be \"REPORT_MEMO_TEXT1\", where 1 increases as you add report level memos (potential future functionality)",
"FIELD_FORM_ASSOCIATION": null
}
},
"back_reference_tran_id_number": {
"title": "BACK REFERENCE TRAN ID NUMBER",
"description": "",
"type": [
"string",
"null"
],
"minLength": 0,
"maxLength": 20,
"pattern": "^[ -~]{0,20}$",
"examples": [
"A123456789-6543"
],
"fec_spec": {
"COL_SEQ": 4,
"FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER",
"TYPE": "A/N-20",
"REQUIRED": "X (error if supplied incorrectly or supplied with Form Name in Field# 5)",
"SAMPLE_DATA": "A123456789-6543",
"VALUE_REFERENCE": null,
"RULE_REFERENCE": "If Back-Reference TranID is supplied, it must exist within file along with corresponding Schedule Name (Field# 5).\n \nIf Sched/Form Name (Field# 5) references the Form (F3XN,F3N..etc), this field must be blank",
"FIELD_FORM_ASSOCIATION": null
}
},
"back_reference_sched_form_name": {
"title": "BACK REFERENCE SCHED / FORM NAME",
"description": "",
"type": "string",
"minLength": 1,
"maxLength": 8,
"pattern": "^[ -~]{0,8}$",
"examples": [
"SA11AI"
],
"fec_spec": {
"COL_SEQ": 5,
"FIELD_DESCRIPTION": "BACK REFERENCE SCHED / FORM NAME",
"TYPE": "A/N-8",
"REQUIRED": "X (error)",
"SAMPLE_DATA": "SA11AI",
"VALUE_REFERENCE": "F3XN,SB21B,\nSC/10, \u2026",
"RULE_REFERENCE": "If a transaction-level memo: Should be a valid, coded value equal to the REC TYPE of the schedule to which this text record is related. If report-level memo: Should be a valid, coded value equal to the REC TYPE of the form to which this text record is related.",
"FIELD_FORM_ASSOCIATION": null
}
},
"text4000": {
"title": "TEXT4000",
"description": "",
"type": [
"string",
"null"
],
"minLength": 0,
"maxLength": 4000,
"pattern": "^[ -~]{0,4000}$",
"fec_spec": {
"COL_SEQ": 6,
"FIELD_DESCRIPTION": "TEXT4000",
"TYPE": "A/N-4000",
"REQUIRED": null,
"SAMPLE_DATA": null,
"VALUE_REFERENCE": null,
"RULE_REFERENCE": "Unformatted Text {text may not contain formatting characters such as tabs and line-feeds}",
"FIELD_FORM_ASSOCIATION": null
}
}
}
}