cat: 10
ver: 1.1_indra
dataitem:
  - itemno: I010/010
    frn: 1
    rule: mandatory
    itemdesc: Data Source Identifier
    definition: Identification of the system from which the data are received.
    format: fixed
    octet: 2
    structure:
      - name: SAC
        frombit: 16
        tobit: 9
        desc: System Area Code fixed to zero
      - name: SIC
        frombit: 8
        tobit: 1
        desc: System Identification Code
  - itemno: I010/020
    frn: 2
    rule: mandatory
    itemdesc: Target Data Type (target descriptor) 
    definition: Type and characteristics of the data as transmitted by a system.
    format: variable
    octet: 1
  - itemno: I010/020-1
    frn: 201
    rule: mandatory
    itemdesc: Target Report Descriptor
    definition: Type and characteristics of the data as transmitted by a system.
    format: fixed
    octet: 1
    structure:
      - name: TYP
        frombit: 8
        desc: TYP
      - name: DEC
        frombit: 7
        tobit: 6
        desc: 00 default value for the SCA system.
      - name: CTL
        frombit: 5
        codes:
          0: disable the control function to perform calculation on the target
          1: enable the control function to perform calculation on the target
      - name: VIS
        frombit: 4
        desc: renamed from CHN (Chain 1/2) to VIS
        codes:
          0: disable the label display
          1: enable the label display
      - name: LAB
        frombit: 3
        desc: renamed from GBS (Transponder ground) to LAB
        codes:
          0: AUTOMATIC LABELLING
          1: MANUAL LABELLING
      - name: TST
        frombit: 2
        desc: renamed from CRT (Corrupted reply in multilateration) to TST
        codes:
          0: real measure
          1: simulated data set
      - name: EXT
        frombit: 1
        codes:
          0: End of Data Item
          1: Extension into first extent
  - itemno: I010/161
    frn: 3
    rule: optional
    itemdesc: Track Number
    definition: An integer value representing a unique reference to a track record within a particular track file.
    format: fixed
    octet: 2
    structure:
      - name: TrkNb
        serviceFieldName: track_no
        frombit: 16
        tobit: 1
        max: 65535
        min: 0
        desc: Track number
  - itemno: I010/040
    frn: 4
    rule: X
    itemdesc: Target position in polar coordinates
    definition: never present
    format: fixed
    octet: 4
  - itemno: I010/042
    frn: 5
    rule: optional
    itemdesc: Position in Cartesian Coordinates
    definition: Position of target in Cartesian Coordinates, in two’s complement form.
    format: fixed
    octet: 4
    structure:
      - name: X-Component
        serviceFieldName: lat
        frombit: 32
        tobit: 17
        datatype: int
        desc: X-Component
        resolution: 0.25
        min: "-8191"
        max: 8191
        unit: m
      - name: Y-Component 
        serviceFieldName: lon
        frombit: 16
        tobit: 1
        datatype: int
        desc: Y-Component 
        resolution: 0.25
        min: "-8191"
        max: 8191
        unit: m
  - itemno: I010/200
    frn: 6
    rule: X
    itemdesc: Target velocity in polar coordinates
    definition: never present
    format: fixed
    octet: 2
  - itemno: I010/202
    frn: 7
    rule: optional
    itemdesc: Velocity in Cartesian Coordinates
    definition: Velocity in Cartesian Coordinates
    format: fixed
    octet: 2
    structure:
      - name: Vx
        serviceFieldName: spd
        frombit: 16
        tobit: 9
        desc: Vx
        resolution: 1
        min: "-127"
        max: 127
        unit: m/s
        datatype: int
      - name: Vy
        serviceFieldName: spd
        frombit: 8
        tobit: 1
        desc: Vy
        resolution: 1
        min: "-127"
        max: 127
        unit: m/s
        datatype: int
  - itemno: I010/130
    frn: 8
    rule: optional
    itemdesc: Track Information
    definition: Track Information
    format: variable
    octet: 1        
  - itemno: I010/130-1
    frn: 801
    rule: optional
    itemdesc: Track Information
    definition: Track Information
    format: fixed
    octet: 1
    structure:
      - name: TLE
        frombit: 8
        tobit: 6
        desc: target size
        codes:
          7: Unknown size
      - name: SHAPE
        serviceFieldName: trgt_ty
        frombit: 5
        tobit: 4
        desc: target size
        codes:
          0: To be defined
          1: Vehicle (no Towing Plan linked)
          2: Aircraft (no Towing Plan linked)
          3: Towing (a Towing Plan is linked to the track).
      - name: FLIGHT
        frombit: 3
        tobit: 2
        desc: FLIGHT
        codes:
          0: Other wise
          1: Inbound (arrival)
          2: Outbound (departure)
          3: De-icing, a departure aircraft taxying to de-icing zone or pad.
      - name: EXT
        frombit: 1
        tobit: 1
        desc: EXT
        codes:
          0: No extension byte
          1: Extension byte
  - itemno: I010/130-2
    frn: 802
    rule: optional
    itemdesc: Track Information
    definition: Track Information
    format: fixed
    octet: 1
    structure:
      - name: XM
        serviceFieldName: lat_add
        frombit: 6
        tobit: 6
        max: 8191
        min: "-8191"
      - name: YM
        serviceFieldName: lon_add
        frombit: 5
        tobit: 5
        max: 8191
        min: "-8191"
      - name: VXM
        frombit: 4
        tobit: 4
        max: 127
        min: "-127"
      - name: VYM
        frombit: 3
        tobit: 3
        max: 127
        min: "-127"
  - itemno: I010/099
    frn: 9
    rule: X
    itemdesc: Standard Instrumental Departure (SID)
    definition: never present
    format: fixed
    octet: 8
  - itemno: I010/170
    frn: 10
    rule: X
    itemdesc: Track Status
    definition: never present
    format: fixed
    octet: 1
  - itemno: I010/141
    frn: 11
    rule: X
    itemdesc: UTC time of day
    definition: never present
    format: fixed
    octet: 3
  - itemno: I010/030
    frn: 12
    rule: X
    itemdesc: Warning / Error
    definition: never present
    format: fixed
    octet: 1
  - itemno: I010/270
    frn: 13
    rule: X
    itemdesc: Target Size
    definition: never present
    format: fixed
    octet: 1
  - itemno: I010/150
    frn: 14
    rule: X
    itemdesc: Presence of X-Pulse
    definition: never present
    format: fixed
    octet: 1
  - itemno: I010/070
    frn: 15
    rule: optional
    itemdesc: Mode 3/A code (SSR Code)
    definition: Mode-3/A code converted into octal representation.
    format: fixed
    octet: 2
    structure:
      - name: V
        frombit: 16
        desc: V
        codes:
          0: Code validated
          1: Code not validated
      - name: G
        frombit: 15
        desc: G
        codes:
          0: Default
          1: Garbled code
      - name: L
        frombit: 14
        desc: L
        codes:
          0: Mode-2 code derived from the reply of the transponder
          1: Smoothed Mode-2 code as provided by a local tracker n
      - name: spare
        frombit: 13
        desc: Spare bit set to 0
        bitsConst: 0
      - name: Mod3A
        serviceFieldName: ssr_cd
        frombit: 12
        tobit: 1
        datatype: octal
        desc: Mode-3/A reply in octal representation
  - itemno: I010/072
    frn: 16
    rule: optional
    itemdesc: Call Sign (Flight Number)
    definition: The call sign is coded with 8 ASCII characters.
    format: fixed
    octet: 8
    structure:
      - name: CallSign
        serviceFieldName: clsgn
        frombit: 64
        tobit: 1
        desc: CallSign
        datatype: ascii
  - itemno: I010/074
    frn: 17
    rule: optional
    itemdesc: Mode S Address
    definition: The mode S address is coded on three bytes.
    format: fixed
    octet: 3
    structure:
      - name: ModeS
        serviceFieldName: mode_s_cd
        frombit: 24
        tobit: 1
        desc: ModeS
  - itemno: I010/076
    frn: 18
    rule: optional
    itemdesc: Registration Mark (Tail Number)
    definition: The registration mark is coded with 8 ASCII characters.
    format: fixed
    octet: 8
    structure:
      - name: Reg
        serviceFieldName: tail_no
        frombit: 64
        tobit: 1
        desc: Reg
        datatype: ascii
  - itemno: I010/300
    frn: 19
    rule: X
    itemdesc:  Position standard deviation in Cartesian Coordinates
    definition: Position standard deviation in Cartesian coordinates
    format: fixed
    octet: 4
  - itemno: I010/302
    frn: 20
    rule: X
    itemdesc: Velocity standard deviation in Cartesian coordinates
    definition: never present
    format: fixed
    octet: 2
  - itemno: I010/032
    frn: 21
    rule: X
    itemdesc: Label error
    definition: never present
    format: fixed
    octet: 1
  - itemno: I010/090
    frn: 22
    rule: optional
    itemdesc: Mode C Code (Height)
    definition: Mode C height converted into binary representation on two bytes fixed length data item.
    format: fixed
    octet: 2
    structure:
      - name: V
        frombit: 16
        codes:
          0: Code validated
          1: Code not validated
      - name: G
        frombit: 15
        codes:
          0: Default value
          1: Garbled code
      - name: S
        frombit: 14
        desc: sign bit
      - name: FL
        frombit: 13
        tobit: 1
        datatype: int
        desc: Mode C HEIGHT
        resolution: 0.25
        unit: FL
  - itemno: I010/044
    frn: 23
    rule: X
    itemdesc: Target heading in degrees referenced to the North.
    definition: never present
    format: fixed
    octet: 1
  - itemno: I010/078
    frn: 24
    rule: X
    itemdesc: Aircraft Type
    definition: never present
    format: fixed
    octet: 8
  - itemno: I010/080
    frn: 25
    rule: optional
    itemdesc: Parking Position allocation
    definition: Stand information for arrivals and/or de-icing zone/de-icing pad for departures that taxi for de-icing 
    format: fixed
    octet: 4
    structure:
      - name: STAND
        frombit: 32
        tobit: 1
        desc: Parking Position allocation
        datatype: ascii
#      - name: Char2
#        frombit: 24
#        tobit: 17
#        desc: Char2
#        datatype: string
#      - name: Char3
#        frombit: 16
#        tobit: 9
#        desc: Char3
#        datatype: string
#      - name: Char4
#        frombit: 8
#        tobit: 1
#        desc: Char4
#        datatype: string
  - itemno: I010/034
    frn: 26
    rule: X
    itemdesc: Control alert
    definition: never present
    format: variable
    octet: 1
  - itemno: I010/132
    frn: 27
    rule: X
    itemdesc: Maneuver and Movement status
    definition: never present
    format: variable
    octet: 1
  - itemno: I010/046
    frn: 28
    rule: X
    itemdesc: Topological position and TopoObject-Id
    definition: never present
    format: fixed
    octet: 10
  - itemno: I010/401
    frn: 29
    rule: optional
    itemdesc: Time To Threshold
    definition: Time To Threshold
    format: variable
    octet: 0
  - itemno: I010/401-1
    frn: 2901
    rule: optional
    itemdesc: Time To Threshold
    definition: Time To Threshold
    format: fixed
    octet: 2
    structure:
      - name: SRC
        frombit: 16
        tobit: 16
        desc: SRC
        codes:
          0: TTT source is ARTS / Approach.
          1: TTT source is SDF.
      - name: CST
        frombit: 15
        tobit: 15
        desc: CST
        codes:
          0: approach system or computed by SDF basing on an updated.
          1: extrapolated basing on computed.
      - name: WRN
        frombit: 14
        tobit: 14
        desc: WRN
        codes:
          0: Normal condition.
          1: configurable threshold.
      - name: TTT
        frombit: 10
        tobit: 2
        desc: Seconds needed by aircraft to reach runway threshold.
        unit: sec
        max: 511
        min: 0
      - name: FX
        frombit: 1
        tobit: 1
        codes:
          0: No additional bytes are present.
          1: Field extension.
  - itemno: I010/401-2
    frn: 2902
    rule: optional
    itemdesc: name of the runway
    definition: name of the runway
    format: fixed
    octet: 3
    structure:
      - name: NU1
        frombit: 24
        tobit: 17
        desc: First digit.
        datatype: ascii
      - name: NU2
        frombit: 16
        tobit: 9
        desc: Second digit.
        datatype: ascii
      - name: LTR
        frombit: 8
        tobit: 1
        desc: Letter.
        datatype: ascii
  - itemno: I010/400
    frn: 35
    rule: mandatory
    itemdesc: Identification of fused Sensors
    definition: Identification of fused Sensors
    format: variable
    octet: 1
  - itemno: I010/400-1
    frn: 3501
    rule: mandatory
    itemdesc: Identification of fused Sensors
    definition: Identification of fused Sensors
    format: fixed
    octet: 1
    structure:
      - name: S7
        frombit: 8
        desc: sensor7
        codes: 
          0: target not detected by sensor
          1: target detected by sensor
      - name: S6
        frombit: 7
        desc: sensor6
        codes: 
          0: target not detected by sensor
          1: target detected by sensor
      - name: S5
        frombit: 6
        desc: sensor5
        codes: 
          0: target not detected by sensor
          1: target detected by sensor
      - name: S4
        frombit: 5
        desc: sensor4
        codes: 
          0: target not detected by sensor
          1: target detected by sensor
      - name: S3
        frombit: 4
        desc: sensor3, target detected by ADS-B
        codes: 
          0: target not detected by sensor
          1: target detected by sensor
      - name: S2
        frombit: 3
        desc: sensor2, target detected by Apron Control Tower SMR
        codes: 
          0: target not detected by sensor
          1: target detected by sensor
      - name: S1
        frombit: 2
        desc: sensor1, target detected by ATCT SMR
        codes: 
          0: target not detected by sensor
          1: target detected by sensor
      - name: EXT
        frombit: 8
        desc: extension bit
  - itemno: I010/081
    frn: 36
    rule: optional
    itemdesc: Runway (RWY)
    definition: Allocated Runway found in flight plan is set in this item. This item can deviate from the Runway threshold set in item I010/401 Time to Threshold.
    format: fixed
    octet: 3
    structure:
      - name: RWY
        frombit: 24
        tobit: 1
        desc: First ASCII character.
        datatype: ascii
#      - name: CHAR2
#        frombit: 16
#        tobit: 9
#        desc: Second ASCII character.
#        datatype: string
#      - name: CHAR3
#        frombit: 8
#        tobit: 1
#        desc: Third ASCII character.
#        datatype: string    
  - itemno: I010/390
    frn: 37
    rule: X
    itemdesc: Flight Plan Identifier (FPL-ID)
    definition: never present
    format: fixed
    octet: 5
  - itemno: I010/082
    frn: 38
    rule: X
    itemdesc: Actual Start Up Given Time (SUG)
    definition: never present
    format: fixed
    octet: 2
  - itemno: I010/083
    frn: 39
    rule: X
    itemdesc: Estimated/Actual Off-Block Time (EOFB/OFB)
    definition: never present
    format: fixed
    octet: 2
  - itemno: I010/084
    frn: 40
    rule: optional
    itemdesc: Estimated Time of Arrival (ETA) or Estimated Time of Departure (ETD)
    definition: The Estimated Time of Arrival (ETA) or Estimated Time of Departure (ETD)
    format: fixed
    octet: 2
    structure:
      - name: DAY
        frombit: 16
        tobit: 15
        desc: DAY
        codes:
          0: This day
          1: Last day
          2: Next day
          3: not used
      - name: HOR
        frombit: 14
        tobit: 9
        desc: Hours , from 0 to 23
      - name: ArrDep
        frombit: 8
        tobit: 8
        desc: Arrival/Departure Flag
        codes:
          0: Departure
          1: Arrival
      - name: Spare
        frombit: 7
        tobit: 7
        desc: Spare
      - name: MIN
        frombit: 6
        tobit: 1
        desc: Minutes, from 0 to 59
  - itemno: I010/085
    frn: 41
    rule: X
    itemdesc: Estimated/Actual On-Block Time (EONB/ONB)
    definition: never present
    format: fixed
    octet: 2
  - itemno: I010/391
    frn: 42
    rule: mandatory
    itemdesc: Flight Plan Info (FPL-INFO)
    definition: gives the CWP the information which action is allowed to execute from the controller on the track.
    format: fixed
    octet: 1
    structure:
      - name: Drag&Drop
        frombit: 8
        tobit: 8
        desc: Drag&Drop Assignment
        codes:
          0: Forbidden
          1: Allowed
      - name: Manual
        frombit: 7
        tobit: 7
        desc: Manual Assignment
        codes:
          0: Forbidden
          1: Allowed
      - name: Deassignment
        frombit: 6
        tobit: 6
        desc: Deassignment
        codes:
          0: Forbidden
          1: Allowed
      - name: Condition
        frombit: 5
        tobit: 4
        desc: Condition
        codes:
          0: No flight plan is correlated with the track
          1: Automatic identified track
          2: Drag&drop identified track
          3: Callsign manually assigned by operator
      - name: Command
        frombit: 3
        tobit: 2
        desc: Command
        codes:
          0: deassign
          1: assign via automatic
          2: assign via drag&drop
          3: assign via manual
      - name: SPA
        frombit: 1
        tobit: 1
        desc: Spare Bit
