fix-sbe
Theme
Text size
GitHub Menu

Class in FIX Simple Binary Encoding (SBE)

SbeChoice

One of the alternatives of a set, which is one bit of its encoding.

URI: fix_sbe:class/SbeChoice

 classDiagram
    class SbeChoice
    click SbeChoice href "../../classes/SbeChoice/"
      SbeVersionedMixin <|-- SbeChoice
        click SbeVersionedMixin href "../../classes/SbeVersionedMixin/"
      
      SbeChoice : bit_position
        
      SbeChoice : deprecated_since
        
      SbeChoice : description
        
      SbeChoice : since_version
        
      SbeChoice : symbolic_name
        
      

Inheritance#

Slots#

NameCardinality and RangeDescriptionInheritance
symbolic_name1
SbeSymbolicName
What the schema calls this elementdirect
description0..1
String
Free text about this element, for the people who read the schemadirect
bit_position1
Integer
Which bit stands for this choice, counted from zero at the least significantdirect
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

Usages#

used byused intypeused
SbeSetV1choicesrangeSbeChoice
SbeSetV2choicesrangeSbeChoice

Comments#

  • FIX’s transposer does not carry a set to Orchestra, so the mapping is related. FIX’s MultipleCharValue and MultipleStringValue fields hold such choices in a code set.

Identifier and Mapping Information#

Annotations#

propertyvalue
xsd_typechoice

Schema Source#

Mappings#

Mapping TypeMapped Value
selffix_sbe:SbeChoice
nativefix_sbe:SbeChoice
relatedfix_orchestra:OrchestraCodeV10

LinkML Source#

Direct#

YAML
name: SbeChoice
annotations:
  xsd_type:
    tag: xsd_type
    value: choice
description: One of the alternatives of a set, which is one bit of its encoding.
comments:
- FIX's transposer does not carry a set to Orchestra, so the mapping is related. FIX's
  MultipleCharValue and MultipleStringValue fields hold such choices in a code set.
from_schema: https://w3id.org/lmodel/fix-sbe
related_mappings:
- fix_orchestra:OrchestraCodeV10
mixins:
- SbeVersionedMixin
slots:
- symbolic_name
- description
attributes:
  bit_position:
    name: bit_position
    annotations:
      xsd_type:
        tag: xsd_type
        value: xs:nonNegativeInteger
      sbe_section:
        tag: sbe_section
        value: '4: choice element content'
    description: Which bit stands for this choice, counted from zero at the least
      significant.
    from_schema: https://w3id.org/lmodel/fix-sbe/schema/fix_sbe_common
    rank: 1000
    domain_of:
    - SbeChoice
    range: integer
    required: true
    minimum_value: 0

Induced#

YAML
name: SbeChoice
annotations:
  xsd_type:
    tag: xsd_type
    value: choice
description: One of the alternatives of a set, which is one bit of its encoding.
comments:
- FIX's transposer does not carry a set to Orchestra, so the mapping is related. FIX's
  MultipleCharValue and MultipleStringValue fields hold such choices in a code set.
from_schema: https://w3id.org/lmodel/fix-sbe
related_mappings:
- fix_orchestra:OrchestraCodeV10
mixins:
- SbeVersionedMixin
attributes:
  bit_position:
    name: bit_position
    annotations:
      xsd_type:
        tag: xsd_type
        value: xs:nonNegativeInteger
      sbe_section:
        tag: sbe_section
        value: '4: choice element content'
    description: Which bit stands for this choice, counted from zero at the least
      significant.
    from_schema: https://w3id.org/lmodel/fix-sbe/schema/fix_sbe_common
    rank: 1000
    owner: SbeChoice
    domain_of:
    - SbeChoice
    range: integer
    required: true
    minimum_value: 0
  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: SbeChoice
    domain_of:
    - SbeValidValue
    - SbeChoice
    - SbeMemberV1
    - SbeBlockV1Mixin
    - SbeFieldV1
    - SbeElementV2
    - SbeBlockV2Mixin
    - SbeFieldV2
    range: SbeSymbolicName
    required: true
    pattern: ^[A-Za-z_][0-9A-Za-z_]{0,63}$
  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: SbeChoice
    domain_of:
    - SbeValidValue
    - SbeChoice
    - SbeMessageSchemaV1
    - SbeEncodingV1
    - SbeBlockV1Mixin
    - SbeFieldV1
    - SbeMessageSchemaV2
    - SbeEncodingSetV2
    - SbeMessageSetV2
    - SbeElementV2
    - SbeBlockV2Mixin
    - SbeFieldV2
    range: string
  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: SbeChoice
    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: SbeChoice
    domain_of:
    - SbeVersionedMixin
    range: integer
    minimum_value: 0