Class in FIX Simple Binary Encoding (SBE)
SbeChoice
One of the alternatives of a set, which is one bit of its encoding.
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#
- SbeChoice [ SbeVersionedMixin]
Slots#
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| symbolic_name | 1 SbeSymbolicName | What the schema calls this element | direct |
| description | 0..1 String | Free text about this element, for the people who read the schema | direct |
| bit_position | 1 Integer | Which bit stands for this choice, counted from zero at the least significant | direct |
| since_version | 0..1 Integer | The schema version that added this element | SbeVersionedMixin |
| deprecated_since | 0..1 Integer | The schema version that retired this element, which stays only for older appl… | SbeVersionedMixin |
Usages#
| used by | used in | type | used |
|---|---|---|---|
| SbeSetV1 | choices | range | SbeChoice |
| SbeSetV2 | choices | range | SbeChoice |
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#
| property | value |
|---|---|
| xsd_type | choice |
Schema Source#
- from schema: https://w3id.org/lmodel/fix-sbe
Mappings#
| Mapping Type | Mapped Value |
|---|---|
| self | fix_sbe:SbeChoice |
| native | fix_sbe:SbeChoice |
| related | fix_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