Class in FIX Simple Binary Encoding (SBE)
SbeRefV2
A composite's member that reuses an encoding defined elsewhere in the schema.
classDiagram
class SbeRefV2
click SbeRefV2 href "../../classes/SbeRefV2/"
SbeMemberV2 <|-- SbeRefV2
click SbeMemberV2 href "../../classes/SbeMemberV2/"
SbeRefV2 : alignment
SbeRefV2 : description
SbeRefV2 : encoding_kind
SbeRefV2 : encoding_name
SbeRefV2 : offset
SbeRefV2 : symbolic_name
Inheritance#
- SbeElementV2
- SbeMemberV2
- SbeRefV2
- SbeMemberV2
Slots#
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| encoding_name | 1 SbeSymbolicName | Which encoding this element uses, by name | direct |
| 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 |
Comments#
- FIX’s transposer carries a ref to an Orchestra field whose type is the encoding it names.
Identifier and Mapping Information#
Annotations#
| property | value |
|---|---|
| xsd_type | refType |
| xml_element | ref |
Schema Source#
- from schema: https://w3id.org/lmodel/fix-sbe
Mappings#
| Mapping Type | Mapped Value |
|---|---|
| self | fix_sbe:SbeRefV2 |
| native | fix_sbe:SbeRefV2 |
| close | fix_orchestra:OrchestraFieldV10 |
LinkML Source#
Direct#
YAML
name: SbeRefV2
annotations:
xsd_type:
tag: xsd_type
value: refType
xml_element:
tag: xml_element
value: ref
description: A composite's member that reuses an encoding defined elsewhere in the
schema.
comments:
- FIX's transposer carries a ref to an Orchestra field whose type is the encoding
it names.
from_schema: https://w3id.org/lmodel/fix-sbe
close_mappings:
- fix_orchestra:OrchestraFieldV10
is_a: SbeMemberV2
slots:
- encoding_name
Induced#
YAML
name: SbeRefV2
annotations:
xsd_type:
tag: xsd_type
value: refType
xml_element:
tag: xml_element
value: ref
description: A composite's member that reuses an encoding defined elsewhere in the
schema.
comments:
- FIX's transposer carries a ref to an Orchestra field whose type is the encoding
it names.
from_schema: https://w3id.org/lmodel/fix-sbe
close_mappings:
- fix_orchestra:OrchestraFieldV10
is_a: SbeMemberV2
attributes:
encoding_name:
name: encoding_name
description: Which encoding this element uses, by name.
comments:
- It holds a name and not a class reference, because a name is unique only within
one schema document, where several documents may be listed side by side. tests/sbe_rules.py
checks that each names an encoding of its document.
from_schema: https://w3id.org/lmodel/fix-sbe
aliases:
- type
rank: 1000
owner: SbeRefV2
domain_of:
- SbeRefV1
- SbeFieldV1
- SbeRefV2
- 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: SbeRefV2
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: SbeRefV2
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: SbeRefV2
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: SbeRefV2
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: SbeRefV2
domain_of:
- SbeValidValue
- SbeChoice
- SbeMessageSchemaV1
- SbeEncodingV1
- SbeBlockV1Mixin
- SbeFieldV1
- SbeMessageSchemaV2
- SbeEncodingSetV2
- SbeMessageSetV2
- SbeElementV2
- SbeBlockV2Mixin
- SbeFieldV2
range: string