Class in FIX Simple Binary Encoding (SBE)
SbeSetV2
An encoding whose value is any combination of up to 64 choices, sent as a bitset.
classDiagram
class SbeSetV2
click SbeSetV2 href "../../classes/SbeSetV2/"
SbeVersionedMixin <|-- SbeSetV2
click SbeVersionedMixin href "../../classes/SbeVersionedMixin/"
SbeMemberV2 <|-- SbeSetV2
click SbeMemberV2 href "../../classes/SbeMemberV2/"
SbeSetV2 : alignment
SbeSetV2 : choices
SbeSetV2 --> "1..*" SbeChoice : choices
click SbeChoice href "../../classes/SbeChoice/"
SbeSetV2 : deprecated_since
SbeSetV2 : description
SbeSetV2 : encoding_kind
SbeSetV2 : encoding_type
SbeSetV2 : offset
SbeSetV2 : since_version
SbeSetV2 : symbolic_name
Inheritance#
- SbeElementV2
- SbeMemberV2
- SbeSetV2 [ SbeVersionedMixin]
- SbeMemberV2
Slots#
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| encoding_type | 1 SbeSymbolicName | The simple encoding or primitive type that an enumeration or set is sent as | direct |
| choices | 1..* SbeChoice | The alternatives of this set | 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 |
| offset | 0..1 Integer | The octet this element starts at, counted from zero at the start of its block… | SbeMemberV2 |
| alignment | 0..1 Integer | The multiple of octets the start of this element is placed on | SbeMemberV2 |
| encoding_kind | 1 String | The class of this encoding or composite member, which stands for its XML elem… | SbeElementV2 |
| symbolic_name | 1 SbeSymbolicName | What the schema calls this element | SbeElementV2 |
| description | 0..1 String | Free text about this element, for the people who read the schema | SbeElementV2 |
Usages#
| used by | used in | type | used |
|---|---|---|---|
| SbeEncodingSetV2 | encodings | any_of[range] | SbeSetV2 |
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 | setType |
| xml_element | set |
Schema Source#
- from schema: https://w3id.org/lmodel/fix-sbe
Mappings#
| Mapping Type | Mapped Value |
|---|---|
| self | fix_sbe:SbeSetV2 |
| native | fix_sbe:SbeSetV2 |
| related | fix_orchestra:OrchestraCodeSetV10 |
LinkML Source#
Direct#
YAML
name: SbeSetV2
annotations:
xsd_type:
tag: xsd_type
value: setType
xml_element:
tag: xml_element
value: set
description: An encoding whose value is any combination of up to 64 choices, sent
as a bitset.
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:OrchestraCodeSetV10
is_a: SbeMemberV2
mixins:
- SbeVersionedMixin
slots:
- encoding_type
- choices
Induced#
YAML
name: SbeSetV2
annotations:
xsd_type:
tag: xsd_type
value: setType
xml_element:
tag: xml_element
value: set
description: An encoding whose value is any combination of up to 64 choices, sent
as a bitset.
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:OrchestraCodeSetV10
is_a: SbeMemberV2
mixins:
- SbeVersionedMixin
attributes:
encoding_type:
name: encoding_type
description: The simple encoding or primitive type that an enumeration or set
is sent as.
from_schema: https://w3id.org/lmodel/fix-sbe
aliases:
- encodingType
rank: 1000
owner: SbeSetV2
domain_of:
- SbeEnumV1
- SbeSetV1
- SbeEnumV2
- SbeSetV2
range: SbeSymbolicName
required: true
pattern: ^[A-Za-z_][0-9A-Za-z_]{0,63}$
choices:
name: choices
description: The alternatives of this set.
from_schema: https://w3id.org/lmodel/fix-sbe
aliases:
- choice
rank: 1000
owner: SbeSetV2
domain_of:
- SbeSetV1
- SbeSetV2
range: SbeChoice
required: true
multivalued: true
inlined: true
inlined_as_list: true
minimum_cardinality: 1
maximum_cardinality: 64
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: SbeSetV2
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: SbeSetV2
domain_of:
- SbeVersionedMixin
range: integer
minimum_value: 0
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: SbeSetV2
domain_of:
- SbeMemberV1
- SbeFieldV1
- SbeMemberV2
- SbeFieldV2
range: integer
minimum_value: 0
maximum_value: 4294967295
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 the start of this element is placed on.
from_schema: https://w3id.org/lmodel/fix-sbe
aliases:
- alignment
rank: 1000
owner: SbeSetV2
domain_of:
- SbeMemberV2
- SbeBlockV2Mixin
- SbeFieldV2
range: integer
minimum_value: 1
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: SbeSetV2
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: SbeSetV2
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: SbeSetV2
domain_of:
- SbeValidValue
- SbeChoice
- SbeMessageSchemaV1
- SbeEncodingV1
- SbeBlockV1Mixin
- SbeFieldV1
- SbeMessageSchemaV2
- SbeEncodingSetV2
- SbeMessageSetV2
- SbeElementV2
- SbeBlockV2Mixin
- SbeFieldV2
range: string