My App

Schema Reference

Complete reference for all SFRS schema fields

Complete reference for the SFRS v0.1 JSON Schema.

Root Object

FieldTypeRequiredDescription
sfrsobjectYesSchema version and metadata
filingobjectYesEntity, period, and framework
factsobjectYesAll financial facts
dimensionsobjectNoSegment breakdowns
notesobjectNoFootnote disclosures
extensionsobjectNoPre-approved extensions

sfrs Object

{
  "sfrs": {
    "version": "0.1",
    "generatedAt": "2025-03-15T14:30:00Z",
    "generator": "Your Filing Tool v1.0",
    "checksum": "sha256:a3f2b8c9..."
  }
}
FieldTypeRequiredDescription
versionstringYesMust be "0.1"
generatedAtstringYesISO 8601 timestamp
generatorstringNoSoftware that created the filing
checksumstringNoSHA-256 hash of facts object

filing.entity Object

{
  "entity": {
    "lei": "5493001KJTIIGC8Y1R12",
    "name": "Acme Technology Corporation",
    "jurisdiction": "US-DE",
    "fiscalYearEnd": "--12-31",
    "cik": "0001234567",
    "ticker": "ACME",
    "exchange": "XNAS"
  }
}
FieldTypeRequiredPatternDescription
leistringYes^[A-Z0-9]{20}$Legal Entity Identifier (ISO 17442)
namestringYes-Legal entity name
jurisdictionstringYes^[A-Z]{2}(-[A-Z0-9]{1,3})?$ISO 3166 country/subdivision
fiscalYearEndstringNo^--[0-9]{2}-[0-9]{2}$Month-day (e.g., --12-31)
cikstringNo^[0-9]{10}$SEC Central Index Key
tickerstringNo^[A-Z]{1,5}$Stock ticker symbol
exchangestringNo-MIC code of primary exchange

filing.period Object

Either instant or duration is required:

// Instant (balance sheet date)
{ "period": { "instant": "2024-12-31" } }

// Duration (income statement period)
{
  "period": {
    "duration": {
      "start": "2024-01-01",
      "end": "2024-12-31"
    }
  }
}

filing.auditor Object

{
  "auditor": {
    "name": "Big Four LLP",
    "pcaobId": "1234",
    "opinion": "unqualified",
    "opinionDate": "2025-02-28"
  }
}
FieldTypeDescription
namestringAudit firm name
pcaobIdstringPCAOB registration number
opinionenumunqualified, qualified, adverse, disclaimer
opinionDatestringDate of audit opinion (YYYY-MM-DD)

Fact Object

Every fact has this structure:

{
  "revenue": {
    "value": 4850000000,
    "unit": "USD",
    "decimals": -6,
    "confidence": "exact",
    "source": "Note 2"
  }
}
FieldTypeRequiredDescription
valuenumber/string/boolean/nullYesThe fact value
unitstringNoISO 4217 currency or unit
decimalsintegerNoPrecision (-10 to 10)
periodOverrideobjectNoOverride filing period
confidenceenumNoexact, estimated, restated
sourcestringNoReference to source

decimals Field

ValueMeaningExample
-6Millions4,850,000,000 shown as 4850
-3Thousands4,850,000 shown as 4850
0Whole numbersExact integer
2Cents3.24 (two decimal places)

Dimension Object

{
  "dimensions": {
    "revenueBySegment": {
      "axis": "segment",
      "members": [
        {
          "name": "Cloud Services",
          "facts": {
            "revenue": { "value": 2180000000, "unit": "USD", "decimals": -6 }
          }
        }
      ]
    }
  }
}
FieldTypeRequiredDescription
axisstringYesDimension type (segment, geography, product)
membersarrayYesArray of dimension members
members[].namestringYesMember name
members[].factsobjectYesFacts for this member

Extension Object

{
  "extensions": {
    "cryptoAssetsHeld": {
      "extensionApprovalId": "EXT-SEC-2025-000123",
      "definition": "Digital assets held at fair value",
      "parentConcept": "otherNoncurrentAssets",
      "value": { "value": 50000000, "unit": "USD", "decimals": -6 }
    }
  }
}
FieldTypeRequiredPatternDescription
extensionApprovalIdstringYes^EXT-[A-Z]{2,4}-[0-9]{4}-[0-9]{6}$Regulator approval ID
definitionstringYes-Human-readable definition
parentConceptstringNo-Nearest standard SFRS concept
valueobjectYes-The fact value

On this page