fix-sbe
Theme
Text size
GitHub Menu

Class in FIX Simple Binary Encoding (SBE)

SbeBlockV2Mixin

The body shared by a message and a group entry, which holds its fixed-length fields first, then groups, then variable-length data.

URI: fix_sbe:class/SbeBlockV2Mixin

 classDiagram
    class SbeBlockV2Mixin
    click SbeBlockV2Mixin href "../../classes/SbeBlockV2Mixin/"
      SbeBlockV2Mixin <|-- SbeMessageV2
        click SbeMessageV2 href "../../classes/SbeMessageV2/"
      SbeBlockV2Mixin <|-- SbeGroupV2
        click SbeGroupV2 href "../../classes/SbeGroupV2/"
      
      SbeBlockV2Mixin : alignment
        
      SbeBlockV2Mixin : block_fields
        
          
    
        
        
        SbeBlockV2Mixin --> "*" SbeFieldV2 : block_fields
        click SbeFieldV2 href "../../classes/SbeFieldV2/"
    

        
      SbeBlockV2Mixin : block_length
        
      SbeBlockV2Mixin : description
        
      SbeBlockV2Mixin : repeating_groups
        
          
    
        
        
        SbeBlockV2Mixin --> "*" SbeGroupV2 : repeating_groups
        click SbeGroupV2 href "../../classes/SbeGroupV2/"
    

        
      SbeBlockV2Mixin : sbe_id
        
      SbeBlockV2Mixin : semantic_type
        
      SbeBlockV2Mixin : symbolic_name
        
      SbeBlockV2Mixin : var_data_fields
        
          
    
        
        
        SbeBlockV2Mixin --> "*" SbeFieldV2 : var_data_fields
        click SbeFieldV2 href "../../classes/SbeFieldV2/"
    

        
      

Class Properties#

PropertyValue
MixinYes

Slots#

NameCardinality and RangeDescriptionInheritance
symbolic_name1
SbeSymbolicName
What the schema calls this elementdirect
sbe_id1
Integer
The number that identifies this elementdirect
block_length0..1
Integer
The octets set aside for a message’s fixed-length fields, or for those of eac…direct
alignment0..1
Integer
The multiple of octets where a message or each group entry beginsdirect
semantic_type0..1
SbeToken
What this element means at the FIX application layerdirect
description0..1
String
Free text about this element, for the people who read the schemadirect
block_fields*
SbeFieldV2
Fixed-length fields, listed in wire orderdirect
repeating_groups*
SbeGroupV2
Repeating groups, listed in wire orderdirect
var_data_fields*
SbeFieldV2
Variable-length fields, listed in wire orderdirect

Mixin Usage#

mixed intodescription
SbeMessageV2A message template, whose number and block length are sent in each message’s …
SbeGroupV2A repeating group, whose entries each hold the same fields, and which must ha…

Identifier and Mapping Information#

Schema Source#

Mappings#

Mapping TypeMapped Value
selffix_sbe:SbeBlockV2Mixin
nativefix_sbe:SbeBlockV2Mixin

LinkML Source#

Direct#

YAML
name: SbeBlockV2Mixin
description: The body shared by a message and a group entry, which holds its fixed-length
  fields first, then groups, then variable-length data.
from_schema: https://w3id.org/lmodel/fix-sbe
mixin: true
slots:
- symbolic_name
- sbe_id
- block_length
- alignment
- semantic_type
- description
- block_fields
- repeating_groups
- var_data_fields
slot_usage:
  sbe_id:
    name: sbe_id
    required: true
  alignment:
    name: alignment
    description: The multiple of octets where a message or each group entry begins.
  block_fields:
    name: block_fields
    range: SbeFieldV2
  repeating_groups:
    name: repeating_groups
    range: SbeGroupV2
  var_data_fields:
    name: var_data_fields
    range: SbeFieldV2

Induced#

YAML
name: SbeBlockV2Mixin
description: The body shared by a message and a group entry, which holds its fixed-length
  fields first, then groups, then variable-length data.
from_schema: https://w3id.org/lmodel/fix-sbe
mixin: true
slot_usage:
  sbe_id:
    name: sbe_id
    required: true
  alignment:
    name: alignment
    description: The multiple of octets where a message or each group entry begins.
  block_fields:
    name: block_fields
    range: SbeFieldV2
  repeating_groups:
    name: repeating_groups
    range: SbeGroupV2
  var_data_fields:
    name: var_data_fields
    range: SbeFieldV2
attributes:
  symbolic_name:
    name: symbolic_name
    description: What the schema calls this element.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - name
    rank: 1000
    owner: SbeBlockV2Mixin
    domain_of:
    - SbeValidValue
    - SbeChoice
    - SbeMemberV1
    - SbeBlockV1Mixin
    - SbeFieldV1
    - SbeElementV2
    - SbeBlockV2Mixin
    - SbeFieldV2
    range: SbeSymbolicName
    required: true
    pattern: ^[A-Za-z_][0-9A-Za-z_]{0,63}$
  sbe_id:
    name: sbe_id
    annotations:
      xsd_type:
        tag: xsd_type
        value: xs:unsignedShort
    description: The number that identifies this element.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - id
    rank: 1000
    owner: SbeBlockV2Mixin
    domain_of:
    - SbeMessageSchemaV1
    - SbeBlockV1Mixin
    - SbeFieldV1
    - SbeMessageSchemaV2
    - SbeBlockV2Mixin
    - SbeFieldV2
    range: integer
    required: true
    minimum_value: 0
    maximum_value: 65535
  block_length:
    name: block_length
    annotations:
      xsd_type:
        tag: xsd_type
        value: xs:nonNegativeInteger
      sbe_section:
        tag: sbe_section
        value: '3: Root block length'
    description: The octets set aside for a message's fixed-length fields, or for
      those of each group entry.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - blockLength
    rank: 1000
    owner: SbeBlockV2Mixin
    domain_of:
    - SbeBlockV1Mixin
    - SbeBlockV2Mixin
    range: integer
    minimum_value: 0
  alignment:
    name: alignment
    annotations:
      xsd_type:
        tag: xsd_type
        value: xs:positiveInteger
      sbe_section:
        tag: sbe_section
        value: '3: Field byte alignment'
    description: The multiple of octets where a message or each group entry begins.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - alignment
    rank: 1000
    owner: SbeBlockV2Mixin
    domain_of:
    - SbeMemberV2
    - SbeBlockV2Mixin
    - SbeFieldV2
    range: integer
    minimum_value: 1
  semantic_type:
    name: semantic_type
    annotations:
      xsd_type:
        tag: xsd_type
        value: xs:token
    description: What this element means at the FIX application layer.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - semanticType
    rank: 1000
    owner: SbeBlockV2Mixin
    domain_of:
    - SbeEncodingV1
    - SbeBlockV1Mixin
    - SbeFieldV1
    - SbeBlockV2Mixin
    - SbeFieldV2
    range: SbeToken
    pattern: ^\S+( \S+)*$
  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: SbeBlockV2Mixin
    domain_of:
    - SbeValidValue
    - SbeChoice
    - SbeMessageSchemaV1
    - SbeEncodingV1
    - SbeBlockV1Mixin
    - SbeFieldV1
    - SbeMessageSchemaV2
    - SbeEncodingSetV2
    - SbeMessageSetV2
    - SbeElementV2
    - SbeBlockV2Mixin
    - SbeFieldV2
    range: string
  block_fields:
    name: block_fields
    description: Fixed-length fields, listed in wire order.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - field
    rank: 1000
    owner: SbeBlockV2Mixin
    domain_of:
    - SbeBlockV1Mixin
    - SbeBlockV2Mixin
    range: SbeFieldV2
    multivalued: true
    inlined: true
    inlined_as_list: true
  repeating_groups:
    name: repeating_groups
    description: Repeating groups, listed in wire order.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - group
    rank: 1000
    owner: SbeBlockV2Mixin
    domain_of:
    - SbeBlockV1Mixin
    - SbeBlockV2Mixin
    range: SbeGroupV2
    multivalued: true
    inlined: true
    inlined_as_list: true
  var_data_fields:
    name: var_data_fields
    description: Variable-length fields, listed in wire order.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - data
    rank: 1000
    owner: SbeBlockV2Mixin
    domain_of:
    - SbeBlockV1Mixin
    - SbeBlockV2Mixin
    range: SbeFieldV2
    multivalued: true
    inlined: true
    inlined_as_list: true