Class in FIX Simple Binary Encoding (SBE)
SbeSetV1
An encoding whose value is any combination of up to 64 choices, sent as a bitset.
classDiagram
class SbeSetV1
click SbeSetV1 href "../../classes/SbeSetV1/"
SbeEncodingV1 <|-- SbeSetV1
click SbeEncodingV1 href "../../classes/SbeEncodingV1/"
SbeSetV1 : choices
SbeSetV1 --> "1..*" SbeChoice : choices
click SbeChoice href "../../classes/SbeChoice/"
SbeSetV1 : deprecated_since
SbeSetV1 : description
SbeSetV1 : encoding_kind
SbeSetV1 : encoding_type
SbeSetV1 : offset
SbeSetV1 : semantic_type
SbeSetV1 : since_version
SbeSetV1 : symbolic_name
Inheritance#
- SbeMemberV1 [ SbeVersionedMixin]
- SbeEncodingV1
- SbeSetV1
- SbeEncodingV1
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 |
| semantic_type | 0..1 SbeToken | The FIX datatype this encoding carries | SbeEncodingV1 |
| description | 0..1 String | Free text about this element, for the people who read the schema | SbeEncodingV1 |
| encoding_kind | 1 String | The class of this encoding or composite member, which stands for its XML elem… | SbeMemberV1 |
| symbolic_name | 1 SbeSymbolicName | What the schema calls this element | SbeMemberV1 |
| offset | 0..1 Integer | The octet this element starts at, counted from zero at the start of its block… | SbeMemberV1 |
| 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 |
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:SbeSetV1 |
| native | fix_sbe:SbeSetV1 |
| related | fix_orchestra:OrchestraCodeSetV10 |
LinkML Source#
Direct#
YAML
name: SbeSetV1
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: SbeEncodingV1
slots:
- encoding_type
- choices
Induced#
YAML
name: SbeSetV1
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: SbeEncodingV1
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: SbeSetV1
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: SbeSetV1
domain_of:
- SbeSetV1
- SbeSetV2
range: SbeChoice
required: true
multivalued: true
inlined: true
inlined_as_list: true
minimum_cardinality: 1
maximum_cardinality: 64
semantic_type:
name: semantic_type
annotations:
xsd_type:
tag: xsd_type
value: xs:token
description: The FIX datatype this encoding carries.
from_schema: https://w3id.org/lmodel/fix-sbe
aliases:
- semanticType
rank: 1000
owner: SbeSetV1
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: SbeSetV1
domain_of:
- SbeValidValue
- SbeChoice
- SbeMessageSchemaV1
- SbeEncodingV1
- SbeBlockV1Mixin
- SbeFieldV1
- SbeMessageSchemaV2
- SbeEncodingSetV2
- SbeMessageSetV2
- SbeElementV2
- SbeBlockV2Mixin
- SbeFieldV2
range: string
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: SbeSetV1
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: SbeSetV1
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: SbeSetV1
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: SbeSetV1
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: SbeSetV1
domain_of:
- SbeVersionedMixin
range: integer
minimum_value: 0