-
Notifications
You must be signed in to change notification settings - Fork 0
Home
MatchAPI is a JSON Schema-based format for describing financial messaging APIs in a structured, machine-readable way.
A MatchAPI dictionary describes API messages, fields, data types, components, repeating groups, references, variants, documentation, and change information so that people and tools can understand an API consistently.
This Wiki reflects the latest documentation synced from the main branch of the MatchAPI schema repository. For documentation matching an older schema release, browse the corresponding repository tag and read:
docs/wiki/
The Wiki is explanatory documentation. The official JSON Schema remains the normative source for schema validation.
Start here:
This path explains how to read a dictionary, find messages, follow references, and understand fields and data types.
Start here:
This path focuses on parsing, indexing, key handling, reference resolution, semantic validation, and round-tripping.
Start here:
- Publisher Guide
- Validation
- References and Keys
- Versioning and Compatibility
- Licensing and Attribution
This path focuses on producing dictionaries that are valid, consistent, safe to publish, and easy for consumers to use.
- Getting Started – first steps for developers receiving a MatchAPI dictionary.
- User Guide – practical tour of the document structure and main modeling patterns.
- Core Concepts – concise explanation of the main concepts in MatchAPI Core.
- References and Keys – how identity, uniqueness, defaults, and reference resolution work.
- Examples – small valid examples showing common modeling patterns.
- Consumer Guide – guidance for tools that read MatchAPI dictionaries.
- Publisher Guide – guidance for organisations publishing dictionaries.
- Validation – schema validation and semantic consistency checks.
- Versioning and Compatibility – schema versions, dictionary versions, protocol versions, and compatibility impact.
- Licensing and Attribution – licensing, attribution, branding, and compliance language.
- FAQ – common questions from prospective adopters and implementers.
A MatchAPI dictionary can describe:
- messages;
- fields;
- data types;
- components;
- repeating groups;
- enum values;
- message direction;
- field presence in each context;
- content ordering and alternatives;
- variants;
- categories and sections;
- documentation;
- additional data;
- change logs.
The format is intended to be protocol-neutral. It can be used for FIX-style APIs, proprietary protocols, JSON-based APIs, binary APIs, and other financial messaging interfaces.
A dictionary should first validate against the official JSON Schema. Production use should also apply semantic checks, including:
- primary key uniqueness;
- alternate key uniqueness;
- reference resolution;
- enum value consistency;
- variant consistency;
- group cardinality;
- change log and compatibility review.
See Validation for details.
MatchAPI separates definitions from references.
For example, a field is defined once in content.fields. A message then references that field from its content and specifies how the field is used in that message.
This separation allows a dictionary to describe reusable API elements without duplicating the same definitions across every message.