fix-sbe
Theme
Text size
GitHub Menu

Class in FIX Simple Binary Encoding (SBE)

SbeRefV1

A composite's member that reuses an encoding defined elsewhere in the schema.

URI: fix_sbe:class/SbeRefV1

 classDiagram
    class SbeRefV1
    click SbeRefV1 href "../../classes/SbeRefV1/"
      SbeMemberV1 <|-- SbeRefV1
        click SbeMemberV1 href "../../classes/SbeMemberV1/"
      
      SbeRefV1 : deprecated_since
        
      SbeRefV1 : encoding_kind
        
      SbeRefV1 : encoding_name
        
      SbeRefV1 : offset
        
      SbeRefV1 : since_version
        
      SbeRefV1 : symbolic_name
        
      

Inheritance#

Slots#

NameCardinality and RangeDescriptionInheritance
encoding_name1
SbeSymbolicName
Which encoding this element uses, by namedirect
encoding_kind1
String
The class of this encoding or composite member, which stands for its XML elem…SbeMemberV1
symbolic_name1
SbeSymbolicName
What the schema calls this elementSbeMemberV1
offset0..1
Integer
The octet this element starts at, counted from zero at the start of its block…SbeMemberV1
since_version0..1
Integer
The schema version that added this elementSbeVersionedMixin
deprecated_since0..1
Integer
The schema version that retired this element, which stays only for older appl…SbeVersionedMixin

Comments#

  • FIX’s transposer carries a ref to an Orchestra field whose type is the encoding it names.

Identifier and Mapping Information#

Annotations#

propertyvalue
xsd_typerefType
xml_elementref

Schema Source#

Mappings#

Mapping TypeMapped Value
selffix_sbe:SbeRefV1
nativefix_sbe:SbeRefV1
closefix_orchestra:OrchestraFieldV10

LinkML Source#

Direct#

YAML
name: SbeRefV1
annotations:
  xsd_type:
    tag: xsd_type
    value: refType
  xml_element:
    tag: xml_element
    value: ref
description: A composite's member that reuses an encoding defined elsewhere in the
  schema.
comments:
- FIX's transposer carries a ref to an Orchestra field whose type is the encoding
  it names.
from_schema: https://w3id.org/lmodel/fix-sbe
close_mappings:
- fix_orchestra:OrchestraFieldV10
is_a: SbeMemberV1
slots:
- encoding_name

Induced#

YAML
name: SbeRefV1
annotations:
  xsd_type:
    tag: xsd_type
    value: refType
  xml_element:
    tag: xml_element
    value: ref
description: A composite's member that reuses an encoding defined elsewhere in the
  schema.
comments:
- FIX's transposer carries a ref to an Orchestra field whose type is the encoding
  it names.
from_schema: https://w3id.org/lmodel/fix-sbe
close_mappings:
- fix_orchestra:OrchestraFieldV10
is_a: SbeMemberV1
attributes:
  encoding_name:
    name: encoding_name
    description: Which encoding this element uses, by name.
    comments:
    - It holds a name and not a class reference, because a name is unique only within
      one schema document, where several documents may be listed side by side. tests/sbe_rules.py
      checks that each names an encoding of its document.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - type
    rank: 1000
    owner: SbeRefV1
    domain_of:
    - SbeRefV1
    - SbeFieldV1
    - SbeRefV2
    - SbeFieldV2
    range: SbeSymbolicName
    required: true
    pattern: ^[A-Za-z_][0-9A-Za-z_]{0,63}$
  encoding_kind:
    name: encoding_kind
    description: The class of this encoding or composite member, which stands for
      its XML element.
    from_schema: https://w3id.org/lmodel/fix-sbe
    rank: 1000
    designates_type: true
    owner: SbeRefV1
    domain_of:
    - SbeMemberV1
    - SbeElementV2
    range: string
    required: true
  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: SbeRefV1
    domain_of:
    - SbeValidValue
    - SbeChoice
    - SbeMemberV1
    - SbeBlockV1Mixin
    - SbeFieldV1
    - SbeElementV2
    - SbeBlockV2Mixin
    - SbeFieldV2
    range: SbeSymbolicName
    required: true
    pattern: ^[A-Za-z_][0-9A-Za-z_]{0,63}$
  offset:
    name: offset
    annotations:
      xsd_type:
        tag: xsd_type
        value: xs:unsignedInt
      sbe_section:
        tag: sbe_section
        value: '3: Field offset specified by message schema'
    description: The octet this element starts at, counted from zero at the start
      of its block or composite.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - offset
    rank: 1000
    owner: SbeRefV1
    domain_of:
    - SbeMemberV1
    - SbeFieldV1
    - SbeMemberV2
    - SbeFieldV2
    range: integer
    minimum_value: 0
    maximum_value: 4294967295
  since_version:
    name: since_version
    annotations:
      xsd_type:
        tag: xsd_type
        value: xs:nonNegativeInteger
      sbe_section:
        tag: sbe_section
        value: '5: Since version'
    description: The schema version that added this element.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - sinceVersion
    rank: 1000
    ifabsent: int(0)
    owner: SbeRefV1
    domain_of:
    - SbeVersionedMixin
    range: integer
    minimum_value: 0
  deprecated_since:
    name: deprecated_since
    annotations:
      xsd_type:
        tag: xsd_type
        value: xs:nonNegativeInteger
      sbe_section:
        tag: sbe_section
        value: '5: Deprecated elements'
    description: The schema version that retired this element, which stays only for
      older applications.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - deprecated
    rank: 1000
    owner: SbeRefV1
    domain_of:
    - SbeVersionedMixin
    range: integer
    minimum_value: 0