Class in FIX Simple Binary Encoding (SBE)
SbeEnumV2
An encoding whose value is one of a listed set of valid values.
classDiagram
class SbeEnumV2
click SbeEnumV2 href "../../classes/SbeEnumV2/"
SbeVersionedMixin <|-- SbeEnumV2
click SbeVersionedMixin href "../../classes/SbeVersionedMixin/"
SbeMemberV2 <|-- SbeEnumV2
click SbeMemberV2 href "../../classes/SbeMemberV2/"
SbeEnumV2 : alignment
SbeEnumV2 : deprecated_since
SbeEnumV2 : description
SbeEnumV2 : encoding_kind
SbeEnumV2 : encoding_type
SbeEnumV2 : offset
SbeEnumV2 : since_version
SbeEnumV2 : symbolic_name
SbeEnumV2 : valid_values
SbeEnumV2 --> "1..*" SbeValidValue : valid_values
click SbeValidValue href "../../classes/SbeValidValue/"
Inheritance#
- SbeElementV2
- SbeMemberV2
- SbeEnumV2 [ 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 |
| valid_values | 1..* SbeValidValue | The values this enumeration allows | 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] | SbeEnumV2 |
Identifier and Mapping Information#
Annotations#
| property | value |
|---|---|
| xsd_type | enumType |
| xml_element | enum |
Schema Source#
- from schema: https://w3id.org/lmodel/fix-sbe
Mappings#
| Mapping Type | Mapped Value |
|---|---|
| self | fix_sbe:SbeEnumV2 |
| native | fix_sbe:SbeEnumV2 |
| close | fix_orchestra:OrchestraCodeSetV10 |
LinkML Source#
Direct#
YAML
name: SbeEnumV2
annotations:
xsd_type:
tag: xsd_type
value: enumType
xml_element:
tag: xml_element
value: enum
description: An encoding whose value is one of a listed set of valid values.
from_schema: https://w3id.org/lmodel/fix-sbe
close_mappings:
- fix_orchestra:OrchestraCodeSetV10
is_a: SbeMemberV2
mixins:
- SbeVersionedMixin
slots:
- encoding_type
- valid_values
Induced#
YAML
name: SbeEnumV2
annotations:
xsd_type:
tag: xsd_type
value: enumType
xml_element:
tag: xml_element
value: enum
description: An encoding whose value is one of a listed set of valid values.
from_schema: https://w3id.org/lmodel/fix-sbe
close_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: SbeEnumV2
domain_of:
- SbeEnumV1
- SbeSetV1
- SbeEnumV2
- SbeSetV2
range: SbeSymbolicName
required: true
pattern: ^[A-Za-z_][0-9A-Za-z_]{0,63}$
valid_values:
name: valid_values
description: The values this enumeration allows.
from_schema: https://w3id.org/lmodel/fix-sbe
aliases:
- validValue
rank: 1000
owner: SbeEnumV2
domain_of:
- SbeEnumV1
- SbeEnumV2
range: SbeValidValue
required: true
multivalued: true
inlined: true
inlined_as_list: true
minimum_cardinality: 1
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: SbeEnumV2
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: SbeEnumV2
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: SbeEnumV2
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: SbeEnumV2
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: SbeEnumV2
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: SbeEnumV2
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: SbeEnumV2
domain_of:
- SbeValidValue
- SbeChoice
- SbeMessageSchemaV1
- SbeEncodingV1
- SbeBlockV1Mixin
- SbeFieldV1
- SbeMessageSchemaV2
- SbeEncodingSetV2
- SbeMessageSetV2
- SbeElementV2
- SbeBlockV2Mixin
- SbeFieldV2
range: string