@yottagraph-app/data-model-skill 0.0.14 → 0.0.15

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yottagraph-app/data-model-skill",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "Data model skill documentation for AI agents - entity types, properties, and schemas from Lovelace fetch sources",
5
5
  "repository": {
6
6
  "type": "git",
@@ -51,6 +51,16 @@ Each SEC form type is a separate flavor, namespaced under `sec`. All share the s
51
51
  | `sec::sc_13g` | SC 13G | Beneficial ownership report (passive) |
52
52
  | `sec::13f_hr` | 13F-HR | Institutional investment manager holdings |
53
53
  | `sec::def_14a` | DEF 14A | Definitive proxy statement |
54
+ | `sec::6_k` | 6-K | Foreign private issuer current report (XBRL only, no form download) |
55
+ | `sec::40_f` | 40-F | Canadian cross-border annual report (XBRL only, no form download) |
56
+ | `sec::filing` | SEC Filing | Generic filing — defined in `schema.yaml` but **never produced**: `SecFormFlavor()` returns `""` for unmodeled forms, causing them to be skipped in `AtomizeFilingsV2` |
57
+
58
+ ### `industry`
59
+
60
+ A Standard Industrial Classification (SIC) category assigned by the SEC.
61
+
62
+ - Primary key: `sic_code`
63
+ - Entity resolver: named entity. Strong ID = `sic_code`.
54
64
 
55
65
  ### Sub-Records (8-K Events, Form 4 Transactions, Form 3 Holdings)
56
66
 
@@ -84,7 +94,7 @@ organization --[filed]--> 8-K filing --[linked, distance 1]--> event sub-records
84
94
  A corporate insider (officer, director, or significant owner) from Form 3 or Form 4.
85
95
 
86
96
  - Primary key: `person_cik` when available; otherwise named entity resolution.
87
- - Entity resolver: named entity, mergeable. Strong ID = `person_cik` when present.
97
+ - Entity resolver: named entity, not mergeable. Strong ID = `person_cik` when present.
88
98
 
89
99
  ### `financial_instrument`
90
100
 
@@ -178,12 +188,28 @@ The six core financial properties appear on both the **organization** and its **
178
188
  * `total_liabilities` — Sum of all liabilities. May be computed fallback. Unit: USD. On: organization + document
179
189
  * `shareholders_equity` — Total stockholders' equity. Unit: USD. On: organization + document
180
190
  * `shares_outstanding` — Common shares outstanding. Unit: shares. On: organization + document
181
- * `eps_basic` — Basic earnings per share (10-K only). Unit: USD. On: document only
182
- * `eps_diluted` — Diluted earnings per share (10-K only). Unit: USD. On: document only
191
+ * `eps_basic` — Basic earnings per share. Unit: USD. On: document only (10-K, 10-Q, 20-F)
192
+ * `eps_diluted` — Diluted earnings per share. Unit: USD. On: document only (10-K, 10-Q, 20-F)
183
193
  * `entity_shell_company` — Whether the entity is a shell company. Values: `"true"`, `"false"`. On: organization only
184
194
  * `reporting_currency` — ISO 4217 currency code (20-F only). Examples: `"JPY"`, `"EUR"`. On: document only
185
195
  * `country_of_incorporation` — Country of incorporation (20-F only). Examples: `"Japan"`, `"Israel"`. On: document only
186
196
 
197
+ #### DEI Cover Page Properties (source: `edgar_10k`, `edgar_10q`)
198
+
199
+ Data source: iXBRL DEI (Document and Entity Information) cover page elements. On organization only unless noted.
200
+
201
+ * `entity_number_of_employees` — Workforce size (10-K only). Unit: count
202
+ * `entity_filer_category_dei` — Filer category from DEI. Examples: `"Large Accelerated Filer"`, `"Non-accelerated Filer"`
203
+ * `entity_small_business` — Whether the entity is a smaller reporting company. Values: `"true"`, `"false"`
204
+ * `entity_emerging_growth_company` — Whether the entity is an emerging growth company (JOBS Act). Values: `"true"`, `"false"`
205
+ * `entity_voluntary_filers` — Voluntary vs mandatory filer status (10-K only). Values: `"Yes"`, `"No"`
206
+ * `entity_well_known_seasoned_issuer` — WKSI flag — shelf registration eligible (10-K only). Values: `"Yes"`, `"No"`
207
+ * `entity_tax_id_number` — IRS tax identification number from DEI (10-K only)
208
+ * `security_12b_title` — Title of listed security class. Example: `"Common Stock, $0.00001 par value per share"`
209
+ * `entity_listing_exchange` — Securities exchange from DEI. Examples: `"NASDAQ"`, `"NYSE"`
210
+ * `document_fiscal_period_focus` — Fiscal period. Values: `"FY"`, `"Q1"`, `"Q2"`, `"Q3"`. On: organization + document
211
+ * `entity_incorporation_state_dei` — State or country of incorporation from DEI (cross-check vs submissions API)
212
+
187
213
  #### 8-K Corporate Events (source: `edgar_8k`)
188
214
 
189
215
  Data source: 8-K current report filings.
@@ -225,6 +251,9 @@ Data source: SC 13D/G XML filings. Properties on the filer organization.
225
251
  * `shares_declared` — Shares by individual group member. Unit: shares
226
252
  * `ownership_percent` — Percentage by individual member or SC 13G filer
227
253
  * `investment_purpose` — Stated purpose from Item 4. Examples: `"Investment"`, `"Strategic investment"`
254
+ * `intends_to_buy_more` — Filer stated intent to acquire additional shares. Float: `1.0` when true (only stored when true)
255
+ * `intends_to_sell_all` — Filer stated intent to dispose of all shares. Float: `1.0` when true (only stored when true)
256
+ * `intends_to_influence` — Filer stated intent to influence board or management. Float: `1.0` when true (only stored when true)
228
257
  * `is_passive_investor` — Always `1.0` on SC 13G records
229
258
  * `aggregate_amount_beneficially_owned` — Total shares beneficially owned. Unit: shares
230
259
  * `sole_voting_power` / `shared_voting_power` — Sole/shared voting authority. Unit: shares
@@ -242,6 +271,10 @@ Data source: co-registrant entries and EX-21 exhibit subsidiary tables.
242
271
  * `is_part_of` — Relationship: subsidiary → parent
243
272
  * `citizenship_or_state_of_organization` — Subsidiary jurisdiction (EX-21 only)
244
273
 
274
+ #### 8-K Counterparties (source: `edgar_8k`)
275
+
276
+ * `relationship_type` — Relationship between a counterparty organization and the issuer from 8-K (e.g. `"acquirer"`, `"creditor"`). On: counterparty organization entity
277
+
245
278
  ### Document Properties
246
279
 
247
280
  #### Filing Metadata (all pipelines)
@@ -279,6 +312,8 @@ Data source: Form 3/4 XML.
279
312
 
280
313
  * `person_cik` — SEC CIK for the reporting person (10-digit zero-padded). From `<rptOwnerCik>`.
281
314
  * `job_title` — Officer title. Examples: `"Chief Executive Officer"`, `"Director"`. From `<officerTitle>`.
315
+ * `owner_address` — Reporting owner address from Form 3/4 XML (city, state)
316
+ * `change_type` — Type of officer/director change from 8-K Item 5.02 (source: `edgar_8k`, not Form 3/4). Examples: `"appointed"`, `"resigned"`, `"terminated"`
282
317
  * `is_officer` — Relationship: person → organization (when `<isOfficer>1`)
283
318
  * `is_director` — Relationship: person → organization (when `<isDirector>1`)
284
319
  * `is_ten_percent_owner` — Relationship: person → organization (when `<isTenPercentOwner>1`)
@@ -303,13 +338,18 @@ Data source: Form 3/4 XML.
303
338
  * `price_per_share` — Transaction price. Unit: USD
304
339
  * `shares_owned_after` — Post-transaction shares. Unit: shares
305
340
  * `exercise_price` — Derivative exercise price (USD, derivatives only)
341
+ * `underlying_security_type` — Title of the underlying security for derivative holdings
342
+ * `underlying_security_shares` — Shares of the underlying security for derivative holdings. Unit: shares
306
343
  * `direct_or_indirect_ownership` — `"Direct"` or `"Indirect"`
307
344
  * `is_10b5_1_plan` — `"true"` when under a Rule 10b5-1 plan
345
+ * `equity_swap_involved` — Whether the transaction involves an equity swap. Values: `"true"`, `"false"`
346
+ * `footnote_text` — Footnote text providing transaction context (plan details, vesting schedules)
347
+ * `insider_trade_event` — Derived event classification. Values: `"INSIDER_BUY"`, `"INSIDER_SELL"`
308
348
 
309
349
  #### DEF 14A Proxy (source: `edgar_def_14a`)
310
350
 
311
351
  * `board_committee` — Committee membership. Examples: `"Audit"`, `"Compensation"`
312
- * `is_independent` — Independence classification. Values: `"true"`, `"false"`
352
+ * `is_independent` — Independence classification. Float: `1.0` = independent, `0.0` = not independent
313
353
  * `director_since` — Year. Example: `"2018"`
314
354
  * `total_compensation` — Summary Compensation Table total. Unit: USD
315
355
  * `board_size` — Number of directors (also on document)
@@ -331,6 +371,8 @@ Data source: 13F-HR XML information table.
331
371
  * `put_call` — `"PUT"`, `"CALL"`, or empty for equity
332
372
  * `voting_authority_sole` / `voting_authority_shared` / `voting_authority_none` — Voting authority breakdown. Unit: shares
333
373
  * `investment_discretion` — `"SOLE"`, `"DFND"`, or `"OTR"` (on organization)
374
+ * `report_period_date` — Quarter-end date for the 13F-HR report period (YYYY-MM-DD). On: document only
375
+ * `confidential_treatment_flag` — Whether the manager requested confidential treatment. On: document only
334
376
  * `holds_position` — Relationship: investment manager → financial instrument
335
377
 
336
378
  ---
@@ -342,10 +384,12 @@ Data source: 13F-HR XML information table.
342
384
  ```
343
385
  organization ──[filed]────────────────────→ document
344
386
  organization ──[filing_reference]─────────→ document
387
+ organization ──[is_issuer_of]─────────────→ document (Forms 3/4, SC 13D/G: issuer → ownership filing)
345
388
  organization ──[owns_stake_in]────────────→ organization (SC 13D/G)
346
389
  organization ──[has_subsidiary]───────────→ organization (co-registrant, EX-21)
347
390
  organization ──[is_part_of]───────────────→ organization (subsidiary → parent)
348
391
  organization ──[holds_position]───────────→ financial_instrument (13F-HR)
392
+ organization ──[issues_security]──────────→ financial_instrument (SC 13D/G: issuer → CUSIP)
349
393
  document ──[issued_by]────────────────→ organization
350
394
  document ──[refers_to]────────────────→ organization
351
395
  document ──[filer]────────────────────→ organization (SC 13D/G)
@@ -357,6 +401,7 @@ person ──[is_officer]─────────────
357
401
  person ──[is_director]──────────────→ organization
358
402
  person ──[is_ten_percent_owner]─────→ organization
359
403
  person ──[works_at]─────────────────→ organization
404
+ person ──[owns_stake_in]────────────→ organization (SC 13D/G: person beneficial owner)
360
405
  person ──[filing_reference]─────────→ document
361
406
  financial_instrument ──[filing_reference]─────────→ document
362
407
  ```
@@ -647,7 +647,7 @@ properties:
647
647
  description: "Total revenues (USD). XBRL: us-gaap:Revenues"
648
648
  display_name: "Revenues"
649
649
  mergeability: not_mergeable
650
- domain_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "organization"]
650
+ domain_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "sec::def_14a", "organization"]
651
651
  passive: true
652
652
 
653
653
  - name: "us_gaap:net_income_loss"
@@ -655,7 +655,7 @@ properties:
655
655
  description: "Net income or loss (USD). XBRL: us-gaap:NetIncomeLoss"
656
656
  display_name: "Net Income/Loss"
657
657
  mergeability: not_mergeable
658
- domain_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "organization"]
658
+ domain_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "sec::def_14a", "organization"]
659
659
  passive: true
660
660
 
661
661
  - name: "us_gaap:operating_income_loss"
@@ -799,7 +799,7 @@ properties:
799
799
  description: "Profit or loss including noncontrolling interest (USD). XBRL: us-gaap:ProfitLoss"
800
800
  display_name: "Profit/Loss"
801
801
  mergeability: not_mergeable
802
- domain_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "organization"]
802
+ domain_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "sec::def_14a", "organization"]
803
803
  passive: true
804
804
 
805
805
  - name: "us_gaap:cogs"
@@ -815,7 +815,7 @@ properties:
815
815
  description: "Depreciation, depletion and amortization (USD). XBRL: us-gaap:DepreciationDepletionAndAmortization"
816
816
  display_name: "D&A"
817
817
  mergeability: not_mergeable
818
- domain_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "organization"]
818
+ domain_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "sec::def_14a", "organization"]
819
819
  passive: true
820
820
 
821
821
  - name: "us_gaap:interest_expense"
@@ -823,7 +823,7 @@ properties:
823
823
  description: "Interest expense (USD). XBRL: us-gaap:InterestExpense"
824
824
  display_name: "Interest Expense"
825
825
  mergeability: not_mergeable
826
- domain_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "organization"]
826
+ domain_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "sec::def_14a", "organization"]
827
827
  passive: true
828
828
 
829
829
  - name: "us_gaap:interest_expense_nonoperating"
@@ -1067,7 +1067,7 @@ properties:
1067
1067
  description: "Income tax expense or benefit (USD). XBRL: us-gaap:IncomeTaxExpenseBenefit"
1068
1068
  display_name: "Income Tax Expense"
1069
1069
  mergeability: not_mergeable
1070
- domain_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "organization"]
1070
+ domain_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "sec::def_14a", "organization"]
1071
1071
  passive: true
1072
1072
 
1073
1073
  - name: "us_gaap:operating_expenses"