Skip to content
lmodelPublic

About

FIX Simple Binary Encoding (SBE) 1.0 and 2.0 RC3 (LinkML)

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Copier Badge

fix-sbe

Build and test Licence OpenSSF Scorecard KTL scorecard

FIX Simple Binary Encoding (SBE) 1.0 and 2.0 RC3 (LinkML)

Only want to ask? Install ktl-docent into any agent you use, by a route from the install page, and ask it about this project. It answers from the bundle and says how far each answer has been checked.

Agents: if .lokf/knowledge/index.md exists, read it first. llms.txt says how to weigh it.

Documentation Website

https://lmodel.github.io/fix-sbe

What it models

The schema describes a message schema of FIX Simple Binary Encoding, in the two editions FIX publishes. They are the 1.0 Technical Standard with its November 2020 errata, and 2.0 Release Candidate 3 as it stood in September 2026, which has a different wire format. It covers encodings, message templates, fields, groups and variable-length data, and the rules the specification states about them.

upstream/ holds FIX's XSDs and examples, pinned by hash, and scripts/sbe_xml_to_yaml.py turns an SBE document in XML into the record the model describes. docs/about.md says how the schema reads SBE and what it leaves out.

Mappings

  • lmodel/fix-orchestra: each element maps to the class FIX's own transposer carries it to, with close_mappings, or related_mappings for a set and a choice, which it does not carry. A composite's members, a ref among them, map to a field, as the transposer makes them. tests/test_mappings.py lists them.

Repository Structure

  • docs/: the website's own pages
  • project/: generated project files (do not edit them)
  • scripts/: the converter from XML and the upstream watch
  • src/fix_sbe/schema/: the LinkML schema, which you edit
  • src/fix_sbe/datamodel/: the generated Python datamodel
  • tests/: Python tests, with example data in data/ and the neighbours' adapt copies in neighbours/
  • upstream/: FIX's XSDs, examples and licences, and the conformance suite's schemas, unchanged
  • website/: the Hugo site built from the README, docs/, the schema's pages and the knowledge bundle

Developer Tools

Run just to list the project's just recipes.

Knowledge Trust Ladder (KTL)

.lokf/ holds this project's KTL knowledge bundle. Its domain schema, .lokf/schema/fix_sbe.yaml, is the copy just lokf-adapt writes from src/fix_sbe/schema/fix_sbe.yaml, and just lokf-adapt-check says when it is stale. Edit the source, never the copy.

The copy roots a message schema and a message template of each edition on Concept. A schema's concept holds its messages inline, each as a concept with its own id, type, title and description. In Obsidian, add these to the KTL plugins' Known LOKF types setting:

SbeMessageSchemaV1, SbeMessageSchemaV2, SbeMessageV1, SbeMessageV2

description folds into LOKF's, and no other key needs renaming. tests/test_schema_rules.py keeps the copy's keys apart from LOKF and the released copies in tests/neighbours/.

License

The schema and the code are under the Apache License 2.0 (LICENSE), and the knowledge bundle in .lokf/knowledge/ is under CC BY 4.0.

FIX's own files in upstream/ keep their licences: CC BY-ND 4.0 for the specification's XSDs and examples, and Apache-2.0 for the conformance suite. NOTICE states the position, and this project is not endorsed by FIX Protocol Limited.

Contributing and security

CONTRIBUTING.md is the checklist for pull requests and releases, AI_COVENANT.md sets the rules for AI-assisted work, SECURITY.md says how to report a vulnerability, and CHANGELOG.md records the changes.

Credits

Built from the linkml-project-copier template (doi:10.5281/zenodo.15163584).

About

FIX Simple Binary Encoding (SBE) 1.0 and 2.0 RC3 (LinkML)

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages