@yottagraph-app/data-model-skill 0.0.6 → 0.0.8

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.6",
3
+ "version": "0.0.8",
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",
@@ -126,6 +126,14 @@ flavors:
126
126
  strong_id_properties: ["accession_number"]
127
127
  passive: true
128
128
 
129
+ - name: "filing"
130
+ namespace: "sec"
131
+ description: "SEC filing (generic, for form types without a specific modeled flavor)"
132
+ display_name: "SEC Filing"
133
+ mergeability: not_mergeable
134
+ strong_id_properties: ["accession_number"]
135
+ passive: true
136
+
129
137
  - name: "person"
130
138
  description: "A real person as opposed to a fictional character, such as a CEO, politician, or public figure"
131
139
  display_name: "Person"
@@ -140,6 +148,13 @@ flavors:
140
148
  strong_id_properties: ["cusip_number"]
141
149
  passive: true
142
150
 
151
+ - name: "industry"
152
+ description: "A Standard Industrial Classification (SIC) industry category assigned by the SEC"
153
+ display_name: "Industry"
154
+ mergeability: not_mergeable
155
+ strong_id_properties: ["sic_code"]
156
+ passive: true
157
+
143
158
  # =============================================================================
144
159
  # PROPERTIES — Organization
145
160
  # =============================================================================
@@ -176,7 +191,7 @@ properties:
176
191
  description: "Four-digit Standard Industrial Classification code"
177
192
  display_name: "SIC Code"
178
193
  mergeability: not_mergeable
179
- domain_flavors: ["organization"]
194
+ domain_flavors: ["organization", "industry"]
180
195
  passive: true
181
196
 
182
197
  - name: "sic_description"
@@ -184,7 +199,7 @@ properties:
184
199
  description: "Human-readable SIC code description"
185
200
  display_name: "SIC Description"
186
201
  mergeability: not_mergeable
187
- domain_flavors: ["organization"]
202
+ domain_flavors: ["organization", "industry"]
188
203
  passive: true
189
204
 
190
205
  - name: "state_of_incorporation"
@@ -574,7 +589,7 @@ properties:
574
589
  description: "SEC accession number uniquely identifying a filing"
575
590
  display_name: "Accession Number"
576
591
  mergeability: not_mergeable
577
- domain_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "sec::form_3", "sec::form_4", "sec::sc_13d", "sec::sc_13g", "sec::13f_hr", "sec::def_14a"]
592
+ domain_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "sec::form_3", "sec::form_4", "sec::sc_13d", "sec::sc_13g", "sec::13f_hr", "sec::def_14a", "sec::filing"]
578
593
  passive: true
579
594
 
580
595
  - name: "form_type"
@@ -582,7 +597,7 @@ properties:
582
597
  description: "Normalized SEC form type (e.g. 10-K, SC 13D, 4)"
583
598
  display_name: "Form Type"
584
599
  mergeability: not_mergeable
585
- domain_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "sec::form_3", "sec::form_4", "sec::sc_13d", "sec::sc_13g", "sec::13f_hr", "sec::def_14a"]
600
+ domain_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "sec::form_3", "sec::form_4", "sec::sc_13d", "sec::sc_13g", "sec::13f_hr", "sec::def_14a", "sec::filing"]
586
601
  passive: true
587
602
 
588
603
  - name: "filing_date"
@@ -590,7 +605,7 @@ properties:
590
605
  description: "Date the filing was submitted to the SEC (YYYY-MM-DD)"
591
606
  display_name: "Filing Date"
592
607
  mergeability: not_mergeable
593
- domain_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "sec::form_3", "sec::form_4", "sec::sc_13d", "sec::sc_13g", "sec::13f_hr", "sec::def_14a"]
608
+ domain_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "sec::form_3", "sec::form_4", "sec::sc_13d", "sec::sc_13g", "sec::13f_hr", "sec::def_14a", "sec::filing"]
594
609
  passive: true
595
610
 
596
611
  - name: "report_date"
@@ -598,7 +613,7 @@ properties:
598
613
  description: "End date of the primary reporting period (YYYY-MM-DD)"
599
614
  display_name: "Report Date"
600
615
  mergeability: not_mergeable
601
- domain_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "sec::form_3", "sec::form_4", "sec::sc_13d", "sec::sc_13g", "sec::13f_hr", "sec::def_14a"]
616
+ domain_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "sec::form_3", "sec::form_4", "sec::sc_13d", "sec::sc_13g", "sec::13f_hr", "sec::def_14a", "sec::filing"]
602
617
  passive: true
603
618
 
604
619
  # ── XBRL Financial Facts (key concepts) ──
@@ -1720,8 +1735,16 @@ relationships:
1720
1735
  description: "Link from a company to an SEC filing document it filed, or from a sub-record (event, transaction, holding) to its parent filing"
1721
1736
  display_name: "Filed"
1722
1737
  mergeability: not_mergeable
1723
- domain_flavors: ["organization", "sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "sec::form_3", "sec::form_4", "sec::sc_13d", "sec::sc_13g", "sec::13f_hr", "sec::def_14a"]
1724
- target_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "sec::form_3", "sec::form_4", "sec::sc_13d", "sec::sc_13g", "sec::13f_hr", "sec::def_14a"]
1738
+ domain_flavors: ["organization", "sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "sec::form_3", "sec::form_4", "sec::sc_13d", "sec::sc_13g", "sec::13f_hr", "sec::def_14a", "sec::filing"]
1739
+ target_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "sec::form_3", "sec::form_4", "sec::sc_13d", "sec::sc_13g", "sec::13f_hr", "sec::def_14a", "sec::filing"]
1740
+ passive: true
1741
+
1742
+ - name: "is_issuer_of"
1743
+ description: "Link from an issuer organization to a Section 16 ownership filing (Forms 3/4) where the CIK is the issuer, not the filer. The actual filer (insider) is resolved from the raw document header."
1744
+ display_name: "Is Issuer Of"
1745
+ mergeability: not_mergeable
1746
+ domain_flavors: ["organization"]
1747
+ target_flavors: ["sec::form_3", "sec::form_4", "sec::filing"]
1725
1748
  passive: true
1726
1749
 
1727
1750
  - name: "filing_reference"
@@ -1738,7 +1761,7 @@ relationships:
1738
1761
  description: "Link from a filing to the company it pertains to (the filer for most forms; the issuer for ownership forms)"
1739
1762
  display_name: "Issued By"
1740
1763
  mergeability: not_mergeable
1741
- domain_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "sec::form_3", "sec::form_4", "sec::sc_13d", "sec::sc_13g", "sec::13f_hr", "sec::def_14a"]
1764
+ domain_flavors: ["sec::10_k", "sec::10_q", "sec::20_f", "sec::8_k", "sec::6_k", "sec::40_f", "sec::form_3", "sec::form_4", "sec::sc_13d", "sec::sc_13g", "sec::13f_hr", "sec::def_14a", "sec::filing"]
1742
1765
  target_flavors: ["organization"]
1743
1766
  passive: true
1744
1767
 
@@ -0,0 +1,64 @@
1
+ # Dataset schema for SIC industry classifications derived from SEC EDGAR filings.
2
+ #
3
+ # This schema introduces the `industry` flavor — a Standard Industrial
4
+ # Classification (SIC) category identified by its 4-digit code. Organizations
5
+ # are linked to their industry via the `works_in_industry` relationship.
6
+ #
7
+ # All elements are passive (deterministic extraction from filing headers).
8
+ name: "industries"
9
+ description: "SIC industry classifications linking SEC-registered organizations to their Standard Industrial Classification codes"
10
+
11
+ extraction:
12
+ flavors: closed
13
+ properties: closed
14
+ relationships: closed
15
+ attributes: closed
16
+
17
+ flavors:
18
+ - name: "industry"
19
+ description: "A Standard Industrial Classification (SIC) industry category assigned by the SEC"
20
+ display_name: "Industry"
21
+ mergeability: not_mergeable
22
+ strong_id_properties: ["sic_code"]
23
+ passive: true
24
+
25
+ - name: "organization"
26
+ description: "A particular business, institution, or organization such as a corporation, university, government agency, or non-profit"
27
+ display_name: "Organization"
28
+ mergeability: not_mergeable
29
+ strong_id_properties: ["company_cik"]
30
+ passive: true
31
+
32
+ properties:
33
+ - name: "sic_code"
34
+ type: string
35
+ description: "Four-digit Standard Industrial Classification code"
36
+ display_name: "SIC Code"
37
+ mergeability: not_mergeable
38
+ domain_flavors: ["industry", "organization"]
39
+ passive: true
40
+
41
+ - name: "sic_description"
42
+ type: string
43
+ description: "Human-readable SIC code description"
44
+ display_name: "SIC Description"
45
+ mergeability: not_mergeable
46
+ domain_flavors: ["industry", "organization"]
47
+ passive: true
48
+
49
+ - name: "company_cik"
50
+ type: string
51
+ description: "SEC Central Index Key, 10-digit zero-padded"
52
+ display_name: "CIK"
53
+ mergeability: not_mergeable
54
+ domain_flavors: ["organization"]
55
+ passive: true
56
+
57
+ relationships:
58
+ - name: "works_in_industry"
59
+ description: "Link from an organization to its SIC industry classification"
60
+ display_name: "Works In Industry"
61
+ mergeability: not_mergeable
62
+ domain_flavors: ["organization"]
63
+ target_flavors: ["industry"]
64
+ passive: true