Class in FIX Simple Binary Encoding (SBE)
SbeRefV1
A composite's member that reuses an encoding defined elsewhere in the schema.
classDiagram
class SbeRefV1
click SbeRefV1 href "../../classes/SbeRefV1/"
SbeMemberV1 <|-- SbeRefV1
click SbeMemberV1 href "../../classes/SbeMemberV1/"
SbeRefV1 : deprecated_since
SbeRefV1 : encoding_kind
SbeRefV1 : encoding_name
SbeRefV1 : offset
SbeRefV1 : since_version
SbeRefV1 : symbolic_name
Inheritance#
- SbeMemberV1 [ SbeVersionedMixin]
- SbeRefV1
Slots#
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| encoding_name | 1 SbeSymbolicName | Which encoding this element uses, by name | direct |
| 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 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:SbeRefV1 |
| native | fix_sbe:SbeRefV1 |
| close | fix_orchestra:OrchestraFieldV10 |
LinkML Source#
Direct#
YAML
name: SbeRefV1
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: SbeMemberV1
slots:
- encoding_name
Induced#
YAML
name: SbeRefV1
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: SbeMemberV1
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: SbeRefV1
domain_of:
- SbeRefV1
- SbeFieldV1
- SbeRefV2
- SbeFieldV2
range: SbeSymbolicName
required: true
pattern: ^[A-Za-z_][0-9A-Za-z_]{0,63}$
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: SbeRefV1
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: SbeRefV1
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: SbeRefV1
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: SbeRefV1
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: SbeRefV1
domain_of:
- SbeVersionedMixin
range: integer
minimum_value: 0