type: object
title: delay_codes
version: 1.0.0
properties:
  metadata:
    additionalProperties: true
    description: Metadata when the record is processed
    title: Metadata
    type: object
  code:
    description: Delay code identifier
    examples:
    - AT
    - WX
    - TD
    maxLength: 5
    title: Code
    type: string
  fn_carrier:
    default: XXX
    description: Flight number carrier code (use '*' for all carriers)
    examples:
    - '*'
    - CX
    - KA
    maxLength: 3
    title: Fn Carrier
    type: string
  valid_since:
    anyOf:
    - format: date-time
      type: string
    - type: 'null'
    default: null
    description: Start of validity
    title: Valid Since
  valid_until:
    anyOf:
    - format: date-time
      type: string
    - type: 'null'
    default: null
    description: End of validity
    title: Valid Until
  responsibility_code:
    anyOf:
    - maxLength: 5
      type: string
    - type: 'null'
    default: null
    description: Responsibility code for the delay
    title: Responsibility Code
  num_code:
    anyOf:
    - type: integer
    - type: 'null'
    default: null
    description: Numeric code representation (0-99)
    title: Num Code
  description:
    anyOf:
    - maxLength: 80
      type: string
    - type: 'null'
    default: null
    description: Description of the delay code
    title: Description
  record_id:
    default: 0
    description: Record ID
    title: Record Id
    type: integer
  last_update:
    anyOf:
    - format: date-time
      type: string
    - type: 'null'
    default: null
    description: Timestamp of last update
    title: Last Update
required:
- metadata
- code
$defs: {}

