fix-sbe
Theme
Text size
GitHub Menu

Class in FIX Simple Binary Encoding (SBE)

SbeMessageSchemaV2

One SBE 2.0 message schema, with its encodings and message templates.

URI: fix_sbe:class/SbeMessageSchemaV2

 classDiagram
    class SbeMessageSchemaV2
    click SbeMessageSchemaV2 href "../../classes/SbeMessageSchemaV2/"
      SbeMessageSchemaV2 : byte_order
        
          
    
        
        
        SbeMessageSchemaV2 --> "0..1" SbeByteOrder : byte_order
        click SbeByteOrder href "../../enums/SbeByteOrder/"
    

        
      SbeMessageSchemaV2 : description
        
      SbeMessageSchemaV2 : encoding_sets
        
          
    
        
        
        SbeMessageSchemaV2 --> "1..*" SbeEncodingSetV2 : encoding_sets
        click SbeEncodingSetV2 href "../../classes/SbeEncodingSetV2/"
    

        
      SbeMessageSchemaV2 : header_type
        
      SbeMessageSchemaV2 : message_sets
        
          
    
        
        
        SbeMessageSchemaV2 --> "1..*" SbeMessageSetV2 : message_sets
        click SbeMessageSetV2 href "../../classes/SbeMessageSetV2/"
    

        
      SbeMessageSchemaV2 : sbe_id
        
      SbeMessageSchemaV2 : schema_package
        
      SbeMessageSchemaV2 : schema_version
        
      SbeMessageSchemaV2 : semantic_version
        
      

Slots#

NameCardinality and RangeDescriptionInheritance
schema_package0..1
String
The name or category that a set of counterparties knows this schema or part o…direct
sbe_id0..1
Integer
The number that identifies this schema between counterpartiesdirect
schema_version1
Integer
The version of this message schema, starting at zerodirect
semantic_version0..1
String
The version of FIX whose meanings this schema usesdirect
description0..1
String
Free text about this element, for the people who read the schemadirect
byte_order0..1
SbeByteOrder
How the octets of every number in this schema’s messages are ordereddirect
header_type0..1
SbeSymbolicName
The composite, by name, that sends each message’s header in this schemadirect
encoding_sets1..*
SbeEncodingSetV2
The sets of encodings this schema’s messages usedirect
message_sets1..*
SbeMessageSetV2
The sets of message templates of this schemadirect

Comments#

  • It is not marked as a tree root because a merged schema can have only one, and the final standard’s class takes that place. Name this class when validating a document.

Identifier and Mapping Information#

Annotations#

propertyvalue
xml_elementmessageSchema

Schema Source#

Mappings#

Mapping TypeMapped Value
selffix_sbe:SbeMessageSchemaV2
nativefix_sbe:SbeMessageSchemaV2
closefix_orchestra:OrchestraRepositoryV10

LinkML Source#

Direct#

YAML
name: SbeMessageSchemaV2
annotations:
  xml_element:
    tag: xml_element
    value: messageSchema
description: One SBE 2.0 message schema, with its encodings and message templates.
comments:
- It is not marked as a tree root because a merged schema can have only one, and the
  final standard's class takes that place. Name this class when validating a document.
from_schema: https://w3id.org/lmodel/fix-sbe
close_mappings:
- fix_orchestra:OrchestraRepositoryV10
slots:
- schema_package
- sbe_id
- schema_version
- semantic_version
- description
- byte_order
- header_type
- encoding_sets
- message_sets
slot_usage:
  sbe_id:
    name: sbe_id
    description: The number that identifies this schema between counterparties.
  encoding_sets:
    name: encoding_sets
    range: SbeEncodingSetV2
  message_sets:
    name: message_sets
    range: SbeMessageSetV2

Induced#

YAML
name: SbeMessageSchemaV2
annotations:
  xml_element:
    tag: xml_element
    value: messageSchema
description: One SBE 2.0 message schema, with its encodings and message templates.
comments:
- It is not marked as a tree root because a merged schema can have only one, and the
  final standard's class takes that place. Name this class when validating a document.
from_schema: https://w3id.org/lmodel/fix-sbe
close_mappings:
- fix_orchestra:OrchestraRepositoryV10
slot_usage:
  sbe_id:
    name: sbe_id
    description: The number that identifies this schema between counterparties.
  encoding_sets:
    name: encoding_sets
    range: SbeEncodingSetV2
  message_sets:
    name: message_sets
    range: SbeMessageSetV2
attributes:
  schema_package:
    name: schema_package
    description: The name or category that a set of counterparties knows this schema
      or part of it by.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - package
    rank: 1000
    owner: SbeMessageSchemaV2
    domain_of:
    - SbeMessageSchemaV1
    - SbeMessageSchemaV2
    - SbeEncodingSetV2
    - SbeMessageSetV2
    range: string
  sbe_id:
    name: sbe_id
    annotations:
      xsd_type:
        tag: xsd_type
        value: xs:unsignedShort
    description: The number that identifies this schema between counterparties.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - id
    rank: 1000
    owner: SbeMessageSchemaV2
    domain_of:
    - SbeMessageSchemaV1
    - SbeBlockV1Mixin
    - SbeFieldV1
    - SbeMessageSchemaV2
    - SbeBlockV2Mixin
    - SbeFieldV2
    range: integer
    minimum_value: 0
    maximum_value: 65535
  schema_version:
    name: schema_version
    annotations:
      xsd_type:
        tag: xsd_type
        value: xs:nonNegativeInteger
      sbe_section:
        tag: sbe_section
        value: '4: Schema versioning'
    description: The version of this message schema, starting at zero.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - version
    rank: 1000
    owner: SbeMessageSchemaV2
    domain_of:
    - SbeMessageSchemaV1
    - SbeMessageSchemaV2
    range: integer
    required: true
    minimum_value: 0
  semantic_version:
    name: semantic_version
    description: The version of FIX whose meanings this schema uses.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - semanticVersion
    rank: 1000
    owner: SbeMessageSchemaV2
    domain_of:
    - SbeMessageSchemaV1
    - SbeMessageSchemaV2
    range: string
  description:
    name: description
    description: Free text about this element, for the people who read the schema.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - description
    rank: 1000
    slot_uri: schema:description
    owner: SbeMessageSchemaV2
    domain_of:
    - SbeValidValue
    - SbeChoice
    - SbeMessageSchemaV1
    - SbeEncodingV1
    - SbeBlockV1Mixin
    - SbeFieldV1
    - SbeMessageSchemaV2
    - SbeEncodingSetV2
    - SbeMessageSetV2
    - SbeElementV2
    - SbeBlockV2Mixin
    - SbeFieldV2
    range: string
  byte_order:
    name: byte_order
    description: How the octets of every number in this schema's messages are ordered.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - byteOrder
    rank: 1000
    ifabsent: string(littleEndian)
    owner: SbeMessageSchemaV2
    domain_of:
    - SbeMessageSchemaV1
    - SbeMessageSchemaV2
    range: SbeByteOrder
  header_type:
    name: header_type
    annotations:
      sbe_section:
        tag: sbe_section
        value: '3: Message header schema'
    description: The composite, by name, that sends each message's header in this
      schema.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - headerType
    rank: 1000
    ifabsent: string(messageHeader)
    owner: SbeMessageSchemaV2
    domain_of:
    - SbeMessageSchemaV1
    - SbeMessageSchemaV2
    range: SbeSymbolicName
    pattern: ^[A-Za-z_][0-9A-Za-z_]{0,63}$
  encoding_sets:
    name: encoding_sets
    description: The sets of encodings this schema's messages use.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - types
    rank: 1000
    owner: SbeMessageSchemaV2
    domain_of:
    - SbeMessageSchemaV1
    - SbeMessageSchemaV2
    range: SbeEncodingSetV2
    required: true
    multivalued: true
    inlined: true
    inlined_as_list: true
    minimum_cardinality: 1
  message_sets:
    name: message_sets
    description: The sets of message templates of this schema.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - messages
    rank: 1000
    owner: SbeMessageSchemaV2
    domain_of:
    - SbeMessageSchemaV2
    range: SbeMessageSetV2
    required: true
    multivalued: true
    inlined: true
    inlined_as_list: true
    minimum_cardinality: 1