{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nomior-com/json-schema/nomior-com-sec-filing-schema.json",
  "title": "SecFiling",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/invest-openapi.json#/components/schemas/SecFiling",
  "type": "object",
  "properties": {
    "accession": {
      "type": "string"
    },
    "formType": {
      "type": [
        "string",
        "null"
      ]
    },
    "company": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "fullTicker": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "cik": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "fullTicker",
        "name",
        "cik"
      ],
      "description": "The issuer the filing is about; null for a 13F (see form13f)."
    },
    "filingDate": {
      "type": "string",
      "maxLength": 10,
      "format": "date"
    },
    "acceptedAt": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 40,
      "format": "date-time"
    },
    "reportDate": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 10,
      "format": "date",
      "description": "Period of report (Form 4, 10-Q/10-K, 13F) or event date (13D/G)."
    },
    "eventType": {
      "type": [
        "string",
        "null"
      ],
      "description": "SEC filing index classification, e.g. earnings for an 8-K item 2.02."
    },
    "documentUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "filingUrl": {
      "type": [
        "string",
        "null"
      ],
      "description": "EDGAR filing index."
    },
    "held": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "index",
          "form4",
          "facts",
          "schedule13",
          "form13f"
        ]
      },
      "description": "What Nomior holds for this accession."
    },
    "withheld": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Held parts your plan does not include, with the reason."
    },
    "form4": {
      "type": "object",
      "properties": {
        "owners": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "description": "Reporting owner as filed (individuals LAST FIRST)."
              },
              "displayName": {
                "type": "string"
              },
              "cik": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "officerTitle": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "roles": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "director",
                    "officer",
                    "ten_percent_owner",
                    "other"
                  ]
                }
              }
            },
            "required": [
              "name",
              "displayName",
              "cik",
              "officerTitle",
              "roles"
            ]
          }
        },
        "transactions": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "enum": [
                  "stock",
                  "stock_holding",
                  "derivative",
                  "derivative_holding"
                ],
                "description": "Table I (stock) or Table II (derivative) row: a transaction, or a holding (Form 3 and 5 report holdings; a holding has no date, code or category)."
              },
              "seq": {
                "type": "integer",
                "description": "Position in its table of the document."
              },
              "securityTitle": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "awardKind": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "rsu",
                  "psu",
                  "option",
                  "other",
                  null
                ],
                "description": "Codes A and M, insider-award-kind.v1: rsu (time-vesting restricted or deferred stock units), psu (vesting on performance or shareholder return), option, other (SARs, phantom stock, LTIP units, restricted shares), from the security title and its footnotes; one grant can file RSU and PSU lines of equal title and size. Null: see awardKindReason."
              },
              "awardKindReason": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "not_award",
                  "not_stated",
                  "conflicting_terms",
                  null
                ],
                "description": "Why awardKind is null: not_award (no grant, award or exercise), not_stated (no title or footnote names it), conflicting_terms (footnotes name units and options). Null when awardKind is set."
              },
              "transactionDate": {
                "type": [
                  "string",
                  "null"
                ],
                "maxLength": 10,
                "format": "date"
              },
              "transactionCode": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "category": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "open_market",
                  "equity_comp",
                  "tax_withholding",
                  "gift",
                  "other",
                  null
                ]
              },
              "acquiredDisposed": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "A",
                  "D",
                  null
                ]
              },
              "shares": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "priceUsd": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "priceFlagged": {
                "type": "boolean",
                "description": "True when the filed price is more than 5x above or below that day's close: shares and price as filed, valueUsd null."
              },
              "valueUsd": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "shares × price for stock rows with a plausible positive price; else null."
              },
              "sharesOwnedFollowing": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "directOrIndirect": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "D",
                  "I",
                  null
                ]
              },
              "natureOfOwnership": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "isPreArrangedPlan": {
                "type": "boolean"
              },
              "footnoteIds": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Keys of form4.footnotes."
              },
              "supersededBy": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Accession of the 4/A that restates this row; it no longer counts from then."
              },
              "duplicateOf": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Accession of another filing reporting the same transaction."
              }
            },
            "required": [
              "kind",
              "seq",
              "securityTitle",
              "awardKind",
              "awardKindReason",
              "transactionDate",
              "transactionCode",
              "category",
              "acquiredDisposed",
              "shares",
              "priceUsd",
              "priceFlagged",
              "valueUsd",
              "sharesOwnedFollowing",
              "directOrIndirect",
              "natureOfOwnership",
              "isPreArrangedPlan",
              "footnoteIds",
              "supersededBy",
              "duplicateOf"
            ]
          },
          "description": "Table I transactions and holdings, then Table II, in document order; at most 200."
        },
        "total": {
          "type": "integer",
          "minimum": 0,
          "description": "Rows in the filing; more than listed when the list is cut."
        },
        "footnotes": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Footnote text by id as filed."
        },
        "dateOfOriginalSubmission": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 10,
          "format": "date"
        },
        "aff10b5One": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "required": [
        "owners",
        "transactions",
        "total",
        "footnotes",
        "dateOfOriginalSubmission",
        "aff10b5One"
      ]
    },
    "facts": {
      "type": "object",
      "properties": {
        "fullTicker": {
          "type": "string"
        },
        "total": {
          "type": "integer",
          "minimum": 0,
          "description": "Stored source facts from this filing within the history allowance, every period and dimension."
        },
        "lines": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "lineKey": {
                "type": "string"
              },
              "label": {
                "type": "string"
              },
              "valueText": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Exact decimal as filed; multiply by scale. Null when restricted."
              },
              "reason": {
                "type": "string",
                "enum": [
                  "redistribution_restricted"
                ]
              },
              "unit": {
                "type": "string"
              },
              "scale": {
                "type": "number"
              },
              "periodStart": {
                "type": [
                  "string",
                  "null"
                ],
                "maxLength": 10,
                "format": "date"
              },
              "periodEnd": {
                "type": "string",
                "maxLength": 10,
                "format": "date"
              }
            },
            "required": [
              "lineKey",
              "label",
              "valueText",
              "unit",
              "scale",
              "periodStart",
              "periodEnd"
            ]
          },
          "description": "Undimensioned facts of the filing's latest period end, by lineKey; at most 25."
        },
        "datasets": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Where the facts come from, e.g. sec-fsn-revenue-v1 or sec-companyfacts-v1."
        },
        "attribution": {
          "type": "string"
        },
        "next": {
          "type": "object",
          "properties": {
            "tool": {
              "type": "string"
            },
            "arguments": {
              "type": "object",
              "additionalProperties": {
                "nullable": true
              }
            }
          },
          "required": [
            "tool",
            "arguments"
          ],
          "description": "The call that reads this part in full."
        }
      },
      "required": [
        "fullTicker",
        "total",
        "lines",
        "datasets",
        "attribution",
        "next"
      ],
      "description": "Source financial facts this filing reported for the issuer's listing, as get_company_financial_evidence serves them: SEC Financial Statement and Notes lines (revenue, cost of revenue, segment operating income) and the XBRL company facts behind the financials matrix. Not every line of the filing."
    },
    "schedule13": {
      "type": "object",
      "properties": {
        "formFamily": {
          "type": "string",
          "enum": [
            "13D",
            "13G"
          ]
        },
        "amendmentNo": {
          "type": [
            "integer",
            "null"
          ]
        },
        "holderName": {
          "type": "string"
        },
        "holderDisplayName": {
          "type": "string"
        },
        "holderCik": {
          "type": "string"
        },
        "classTitle": {
          "type": [
            "string",
            "null"
          ]
        },
        "eventDate": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 10,
          "format": "date"
        },
        "percentOfClass": {
          "type": [
            "number",
            "null"
          ],
          "description": "The filer's reported percent of the class (largest across its persons)."
        },
        "percentChange": {
          "type": [
            "number",
            "null"
          ],
          "description": "Points against the previous filing of the same holder and class."
        },
        "shares": {
          "type": [
            "number",
            "null"
          ]
        },
        "exit": {
          "type": "boolean"
        },
        "purpose": {
          "type": [
            "string",
            "null"
          ],
          "description": "Item 4 purpose text as filed."
        },
        "next": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "tool": {
              "type": "string"
            },
            "arguments": {
              "type": "object",
              "additionalProperties": {
                "nullable": true
              }
            }
          },
          "required": [
            "tool",
            "arguments"
          ],
          "description": "The call that reads this part in full."
        }
      },
      "required": [
        "formFamily",
        "amendmentNo",
        "holderName",
        "holderDisplayName",
        "holderCik",
        "classTitle",
        "eventDate",
        "percentOfClass",
        "percentChange",
        "shares",
        "exit",
        "purpose",
        "next"
      ]
    },
    "form13f": {
      "type": "object",
      "properties": {
        "filerName": {
          "type": "string"
        },
        "filerCik": {
          "type": "string"
        },
        "period": {
          "type": "string",
          "maxLength": 10,
          "format": "date"
        },
        "reportType": {
          "type": [
            "string",
            "null"
          ]
        },
        "amendmentType": {
          "type": [
            "string",
            "null"
          ]
        },
        "positions": {
          "type": "integer"
        },
        "valueUsd": {
          "type": [
            "number",
            "null"
          ],
          "description": "Reported value of every position; null when the filed values were withheld."
        },
        "next": {
          "type": "object",
          "properties": {
            "tool": {
              "type": "string"
            },
            "arguments": {
              "type": "object",
              "additionalProperties": {
                "nullable": true
              }
            }
          },
          "required": [
            "tool",
            "arguments"
          ],
          "description": "The call that reads this part in full."
        }
      },
      "required": [
        "filerName",
        "filerCik",
        "period",
        "reportType",
        "amendmentType",
        "positions",
        "valueUsd",
        "next"
      ]
    },
    "related": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "accession": {
            "type": "string"
          },
          "relation": {
            "type": "string",
            "enum": [
              "superseded_by",
              "duplicate_of",
              "previous_in_chain"
            ]
          }
        },
        "required": [
          "accession",
          "relation"
        ]
      }
    },
    "provenance": {
      "type": "object",
      "properties": {
        "source": {
          "type": "string"
        },
        "kind": {
          "type": "string",
          "enum": [
            "regulatory_filing"
          ]
        },
        "formulaVersion": {
          "type": "string"
        },
        "asOf": {
          "type": "string",
          "description": "When the newest held part was stored (ISO 8601 UTC instant)."
        },
        "parsers": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Parser or dataset version per held part."
        },
        "missingDataHandling": {
          "type": "string",
          "enum": [
            "missing"
          ]
        }
      },
      "required": [
        "source",
        "kind",
        "formulaVersion",
        "asOf",
        "parsers",
        "missingDataHandling"
      ]
    }
  },
  "required": [
    "accession",
    "formType",
    "company",
    "filingDate",
    "acceptedAt",
    "reportDate",
    "eventType",
    "documentUrl",
    "filingUrl",
    "held",
    "provenance"
  ]
}