fix-sbe
Theme
Text size
GitHub Menu

Class in FIX Simple Binary Encoding (SBE)

SbeSimpleTypeV2

A simple encoding that stands alone in a set, backed by one primitive value, or several in an array.

URI: fix_sbe:class/SbeSimpleTypeV2

 classDiagram
    class SbeSimpleTypeV2
    click SbeSimpleTypeV2 href "../../classes/SbeSimpleTypeV2/"
      SbeVersionedMixin <|-- SbeSimpleTypeV2
        click SbeVersionedMixin href "../../classes/SbeVersionedMixin/"
      SbeElementV2 <|-- SbeSimpleTypeV2
        click SbeElementV2 href "../../classes/SbeElementV2/"
      
      SbeSimpleTypeV2 : array_length
        
      SbeSimpleTypeV2 : character_encoding
        
      SbeSimpleTypeV2 : deprecated_since
        
      SbeSimpleTypeV2 : description
        
      SbeSimpleTypeV2 : element_value
        
      SbeSimpleTypeV2 : encoding_kind
        
      SbeSimpleTypeV2 : primitive_type
        
          
    
        
        
        SbeSimpleTypeV2 --> "1" SbePrimitiveType : primitive_type
        click SbePrimitiveType href "../../enums/SbePrimitiveType/"
    

        
      SbeSimpleTypeV2 : since_version
        
      SbeSimpleTypeV2 : symbolic_name
        
      

Inheritance#

Slots#

NameCardinality and RangeDescriptionInheritance
element_value0..1
SbeToken
The text of the XML element, which is the constant when presence is constantdirect
primitive_type1
SbePrimitiveType
The wire type under this encodingdirect
array_length0..1
Integer
How many values of the primitive type the encoding holds, where zero means a …direct
character_encoding0..1
String
Which character set, or which Unicode scheme, character data followsdirect
since_version0..1
Integer
The schema version that added this elementSbeVersionedMixin
deprecated_since0..1
Integer
The schema version that retired this element, which stays only for older appl…SbeVersionedMixin
encoding_kind1
String
The class of this encoding or composite member, which stands for its XML elem…SbeElementV2
symbolic_name1
SbeSymbolicName
What the schema calls this elementSbeElementV2
description0..1
String
Free text about this element, for the people who read the schemaSbeElementV2

Usages#

used byused intypeused
SbeEncodingSetV2encodingsany_of[range]SbeSimpleTypeV2

Identifier and Mapping Information#

Annotations#

propertyvalue
xsd_typesimpleDataType
xml_elementtype

Schema Source#

Mappings#

Mapping TypeMapped Value
selffix_sbe:SbeSimpleTypeV2
nativefix_sbe:SbeSimpleTypeV2
closefix_orchestra:OrchestraDatatypeV10

LinkML Source#

Direct#

YAML
name: SbeSimpleTypeV2
annotations:
  xsd_type:
    tag: xsd_type
    value: simpleDataType
  xml_element:
    tag: xml_element
    value: type
description: A simple encoding that stands alone in a set, backed by one primitive
  value, or several in an array.
from_schema: https://w3id.org/lmodel/fix-sbe
close_mappings:
- fix_orchestra:OrchestraDatatypeV10
is_a: SbeElementV2
mixins:
- SbeVersionedMixin
slots:
- element_value
- primitive_type
- array_length
- character_encoding

Induced#

YAML
name: SbeSimpleTypeV2
annotations:
  xsd_type:
    tag: xsd_type
    value: simpleDataType
  xml_element:
    tag: xml_element
    value: type
description: A simple encoding that stands alone in a set, backed by one primitive
  value, or several in an array.
from_schema: https://w3id.org/lmodel/fix-sbe
close_mappings:
- fix_orchestra:OrchestraDatatypeV10
is_a: SbeElementV2
mixins:
- SbeVersionedMixin
attributes:
  element_value:
    name: element_value
    annotations:
      xsd_type:
        tag: xsd_type
        value: xs:token
      sbe_section:
        tag: sbe_section
        value: '4: Constant value'
    description: The text of the XML element, which is the constant when presence
      is constant.
    from_schema: https://w3id.org/lmodel/fix-sbe
    rank: 1000
    owner: SbeSimpleTypeV2
    domain_of:
    - SbeSimpleTypeV1
    - SbeSimpleTypeV2
    - SbeMemberTypeV2
    - SbeFieldV2
    range: SbeToken
    pattern: ^\S+( \S+)*$
  primitive_type:
    name: primitive_type
    description: The wire type under this encoding.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - primitiveType
    rank: 1000
    owner: SbeSimpleTypeV2
    domain_of:
    - SbeSimpleTypeV1
    - SbeSimpleTypeV2
    - SbeMemberTypeV2
    range: SbePrimitiveType
    required: true
  array_length:
    name: array_length
    annotations:
      xsd_type:
        tag: xsd_type
        value: xs:nonNegativeInteger
    description: How many values of the primitive type the encoding holds, where zero
      means a variable number.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - length
    rank: 1000
    ifabsent: int(1)
    owner: SbeSimpleTypeV2
    domain_of:
    - SbeSimpleTypeV1
    - SbeSimpleTypeV2
    - SbeMemberTypeV2
    range: integer
    minimum_value: 0
  character_encoding:
    name: character_encoding
    description: Which character set, or which Unicode scheme, character data follows.
    from_schema: https://w3id.org/lmodel/fix-sbe
    aliases:
    - characterEncoding
    rank: 1000
    owner: SbeSimpleTypeV2
    domain_of:
    - SbeSimpleTypeV1
    - SbeSimpleTypeV2
    - SbeMemberTypeV2
    range: string
  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: SbeSimpleTypeV2
    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: SbeSimpleTypeV2
    domain_of:
    - SbeVersionedMixin
    range: integer
    minimum_value: 0
  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: SbeSimpleTypeV2
    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: SbeSimpleTypeV2
    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: SbeSimpleTypeV2
    domain_of:
    - SbeValidValue
    - SbeChoice
    - SbeMessageSchemaV1
    - SbeEncodingV1
    - SbeBlockV1Mixin
    - SbeFieldV1
    - SbeMessageSchemaV2
    - SbeEncodingSetV2
    - SbeMessageSetV2
    - SbeElementV2
    - SbeBlockV2Mixin
    - SbeFieldV2
    range: string