SFRSSFRS

Schema Reference

Field-level reference for the canonical SFRS v2 filing model and its legacy compatibility surface.

This page documents the canonical SFRSV2Filing surface first.

If you are working against the older statement-shaped model, treat it as legacy compatibility and prefer the downloadable examples rather than using it as the design source.

Root Object

FieldTypeRequiredDescription
documentobjectYesCanonical filing metadata
entityobjectYesReporting entity and identifiers
taxonomyRefsarrayYesReferenced taxonomies
contextsarrayYesContext definitions used by facts
unitsarrayYesReusable unit definitions
factsarrayYesCanonical facts
footnotesarrayNoFact-linked footnotes
relationshipsarrayNoSemantic relationships
extensionsarrayNoExtension metadata
viewsobjectNoDerived convenience views

document

{
  "document": {
    "version": "2.0.0",
    "documentType": "filing",
    "profile": "sec-us-gaap-annual",
    "jurisdiction": "US-SEC",
    "sourceFormat": "xbrl",
    "createdAt": "2026-03-10T00:00:00Z",
    "generatedBy": "example-app"
  }
}
FieldTypeRequiredDescription
versionstringYesCanonical schema version, currently 2.0.0
documentTypestringYesCurrently filing
profilestringYesFiling profile such as sec-us-gaap-annual
jurisdictionstringNoJurisdiction marker such as US-SEC
sourceFormatstringNosfrs-json, xbrl, ixbrl, manual, or api
sourceUristringNoSource location if known
createdAtstringYesISO timestamp
generatedBystringNoGenerator or importer name
checksumstringNoOptional document checksum

entity

{
  "entity": {
    "name": "Acme Corporation",
    "jurisdiction": "US-DE",
    "identifiers": [
      { "scheme": "cik", "value": "0001234567" },
      { "scheme": "lei", "value": "5493001KJTIIGC8Y1R12" }
    ]
  }
}
FieldTypeRequiredDescription
namestringYesLegal entity name
jurisdictionstringNoEntity jurisdiction
identifiersarrayYesOne or more identifier objects

Each identifier contains:

FieldTypeRequiredDescription
schemestringYeslei, cik, isin, ticker, or local
valuestringYesIdentifier value

taxonomyRefs

{
  "taxonomyRefs": [
    {
      "name": "us-gaap",
      "version": "2025",
      "namespace": "http://fasb.org/us-gaap/2025"
    }
  ]
}
FieldTypeRequiredDescription
namestringYesTaxonomy name
versionstringYesTaxonomy version
namespacestringNoNamespace URI
entryPointstringNoEntry point URI

contexts

{
  "id": "c_duration_2024",
  "entityIdentifier": "0001234567",
  "period": {
    "startDate": "2024-01-01",
    "endDate": "2024-12-31"
  },
  "dimensions": [
    {
      "axis": "us-gaap:StatementBusinessSegmentsAxis",
      "member": "us-gaap:CloudServicesMember"
    }
  ]
}
FieldTypeRequiredDescription
idstringYesContext ID
entityIdentifierstringNoEntity ID used in source filing
periodobjectYesInstant or duration period
dimensionsarrayNoExplicit or typed dimensions

period may contain:

  • instant
  • startDate
  • endDate

Each dimension may contain:

  • axis
  • member
  • typedValue

units

{
  "id": "u_usd",
  "measures": ["iso4217:USD"]
}
FieldTypeRequiredDescription
idstringYesUnit ID
measuresarrayYesUnit measures
divideByarrayNoDenominator measures for compound units

facts

{
  "id": "f_revenue",
  "concept": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
  "contextRef": "c_duration_2024",
  "unitRef": "u_usd",
  "value": 25000000,
  "decimals": -3
}
FieldTypeRequiredDescription
idstringYesFact ID
conceptstringYesQualified concept name
contextRefstringYesReferenced context ID
unitRefstringNoReferenced unit ID
valueprimitive or nullNoFact value
decimalsnumberNoDeclared decimals
precisionnumberNoDeclared precision
nilbooleanNoNil marker
languagestringNoLanguage for text facts

footnotes

{
  "id": "fn_revenue",
  "factRefs": ["f_revenue"],
  "language": "en",
  "content": "Revenue reflects product and services contracts recognized during fiscal year 2024."
}
FieldTypeRequiredDescription
idstringYesFootnote ID
factRefsarrayYesReferenced fact IDs
languagestringNoLanguage tag
contentstringYesFootnote text

relationships

{
  "arcrole": "calculation",
  "from": "f_liabilities",
  "to": "f_assets",
  "weight": 1
}
FieldTypeRequiredDescription
arcrolestringYesRelationship type
fromstringYesSource node
tostringYesTarget node
ordernumberNoOrdering hint
weightnumberNoCalculation weight

Profiles

The current prerelease profile registry includes:

  • sec-us-gaap-annual
  • ifrs-esef-annual

Profiles are used by validation, export, and package creation.

Legacy Compatibility

Legacy v1 filings are still accepted in parts of the API and codebase, but they are no longer the primary schema reference.

If you need examples for that shape, use:

On this page