@yottagraph-app/data-model-skill 0.0.32 → 0.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,380 @@
1
+ # Dataset schema for SBA 7(a) & 504 FOIA loan data.
2
+ #
3
+ # Source: https://data.sba.gov/dataset/7-a-504-foia
4
+ # Updated quarterly (typically one month after quarter end).
5
+ #
6
+ # Each CSV row represents a single SBA-backed loan. The atomizer produces:
7
+ # - A financial_instrument entity for the loan itself
8
+ # - An organization entity for the borrower
9
+ # - An organization entity for the bank/CDC/lender
10
+ # - Optionally, a third-party lender organization (504 loans)
11
+ # - A location entity for the project county/state
12
+ name: "sbaloans"
13
+ description: "SBA 7(a) and 504 FOIA loan data including loan terms, borrower and lender organizations, and project locations"
14
+
15
+ extraction:
16
+ flavors: closed
17
+ properties: closed
18
+ relationships: closed
19
+ attributes: closed
20
+ events: closed
21
+
22
+ flavors:
23
+ - name: "sba_loan"
24
+ description: "An SBA-backed loan under the 7(a) or 504 program"
25
+ display_name: "SBA Loan"
26
+ mergeability: not_mergeable
27
+ strong_id_properties: ["sba_loan_id"]
28
+ passive: true
29
+
30
+ - name: "organization"
31
+ description: "A particular business, institution, or organization such as a corporation, university, government agency, or non-profit"
32
+ display_name: "Organization"
33
+ mergeability: not_mergeable
34
+ strong_id_properties: ["fdic_certificate_number"]
35
+ passive: true
36
+
37
+ - name: "sba_program"
38
+ description: "An SBA loan program or sub-program (e.g., SBA 7a: Guaranty, SBA 504: Sec. 504 - Loan Guarantees)"
39
+ display_name: "SBA Program"
40
+ mergeability: not_mergeable
41
+ strong_id_properties: ["sba_program_id"]
42
+ passive: true
43
+
44
+ - name: "industry"
45
+ description: "An industry classification of economic activity (e.g. NAICS or SIC) identifying the line of business associated with an organization or award"
46
+ display_name: "Industry"
47
+ mergeability: not_mergeable
48
+ strong_id_properties: ["naics_code"]
49
+ passive: true
50
+
51
+ - name: "location"
52
+ description: "A specific named geographic location such as a city, country, region, or landmark"
53
+ display_name: "Location"
54
+ mergeability: not_mergeable
55
+ examples: ["EAST BATON ROUGE, LA", "LINN, IA"]
56
+ passive: true
57
+
58
+ properties:
59
+ # Loan identity
60
+ - name: "sba_loan_id"
61
+ type: string
62
+ description: "Composite SBA loan identifier derived from program, borrower name, lender name, and approval date"
63
+ display_name: "SBA Loan ID"
64
+ mergeability: not_mergeable
65
+ domain_flavors: ["sba_loan"]
66
+ examples: ["7a_Title2Land,_L.L.C._Newtek_Small_Business_Finance,_Inc._12_5_2020"]
67
+ passive: true
68
+
69
+
70
+ - name: "sba_program_id"
71
+ type: string
72
+ description: "Composite identifier for an SBA program/sub-program (lowercased program name)"
73
+ display_name: "SBA Program ID"
74
+ mergeability: not_mergeable
75
+ domain_flavors: ["sba_program"]
76
+ examples: ["sba 7a: guaranty", "sba 504: sec. 504 - loan guarantees - private sector financed"]
77
+ passive: true
78
+
79
+ - name: "program"
80
+ type: string
81
+ description: "SBA loan program name"
82
+ display_name: "Program"
83
+ mergeability: not_mergeable
84
+ domain_flavors: ["sba_program"]
85
+ examples: ["7a", "504"]
86
+ passive: true
87
+
88
+ - name: "gross_approval"
89
+ type: float
90
+ description: "Total approved loan amount in dollars"
91
+ display_name: "Gross Approval"
92
+ mergeability: not_mergeable
93
+ domain_flavors: ["sba_loan"]
94
+ examples: ["450000", "810000"]
95
+ passive: true
96
+
97
+ - name: "sba_guaranteed_approval"
98
+ type: float
99
+ description: "SBA-guaranteed portion of the loan amount in dollars (7(a) only)"
100
+ display_name: "SBA Guaranteed Approval"
101
+ mergeability: not_mergeable
102
+ domain_flavors: ["sba_loan"]
103
+ examples: ["337500"]
104
+ passive: true
105
+
106
+ - name: "approval_date"
107
+ type: string
108
+ description: "Date the loan was approved"
109
+ display_name: "Approval Date"
110
+ mergeability: not_mergeable
111
+ domain_flavors: ["sba_loan"]
112
+ examples: ["12/5/2020"]
113
+ passive: true
114
+
115
+ - name: "approval_fiscal_year"
116
+ type: string
117
+ description: "Federal fiscal year of approval"
118
+ display_name: "Approval Fiscal Year"
119
+ mergeability: not_mergeable
120
+ domain_flavors: ["sba_loan"]
121
+ examples: ["2021", "2010"]
122
+ passive: true
123
+
124
+ - name: "first_disbursement_date"
125
+ type: string
126
+ description: "Date of first loan disbursement"
127
+ display_name: "First Disbursement Date"
128
+ mergeability: not_mergeable
129
+ domain_flavors: ["sba_loan"]
130
+ passive: true
131
+
132
+ - name: "term_in_months"
133
+ type: float
134
+ description: "Loan term length in months"
135
+ display_name: "Term in Months"
136
+ mergeability: not_mergeable
137
+ domain_flavors: ["sba_loan"]
138
+ examples: ["120", "240", "300"]
139
+ passive: true
140
+
141
+ - name: "initial_interest_rate"
142
+ type: float
143
+ description: "Initial interest rate of the loan as a percentage (7(a) only)"
144
+ display_name: "Initial Interest Rate"
145
+ mergeability: not_mergeable
146
+ domain_flavors: ["sba_loan"]
147
+ examples: ["6", "5.5"]
148
+ passive: true
149
+
150
+ - name: "interest_type"
151
+ type: string
152
+ description: "Whether the interest rate is fixed or variable (7(a) only)"
153
+ display_name: "Interest Type"
154
+ mergeability: not_mergeable
155
+ domain_flavors: ["sba_loan"]
156
+ examples: ["Fixed", "Variable"]
157
+ passive: true
158
+
159
+ - name: "processing_method"
160
+ type: string
161
+ description: "SBA processing method used for the loan"
162
+ display_name: "Processing Method"
163
+ mergeability: not_mergeable
164
+ domain_flavors: ["sba_loan"]
165
+ examples: ["Preferred Lenders Program", "504 Basic"]
166
+ passive: true
167
+
168
+ - name: "sub_program"
169
+ type: string
170
+ description: "SBA sub-program designation"
171
+ display_name: "Sub-Program"
172
+ mergeability: not_mergeable
173
+ domain_flavors: ["sba_program"]
174
+ examples: ["Guaranty", "Sec. 504 - Loan Guarantees - Private Sector Financed"]
175
+ passive: true
176
+
177
+ - name: "naics_code"
178
+ type: string
179
+ description: "North American Industry Classification System code (typically 6 digits) identifying the industry of work performed under a contract (e.g., \"524114\" for Direct Health and Medical Insurance Carriers)"
180
+ display_name: "NAICS code"
181
+ mergeability: not_mergeable
182
+ domain_flavors: ["industry"]
183
+ examples: ["531390", "721110"]
184
+ passive: true
185
+
186
+ - name: "naics_description"
187
+ type: string
188
+ description: "Human-readable name of the NAICS industry (e.g., \"DIRECT HEALTH AND MEDICAL INSURANCE CARRIERS\")"
189
+ display_name: "NAICS description"
190
+ mergeability: not_mergeable
191
+ domain_flavors: ["industry"]
192
+ examples: ["Other Activities Related to Real Estate", "Hotels (except Casino Hotels) and Motels"]
193
+ passive: true
194
+
195
+ - name: "franchise_name"
196
+ type: string
197
+ description: "Name of the franchise if the borrower is a franchisee"
198
+ display_name: "Franchise Name"
199
+ mergeability: not_mergeable
200
+ domain_flavors: ["sba_loan"]
201
+ passive: true
202
+
203
+ - name: "business_type"
204
+ type: string
205
+ description: "Legal structure of the borrowing business"
206
+ display_name: "Business Type"
207
+ mergeability: not_mergeable
208
+ domain_flavors: ["sba_loan"]
209
+ examples: ["CORPORATION", "LLC", "PARTNERSHIP"]
210
+ passive: true
211
+
212
+ - name: "business_age"
213
+ type: string
214
+ description: "Age category of the borrowing business at time of loan"
215
+ display_name: "Business Age"
216
+ mergeability: not_mergeable
217
+ domain_flavors: ["sba_loan"]
218
+ examples: ["Existing or more than 2 years old", "New Business or 2 years or less"]
219
+ passive: true
220
+
221
+ - name: "loan_status"
222
+ type: string
223
+ description: "Current status of the loan"
224
+ display_name: "Loan Status"
225
+ mergeability: not_mergeable
226
+ domain_flavors: ["sba_loan"]
227
+ examples: ["LIQUID", "P I F", "CHGOFF", "EXEMPT"]
228
+ passive: true
229
+
230
+ - name: "paid_in_full_date"
231
+ type: string
232
+ description: "Date the loan was paid in full"
233
+ display_name: "Paid in Full Date"
234
+ mergeability: not_mergeable
235
+ domain_flavors: ["sba_loan"]
236
+ passive: true
237
+
238
+ - name: "chargeoff_date"
239
+ type: string
240
+ description: "Date the loan was charged off"
241
+ display_name: "Charge-Off Date"
242
+ mergeability: not_mergeable
243
+ domain_flavors: ["sba_loan"]
244
+ passive: true
245
+
246
+ - name: "gross_chargeoff_amount"
247
+ type: float
248
+ description: "Gross charge-off amount in dollars"
249
+ display_name: "Gross Charge-Off Amount"
250
+ mergeability: not_mergeable
251
+ domain_flavors: ["sba_loan"]
252
+ passive: true
253
+
254
+ - name: "revolver_status"
255
+ type: string
256
+ description: "Whether the loan is a revolving line of credit (7(a) only)"
257
+ display_name: "Revolver Status"
258
+ mergeability: not_mergeable
259
+ domain_flavors: ["sba_loan"]
260
+ passive: true
261
+
262
+ - name: "jobs_supported"
263
+ type: float
264
+ description: "Number of jobs supported by the loan"
265
+ display_name: "Jobs Supported"
266
+ mergeability: not_mergeable
267
+ domain_flavors: ["sba_loan"]
268
+ examples: ["9", "250"]
269
+ passive: true
270
+
271
+ - name: "third_party_dollars"
272
+ type: float
273
+ description: "Third-party lender contribution in dollars (504 only)"
274
+ display_name: "Third-Party Dollars"
275
+ mergeability: not_mergeable
276
+ domain_flavors: ["sba_loan"]
277
+ passive: true
278
+
279
+ - name: "sba_district_office"
280
+ type: string
281
+ description: "SBA district office that processed the loan"
282
+ display_name: "SBA District Office"
283
+ mergeability: not_mergeable
284
+ domain_flavors: ["sba_loan"]
285
+ passive: true
286
+
287
+ - name: "congressional_district"
288
+ type: string
289
+ description: "Congressional district of the project"
290
+ display_name: "Congressional District"
291
+ mergeability: not_mergeable
292
+ domain_flavors: ["sba_loan"]
293
+ passive: true
294
+
295
+ # Organization properties
296
+ - name: "address"
297
+ type: string
298
+ description: "Physical street address of the entity"
299
+ display_name: "Address"
300
+ mergeability: not_mergeable
301
+ domain_flavors: ["organization"]
302
+ examples: ["11851 Wentling Ave, BATON ROUGE, LA 70816"]
303
+ passive: true
304
+
305
+ - name: "fdic_certificate_number"
306
+ type: string
307
+ description: "FDIC Certificate Number uniquely identifying an insured institution, derived from the CERT field in the Institutions API"
308
+ display_name: "FDIC Certificate Number"
309
+ mergeability: not_mergeable
310
+ domain_flavors: ["organization"]
311
+ passive: true
312
+
313
+ - name: "ncua_number"
314
+ type: string
315
+ description: "NCUA charter number identifying a credit union"
316
+ display_name: "NCUA Number"
317
+ mergeability: not_mergeable
318
+ domain_flavors: ["organization"]
319
+ passive: true
320
+
321
+ relationships:
322
+ - name: "borrower_of"
323
+ description: "An organization is the borrower, applicant, or account party on a financial instrument such as a letter of credit, loan, or bond issue."
324
+ display_name: "Borrower Of"
325
+ mergeability: not_mergeable
326
+ domain_flavors: ["organization"]
327
+ target_flavors: ["sba_loan"]
328
+ examples: ["Title2Land, L.L.C. is borrower of SBA 7a Loan 317954"]
329
+ passive: true
330
+
331
+ - name: "lender_of"
332
+ description: "An organization (bank, CDC, or third-party lender) is the lender on an SBA loan"
333
+ display_name: "Lender Of"
334
+ mergeability: not_mergeable
335
+ domain_flavors: ["organization"]
336
+ target_flavors: ["sba_loan"]
337
+ examples: ["Newtek Small Business Finance, Inc. is lender of SBA 7a Loan 317954"]
338
+ passive: true
339
+
340
+ - name: "in_program"
341
+ description: "The SBA program/sub-program under which this loan was made"
342
+ display_name: "In Program"
343
+ mergeability: not_mergeable
344
+ domain_flavors: ["sba_loan"]
345
+ target_flavors: ["sba_program"]
346
+ passive: true
347
+
348
+ - name: "in_industry"
349
+ description: "The industry (NAICS) classification of the work performed under this contract or IDV"
350
+ display_name: "In industry (NAICS)"
351
+ mergeability: not_mergeable
352
+ domain_flavors: ["organization"]
353
+ target_flavors: ["industry"]
354
+ passive: true
355
+
356
+ - name: "project_is_located_at"
357
+ description: "Geographic location of the SBA loan's project"
358
+ display_name: "Project Located At"
359
+ mergeability: not_mergeable
360
+ domain_flavors: ["sba_loan"]
361
+ target_flavors: ["location"]
362
+ examples: ["SBA 7a Loan 317954 is located at EAST BATON ROUGE, LA"]
363
+ passive: true
364
+
365
+ attributes:
366
+ - properties: ["lender_of"]
367
+ name: "lender_type"
368
+ type: string
369
+ description: "Type of lender in the loan (primary, cdc, third_party)"
370
+ display_name: "Lender Type"
371
+ mergeability: not_mergeable
372
+ examples: ["primary", "cdc", "third_party"]
373
+
374
+ - properties: ["lender_of"]
375
+ name: "lender_amount"
376
+ type: float
377
+ description: "Dollar amount lent by this lender"
378
+ display_name: "Lender Amount"
379
+ mergeability: not_mergeable
380
+ examples: ["450000", "810000", "1334500"]