openapi: 3.0.1
info:
  title: FL3XX API
  version: 1.7.0
  description: |
    <div class="api-wrapper">
     
      <!-- Main Content -->
      <div class="api-main-content">
        <div class="api-section">
          <h2 class="api-section-title">
            <span class="api-section-icon">
              <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                <path d="M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z"></path>
                <line x1="4" y1="22" x2="4" y2="15"></line>
              </svg>
            </span>
            Platform Overview
          </h2>
          <p class="api-text">The <strong>FL3XX API</strong> provides seamless access to a comprehensive suite of aviation services, enabling partners to integrate and manage flight information, airport details, and operational functionalities. Built with performance and reliability in mind, our API serves as the foundation for your aviation technology infrastructure.</p>
        </div>

        <div class="api-feature-grid">
          <div class="api-feature-card">
            <div class="api-feature-icon" style="background-color: rgba(79, 70, 229, 0.1); color: #4F46E5;">
              <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                <path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path>
                <polyline points="22 4 12 14.01 9 11.01"></polyline>
              </svg>
            </div>
            <h3 class="api-feature-title">Flight Information</h3>
            <p class="api-feature-text">Access detailed flight data, including schedules, crew assignments, passenger details, and real-time updates.</p>
          </div>

          <div class="api-feature-card">
            <div class="api-feature-icon" style="background-color: rgba(236, 72, 153, 0.1); color: #EC4899;">
              <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                <rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
                <line x1="3" y1="9" x2="21" y2="9"></line>
                <line x1="9" y1="21" x2="9" y2="9"></line>
              </svg>
            </div>
            <h3 class="api-feature-title">Airport Management</h3>
            <p class="api-feature-text">Retrieve information about airports, including ground services, fuel availability, and operational notes.</p>
          </div>

          <div class="api-feature-card">
            <div class="api-feature-icon" style="background-color: rgba(245, 158, 11, 0.1); color: #F59E0B;">
              <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                <path d="M22 12H2"></path>
                <path d="M5 12V7.5a2.5 2.5 0 0 1 5 0V12"></path>
                <path d="M14 12V7.5a2.5 2.5 0 0 1 5 0V12"></path>
                <path d="M2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6"></path>
              </svg>
            </div>
            <h3 class="api-feature-title">Fleet Operations</h3>
            <p class="api-feature-text">Manage aircraft assets, maintenance schedules, and operational fleet utilization.</p>
          </div>

          <div class="api-feature-card">
            <div class="api-feature-icon" style="background-color: rgba(16, 185, 129, 0.1); color: #10B981;">
              <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                <line x1="12" y1="1" x2="12" y2="23"></line>
                <path d="M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"></path>
              </svg>
            </div>
            <h3 class="api-feature-title">Quotes & Bookings</h3>
            <p class="api-feature-text">Create, update, and manage quotes and bookings with flexible pricing and multi-sector support.</p>
          </div>

          <div class="api-feature-card">
            <div class="api-feature-icon" style="background-color: rgba(239, 68, 68, 0.1); color: #EF4444;">
              <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                <rect x="2" y="3" width="20" height="14" rx="2" ry="2"></rect>
                <line x1="8" y1="21" x2="16" y2="21"></line>
                <line x1="12" y1="17" x2="12" y2="21"></line>
              </svg>
            </div>
            <h3 class="api-feature-title">Financial Operations</h3>
            <p class="api-feature-text">Handle invoicing, payments, financial reporting, and integrated accounting workflows.</p>
          </div>

          <div class="api-feature-card">
            <div class="api-feature-icon" style="background-color: rgba(14, 165, 233, 0.1); color: #0EA5E9;">
              <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path>
                <polyline points="14 2 14 8 20 8"></polyline>
                <line x1="16" y1="13" x2="8" y2="13"></line>
                <line x1="16" y1="17" x2="8" y2="17"></line>
                <polyline points="10 9 9 9 8 9"></polyline>
              </svg>
            </div>
            <h3 class="api-feature-title">Document Management</h3>
            <p class="api-feature-text">Handle document processing, categorization, and seamless workflow integration.</p>
          </div>
        </div>
      </div>
    </div>
        <!--
        <div class="api-cta-section">
          <div class="api-cta-card">
            <div class="api-cta-icon">
              <svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                <circle cx="12" cy="12" r="10"></circle>
                <line x1="12" y1="8" x2="12" y2="16"></line>
                <line x1="8" y1="12" x2="16" y2="12"></line>
              </svg>
            </div>
            <h3 class="api-cta-title">Get Started Now</h3>
            <p class="api-cta-text">Follow our step-by-step guide to quickly integrate with the FL3XX platform and start leveraging its powerful capabilities.</p>
            <a href="/guides/fl3xx-api/getting-started" class="api-cta-button">View Getting Started Guide</a>
          </div>
          <div class="api-cta-card">
            <div class="api-cta-icon">
              <svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                <path d="M15.05 5A5 5 0 0 1 19 8.95M15.05 1A9 9 0 0 1 23 8.94m-1 7.98v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>
              </svg>
            </div>
            <h3 class="api-cta-title">Need Support?</h3>
            <p class="api-cta-text">Our integration team is ready to assist with any questions or challenges you may encounter during implementation.</p>
            <a href="mailto:integrations@fl3xx.com" class="api-cta-button secondary">Contact Our Team</a>
          </div>
        </div>-->
      </div>

      <!-- Footer -->
      <!--
      <div class="api-footer">
        <div class="api-footer-divider"></div>
        <div class="api-footer-content">
          <div class="api-footer-item">
            <strong>FL3XX Aviation Solutions</strong> | Empowering the aviation industry since 2015
          </div>
          <div class="api-footer-item">
            <a href="/privacy" class="api-footer-link">Privacy Policy</a> | 
            <a href="/terms" class="api-footer-link">Terms of Service</a> | 
            <a href="/changelog" class="api-footer-link">API Changelog</a>
          </div>
        </div>
      </div>-->
    </div>

    <style>
      /* Command Center Grid Background */
      .api-wrapper {
        position: relative;
      }
      
      .api-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="tactical-grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(241,90,42,0.08)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23tactical-grid)"/></svg>');
        opacity: 0.4;
        z-index: -1;
        pointer-events: none;
      }

      /* Hero Section */
      .api-hero-section {
        margin-bottom: 40px;
      }
      
      .api-hero-content {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 24px;
        background: var(--background-color);
        border: 1px solid rgba(241, 90, 42, 0.2);
        border-radius: 12px;
        position: relative;
      }
      
      .api-hero-content::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, #F15A2A 0%, #FF6B35 50%, #EF9B7C 100%);
        border-radius: 12px 12px 0 0;
      }
      
      .api-hero-icon {
        width: 64px;
        height: 64px;
        background: rgba(241, 90, 42, 0.1);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #F15A2A;
        flex-shrink: 0;
        border: 1px solid rgba(241, 90, 42, 0.2);
      }
      
      .api-hero-text {
        flex: 1;
      }
      
      .api-hero-title {
        font-size: 28px;
        font-weight: 700;
        color: var(--text-color-primary);
        margin: 0 0 8px 0;
        font-family: 'Courier New', monospace;
        letter-spacing: 1px;
      }
      
      .api-hero-subtitle {
        font-size: 16px;
        color: var(--text-color-secondary);
        margin: 0;
        line-height: 1.5;
      }
      
      .api-status-badge {
        background: linear-gradient(135deg, #F15A2A 0%, #FF6B35 100%);
        color: white;
        font-size: 12px;
        font-weight: 700;
        padding: 12px 20px;
        border-radius: 20px;
        text-transform: uppercase;
        letter-spacing: 1px;
        flex-shrink: 0;
        font-family: 'Courier New', monospace;
        box-shadow: 0 0 20px rgba(241, 90, 42, 0.3);
      }

      /* Main Section Styles */
      .api-section {
        margin-bottom: 40px;
        position: relative;
      }

      .api-section-title {
        display: flex;
        align-items: center;
        font-size: 22px;
        font-weight: 700;
        color: var(--text-color-primary);
        margin-bottom: 20px;
        font-family: 'Courier New', monospace;
        letter-spacing: 1px;
        text-transform: uppercase;
      }

      .api-section-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 12px;
        color: #f15a2a;
      }

      .api-text {
        font-size: 16px;
        color: var(--text-color-primary);
        line-height: 1.6;
        margin: 0 0 20px 0;
      }
      
      .api-status {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-top: 16px;
        padding: 12px 20px;
        background: rgba(241, 90, 42, 0.05);
        border: 1px solid rgba(241, 90, 42, 0.2);
        border-radius: 8px;
        font-family: 'Courier New', monospace;
      }
      
      .status-indicator {
        font-size: 12px;
        font-weight: 700;
        color: #10B981;
        letter-spacing: 0.5px;
      }
      
      .version-code {
        font-size: 11px;
        font-weight: 700;
        color: #F15A2A;
        letter-spacing: 1px;
        opacity: 0.8;
      }
      
      /* Version Highlights */
      .api-highlights {
        display: flex;
        gap: 20px;
        margin-top: 24px;
        flex-wrap: wrap;
      }
      
      .api-highlight-item {
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: 'Courier New', monospace;
        font-size: 14px;
        font-weight: 600;
        color: var(--text-color-secondary);
      }
      
      .api-highlight-icon {
        font-size: 16px;
      }

      /* Feature Grid */
      .api-feature-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        margin-bottom: 40px;
      }

      .api-feature-card {
        background-color: var(--background-color);
        border-radius: 12px;
        padding: 24px;
        box-shadow: 0 0 20px rgba(241, 90, 42, 0.1);
        transition: all 0.3s ease;
        border: 1px solid rgba(241, 90, 42, 0.2);
        position: relative;
        backdrop-filter: blur(10px);
      }
      
      .api-feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, #F15A2A 0%, #FF6B35 50%, #EF9B7C 100%);
        border-radius: 12px 12px 0 0;
      }

      .api-feature-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 30px rgba(241, 90, 42, 0.2);
        border-color: rgba(241, 90, 42, 0.4);
      }

      .api-feature-icon {
        width: 52px;
        height: 52px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;
      }

      .api-feature-title {
        font-size: 16px;
        font-weight: 700;
        color: var(--text-color-primary);
        margin: 0 0 8px 0;
        font-family: 'Courier New', monospace;
        letter-spacing: 0.5px;
      }

      .api-feature-text {
        font-size: 14px;
        color: var(--text-color-secondary);
        margin: 0 0 16px 0;
        line-height: 1.5;
      }
      
      .api-feature-badge {
        display: inline-block;
        background: linear-gradient(135deg, #F15A2A 0%, #FF6B35 100%);
        color: white;
        font-size: 10px;
        font-weight: 700;
        padding: 4px 8px;
        border-radius: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-family: 'Courier New', monospace;
      }
      
      /* Beta Info Section */
      .api-beta-info-section {
        margin-top: 40px;
      }
      
      .api-beta-info-card {
        background: var(--background-color);
        border: 1px solid rgba(241, 90, 42, 0.2);
        border-radius: 12px;
        padding: 32px;
        text-align: center;
        position: relative;
      }
      
      .api-beta-info-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, #F15A2A 0%, #FF6B35 50%, #EF9B7C 100%);
        border-radius: 12px 12px 0 0;
      }
      
      .api-beta-info-icon {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: rgba(241, 90, 42, 0.1);
        color: #F15A2A;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        border: 2px solid rgba(241, 90, 42, 0.2);
      }
      
      .api-beta-info-title {
        font-size: 20px;
        font-weight: 700;
        color: var(--text-color-primary);
        margin: 0 0 16px 0;
        font-family: 'Courier New', monospace;
        letter-spacing: 0.5px;
      }
      
      .api-beta-info-text {
        font-size: 16px;
        color: var(--text-color-secondary);
        margin: 0 0 24px 0;
        line-height: 1.6;
      }
      
      .api-beta-info-features {
        display: flex;
        flex-direction: column;
        gap: 12px;
        max-width: 400px;
        margin: 0 auto;
      }
      
      .api-beta-feature {
        font-size: 14px;
        color: var(--text-color-secondary);
        font-family: 'Courier New', monospace;
        text-align: left;
      }

      /* CTA Section */
      .api-cta-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        margin-bottom: 40px;
      }

      .api-cta-card {
        background-color: var(--background-color);
        border-radius: 8px;
        padding: 32px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.04);
        text-align: center;
        border: 1px solid rgba(0,0,0,0.05);
      }

      .api-cta-icon {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background-color: rgba(241, 90, 42, 0.1);
        color: #f15a2a;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
      }

      .api-cta-title {
        font-size: 22px;
        font-weight: 600;
        color: var(--text-color-primary);
        margin: 0 0 12px 0;
      }

      .api-cta-text {
        font-size: 15px;
        color: #6B7280;
        margin: 0 0 24px 0;
        line-height: 1.5;
      }

      .api-cta-button {
        background: var(--primary-color);
        color: yellow;
        font-weight: 600;
        font-size: 15px;
        padding: 10px 20px;
        border-radius: 8px;
        text-decoration: none;
        text-color: yellow;
      }

      .api-cta-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(241, 90, 42, 0.4);
      }

      .api-cta-button.secondary {
        background: white;
        color: #f15a2a;
        border: 1px solid rgba(241, 90, 42, 0.3);
      }

      .api-cta-button.secondary:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      }

      /* Footer */
      .api-footer {
        margin-top: 60px;
        padding-bottom: 40px;
      }

      .api-footer-divider {
        height: 1px;
        background-color: rgba(0,0,0,0.1);
        margin-bottom: 20px;
      }

      .api-footer-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 14px;
        color: #6B7280;
      }

      .api-footer-link {
        color: #6B7280;
        text-decoration: none;
        transition: color 0.2s ease;
      }

      .api-footer-link:hover {
        color: #f15a2a;
      }

      /* Responsive Adjustments */
      @media (max-width: 1024px) {
        .api-feature-grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }

      @media (max-width: 768px) {
        .api-header {
          padding: 30px 20px 30px 60px;
        }

        .api-logo-container {
          left: 20px;
          top: 30px;
        }

        .api-title {
          font-size: 28px;
        }

        .api-tagline {
          font-size: 16px;
        }

        .api-cta-section {
          grid-template-columns: 1fr;
        }
      }

      @media (max-width: 640px) {
        .api-feature-grid {
          grid-template-columns: 1fr;
        }

        .api-footer-content {
          flex-direction: column;
          gap: 12px;
          text-align: center;
        }
      }
    </style>
  contact:
    name: FL3XX Integration Support
    email: integrations@fl3xx.com
    url: https://www.fl3xx.com
  x-audience: external-partner
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://test.fl3xx.com
    description: Test Server
security:
  - API_AUTHENTICATION: []
tags:
  - name: Accounting
    description: >
      These group of endpoints are designed to manage accounting operations such
      as invoice management, payment processing, and general ledger entries.
      These endpoints are essential for ensuring accurate financial records and
      efficient financial operations.


      **Key Features**


      - **Invoice Management:** Create, retrieve, and update invoices.

      - **Payment Processing:** Handle payment transactions and manage payment
      records.

      - **General Ledger:** Access and update general ledger entries for
      comprehensive financial tracking.


      <br/>


      **Business Value**


      - **Financial Accuracy:** Ensures accurate and up-to-date financial
      records, minimizing errors and discrepancies.

      - **Operational Efficiency:** Streamlines financial operations, reducing
      the time and effort required to manage accounting tasks.

      - **Compliance:** Helps meet regulatory requirements by maintaining
      detailed and accurate financial records.


      <br/>


      **Use Cases**


      - **Financial Management:** Efficiently manage financial transactions and
      records, ensuring all financial data is current and accurate.

      - **Audit Preparation:** Maintain detailed financial records to facilitate
      audit processes and ensure compliance.

      - **Budgeting and Forecasting:** Use financial data to create budgets and
      forecast future financial performance.


      <br/>


      **Why Use These Endpoints**


      Utilizing the endpoints under the `Accounting` tag helps to streamline
      financial operations by ensuring data integrity and accuracy. They are
      essential tools for maintaining financial health and compliance within the
      organization.
  - name: Accounts
    description: Operations related accounts.
  - name: Airports
    description: Access and manage airport information.
  - name: Aircraft
    description: >
      These group of endpoints are designed to manage aircraft details,
      maintenance schedules, and pricing information. These endpoints are
      essential for ensuring the efficient operation and management of aircraft
      within the aviation industry.


      **Key Features**


      - **Details Management:** Access and update detailed information about
      aircraft, including specifications and configurations.

      - **Maintenance:** Manage maintenance schedules and records to ensure
      aircraft are in optimal condition.

      - **Pricing:** Retrieve and update pricing information for aircraft
      operations and services.


      <br/>


      **Business Value**


      - **Operational Efficiency:** Streamlines the management of aircraft
      details and maintenance, reducing downtime and operational disruptions.

      - **Cost Management:** Provides accurate and up-to-date pricing
      information, aiding in financial planning and cost control.

      - **Compliance:** Ensures that maintenance schedules and records are
      up-to-date, helping to meet regulatory requirements.


      <br/>


      **Use Cases**


      - **Fleet Management:** Efficiently manage a fleet of aircraft, ensuring
      all details and maintenance records are current.

      - **Maintenance Planning:** Schedule and track maintenance activities to
      minimize aircraft downtime and ensure safety.

      - **Financial Planning:** Use pricing information to forecast operational
      costs and manage budgets effectively.


      <br/>


      **Why Use These Endpoints**


      Utilizing the endpoints under the `Aircraft` tag helps to streamline the
      management of aircraft operations by ensuring data integrity and accuracy.
      They are essential tools for maintaining operational efficiency and
      compliance within the aviation industry.
  - name: Booking Itinerary (Legs)
    description: Operations related to flight itinerary legs.
  - name: Crew
    description: Operations related to crew details.
  - name: Document Downloads
    description: Download documentation in Base64 format.
  - name: Empty Legs
    description: Operations related to empty leg flights.
  - name: Flights
    description: Operations related to flights.
  - name: Flight Animals
    description: Operations related flight animals.
  - name: Flight Cargo
    description: Operations related to flight cargo.
  - name: Flight Crew
    description: Operations related to crew for individual flights.
  - name: Flight Fixed Base Operator (FBO)
    description: Operations related to FBO.
  - name: Flight Fuels
    description: Operations related to fuel for flights.
  - name: Flight Ground Services
    description: Operations related to ground services.
  - name: Flight Luggage
    description: Operations related to luggage for flights.
  - name: Flight Migration
    description: Operations related to migrations.
  - name: Flight Notifications
    description: Operations related to notifications for flights.
  - name: Flight Passengers
    description: >
      These endpoints are designed to manage passenger details for flights. They
      allow for the retrieval, updating, and deletion of passenger information
      associated with specific flight tickets.


      **Key Features**


      - **Passenger Management:** Add, retrieve, update, and delete passenger
      details for flights.

      - **Data Accuracy:** Ensures that passenger information is accurate and
      up-to-date.


      **Business Value**


      - **Operational Efficiency:** Streamlines the process of managing
      passenger information, reducing manual effort.

      - **Customer Service:** Enhances the ability to provide timely and
      accurate information to passengers and stakeholders.

      - **Compliance:** Helps maintain accurate records of passenger details for
      regulatory and operational purposes.


      **Use Cases**


      - **Flight Operations:** Quickly access and manage passenger details for
      flight management and operations.

      - **Customer Support:** Assist passengers with inquiries about their
      flight details and ticket information.

      - **Regulatory Compliance:** Maintain accurate and up-to-date passenger
      records for each flight.
  - name: Flight PAX Details
    description: Operations related to PAX details.
  - name: Flight Planning Notes
    description: Operations related to planning notes for flights.
  - name: Flight Post Flight
    description: Operations related to post-flight activities.
  - name: Flight Pre Flight
    description: Operations related to pre-flight operations.
  - name: Flight Sanction List
    description: Operations related to flight sanctions and approvals.
  - name: Flight Travel Authorization
    description: >
      These endpoints are designed to manage travel authorization details for
      passengers on flights.


      **Key Features**


      - **Travel Authorization Status:** Check and update the travel
      authorization status for passengers.


      <br/>


      **Business Value**


      - **Compliance:** Helps to meet regulatory requirements.

      - **Operational Efficiency:** Streamlines the process of managing travel
      authorizations, reducing the time and effort required.

      - **Risk Management:** Minimizes the risk of travel disruptions due to
      missing or invalid travel documents.


      <br/>


      **Use Cases**


      - **Flight Operations Management:** Review and manage travel authorization
      details for passengers on specific flights.

      - **Customer Service:** Assist passengers in ensuring they have the
      necessary travel documents for their journey.

      - **Regulatory Compliance:** Maintain accurate records of travel
      authorizations to meet regulatory requirements.


      <br/>


      **Why Use These Endpoints**


      The Flight Travel Authorization endpoints are essential tools for
      maintaining compliance and operational efficiency within the aviation
      industry.
  - name: Flight Tickets
    description: Operations related to flight tickets.
  - name: Quotes
    description: >
      These group of endpoints are designed to manage the creation, retrieval,
      and updating of flight quotes. These endpoints are essential for
      streamlining the quoting process, ensuring accuracy, and enhancing
      operational efficiency.


      **Key Features**


      - **Creation:** Generate new quotes with detailed information.

      - **Retrieval:** Access existing quotes and their details.

      - **Updating:** Modify existing quotes to reflect changes in requirements
      or pricing.

      - **Notification:** Automatically notify operators upon successful quote
      creation or updates.


      <br/>


      **Business Value**


      - **Efficiency:** Streamlines the quote management process, reducing the
      time and effort required to handle quotes.

      - **Accuracy:** Ensures data integrity and accuracy, minimizing errors and
      discrepancies in quotes.

      - **Automation:** Automates the notification process, keeping operators
      informed in real-time.


      <br/>


      **Use Cases**


      - **Sales Teams:** Quickly generate accurate quotes for potential clients,
      improving response times and customer satisfaction.

      - **Operations Management:** Ensure that all quotes are properly formatted
      and complete before proceeding with further actions.

      - **Financial Planning:** Use the generated quotes to forecast revenue and
      manage financial expectations.


      <br/>


      **Why Use These Endpoints?**


      Utilizing the endpoints under the `Quotes` tag helps to streamline the
      quote management process by ensuring data integrity and accuracy. They are
      essential tools for managing quotes efficiently and effectively.
  - name: Quote Attachments
    description: Operations related to documents and files attached to flight quotes.
  - name: Quote Versions
    description: Operations related to versions of quotes.
  - name: Roster
    description: Operations related to Rosters.
  - name: Users
    description: Operations related to Users.
  - name: Crew Qualifications
    description: >
      Manage crew qualifications and certifications. These endpoints enable
      partners to assign, update, and manage crew member qualifications
      including licenses, certifications, and associated documents.


      **Business Value**

      - Maintain accurate crew qualification records for compliance and safety.

      - Streamline qualification assignment and management processes.

      - Support document management for qualification certificates and licenses.

      - Ensure crew members meet operational requirements and regulations.


      <br/>


      **Use Cases**

      - Assign new qualifications to crew members with license details and
      expiration dates.

      - Update existing qualification information including license numbers and
      issuing authorities.

      - Upload and manage qualification documents such as certificates and
      licenses.

      - Retrieve qualification information for crew members and compliance
      reporting.

      - Delete obsolete qualifications and associated documents.


      <br/>


      **Note:**  

      > All crew qualification operations are bound to the operator context
      associated with the authentication token. Partners can only manage
      qualifications for crew members within their organization.
x-tagGroups:
  - name: Accounting
    tags:
      - Accounting
  - name: Accounts
    tags:
      - Accounts
  - name: Airports
    tags:
      - Airports
  - name: Aircraft
    tags:
      - Aircraft
  - name: Booking Itinerary (Legs)
    tags:
      - Booking Itinerary (Legs)
  - name: Crew
    tags:
      - Crew
      - Crew Qualifications
  - name: Empty Legs
    tags:
      - Empty Legs
  - name: Flights
    tags:
      - Flights
      - Flight Animals
      - Flight Cargo
      - Flight Crew
      - Flight Fixed Base Operator (FBO)
      - Flight Fuels
      - Flight Ground Services
      - Flight Luggage
      - Flight Migration
      - Flight Notifications
      - Flight Passengers
      - Flight PAX Details
      - Flight Planning Notes
      - Flight Post Flight
      - Flight Pre Flight
      - Flight Sanction List
      - Flight Travel Authorization
      - Flight Tickets
  - name: Quotes
    tags:
      - Quotes
  - name: Roster
    tags:
      - Roster
  - name: Users
    tags:
      - Users
paths:
  /api/external/accounting/attachments/{uuid}:
    get:
      tags:
        - Accounting
      summary: Get an Accounting Document
      description: Get an accounting document using its UUID.
      operationId: getAccountingDocumentByUuid
      parameters:
        - name: uuid
          in: path
          description: Document's UUID
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: PDF document
          content:
            application/pdf:
              schema:
                type: string
                format: binary
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/quote/bookings:
    get:
      tags:
        - Accounting
      summary: Get Bookings
      description: Searches for bookings using the provided filters.
      operationId: getBookings
      parameters:
        - name: customerAccountId
          in: query
          description: Customer account ID
          allowEmptyValue: false
          schema:
            type: integer
            format: int64
        - name: customerId
          in: query
          description: Customer ID
          allowEmptyValue: false
          schema:
            type: integer
            format: int64
        - name: filter
          in: query
          description: Status
          allowEmptyValue: false
          schema:
            type: string
            enum:
              - PAID
              - NOT_PAID
              - NOT_TRANSFERRED
              - READY_TO_INVOICE
          example: PAID
        - name: lastRequest
          in: query
          description: >-
            Include only bookings that have been updated on and after the given
            date (YYYY-MM-DDTHH:MM)
          allowEmptyValue: false
          schema:
            type: string
          example: 2019-09-01T10:00
        - name: page
          in: query
          description: Page number
          allowEmptyValue: false
          schema:
            type: integer
            format: int32
          example: '1'
        - name: size
          in: query
          description: Size of the page. Must be limited to 50 items.
          allowEmptyValue: false
          schema:
            type: integer
            format: int32
            maximum: 50
          example: '10'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page_QuoteDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/accounting/booking/{reference}:
    get:
      tags:
        - Accounting
      summary: Get a Booking
      description: Fetches details of a booking using its ID.
      operationId: getAccountEntriesByBookingId
      parameters:
        - name: reference
          in: path
          description: bookingId, quoteId or externalReference
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountingDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/accounting/booking/{reference}/invoices:
    get:
      tags:
        - Accounting
      summary: Get  Invoices
      description: Fetches all invoices associated with a specific booking.
      operationId: getBookingInvoicesByBookingId
      parameters:
        - name: reference
          in: path
          description: bookingId, quoteId or externalReference
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InvoiceDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/accounting/booking/{reference}/split:
    get:
      tags:
        - Accounting
      summary: Get Split Pricing
      description: >-
        Fetches split pricing information (cost, owner share, profitability) for
        a specific bookingId.
      operationId: getBookingSplitInfoByBookingId
      parameters:
        - name: reference
          in: path
          description: bookingId, quoteId or externalReference
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalSplitDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/accounting/{accountEntryId}:
    put:
      tags:
        - Accounting
      summary: Add GL Code to Account Entry
      description: >-
        Adds a General Ledger (GL) code to an existing account entry identified
        by its ID.
      operationId: putAccountCodeToAccountEntry
      parameters:
        - name: accountCode
          in: query
          description: accountCode
          required: true
          schema:
            type: string
        - name: accountEntryId
          in: path
          description: accountEntryId
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountEntryDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/accounting/invoice-payments:
    get:
      tags:
        - Accounting
      summary: Get Invoice Payments
      description: Fetches payments associated with a booking and/or invoice.
      operationId: getInvoicePayments
      parameters:
        - name: quoteId
          in: query
          required: true
          description: Quote ID
          schema:
            type: integer
            format: int64
            example: 107592
        - name: invoiceId
          in: query
          required: false
          description: Invoice ID
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/B2CPaymentDTO'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '409':
          description: Conflict
        '429':
          description: Too Many Requests
        '500':
          description: Internal Server Error
    post:
      tags:
        - Accounting
      summary: Creates an Invoice Payment
      description: Creates a new payment associated with a booking and/or invoice.
      operationId: postInvoicePayment
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/B2CPaymentDTO'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B2CPaymentDTO'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '409':
          description: Conflict
        '429':
          description: Too Many Requests
        '500':
          description: Internal Server Error
  /api/external/accounting/invoice-payments/{paymentId}:
    get:
      tags:
        - Accounting
      summary: Get an Invoice Payment
      description: Gets a booking and/or invoice payment by its ID.
      operationId: getInvoicePaymentById
      parameters:
        - name: paymentId
          in: path
          required: true
          description: Invoice payment ID
          schema:
            type: integer
            format: int64
            example: 327
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B2CPaymentDTO'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '409':
          description: Conflict
        '429':
          description: Too Many Requests
        '500':
          description: Internal Server Error
    put:
      tags:
        - Accounting
      summary: Update an Invoice Payment
      description: Updates a booking and/or invoice payment information.
      operationId: putInvoicePaymentById
      parameters:
        - name: paymentId
          in: path
          required: true
          description: Invoice payment ID
          schema:
            type: integer
            format: int64
            example: 327
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/B2CPaymentDTO'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B2CPaymentDTO'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '409':
          description: Conflict
        '429':
          description: Too Many Requests
        '500':
          description: Internal Server Error
    delete:
      tags:
        - Accounting
      summary: Delete an Invoice Payment
      description: Delete booking and/or invoice payment.
      operationId: deleteInvoicePaymentById
      parameters:
        - name: paymentId
          in: path
          required: true
          description: Invoice payment ID
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedDto'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '409':
          description: Conflict
        '429':
          description: Too Many Requests
        '500':
          description: Internal Server Error
  /api/external/accounting/invoice-payments/{paymentId}/documents:
    post:
      tags:
        - Accounting
      summary: Add Invoice Payment Document
      description: >-
        Associates a (PDF, JPG, PNG or JPEG) file to a booking and/or invoice
        payment.
      operationId: postInvoicePaymentDocument
      parameters:
        - name: paymentId
          in: path
          required: true
          description: Invoice payment ID
          schema:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              required:
                - file
              type: object
              properties:
                file:
                  type: string
                  format: binary
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B2CBinaryReferenceDTO'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '409':
          description: Conflict
        '429':
          description: Too Many Requests
        '500':
          description: Internal Server Error
  /api/external/accounting/invoice-payments/{paymentId}/documents/{uuid}:
    get:
      tags:
        - Accounting
      summary: Get Invoice Payment Document
      description: >-
        Fetches a document associated with a booking and/or invoice payment by
        its UUID.
      operationId: getInvoicePaymentDocumentByUuid
      parameters:
        - name: paymentId
          in: path
          required: true
          description: Invoice payment ID
          schema:
            type: integer
            format: int64
        - name: uuid
          in: path
          required: true
          description: Document UUID
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
                format: binary
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '409':
          description: Conflict
        '429':
          description: Too Many Requests
        '500':
          description: Internal Server Error
    delete:
      tags:
        - Accounting
      summary: Delete Invoice Payment Document
      description: >-
        Deletes a document associated with a booking and/or invoice payment by
        its UUID.
      operationId: deleteInvoicePaymentDocumentByUuid
      parameters:
        - name: paymentId
          in: path
          required: true
          description: Invoice payment ID
          schema:
            type: integer
            format: int64
        - name: uuid
          in: path
          required: true
          description: Document UUID
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedDto'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '409':
          description: Conflict
        '429':
          description: Too Many Requests
        '500':
          description: Internal Server Error
  /api/external/aircraft:
    get:
      tags:
        - Aircraft
      summary: Get Fleet
      description: Fetches aircraft/fleet.
      operationId: getAircraft
      parameters:
        - name: date
          in: query
          description: Earliest aircraft modification  in format 'YYYY-MM-DDThh:mm‘
          schema:
            type: string
          example: 2024-09-28T22:00
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AircraftDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/aircraft/picture/{uuid}:
    get:
      tags:
        - Aircraft
      summary: Get Aircraft Picture
      description: Fetches an aircraft picture using the document's uuid.
      operationId: getAircraftPicture
      parameters:
        - name: uuid
          in: path
          description: picture uuid
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Success
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/aircraft/picture/{uuid}/thumbnail:
    get:
      tags:
        - Aircraft
      summary: Get Aircraft Thumbnail Picture
      description: >-
        Fetches a thumbnail (100x100 px) of an aircraft picture using the
        document's UUID.
      operationId: loadThumbnailUsingGET
      parameters:
        - name: uuid
          in: path
          description: picture uuid
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Success
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/aircraft/{tailNumber}:
    get:
      tags:
        - Aircraft
      summary: Get an Aircraft
      description: Fetches details of an aircraft using its tail number.
      operationId: getAircraftById
      parameters:
        - name: tailNumber
          in: path
          description: Aircraft ID
          required: true
          schema:
            type: string
          example: OE-FL3XX
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AircraftDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/aircraft/{tailNumber}/holditems:
    get:
      tags:
        - Aircraft
      summary: Get Aircraft Hold Items
      description: Fetches hold items associated with an aircraft using its tail number.
      operationId: getAircraftHoldItems
      parameters:
        - name: dateSearchType
          in: query
          description: dateSearchType
          schema:
            type: string
            default: ALL
            enum:
              - ALL
              - REPORT
              - DUE
              - CORRECTED
        - name: from
          in: query
          description: from
          required: true
          schema:
            pattern: YYYY-MM-DD
            type: string
            format: date
        - name: tailNumber
          in: path
          description: tailNumber
          required: true
          schema:
            type: string
          example: OE-FL3XX
        - name: to
          in: query
          description: to
          required: true
          schema:
            pattern: YYYY-MM-DD
            type: string
            format: date
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/HoldItemDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/aircraft/{tailNumber}/pricing:
    get:
      tags:
        - Aircraft
      summary: Get Aircraft Pricing
      description: Fetches pricing details of an aircraft using its tail number.
      operationId: getAircraftPricingDetails
      parameters:
        - name: tailNumber
          in: path
          description: Aircraft's tailNumber
          required: true
          schema:
            type: string
          example: OE-FL3XX
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AircraftPriceDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/aircraft/{tailNumber}/schedule:
    get:
      tags:
        - Aircraft
      summary: Get Aircraft Schedule
      description: >
        Fetches the schedule of an aircraft using its tail number. Limitation

        60 days in the past and 60 days in the future. If an invalid date is
        returned, the default (-60 or + 60) days will be returned.


        Aircraft tasks in FL3XX represent events that occur at a *single*
        location. This includes activities like maintenance, AOG (Aircraft On
        Ground) situations, and crew unavailability.


        **Example:**


        If you're scheduling maintenance for an aircraft at Rome's Fiumicino
        Airport, you would enter the following:


        * **Departure Airport:** Fiumicino (FCO)

        * **Departure Time:** The date and time the maintenance starts.

        * **Arrival Airport:** Fiumicino (FCO) 

        * **Arrival Time:** The date and time the maintenance is expected to
        end.
      operationId: getAircraftSchedule
      parameters:
        - name: from
          in: query
          description: from
          schema:
            pattern: YYYY-MM-DD
            type: string
            format: date
          example: '2024-10-16'
        - name: initLocation
          in: query
          description: initLocation
          schema:
            type: boolean
            default: false
        - name: tailNumber
          in: path
          description: tailNumber
          required: true
          schema:
            type: string
          example: OE-FL3XX
        - name: to
          in: query
          description: to
          schema:
            pattern: YYYY-MM-DD
            type: string
            format: date
          example: '2024-12-16'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AircraftScheduleDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/aircraft/{aircraftId}/maintenanceSchedules:
    get:
      tags:
        - Aircraft
      summary: Get Aircraft Maintenance Schedule by Aircraft ID
      description: Fetches the maintenance schedule of an aircraft using its ID.
      operationId: getAircraftMaintenanceSchedules
      parameters:
        - name: aircraftId
          in: path
          description: Aircraft ID
          required: true
          schema:
            type: integer
          example: 123456
        - name: limit
          in: query
          description: Number of items to be retrieved
          schema:
            maximum: 200
            type: integer
            format: int32
          example: 20
        - name: offset
          in: query
          description: Search offset
          schema:
            type: integer
            format: int32
          example: 0
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AircraftMaintenanceScheduleDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      deprecated: false
    put:
      tags:
        - Aircraft
      summary: Update Aircraft Maintenance Schedule
      description: Update the maintenance schedule of an aircraft.
      operationId: putAircraftMaintenanceSchedules
      parameters:
        - name: aircraftId
          in: path
          description: Aircraft ID
          required: true
          schema:
            type: integer
          example: 123456
      requestBody:
        description: Aircraft Maintenance Schedule
        content:
          '*/*':
            schema:
              minItems: 1
              type: array
              items:
                $ref: '#/components/schemas/AircraftMaintenanceScheduleDto'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AircraftMaintenanceScheduleDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
  /api/external/aircraft/{aircraftId}/maintenanceSchedules/{maintenanceScheduleId}:
    delete:
      tags:
        - Aircraft
      summary: Delete Aircraft Maintenance Schedule
      description: >-
        Delete Aircraft Maintenance Schedule by Aircraft ID and Maintenance
        Schedule ID.
      operationId: deleteAircraftMaintenanceSchedules
      parameters:
        - name: maintenanceScheduleId
          in: path
          description: Maintenance Schedule ID
          required: true
          schema:
            type: integer
          example: 123456
        - name: aircraftId
          in: path
          description: Aircraft ID
          required: true
          schema:
            type: integer
          example: 123456
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteObj'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
  /api/external/airports/{airportCode}:
    get:
      tags:
        - Airports
      summary: Get an Airport
      description: Fetches details of an airport using its ICAO, IATA, or FAA code.
      operationId: getAirportByCode
      parameters:
        - name: airportCode
          in: path
          description: ICAO, IATA or FAA code of the airport
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Airport information
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AirportObj'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '422':
          description: No airport has been found by the given airport code
          content: {}
      deprecated: false
  /api/external/airports/{airportCode}/agents:
    get:
      tags:
        - Airports
      summary: Get Ground Handling/FBO Services
      description: >-
        Fetches a list of Ground Handling/FBO associated with an airport using
        its ICAO, IATA, or FAA code.
      operationId: getAirportAgents
      parameters:
        - name: airportCode
          in: path
          description: ICAO, IATA or FAA code of the airport
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AirportServiceBaseDto'
        '204':
          description: No agents have been found for the selected airport
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AirportServiceBaseDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '422':
          description: No airport has been found by the given airport code
          content: {}
      deprecated: false
  /api/external/airports/{airportCode}/costs:
    get:
      tags:
        - Airports
      summary: Get Airport Costs
      description: >-
        Fetches costs associated with an airport using its ICAO, IATA, or FAA
        code.
      operationId: getAirportCost
      parameters:
        - name: airportCode
          in: path
          description: ICAO, IATA or FAA code of the airport
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AirportFeeDto'
        '204':
          description: No costs have been found for the selected airport
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '422':
          description: No airport has been found by the given airport code
          content: {}
      deprecated: false
  /api/external/airports/{airportCode}/crew:
    get:
      tags:
        - Airports
      summary: Get Airport Crew
      description: >-
        Fetches a list of crew members associated with an airport using its
        ICAO, IATA, or FAA code.
      operationId: getAirportCrew
      parameters:
        - name: airportCode
          in: path
          description: ICAO, IATA or FAA code of the airport
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserDto'
        '204':
          description: No crew members have been found for the selected airport
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '422':
          description: No airport has been found by the given airport code
          content: {}
      deprecated: false
  /api/external/airports/{airportCode}/docs:
    get:
      tags:
        - Airports
      summary: Get Airport Documents
      description: >-
        Fetches a list of documents associated with an airport using its ICAO,
        IATA, or FAA code.
      operationId: getAirportDocuments
      parameters:
        - name: airportCode
          in: path
          description: ICAO, IATA or FAA code of the airport
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AirportDocumentDto'
        '204':
          description: No documents have been found of this airport
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AirportDocumentDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '422':
          description: No airport has been found by the given airport code
          content: {}
      deprecated: false
  /api/external/airports/{airportCode}/docs/{documentEadId}:
    get:
      tags:
        - Airports
      summary: Get Airport Document
      operationId: getAirportDocsByAirportCodeAndDocId
      description: Fetches a base64-encoded file of an airport document using its eadId.
      parameters:
        - name: airportCode
          in: path
          description: ICAO, IATA or FAA code of the airport
          required: true
          schema:
            type: string
        - name: documentEadId
          in: path
          description: ID of the document to download
          required: true
          schema:
            type: integer
            format: int64
        - name: name
          in: query
          description: A name to give to the file to be retrieved.
          allowEmptyValue: false
          schema:
            type: string
      responses:
        '200':
          description: Success
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/airports/{airportCode}/fuels:
    get:
      tags:
        - Airports
      summary: Get Airport Fuels
      description: >-
        Fetches a list of fuels available at an airport using its ICAO, IATA, or
        FAA code.
      operationId: getAirportFuelsByAirportCode
      parameters:
        - name: airportCode
          in: path
          description: ICAO, IATA or FAA code of the airport
          required: true
          schema:
            type: string
      responses:
        '200':
          description: List of airport fuels
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ExchangedAirportFuelDto'
        '204':
          description: No fuels have been found of this airport
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ExchangedAirportFuelDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '422':
          description: No airport has been found by the given airport code
          content: {}
      deprecated: false
  /api/external/airports/{airportCode}/fuels/shared/{operatorId}:
    get:
      tags:
        - Airports
      summary: Get Shared Fuels
      description: >-
        Fetches a list of shared fuels available at an airport using the
        operator ID and the airport's ICAO, IATA, or FAA code.
      operationId: getAirportSharedFuels
      parameters:
        - name: airportCode
          in: path
          description: ICAO, IATA or FAA code of the airport
          required: true
          schema:
            type: string
        - name: operatorId
          in: path
          description: ID of the operator to look for shared fule
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: List of airport shared fuels for operator
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ExchangedAirportFuelDto'
        '204':
          description: No shared fuels have been found of this airport
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ExchangedAirportFuelDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '422':
          description: No airport has been found by the given airport code
          content: {}
      deprecated: false
  /api/external/airports/{airportCode}/location:
    get:
      tags:
        - Airports
      summary: Get Airport Location
      description: >-
        Fetches the location details of an airport using its ICAO, IATA, or FAA
        code.
      operationId: getAirportLocationByAirportCode
      parameters:
        - name: airportCode
          in: path
          description: ICAO, IATA or FAA code of the airport
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application:
              schema:
                $ref: '#/components/schemas/AirportLocationDto'
        '204':
          description: No Location has been found at this airport
          content:
            application:
              schema:
                $ref: '#/components/schemas/AirportLocationDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '422':
          description: No airport has been found by the given airport code
          content: {}
      deprecated: false
  /api/external/airports/{airportCode}/operationalNote/{id}:
    get:
      tags:
        - Airports
      summary: Get an Airport Operational Note
      description: >-
        Fetches Operational Note of an airport using its ICAO, IATA, or FAA
        code.
      operationId: getAirportOperationalNoteByAirportCodeAndOperationalNoteId
      parameters:
        - name: airportCode
          in: path
          description: ICAO, IATA or FAA code of the airport
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Note ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationalNoteDto'
        '204':
          description: No Content
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationalNoteDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '422':
          description: No airport has been found by the given airport code
          content: {}
      deprecated: false
  /api/external/airports/{airportCode}/operationalNotes:
    get:
      tags:
        - Airports
      summary: Get Operational Notes
      description: >-
        Fetches a list of operational notes associated with an airport using its
        ICAO, IATA, or FAA code.
      operationId: getAirportOperationalNotesBetweenUsingGET
      parameters:
        - name: airportCode
          in: path
          description: ICAO, IATA or FAA code of the airport
          required: true
          schema:
            type: string
        - name: from
          in: query
          description: Date from
          allowEmptyValue: false
          schema:
            type: string
            format: date-time
        - name: to
          in: query
          description: Date to
          allowEmptyValue: false
          schema:
            type: string
            format: date-time
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OperationalNoteDto'
        '204':
          description: No Content
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OperationalNoteDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '422':
          description: No airport has been found by the given airport code
          content: {}
      deprecated: false
  /api/external/airports/{airportCode}/providers/{name}:
    get:
      tags:
        - Airports
      summary: Get Airport Providers
      description: >-
        Fetches a list of providers associated with an airport using its ICAO,
        IATA, or FAA code and the provider's name.
      operationId: getAirportProvidersUsingGET
      parameters:
        - name: airportCode
          in: path
          description: ICAO, IATA or FAA code of the airport
          required: true
          schema:
            type: string
        - name: name
          in: path
          description: Name of service type
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AirportServiceBaseDto'
        '204':
          description: No Content
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AirportServiceBaseDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '422':
          description: No airport has been found by the given airport code
          content: {}
      deprecated: false
  /api/external/airports/{airportCode}/services:
    get:
      tags:
        - Airports
      summary: Get Airport Services
      description: >-
        Fetches a list of services available at an airport using its ICAO, IATA,
        or FAA code.
      operationId: getAirportServicesByAirportCode
      parameters:
        - name: airportCode
          in: path
          description: ICAO, IATA or FAA code of the airport
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AirportServiceDto'
        '204':
          description: No content
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AirportServiceDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '422':
          description: No airport has been found by the given airport code
          content: {}
      deprecated: false
  /api/external/airports/{airportCode}/services/{name}:
    get:
      tags:
        - Airports
      summary: Search Airport Services
      description: >-
        Fetches a list of services available at an airport using its ICAO, IATA,
        or FAA code and the service's name.
      operationId: getAirportServicesByAirportCodeAndServiceName
      parameters:
        - name: airportCode
          in: path
          description: ICAO, IATA or FAA code of the airport
          required: true
          schema:
            type: string
        - name: name
          in: path
          description: Name of the service
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AirportServiceDto'
        '204':
          description: No content
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AirportServiceDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '422':
          description: No airport has been found by the given airport code
          content: {}
      deprecated: false
  /api/external/flight/flights:
    get:
      tags:
        - Flights
      summary: Get Flights
      description: Fetches a list of flights between two specified dates.
      operationId: getFlights
      parameters:
        - name: from
          in: query
          description: >-
            Query starting date (inclusive). Value cannot be more than 6 months
            in the past.
          required: true
          allowEmptyValue: false
          schema:
            pattern: ^\d{4}-\d{2}-\d{2}$
            type: string
          example: '2024-09-10'
        - name: include
          in: query
          description: Filter by flight status
          allowEmptyValue: false
          schema:
            type: string
            default: NON_CANCELED
            enum:
              - NON_CANCELED
              - ALL
          example:
            value: ALL
        - name: timeZone
          in: query
          description: TimeZone
          allowEmptyValue: false
          schema:
            type: string
          example: UTC
        - name: to
          in: query
          description: >-
            Query end date (inclusive). Value cannot be more than 6 months
            ahead.
          required: true
          allowEmptyValue: false
          schema:
            pattern: ^\d{4}-\d{2}-\d{2}$
            type: string
            format: date-time
          example: '2024-09-12'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DetailedFlightDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '413':
          description: Too many records in payload
          content: {}
      deprecated: false
  /api/external/flight/{flightId}/tickets:
    get:
      tags:
        - Flight Tickets
      summary: Get Flight Tickets
      description: >-
        Fetches all tickets for a specific flight, where each ticket represents
        a passenger assigned to the flight.
      operationId: getFlightTicketsByFlightId
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TicketDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
    put:
      tags:
        - Flight Tickets
      summary: Update Flight Tickets
      description: >-
        Updates all tickets for a specific flight. This operation replaces all
        previously set values. To append new tickets or edit existing ones,
        first retrieve the current list, update the elements, and then send the
        whole updated list.
      operationId: updateTicketsForFlightUsingPUT
      parameters:
        - name: flightId
          in: path
          description: flightId
          required: true
          schema:
            type: string
      requestBody:
        description: tickets
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/TicketDto_3'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TicketDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
      x-codegen-request-body-name: tickets
  /api/external/flight/{flightId}:
    get:
      tags:
        - Flights
      summary: Get a Flight
      description: Fetches detailed information about a specific flight using its ID.
      operationId: getFlightById
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FullDetailedFlightDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '422':
          description: Unprocessable Entity
          content: {}
      deprecated: false
  /api/external/flight/{flightId}/crew:
    get:
      tags:
        - Flight Crew
      summary: Get Flight Crew
      description: >-
        Fetches a list of crew members assigned to a specific flight using its
        flight ID.
      operationId: getFlightCrew
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlightDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '406':
          description: Not acceptable
          content: {}
      deprecated: false
    post:
      tags:
        - Flight Crew
      summary: Assign Crew to Flight
      description: Assigns a list of crew members to a specific flight using its flight ID.
      operationId: createFlightCrew
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        description: List of crew members of the flight
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/FlightCrewDto_1'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlightDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '406':
          description: Not acceptable
          content: {}
        '412':
          description: A conflict occurred
          content: {}
      deprecated: false
      x-codegen-request-body-name: crew
  /api/external/flight/{flightId}/fuels:
    get:
      tags:
        - Flight Fuels
      summary: Get Flight Fuels
      description: Fetches fuel information for a flight using its flight ID.
      operationId: getFlightFuels
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalFuelsDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
    post:
      tags:
        - Flight Fuels
      summary: Create Flight Fuels
      description: Creates fuel information for a specific flight using its flight ID.
      operationId: postFlightFuelsByFlightId
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        description: fuels
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExternalFuelsDto_1'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalFuelsDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
      x-codegen-request-body-name: fuels
  /api/external/flight/{flightId}/fuels/{fuelId}/documents:
    post:
      tags:
        - Flight Fuels
      summary: Upload Fuel Document
      description: Upload fuel document for a flight.
      operationId: postFlightFuelDocument
      parameters:
        - name: flightId
          in: path
          required: true
          schema:
            type: integer
            format: int64
            description: Flight ID
            example: 7000000
        - name: fuelId
          in: path
          required: true
          schema:
            type: integer
            format: int64
            description: Fuel ID
            example: 799898
      requestBody:
        content:
          application/json:
            schema:
              required:
                - file
              type: object
              properties:
                file:
                  type: string
                  format: binary
                  description: |
                    Binary file. Supported format: PDF, PNG or JPG
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/B2CBinaryReferenceDTO'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
  /api/external/flight/{flightId}/fuels/{fuelId}/documents/release:
    post:
      tags:
        - Flight Fuels
      summary: Upload fuel release document
      description: Upload fuel release document for a flight.
      operationId: postFlightFuelReleaseDocument
      parameters:
        - name: flightId
          in: path
          required: true
          schema:
            type: integer
            format: int64
            description: Flight ID
            example: 7000000
        - name: fuelId
          in: path
          required: true
          schema:
            type: integer
            format: int64
            description: Fuel ID
            example: 799898
      requestBody:
        content:
          application/json:
            schema:
              required:
                - file
              type: object
              properties:
                file:
                  type: string
                  format: binary
                  description: |
                    Binary file. Supported format: PDF, PNG or JPG
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/B2CBinaryReferenceDTO'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
  /api/external/flight/{flightId}/fuels/{fuelId}/documents/{documentId}:
    get:
      tags:
        - Flight Fuels
      summary: Get fuel document file
      description: Download fuel document or fuel release document for a flight.
      operationId: getFlightFuelDocument
      parameters:
        - name: flightId
          in: path
          required: true
          schema:
            type: integer
            format: int64
            description: Flight ID
            example: 7000000
        - name: fuelId
          in: path
          required: true
          schema:
            type: integer
            format: int64
            description: Fuel ID
            example: 799898
        - name: documentId
          in: path
          required: true
          schema:
            type: integer
            format: int64
            description: Document ID
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
    delete:
      tags:
        - Flight Fuels
      summary: Delete fuel document
      description: Delete fuel document or fuel release document for a flight.
      operationId: deleteFlightFuelDocument
      parameters:
        - name: flightId
          in: path
          required: true
          schema:
            type: integer
            format: int64
            description: Flight ID
            example: 7000000
        - name: fuelId
          in: path
          required: true
          schema:
            type: integer
            format: int64
            description: Fuel ID
            example: 799898
        - name: documentId
          in: path
          required: true
          schema:
            type: integer
            format: int64
            description: Document ID
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DeletedDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
  /api/external/flight/{flightId}/migration:
    get:
      tags:
        - Flight Migration
      summary: Get Flight Migration Information
      description: Fetches migration information for a specific flight using its flight ID.
      operationId: getFlightMigrationByFlightId
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalMigrationsDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
    put:
      tags:
        - Flight Migration
      summary: Update Flight Migration Information
      description: Updates migration information for a specific flight using its flight ID.
      operationId: putFlightMigrationByFlightId
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        description: dto
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExternalMigrationsDto_1'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalMigrationsDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
      x-codegen-request-body-name: dto
  /api/external/flight/{flightId}/notification:
    get:
      tags:
        - Flight Notifications
      summary: Get Flight Operational Notification
      description: >-
        Fetches operational notification for a specific flight using its flight
        ID.
      operationId: getFlightNotificationsByFlightId
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotesDto'
        '202':
          description: No content
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotesDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '406':
          description: Not acceptable
          content: {}
        '412':
          description: A conflict occurred
          content: {}
      deprecated: false
    put:
      tags:
        - Flight Notifications
      summary: Update Flight Operational Notification
      description: >-
        Updates operational notifications for a specific flight using its flight
        ID.
      operationId: updateFlightNotificationUsingPUT
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        description: the notification message
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NotesDto'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotesDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '406':
          description: Not acceptable
          content: {}
        '412':
          description: A conflict occurred
          content: {}
      deprecated: false
      x-codegen-request-body-name: note
    delete:
      tags:
        - Flight Notifications
      summary: Delete Flight Operational Notification
      description: >-
        Deletes operational notifications for a specific flight using its flight
        ID.
      operationId: deleteFlightNotificationByFlightId
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedDto'
        '204':
          description: No Content
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '406':
          description: Not acceptable
          content: {}
        '412':
          description: A conflict occurred
          content: {}
      deprecated: false
  /api/external/flight/{flightId}/passenger:
    post:
      tags:
        - Flight Passengers
      summary: Add Passenger to Flight
      description: |
        Adds a passenger to a specific flight using its flight ID. 
         
         This operation creates a new flight ticket for the passenger and associates it with the flight. 
         
         The request body must include the passenger's FL3XX User ID or externalReference. `See User endpoints`
      operationId: postFlightPassengerByFlightId
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        description: passenger
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PassengerRequestDto'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PassengerDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
      x-codegen-request-body-name: passenger
  /api/external/flight/{flightId}/passenger/{ticketId}:
    get:
      tags:
        - Flight Passengers
      summary: Get a Flight Passenger
      description: >
        Retrieves the details of a passenger associated with a specific flight
        ticket. 
      operationId: getFlightPassengerByFlightIdAndTicketId
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
        - name: ticketId
          in: path
          description: ticketId
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PassengerDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
    put:
      tags:
        - Flight Passengers
      summary: Update a Flight Passenger
      description: >
        Updates the details of a passenger associated with a specific flight
        ticket.
      operationId: putFlightPassengerByFlightIdAndTicketId
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
        - name: ticketId
          in: path
          description: ticketId
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        description: passenger
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PassengerDto'
        required: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PassengerDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
      x-codegen-request-body-name: passenger
    delete:
      tags:
        - Flight Passengers
      summary: Remove a Flight Passenger
      description: >
        Removes the passenger details of a specific flight ticket using the
        flight ID and ticket ID.
      operationId: deleteFlightPassengerByFlightIdAndTicketId
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
        - name: ticketId
          in: path
          description: ticketId
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedDto'
        '204':
          description: No Content
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
      deprecated: false
  /api/external/flight/{flightId}/passengers:
    get:
      tags:
        - Flight Passengers
      summary: Get Flight Passengers
      description: >
        Fetches a list of passengers assigned to a specific flight using its
        flight ID.
      operationId: getFlightPassengersByFlightId
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PassengerDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/flight/{flightId}/planningnote:
    get:
      tags:
        - Flight Planning Notes
      summary: Get Flight Planning Notes
      description: Fetches planning note for a specific flight using its flight ID.
      operationId: getFlightPlanningNotesByFlightId
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotesDto'
        '202':
          description: No content
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotesDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '406':
          description: Not acceptable
          content: {}
        '412':
          description: A conflict occurred
          content: {}
      deprecated: false
    put:
      tags:
        - Flight Planning Notes
      summary: Update Flight Planning Notes
      description: Update planning notes for a specific flight using its flight ID.
      operationId: updateFlightPlanningNotesByFlightId
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        description: the planning note
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NotesDto'
        required: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotesDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '406':
          description: Not acceptable
          content: {}
        '412':
          description: A conflict occurred
          content: {}
      deprecated: false
      x-codegen-request-body-name: notification
    delete:
      tags:
        - Flight Planning Notes
      summary: Remove Flight Planning Notes
      description: Removes planning notes for a specific flight using its flight ID.
      operationId: deleteFlightPlanningNotesByFlightId
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedDto'
        '204':
          description: No Content
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '406':
          description: Not acceptable
          content: {}
        '412':
          description: A conflict occurred
          content: {}
      deprecated: false
  /api/external/flight/{flightId}/sanction-list:
    get:
      tags:
        - Flight Sanction List
      summary: Get Flight Sanction List
      description: Fetches the sanction list for a specific flight using its flight ID.
      operationId: getFlightSanctionListByFlightId
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlightStatusableDetails'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
    put:
      tags:
        - Flight Sanction List
      summary: Update Flight Sanction List
      description: Updates the sanction list for a specific flight using its flight ID.
      operationId: putFlightSanctionListByFlightId
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        description: Sanction List
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FlightStatusableDetails_1'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlightStatusableDetails'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
      x-codegen-request-body-name: sanctionList
  /api/external/flight/{flightId}/visa:
    get:
      tags:
        - Flight Travel Authorization
      summary: Get Passenger Travel Authorization Status
      description: >
        This endpoint allows users to retrieve the travel authorization status
        associated with passengers on a specific flight.

        <br/> <br/>

        **Example Use Case:** A flight operations manager wants to review all
        visa information for passengers on a specific flight. 
         
        **Note:** The `deprecated` fields should not be used. Please use the
        values in `travelAuthorizationArrival` and
        `travelAuthorizationDeparture` instead.
      operationId: getFlightVisaByFlightId
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlightStatusableDetails'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
    put:
      tags:
        - Flight Travel Authorization
      summary: Update Passengers' Visa Information
      description: >
        This endpoint allows users to update the travel authorization status
        associated with passengers on a specific flight.


        <br/>


        **Note:** The `deprecated` fields should not be used. Please use the
        values in `travelAuthorizationArrival` and
        `travelAuthorizationDeparture` instead.
      operationId: putFlightVisaByFlightId
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        description: Visa information
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FlightStatusableDetails'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlightStatusableDetails'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
      x-codegen-request-body-name: request
  /api/external/flight/{flight}/postflight:
    get:
      tags:
        - Flight Post Flight
      summary: Get Post-Flight Information
      description: >-
        Fetches post-flight information for a specific flight using its flight
        ID.
      operationId: getFlightPostFlightInformationByFlightId
      parameters:
        - name: flight
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AircraftLogDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '412':
          description: A conflict occurred
          content: {}
      deprecated: false
    post:
      tags:
        - Flight Post Flight
      summary: Submit Post-Flight Information
      description: >-
        Submits post-flight information for a specific flight using its flight
        ID.
      operationId: postFlightPostFlightInformationByFlightId
      parameters:
        - name: flight
          in: path
          description: flight
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        description: postFlight
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AircraftLogDto_1'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AircraftLogDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
      x-codegen-request-body-name: postFlight
  /api/external/flight/{flight}/preflight:
    get:
      tags:
        - Flight Pre Flight
      summary: Get Pre-Flight Information
      description: >-
        Fetches pre-flight information for a specific flight using its flight
        ID.
      operationId: getFlightPreFlightInformationByFlightId
      parameters:
        - name: flight
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: The pre-flight info belongs to the given flightId
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlightDetailsCrewDto'
        '202':
          description: No content
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlightDetailsCrewDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '412':
          description: A conflict occurred
          content: {}
      deprecated: false
  /api/external/flight/{flight}/services/FBO/{target}:
    put:
      tags:
        - Flight Fixed Base Operator (FBO)
      summary: Update Flight FBO
      description: >-
        Updates the Fixed Base Operator (FBO) service for a specific flight
        using its flight ID and service target.
      operationId: putFlightServiceFnoByFlightIdAndServiceTarget
      parameters:
        - name: flight
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
        - name: target
          in: path
          description: service target (DEPARTURE/ARRIVAL)
          required: true
          schema:
            type: string
            enum:
              - DEPARTURE
              - ARRIVAL
      requestBody:
        description: idDto
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IdDto'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '412':
          description: A conflict occurred
          content: {}
      deprecated: false
      x-codegen-request-body-name: idDto
    delete:
      tags:
        - Flight Fixed Base Operator (FBO)
      summary: Delete Flight FBO
      description: >-
        Deletes the Fixed Base Operator (FBO) service for a specific flight
        using its flight ID and service target.
      operationId: deleteFlightServiceFnoByFlightIdAndServiceTarget
      parameters:
        - name: flight
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
        - name: target
          in: path
          description: service target (DEPARTURE/ARRIVAL)
          required: true
          schema:
            type: string
            enum:
              - DEPARTURE
              - ARRIVAL
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedDto'
        '204':
          description: No Content
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '412':
          description: A conflict occurred
          content: {}
      deprecated: false
  /api/external/flight/{id}/pax_details:
    get:
      tags:
        - Flight PAX Details
      summary: Get Flight PAX Information
      description: >-
        Fetches animal and cargo information for a specific flight using its
        flight ID.
      operationId: getFlightPaxDetailsByFlightId
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlightDetailsPaxDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
    post:
      tags:
        - Flight PAX Details
      summary: Submit Flight PAX Information
      description: >-
        Submits animal and cargo information for a specific flight using its
        flight ID.
      operationId: postFlightPaxDetailsByFlightId
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        description: dto
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FlightDetailsPaxDto_1'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlightDetailsPaxDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
      x-codegen-request-body-name: dto
  /api/external/flight/{id}/pax_details/animal:
    get:
      tags:
        - Flight Animals
      summary: Get Flight Animals
      description: Fetches animal information for a specific flight using its ID.
      operationId: getFlightAnimalsByFlightId
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AnimalDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
    put:
      tags:
        - Flight Animals
      summary: Update Flight Animals
      description: >-
        Updates a list of animal information for a specific flight using its
        flight ID.
      operationId: putFlightAnimalsByFlightId
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        description: dto
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/AnimalDto_1'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AnimalDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
      x-codegen-request-body-name: dto
    delete:
      tags:
        - Flight Animals
      summary: Delete Flight Animals
      description: Deletes animal information for a specific flight using its flight ID.
      operationId: deleteFlightAnimalsByFlightId
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        description: ids
        content:
          '*/*':
            schema:
              type: array
              items:
                type: integer
                format: int64
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedDto'
        '204':
          description: No Content
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
      deprecated: false
      x-codegen-request-body-name: ids
  /api/external/flight/{id}/pax_details/cargo:
    get:
      tags:
        - Flight Cargo
      summary: Get Flight Cargo
      description: >-
        Fetches a list of cargo information for a specific flight using its
        flight ID.
      operationId: getFlightCargoByFlightId
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CargoDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
    put:
      tags:
        - Flight Cargo
      summary: Update Flight Cargo
      description: Updates cargo information for a specific flight using its flight ID.
      operationId: putFlightCargoByFlightId
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        description: dto
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/CargoDto_1'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CargoDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
      x-codegen-request-body-name: dto
    delete:
      tags:
        - Flight Cargo
      summary: Delete Flight Cargo
      description: Deletes cargo information for a specific flight using its flight ID.
      operationId: deleteFlightCargoByFlightId
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        description: ids
        content:
          '*/*':
            schema:
              type: array
              items:
                type: integer
                format: int64
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedDto'
        '204':
          description: No Content
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
      deprecated: false
      x-codegen-request-body-name: ids
  /api/external/flight/{id}/pax_details/luggage:
    put:
      tags:
        - Flight Luggage
      summary: Update Flight Luggage
      description: Updates luggage information for a specific flight using its flight ID.
      operationId: putFlightLuggageByFlightId
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        description: dto
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/LuggageDto'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LuggageDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
      x-codegen-request-body-name: dto
    delete:
      tags:
        - Flight Luggage
      summary: Delete Flight Luggage
      description: Deletes luggage information for a specific flight using its flight ID.
      operationId: deleteFlightLuggageByFlightId
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        description: ticketIds
        content:
          '*/*':
            schema:
              type: array
              items:
                type: integer
                format: int64
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedDto'
        '204':
          description: No Content
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
      deprecated: false
      x-codegen-request-body-name: ticketIds
  /api/external/flight/{id}/services:
    get:
      tags:
        - Flight Ground Services
      summary: Get Flight Ground Services
      description: >-
        Fetches service information for a specific flight using its flight ID.
        Ground Handling, Transportation, Hotac, Catering.
      operationId: putFlightServiceByFlightId
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HandlingAndServicesDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
    post:
      tags:
        - Flight Ground Services
      summary: Submit Flight Ground Service
      description: >-
        Submits service information for a specific flight using its flight ID.
        Ground Handling, Transportation, Hotac, Catering.
      operationId: postFlightServiceByFlightId
      parameters:
        - name: id
          in: path
          description: id
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        description: dto
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HandlingAndServicesDto_1'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HandlingAndServicesDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
      x-codegen-request-body-name: dto
  /api/external/leg/{reference}:
    get:
      tags:
        - Booking Itinerary (Legs)
      summary: Get Booking Itinerary
      description: Fetches the itinerary (legs) of a booking using its quoteId.
      operationId: getBookingLegsByBookingReference
      parameters:
        - name: reference
          in: path
          description: reference
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LegDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '422':
          description: Unprocessable Entity
          content: {}
      deprecated: false
    post:
      tags:
        - Booking Itinerary (Legs)
      summary: Submit Booking Itinerary
      description: Submits the itinerary (legs) of a booking using its quoteId.
      operationId: postBookingLegsByBookingReference
      parameters:
        - name: reference
          in: path
          description: reference
          required: true
          schema:
            type: string
      requestBody:
        description: leg
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LegDto_3'
        required: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LegDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '422':
          description: Unprocessable Entity
          content: {}
      deprecated: false
      x-codegen-request-body-name: leg
  /api/external/leg/{reference}/{flightId}:
    put:
      tags:
        - Booking Itinerary (Legs)
      summary: Update Booking Itinerary
      description: >-
        Updates the itinerary (legs) of a booking using its quoteId and flight
        ID.
      operationId: putBookingLegsByBookingReferenceAndFlightId
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
        - name: reference
          in: path
          description: reference
          required: true
          schema:
            type: string
      requestBody:
        description: leg
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LegDto_3'
        required: false
      responses:
        '200':
          description: Updated leg of booking
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LegDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '422':
          description: Unprocessable Entity
          content: {}
      deprecated: false
      x-codegen-request-body-name: leg
    delete:
      tags:
        - Booking Itinerary (Legs)
      summary: Delete Booking Itinerary
      description: >-
        Deletes the itinerary (legs) of a booking using its quote ID and flight
        ID.
      operationId: deleteBookingLegsByBookingReferenceAndFlightId
      parameters:
        - name: flightId
          in: path
          description: Flight ID
          required: true
          schema:
            type: integer
            format: int64
        - name: reference
          in: path
          description: reference
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Legs of booking
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedDto'
        '204':
          description: No Content
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '422':
          description: Unprocessable Entity
          content: {}
      deprecated: false
  /api/external/quote/lookup:
    post:
      tags:
        - Quotes
      summary: Generate Provisional Quote
      description: >
        This endpoint allows you to simulate the creation of a quote without
        actually creating a real one. It provides a way to check aircraft
        availability and validate the pricing information before proceeding with
        an actual quote creation.


        **Key Features**


        - **Validation:** Ensures that all required fields are correctly filled
        and formatted.

        - **Simulation:** Provides a simulated response that mimics the actual
        quote creation process.

        - **Price and Availability:** Fetches price and aircraft availability
        without notifying the operator.


        <br/>


        **Why Use This Endpoint?**


        Using this endpoint helps to prevent errors and streamline the quote
        creation process by allowing you to test and validate data before
        committing to a real quote. It is an essential tool for ensuring data
        integrity and accuracy in your operations.
      operationId: postQuoteLookup
      requestBody:
        description: Request object
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuoteDto_Lookup'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/QuoteDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
      x-codegen-request-body-name: ObjIn
  /api/external/quote/{reference}:
    get:
      tags:
        - Quotes
      summary: Get a Quote
      description: >-
        Fetches the details of a quote using its reference (bookingId/quoteId or
        externalReference).
      operationId: getQuoteByReference
      parameters:
        - name: reference
          in: path
          description: bookingId, quoteId or externalReference
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
    put:
      tags:
        - Quotes
      summary: Update a Quote
      description: Updates the details of an existing quote using its reference.
      operationId: putQuoteByReference
      parameters:
        - name: reference
          in: path
          description: reference
          required: true
          schema:
            type: string
      requestBody:
        description: quote schema completed with externalReference and data to be modified
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuoteDto_1'
        required: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
      x-codegen-request-body-name: quote
    delete:
      tags:
        - Quotes
      summary: Delete a Quote
      description: Deletes an existing quote using its reference.
      operationId: deleteQuoteByReference
      parameters:
        - name: reference
          in: path
          description: reference
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: boolean
        '204':
          description: No Content
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
      deprecated: false
  /api/external/quote:
    post:
      tags:
        - Quotes
      summary: Generate Quote
      operationId: postQuote
      description: >
        This endpoint allows you to create a new quote and notifies the
        operator.


        **Key Features**


        - **Creation:** Generates a new quote with the provided details.

        - **Notification:** Notifies the operator upon successful quote
        creation.


        <br/>


        **Why Use This Endpoint?**


        Using this endpoint helps to streamline the quote creation process, it
        is an essential tool for managing quotes efficiently and effectively.


        <br/>


        **Account Selection Logic**


        When submitting a quote, the system will attempt to create or pick the
        account provided in the following order:


        1. **Account ID**: If `customer.account.accountid` is provided and
        valid, the account is retrieved using the ID.

        2. **External Reference**: If no account is found, the system will
        search for an account using the `customer.account.externalReference`
        field.

        3. **Account Name**: If no account is found, the system will search for
        an account using the `customer.account.name` field.

        4. **Account Number**: If both  `customer.account.name` and
        `customer.account.accountNumber` fields are provided, the system will
        attempt to find a match.

        5. **User Full Name**: If no account is found by the above methods, the
        system will search for an account using the user's full name
        (concatenation of`firstName` and `lastName`).


        <br/>


        **Pricing Engine Note**


        When the aircraft uses the pricing engine, a price will only be returned
        if the request satisfies the pricing rules defined by the operator. If
        no applicable pricing rule is matched, the returned price will be 0.


        To ensure accurate pricing, it is recommended to contact the operator
        directly for details on the specific conditions required for price
        calculation.
      requestBody:
        description: quoteObject
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuoteDto_1'
        required: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
      x-codegen-request-body-name: quote
  /api/external/quote/account/{accountId}/versions:
    get:
      tags:
        - Quote Versions
      summary: Get Quote Versions
      description: Fetches all versions of quotes associated with a specific account ID.
      operationId: getQuoteVersionsByAccountUsingGET
      parameters:
        - name: accountId
          in: path
          description: accountId
          required: true
          schema:
            type: integer
            format: int64
        - name: offset
          in: query
          schema:
            type: integer
            format: int64
        - name: pageNumber
          in: query
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          schema:
            type: integer
            format: int32
        - name: paged
          in: query
          schema:
            type: boolean
        - name: sort.sorted
          in: query
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          schema:
            type: boolean
        - name: unpaged
          in: query
          schema:
            type: boolean
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page_List_QuoteDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/quote/notbooked:
    get:
      tags:
        - Quotes
      summary: Get Non-Booked Quotes
      description: Fetches a list of quotes that have not been booked.
      operationId: getQuotesNotBooked
      parameters:
        - name: customerAccountId
          in: query
          description: >-
            Customer account filter. Returns quotes ordered by the customer
            account
          allowEmptyValue: false
          schema:
            type: integer
            format: int64
        - name: customerId
          in: query
          description: Customer filter. Returns quotes ordered by the customer
          allowEmptyValue: false
          schema:
            type: integer
            format: int64
        - name: lastRequest
          in: query
          description: >-
            The date when the last request was loaded. If not defined then 24
            hours before now will be used
          allowEmptyValue: false
          schema:
            type: string
            format: date-time
        - name: page
          in: query
          description: Page number. In case request returns more than 1 page
          allowEmptyValue: false
          schema:
            type: integer
            format: int32
          example: 0
        - name: size
          in: query
          description: Size of the page. Must be limited to 50 items.
          allowEmptyValue: false
          schema:
            type: integer
            format: int32
          example: 10
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page_QuoteDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/quote/book:
    post:
      tags:
        - Quotes
      summary: Create a Booked Quote
      description: >
        This endpoint allows you to create a new booked quote and notifies the
        operator.


        **Key Features**


        - **Creation:** Generates a new quote with the provided details.

        - **Notification:** Notifies the operator upon successful quote
        creation.


        <br/>


        **Why Use This Endpoint?**


        Using this endpoint helps to streamline the quote creation process, it
        is an essential tool for managing quotes efficiently and effectively.


        <br/>


        **Account Selection Logic**


        When submitting a quote, the system will attempt to create or pick the
        account provided in the following order:


        1. **Account ID**: If `customer.account.accountid` is provided and
        valid, the account is retrieved using the ID.

        2. **External Reference**: If no account is found, the system will
        search for an account using the `customer.account.externalReference`
        field.

        3. **Account Name**: If no account is found, the system will search for
        an account using the `customer.account.name` field.

        4. **Account Number**: If both  `customer.account.name` and
        `customer.account.accountNumber` fields are provided, the system will
        attempt to find a match.

        5. **User Full Name**: If no account is found by the above methods, the
        system will search for an account using the user's full name
        (concatenation of`firstName` and `lastName`).


        <br/>


        **Pricing Engine Note**


        When the aircraft uses the pricing engine, a price will only be returned
        if the request satisfies the pricing rules defined by the operator. If
        no applicable pricing rule is matched, the returned price will be 0.


        To ensure accurate pricing, it is recommended to contact the operator
        directly for details on the specific conditions required for price
        calculation.
      operationId: postQuoteBook
      requestBody:
        description: Quote
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuoteDto_1'
        required: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
      deprecated: false
      x-codegen-request-body-name: book
  /api/external/quote/book/{reference}:
    put:
      tags:
        - Quotes
      summary: Update a Booked Quote
      description: >-
        Updates a booked quote using its booking reference. <br/>If you modify
        the departure time, you need to make sure to update the arrival time too
        since FL3XX only calculates it at the first time.
      operationId: putQuoteBookByBookingReference
      parameters:
        - name: reference
          in: path
          description: reference
          required: true
          schema:
            type: string
      requestBody:
        description: quote json object
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuoteDto_1'
        required: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
      x-codegen-request-body-name: book
    delete:
      tags:
        - Quotes
      summary: Cancel a Booked Quote
      description: Cancels a booked quote using its booking reference.
      operationId: deleteQuoteBookByBookingReference
      parameters:
        - name: reference
          in: path
          description: reference
          required: true
          schema:
            type: string
      requestBody:
        description: rejectReason
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/RejectReasonDto_1'
        required: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
      deprecated: false
      x-codegen-request-body-name: rejectReason
  /api/external/quote/bookings/payment/{reference}:
    put:
      tags:
        - Quotes
      summary: Update Booking Payment Status
      description: Updates the payment status of a booking using its reference.
      operationId: putBookingPaymentStatusByBookingReference
      parameters:
        - name: reference
          in: path
          description: bookingId, quoteId or externalReference
          required: true
          schema:
            type: string
        - name: status
          in: query
          description: Status to set
          allowEmptyValue: false
          schema:
            type: string
            enum:
              - PAID
              - NOT_PAID
              - NOT_TRANSFERRED
              - TRANSFERRED
              - TRANSFERRING
              - FINANCIAL_RELEASE_OK
              - FINANCIAL_RELEASE_NOT_OK
          example: PAID
      responses:
        '200':
          description: Success
          content: {}
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/quote/customer/{customerId}/versions:
    get:
      tags:
        - Quotes
      summary: Get Quote Versions
      description: Fetches all versions of quotes associated with a specific customer ID.
      operationId: getQuoteVersionsByCustomerId
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: offset
          in: query
          schema:
            type: integer
            format: int64
        - name: pageNumber
          in: query
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          schema:
            type: integer
            format: int32
        - name: paged
          in: query
          schema:
            type: boolean
        - name: sort.sorted
          in: query
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          schema:
            type: boolean
        - name: unpaged
          in: query
          schema:
            type: boolean
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Page_List_QuoteDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/quote/legs/empty:
    get:
      tags:
        - Empty Legs
      summary: Get Empty Legs
      description: Fetches a list of empty legs made available by the operator.
      operationId: getEmptyLegs
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/EmptyLegs'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
      deprecated: false
  /api/external/quote/price/{reference}:
    get:
      tags:
        - Quotes
      summary: Get Quote Price
      description: Gets the price details of a quote using its reference.
      operationId: getQuotePriceByQuoteReference
      parameters:
        - name: reference
          in: path
          description: bookingId, quoteId or externalReference
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BookingPriceDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/quote/{reference}/attachments:
    get:
      tags:
        - Quote Attachments
      summary: Get Quote Attachments
      description: Fetches the attachments associated with a quote using its reference.
      operationId: getQuoteAttachmentsByReference
      parameters:
        - name: reference
          in: path
          description: bookingId, quoteId or externalReference
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BinaryReferenceMinDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '422':
          description: No trip available by the give tripID
          content: {}
      deprecated: false
  /api/external/quote/{reference}/bookedSnapshot:
    get:
      tags:
        - Quotes
      summary: Get Booked Snapshot
      description: Fetches the snapshot of a booked quote using its reference.
      operationId: getQuoteBookedSnapshotByReference
      parameters:
        - name: reference
          in: path
          description: bookingId, quoteId or externalReference
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteSnapshotDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/quote/{reference}/history:
    get:
      tags:
        - Quotes
      summary: Get Quote History
      description: Fetches the history of a quote using its reference.
      operationId: getQuoteHistoryByReference
      parameters:
        - name: reference
          in: path
          description: bookingId, quoteId or externalReference
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/HistoryEntry'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/quote/{reference}/owner/approve:
    post:
      tags:
        - Quotes
      summary: Approve Quote by Owner
      description: Approves a quote by the owner using its reference.
      operationId: postQuoteApproval
      parameters:
        - name: approved
          in: query
          description: approved
          allowEmptyValue: false
          schema:
            type: boolean
        - name: reference
          in: path
          description: bookingId, quoteId or externalReference
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content: {}
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/quote/{rootBookingId}/account/{accountId}/versions:
    get:
      tags:
        - Quotes
      summary: Get Quote Versions by Account ID
      description: Fetches all versions of quotes associated with a specific account ID.
      operationId: getQuoteVersionsByRootBookingAndAccountId
      parameters:
        - name: accountId
          in: path
          description: accountId
          required: true
          schema:
            type: integer
            format: int64
        - name: rootBookingId
          in: path
          description: rootBookingId
          required: true
          schema:
            type: integer
            format: int64
        - name: offset
          in: query
          schema:
            type: integer
            format: int64
        - name: pageNumber
          in: query
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          schema:
            type: integer
            format: int32
        - name: paged
          in: query
          schema:
            type: boolean
        - name: sort.sorted
          in: query
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          schema:
            type: boolean
        - name: unpaged
          in: query
          schema:
            type: boolean
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page_List_QuoteDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/quote/{rootBookingId}/customer/{customerId}/versions:
    get:
      tags:
        - Quotes
      summary: Get Quote Versions by Customer ID
      description: Fetches all versions of quotes associated with a specific customer ID.
      operationId: getQuoteVersionsByRootBookingAndCustomerUsingGET
      parameters:
        - name: customerId
          in: path
          description: customerId
          required: true
          schema:
            type: integer
            format: int64
        - name: rootBookingId
          in: path
          description: rootBookingId
          required: true
          schema:
            type: integer
            format: int64
        - name: offset
          in: query
          schema:
            type: integer
            format: int64
        - name: pageNumber
          in: query
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          schema:
            type: integer
            format: int32
        - name: paged
          in: query
          schema:
            type: boolean
        - name: sort.sorted
          in: query
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          schema:
            type: boolean
        - name: unpaged
          in: query
          schema:
            type: boolean
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page_List_QuoteDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/quote/{rootBookingId}/versions:
    get:
      tags:
        - Quotes
      summary: Get All Quote Versions
      description: >-
        Fetches all versions of quotes associated with a specific root booking
        ID.
      operationId: getQuoteVersionsByRootBookingUsingGET
      parameters:
        - name: filter
          in: query
          description: filter
          allowEmptyValue: false
          schema:
            type: string
            default: ONLY_OPEN_UNDROPPED_QUOTES_OTHERWISE_BOOKING
            enum:
              - ALL
              - ONLY_OPEN_UNDROPPED_QUOTES_OTHERWISE_BOOKING
        - name: rootBookingId
          in: path
          description: rootBookingId
          required: true
          schema:
            type: integer
            format: int64
        - name: offset
          in: query
          schema:
            type: integer
            format: int64
        - name: pageNumber
          in: query
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          schema:
            type: integer
            format: int32
        - name: paged
          in: query
          schema:
            type: boolean
        - name: sort.sorted
          in: query
          schema:
            type: boolean
        - name: sort.unsorted
          in: query
          schema:
            type: boolean
        - name: unpaged
          in: query
          schema:
            type: boolean
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page_QuoteDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/staff/crew:
    get:
      tags:
        - Crew
      summary: Get Crew
      description: Fetches information about the crew.
      operationId: getStaffCrew
      parameters:
        - name: modifiedSince
          in: query
          description: date of last synchronization
          allowEmptyValue: false
          schema:
            type: string
            format: date-time
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CrewDetailedInformationDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/staff/crew/{reference}:
    get:
      tags:
        - Crew
      summary: Get a Crew Member
      description: Fetches crew information using a specific reference.
      operationId: getCrewByReference
      parameters:
        - name: reference
          in: path
          description: reference
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CrewDetailedInformationDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/staff/roster:
    get:
      tags:
        - Roster
      summary: Get Staff Roster
      description: Fetches the staff roster details.
      operationId: getStaffRosters
      parameters:
        - name: filter
          in: query
          description: filter
          schema:
            type: string
            default: ALL
            enum:
              - ALL
              - STAFF
              - EXTERNAL_STAFF
        - name: from
          in: query
          description: Time from which to fetch the roster
          required: true
          schema:
            type: string
            example: 2020-01-01T00:00
        - name: includeFlights
          in: query
          description: Indicates whether to include flights in the response
          schema:
            type: boolean
            default: false
        - name: to
          in: query
          description: Time until which to fetch the roster
          required: true
          schema:
            type: string
            example: 2020-01-01T00:00
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B2CRosterDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/user:
    get:
      tags:
        - Users
      summary: Get Users
      description: Fetches list of users.
      operationId: getUsers
      parameters:
        - name: limit
          in: query
          description: Maximum number of items returned
          schema:
            type: integer
            format: int32
            default: 100
        - name: offset
          in: query
          description: Offset
          schema:
            type: integer
            format: int32
            default: 0
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
    post:
      tags:
        - Users
      summary: Creates a new user
      description: Creates a user
      operationId: postUser
      requestBody:
        description: user
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserDto'
        required: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
      x-codegen-request-body-name: user
  /api/external/user/account:
    get:
      tags:
        - Accounts
      summary: Get Accounts
      description: Get list of accounts.
      operationId: getAccounts
      parameters:
        - name: limit
          in: query
          description: Maximum number of items returned
          schema:
            type: integer
            format: int32
            default: 100
        - name: offset
          in: query
          description: Offset
          schema:
            type: integer
            format: int32
            default: 0
      responses:
        '200':
          description: The Account data
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AccountDto'
        '401':
          description: Unauthorized
          content: {}
      deprecated: false
    post:
      tags:
        - Accounts
      summary: Creates an account
      description: Creates a new account
      operationId: postAccount
      requestBody:
        description: account
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccountDto'
        required: false
      responses:
        '200':
          description: Newly created Account data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
      deprecated: false
      x-codegen-request-body-name: account
  /api/external/user/account/{externalReference}:
    get:
      tags:
        - Accounts
      summary: Get an Account
      description: Fetches details of an account using it's externalReference
      operationId: getAccountByReference
      parameters:
        - name: externalReference
          in: path
          description: Property externalReference for the account
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The Account data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '422':
          description: No account available by the give reference
          content: {}
      deprecated: false
    put:
      tags:
        - Accounts
      summary: Update an account
      description: Updates an existing account using its externalReference
      operationId: putAccount
      parameters:
        - name: externalReference
          in: path
          description: externalReference
          required: true
          schema:
            type: string
      requestBody:
        description: account
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccountDto'
        required: false
      responses:
        '200':
          description: The updated Account data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
        '422':
          description: No account available by the give reference
          content: {}
      deprecated: false
      x-codegen-request-body-name: account
    delete:
      tags:
        - Accounts
      summary: Delete an account
      description: Deletes (makes inactive) an existing account using its reference
      operationId: deleteAccount
      parameters:
        - name: externalReference
          in: path
          description: externalReference
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The updated Account data
          content: {}
        '204':
          description: No Content
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '422':
          description: No account available by the give reference
          content: {}
      deprecated: false
  /api/external/user/crew:
    get:
      tags:
        - Crew
      summary: Search a crew member
      description: >-
        Fetches information about the a crew member. Must provide either the
        externalReference or the piplotId
      operationId: getCrewMembers
      parameters:
        - name: externalReference
          in: query
          description: >-
            externalReference - E.g from GET /api/external/quote/{id}  ->
            legs[].crew[].externalReference
          allowEmptyValue: false
          schema:
            type: string
        - name: pilotId
          in: query
          description: >-
            pilotId - E.g from GET /api/external/quote/{id} ->
            legs[].crew[].pilotId
          allowEmptyValue: false
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CrewDetailedInformationDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/user/flight/{externalReference}:
    get:
      tags:
        - Users
      summary: Get Flight Passengers
      description: Fetches data for flight passenger using its externalReference
      operationId: getPassengersByFlightReference
      parameters:
        - name: externalReference
          in: path
          description: externalReference
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
  /api/external/user/{externalReference}:
    get:
      tags:
        - Users
      summary: Get a User
      description: Fetch data about a User
      operationId: getUserByExternalReference
      parameters:
        - name: externalReference
          in: path
          description: externalReference
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserDto'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
    put:
      tags:
        - Users
      summary: Updates a User
      description: Updates a user
      operationId: putUserByExternalReference
      parameters:
        - name: externalReference
          in: path
          description: externalReference
          required: true
          schema:
            type: string
      requestBody:
        description: user
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserDto'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserDto'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
      x-codegen-request-body-name: user
    delete:
      tags:
        - Users
      summary: Deletes a User
      description: Deletes the user identified using its external reference
      operationId: deleteUserByReference
      parameters:
        - name: externalReference
          in: path
          description: externalReference
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content: {}
        '204':
          description: No Content
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
      deprecated: false
  /api/external/user/{userExternalReference}/documents:
    get:
      tags:
        - Users
      summary: Get User Documents
      description: >-
        Get information about the documents of a user identified by the
        userExternalReference
      operationId: getUserDocumentsByUserExternalReference
      parameters:
        - name: userExternalReference
          in: path
          description: userExternalReference
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IdcardDto_1'
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
    post:
      tags:
        - Users
      summary: Create a User Document
      description: Creates a new user document
      operationId: postUserDocument
      parameters:
        - name: userExternalReference
          in: path
          description: userExternalReference
          required: true
          schema:
            type: string
      requestBody:
        description: document
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IdcardDto_2'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdcardDto_1'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
      x-codegen-request-body-name: document
  /api/external/user/{userExternalReference}/documents/{externalReference}:
    put:
      tags:
        - Users
      summary: Update a User's Document
      description: >-
        Updates a user's document using the userExternalReference and the
        document's externalReference
      operationId: putUserDocument
      parameters:
        - name: externalReference
          in: path
          description: externalReference
          required: true
          schema:
            type: string
        - name: userExternalReference
          in: path
          description: userExternalReference
          required: true
          schema:
            type: string
      requestBody:
        description: userDocument
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IdcardDto_2'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdcardDto_1'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: false
      x-codegen-request-body-name: document
    delete:
      tags:
        - Users
      summary: Delete a User's Document
      description: >-
        Deletes an existing document based on the user's externalReference and
        the document's externalReference
      operationId: deleteUserDocument
      parameters:
        - name: externalReference
          in: path
          description: externalReference
          required: true
          schema:
            type: string
        - name: userExternalReference
          in: path
          description: userExternalReference
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content: {}
        '204':
          description: No Content
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
      deprecated: false
  /api/external/webQuote/create:
    post:
      tags:
        - Quotes
      summary: Generate Quote
      description: Create a new quote (Deprecated)
      operationId: postWebQuote
      requestBody:
        description: request
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuoteRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response'
        '201':
          description: Created
          content: {}
        '401':
          description: Unauthorized
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Not Found
          content: {}
      deprecated: true
      x-codegen-request-body-name: request
  /api/external/crew-expenses:
    get:
      summary: Get Crew expenses
      operationId: getCrewExpenses
      description: >
        This endpoint allows users to retrieve a list of expenses associated
        with crew members. It provides detailed information about each expense,
        including the type, amount, date, and associated crew member.


        `Note: Only expenses where the Crew has been set in the 'Reimbursable
        To' field will be returned.`

        <br/> <br/>

        **Example Use Case:** A finance manager wants to review all expenses
        submitted by crew members for a specific month. By using this endpoint,
        they can fetch a comprehensive list of expenses, filter them by date,
        and analyze the data to ensure all expenses are accounted for and within
        the budget.
      tags:
        - Accounting
      parameters:
        - name: crewId
          in: query
          required: true
          schema:
            type: integer
          description: ID of the crew member
          example: 108569
        - name: filter
          in: query
          required: true
          schema:
            type: string
          description: >
            Filter by expenseDate in the format
            'expenseDate,BTW,fromDate/toDate'.

            - `expenseDate`: The field to filter on.

            - `BTW`: Filter Operator Between.

            - `fromDate/toDate`: The date range for filtering.

            - **Date Constraints:** The `fromDate` and `toDate` values must be
            within a 6-month window relative to the current date. `fromDate`
            (inclusive) can be up to 6 months in the past, and `toDate`
            (exclusive) can be up to 6 months in the future.

            - **Date Range Interpretation:** If you provide
            `expenseDate,BTW,2024-08-28/2025-02-24` as the date range, the data
            returned will include entries from `2024-08-28` (inclusive) up to,
            but not including, `2025-02-24`.

            - **Date format:** When `fromDate` and `toDate` are sent without a
            UTC offset, the response property `expenseDate` will be returned in
            UTC.

            - **Date format:** When `fromDate` and `toDate` are sent with a UTC
            offset (the offset must be the same for both values), the response
            property `expenseDate` will be returned in given offset. E.g.:
            `filter=expenseDate,BTW,2025-01-01T10%3A00%3A00-04%3A00/2025-04-25T10%3A00%3A00-04%3A00`
            parsed version of
            `filter=expenseDate,BTW,2025-01-01T10:00:00-04:00/2025-04-25T10:00:00-04:00`
          example: expenseDate,BTW,2024-08-28/2025-02-24
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 10
            maximum: 50
            default: 10
          description: Maximum number of records to return.
          example: 20
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
          description: Number of records to skip before starting to return results.
          example: 6
      responses:
        '200':
          description: A paginated list of crew expenses
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedCrewExpenseDto'
        '400':
          description: Invalid parameters
        '404':
          description: No expenses found
  /api/external/crew-expenses/{crewExpenseId}/documents/{documentUuid}:
    get:
      summary: Download Crew Expense Document
      operationId: getCrewExpenseDocument
      description: >
        This endpoint allows users to download a document associated with a
        specific crew expense. It requires the `crewExpenseId` and
        `documentUuid` as path parameters to identify the specific document to
        be downloaded.

        <br/> <br/>

        **Example Use Case:** A finance manager needs to review the receipts
        submitted by a crew member for a specific expense. By using this
        endpoint, they can download the receipt document associated with the
        crew expense for further review and verification.
      tags:
        - Accounting
      parameters:
        - name: crewExpenseId
          in: path
          required: true
          schema:
            type: integer
          description: ID of the crew expense
          example: 1195
        - name: documentUuid
          in: path
          required: true
          schema:
            type: string
          description: UUID of the document
          example: 8abce832-af34-453a-ad27-667f87d65c31
      responses:
        '200':
          description: Document downloaded successfully
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '400':
          description: Invalid UUID format
        '404':
          description: Document not found
        '422':
          description: Invalid crew expense ID
  /api/external/accounting-projects:
    get:
      tags:
        - Accounting
      summary: Get Accounting Projects
      description: >
        This endpoint retrieves a paginated list of accounting projects. It
        allows users to manage and access project details efficiently,
        supporting financial tracking and project organization.

        <br/> <br/>
         **🔒 Required permission:** `ACCOUNTING_PROJECT_API:read`
        <br/> <br/>

        **Example Use Case:** A finance manager can use this endpoint to
        retrieve a list of accounting projects for review, ensuring all projects
        are tracked and managed effectively.
      operationId: accountingProjectsGet
      x-permissions:
        - ACCOUNTING_PROJECT_API:read
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 10
            maximum: 50
            default: 10
          description: Maximum number of records to return.
          example: 20
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
          description: Number of records to skip before starting to return results.
          example: 6
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageResultAccountingProjectDto'
    post:
      tags:
        - Accounting
      summary: Create an Accounting Project
      description: >
        This endpoint allows users to create a new accounting project. It
        supports financial tracking and project organization by enabling the
        addition of project details.

        <br/> <br/>
         **🔒 Required permission:** `ACCOUNTING_PROJECT_API:create`
        <br/> <br/>

        **Example Use Case:** A finance manager can use this endpoint to create
        a new accounting project, ensuring all financial activities are properly
        tracked and managed.
      operationId: accountingProjectsPost
      x-permissions:
        - ACCOUNTING_PROJECT_API:create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccountingProjectCreateDto'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountingProjectDto'
  /api/external/accounting-projects/{projectId}:
    put:
      tags:
        - Accounting
      summary: Update an Accounting Project
      description: >
        This endpoint allows users to update an existing accounting project. It
        supports financial tracking and project organization by enabling
        modifications to project details.        

        <br/> <br/>
         **🔒 Required permission:** `ACCOUNTING_PROJECT_API:write`
        <br/> <br/>

        **Example Use Case:** A finance manager can use this endpoint to update
        details of an accounting project, ensuring all financial activities are
        properly tracked and managed.
      operationId: accountingProjectsPut
      x-permissions:
        - ACCOUNTING_PROJECT_API:write
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: integer
            format: int64
            description: FL3XX ID
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccountingProjectUpdateDto'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountingProjectDto'
  /api/external/crew-qualifications:
    get:
      operationId: getCrewQualifications
      summary: Get crew qualifications
      description: >
        Retrieve crew qualifications with pagination and filtering capabilities.


        **Features:**

        - Filter by crew ID (required)

        - Paginated results


        **Example Use Case:** An operations manager needs to retrieve all
        qualifications for a specific crew member to verify compliance status
        and upcoming expiration dates.
      tags:
        - Crew Qualifications
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 10
            maximum: 50
            default: 10
          description: Maximum number of records to return.
          example: 20
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
          description: Number of records to skip before starting to return results.
          example: 0
        - name: filter
          in: query
          required: true
          schema:
            type: string
          description: |
            Filter by crewId (required).

            **Required filters:**
            - `crewId` with `EQ` operator (equal)
              - Example: `crewId,EQ,12345`
          example: crewId,EQ,12345
      responses:
        '200':
          description: Successfully retrieved crew qualifications
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedCrewQualificationDto'
        '400':
          description: Bad request - invalid parameters or missing required filters
        '401':
          description: Unauthorized - invalid authentication
        '403':
          description: Forbidden - insufficient permissions
    post:
      operationId: assignQualificationToCrew
      summary: Assign a qualification to a crew member
      description: >
        Assign a new qualification to a crew member with license details,
        expiration dates, and other relevant information.


        **Features:**

        - Validates required fields including crew ID and qualification ID

        - Supports license numbers, issuing authorities, and country information

        - Handles pilot-in-command designations and base month calculations


        **Example Use Case:** An operations manager needs to assign a new type
        rating qualification to a pilot after completing training. This endpoint
        allows them to create the qualification record with all necessary
        details.
      tags:
        - Crew Qualifications
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CrewQualificationCreateDto'
      responses:
        '200':
          description: Successfully assigned qualification to crew member
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CrewQualificationSimplifiedDto'
        '400':
          description: Bad request - validation error
        '401':
          description: Unauthorized - invalid authentication
        '403':
          description: Forbidden - insufficient permissions
  /api/external/crew-qualifications/{crewQualificationId}:
    get:
      operationId: getCrewQualificationById
      summary: Get a crew qualification by ID
      description: >
        Retrieve detailed information about a specific crew qualification
        including associated documents.


        **Features:**

        - Returns complete qualification details including document references

        - Includes creation and update timestamps


        **Example Use Case:** An operations manager needs to review the complete
        details of a specific qualification, including any uploaded documents,
        to verify compliance or prepare for audits.
      tags:
        - Crew Qualifications
      parameters:
        - name: crewQualificationId
          in: path
          required: true
          schema:
            type: string
          description: The unique identifier of the crew qualification to retrieve
          example: qual-12345
      responses:
        '200':
          description: Successfully retrieved crew qualification
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CrewQualificationDto'
        '400':
          description: Bad request - invalid qualification ID
        '401':
          description: Unauthorized - invalid authentication
        '403':
          description: Forbidden - insufficient permissions
        '404':
          description: Not found - qualification does not exist
    patch:
      operationId: updateCrewQualificationById
      summary: Update a crew qualification by ID
      description: >
        Update an existing crew qualification with new information.


        **Features:**

        - Updates qualification details including license numbers and dates

        - Supports partial updates of qualification information


        **Example Use Case:** An operations manager needs to update a
        qualification after a license renewal or when additional information
        becomes available.
      tags:
        - Crew Qualifications
      parameters:
        - name: crewQualificationId
          in: path
          required: true
          schema:
            type: string
          description: The unique identifier of the crew qualification to update
          example: qual-12345
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CrewQualificationPatchDto'
      responses:
        '200':
          description: Successfully updated crew qualification
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CrewQualificationDto'
        '400':
          description: Bad request - validation error or qualification not found
        '401':
          description: Unauthorized - invalid authentication
        '403':
          description: Forbidden - insufficient permissions
        '404':
          description: Not found - qualification does not exist
    delete:
      operationId: deleteCrewQualificationById
      summary: Delete a crew qualification by ID
      description: >
        Delete a crew qualification and remove it from the system.


        **Features:**

        - Permanently removes the qualification record

        - Returns confirmation of deletion


        **Example Use Case:** An operations manager needs to remove an obsolete
        qualification that is no longer valid or relevant for a crew member.
      tags:
        - Crew Qualifications
      parameters:
        - name: crewQualificationId
          in: path
          required: true
          schema:
            type: string
          description: The unique identifier of the crew qualification to delete
          example: qual-12345
      responses:
        '200':
          description: Successfully deleted crew qualification
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedDto'
        '400':
          description: Bad request - qualification not found
        '401':
          description: Unauthorized - invalid authentication
        '403':
          description: Forbidden - insufficient permissions
        '404':
          description: Not found - qualification does not exist
  /api/external/crew-qualifications/{crewQualificationId}/documents/{documentUuid}:
    get:
      operationId: getCrewQualificationDocument
      summary: Get document associated with a crew qualification
      description: >
        Download a document associated with a crew qualification.


        **Features:**

        - Downloads the actual document file

        - Validates document ownership and access permissions


        **Example Use Case:** An operations manager needs to download a
        qualification certificate or license document for verification or
        compliance purposes.
      tags:
        - Crew Qualifications
      parameters:
        - name: crewQualificationId
          in: path
          required: true
          schema:
            type: string
          description: The unique identifier of the crew qualification
          example: qual-12345
        - name: documentUuid
          in: path
          required: true
          schema:
            type: string
          description: The unique identifier of the document to download
          example: doc-uuid-67890
      responses:
        '200':
          description: Successfully retrieved document
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '400':
          description: Bad request - invalid qualification ID or document UUID
        '401':
          description: Unauthorized - invalid authentication
        '403':
          description: Forbidden - insufficient permissions
        '404':
          description: Not found - qualification or document does not exist
  /api/external/crew-qualifications/{crewQualificationId}/documents:
    post:
      operationId: uploadCrewQualificationDocument
      summary: Upload document associated with a crew qualification
      description: >
        Upload a document file to be associated with a crew qualification.


        **Features:**

        - Supports various document formats

        - Associates the document with the specific qualification

        - Returns document metadata including UUID for future access


        **Example Use Case:** An operations manager needs to upload a scanned
        copy of a pilot's license or certificate to maintain digital records for
        compliance and verification.
      tags:
        - Crew Qualifications
      parameters:
        - name: crewQualificationId
          in: path
          required: true
          schema:
            type: string
          description: The unique identifier of the crew qualification
          example: qual-12345
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
                  description: The document file to upload
              required:
                - file
      responses:
        '200':
          description: Successfully uploaded document
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B2CBinaryReferenceDto'
        '400':
          description: Bad request - invalid file or qualification ID
        '401':
          description: Unauthorized - invalid authentication
        '403':
          description: Forbidden - insufficient permissions
        '404':
          description: Not found - qualification does not exist
  /api/external/crew-qualifications/{crewQualificationId}/documents/{uuid}:
    delete:
      operationId: deleteCrewQualificationDocument
      summary: Delete document associated with a crew qualification
      description: >
        Delete a document associated with a crew qualification.


        **Features:**

        - Permanently removes the document file

        - Returns confirmation of deletion


        **Example Use Case:** An operations manager needs to remove an outdated
        or incorrect document that was previously uploaded for a qualification.
      tags:
        - Crew Qualifications
      parameters:
        - name: crewQualificationId
          in: path
          required: true
          schema:
            type: string
          description: The unique identifier of the crew qualification
          example: qual-12345
        - name: uuid
          in: path
          required: true
          schema:
            type: string
          description: The unique identifier of the document to delete
          example: doc-uuid-67890
      responses:
        '200':
          description: Successfully deleted document
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedDto'
        '400':
          description: Bad request - invalid qualification ID or document UUID
        '401':
          description: Unauthorized - invalid authentication
        '403':
          description: Forbidden - insufficient permissions
        '404':
          description: Not found - qualification or document does not exist
  /api/external/qualification-types:
    get:
      operationId: getQualificationTypes
      summary: Get qualification types
      description: >
        Retrieve available qualification types and their details for use in crew
        qualification assignments.


        **Features:**

        - Returns paginated list of available qualifications

        - Includes qualification metadata and configuration


        **Example Use Case:** An operations manager needs to see all available
        qualification types in the system to properly assign qualifications to
        crew members.
      tags:
        - Crew Qualifications
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 10
            maximum: 50
            default: 10
          description: Maximum number of records to return.
          example: 20
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
          description: Number of records to skip before starting to return results.
          example: 0
      responses:
        '200':
          description: Successfully retrieved qualifications
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedQualificationDto'
        '401':
          description: Unauthorized - invalid authentication
        '403':
          description: Forbidden - insufficient permissions
  /api/external/qualification-types/{id}:
    get:
      operationId: getQualificationTypeById
      summary: Get qualification type by ID
      description: >
        Retrieve detailed information about a specific qualification type.


        **Features:**

        - Returns complete qualification configuration and metadata

        - Includes validity periods, grace periods, and relation information


        **Example Use Case:** An operations manager needs to understand the
        specific requirements and configuration of a qualification type before
        assigning it to a crew member.
      tags:
        - Crew Qualifications
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: The unique identifier of the qualification to retrieve
          example: qual-type-12345
      responses:
        '200':
          description: Successfully retrieved qualification
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QualificationDto'
        '400':
          description: Bad request - invalid qualification ID
        '401':
          description: Unauthorized - invalid authentication
        '403':
          description: Forbidden - insufficient permissions
        '404':
          description: Not found - qualification does not exist
components:
  schemas:
    AOC:
      title: AOC
      type: object
      properties:
        address:
          $ref: '#/components/schemas/Address'
        aircraft:
          type: array
          items:
            $ref: '#/components/schemas/Aircraft'
        aocId:
          type: integer
          format: int64
        archiveNumber:
          type: string
        cancellationPolicyText:
          type: string
        contacts:
          type: array
          items:
            $ref: '#/components/schemas/AocContact'
        deleted:
          type: boolean
        documents:
          type: array
          items:
            $ref: '#/components/schemas/AccountDocument'
        etsAeroKey:
          type: string
        expirationDate:
          type: string
          format: date-time
        externalId:
          type: string
        flightPrefix:
          type: string
        iataCode:
          type: string
        icaoCode:
          type: string
        id:
          type: integer
          format: int64
        issueDate:
          type: string
          format: date-time
        logo:
          $ref: '#/components/schemas/BinaryReference_1'
        mailSignature:
          type: string
          enum:
            - OPERATOR
            - AOC
        modificationDate:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        name:
          type: string
        number:
          type: string
        operationType:
          $ref: '#/components/schemas/OperationType'
        operationTypeAOCs:
          type: array
          items:
            $ref: '#/components/schemas/AOC'
        registerOffice:
          type: string
        serialNumber:
          type: string
        subCharterAoc:
          type: boolean
        template:
          type: boolean
        users:
          type: array
          items:
            $ref: '#/components/schemas/User'
        uuid:
          type: string
        vatNumber:
          type: string
        website:
          type: string
    AbstractService:
      title: AbstractService
      type: object
      properties:
        actualServiceFor:
          type: string
          enum:
            - Crew
            - Pax
            - Person
        agent:
          $ref: '#/components/schemas/AirportService'
        agentId:
          type: integer
          format: int64
        airportService:
          $ref: '#/components/schemas/AirportService'
        airportServiceId:
          type: integer
          format: int64
        cancelled:
          type: boolean
        confirmed:
          type: boolean
        country:
          $ref: '#/components/schemas/Country_1'
        created:
          type: string
          format: date-time
        createdBy:
          $ref: '#/components/schemas/User'
        createdByOptimizer:
          type: boolean
        details:
          type: string
        document:
          $ref: '#/components/schemas/BinaryReference_1'
        flight:
          $ref: '#/components/schemas/Flight'
        fuel:
          $ref: '#/components/schemas/AirportFuel'
        fuelId:
          type: integer
          format: int64
        handlingRequests:
          type: array
          items:
            type: string
        id:
          type: integer
          format: int64
        invalid:
          type: boolean
        meal:
          type: string
        message:
          $ref: '#/components/schemas/SmtpMessage'
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        parent:
          $ref: '#/components/schemas/AbstractService'
        paxRemarks:
          type: string
        price:
          type: number
        priceIndex:
          type: number
        priceIndexComercial:
          type: number
        quantity:
          type: integer
          format: int32
        queued:
          type: boolean
        relatedTo:
          $ref: '#/components/schemas/User'
        remarks:
          type: string
        requestText:
          type: string
        requestedDate:
          type: string
          format: date-time
        sent:
          type: boolean
        serviceCharge:
          type: number
        serviceChargePercentage:
          type: number
        serviceGroupType:
          $ref: '#/components/schemas/AirportServiceType'
        serviceStatus:
          type: string
          enum:
            - InProgress
            - Queued
            - Sent
            - Confirmed
            - Deleted
            - Cancelled
            - Denied
            - Invalid
        serviceTarget:
          type: string
          enum:
            - DEPARTURE
            - ARRIVAL
        serviceType:
          $ref: '#/components/schemas/AirportServiceType'
        serviceTypeGroupId:
          type: integer
          format: int64
        serviceTypeId:
          type: integer
          format: int64
        statusUpdate:
          type: string
          format: date-time
        total:
          type: number
        totalComercial:
          type: number
        totalCost:
          type: number
        uuid:
          type: string
    Account:
      title: Account
      type: object
      properties:
        accountCommission:
          type: number
        accountDiscount:
          type: number
        accountDiscountType:
          type: string
          enum:
            - RETAIL
            - WHOLE_SALE
            - PREFERRED
        accountNumber:
          type: string
        accountType:
          type: string
          enum:
            - BUSINESS
            - PRIVATE
        accountid:
          type: integer
          format: int64
        accountingCustomerReference:
          type: string
        address:
          $ref: '#/components/schemas/Address'
        addresses:
          type: array
          items:
            $ref: '#/components/schemas/Address'
        bizFlightReference:
          type: string
        chairmanExecutiveBoard:
          type: string
        chairmanSupervisoryBoard:
          type: string
        contacts:
          type: array
          items:
            $ref: '#/components/schemas/AccountContact'
        creditLimit:
          type: number
        currencyCode:
          type: string
        customFields:
          type: array
          items:
            $ref: '#/components/schemas/AccountCustomField'
        customPaymentConditions:
          type: array
          items:
            $ref: '#/components/schemas/CustomPaymentCondition'
        externalReference:
          type: string
        homepage:
          type: string
        id:
          type: integer
          format: int64
        lead:
          type: boolean
        legalForm:
          type: string
        modificationDate:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        name:
          type: string
        notes:
          type: string
        ownerSplitPercent:
          type: number
        paysTaxes:
          type: boolean
        registerOffice:
          type: string
        safeClient:
          type: boolean
        salesPerson:
          $ref: '#/components/schemas/User'
        salesTeam:
          $ref: '#/components/schemas/SalesTeam'
        status:
          type: string
          enum:
            - ACTIVE
            - DELETED
            - INACTIVE
        users:
          type: array
          items:
            $ref: '#/components/schemas/User'
        uuid:
          type: string
        vatNumber:
          type: string
        visible:
          type: boolean
    AccountContact:
      title: AccountContact
      type: object
      properties:
        account:
          $ref: '#/components/schemas/Account'
        data:
          type: string
        id:
          type: integer
          format: int64
        main:
          type: boolean
        type:
          type: string
          enum:
            - CLIENT_EMAIL
            - CLIENT_FAX
            - SALES_EMAIL
            - SALES_FAX
            - SALES_PHONE
            - DISPATCH_EMAIL
            - DISPATCH_FAX
            - DISPATCH_PHONE
            - PHONE_GENERAL
            - PHONE_INTERNATIONAL
            - PHONE_NATIONAL
            - URL
            - FACEBOOK
            - TWITTER
            - ACCOUNTING_EMAIL
            - SKYPE
            - PHONE
            - EMAIL
            - MOBILE
            - FAX
            - PHONE_PRIVATE
            - EMAIL_PRIVATE
            - EMERGENCY
            - MOBILE_PRIVATE
        uuid:
          type: string
    AccountCustomField:
      title: AccountCustomField
      type: object
      properties:
        account:
          $ref: '#/components/schemas/Account'
        description:
          type: string
        id:
          $ref: '#/components/schemas/Key'
        template:
          $ref: '#/components/schemas/AccountCustomFieldTemplate'
    AccountCustomFieldDto:
      title: AccountCustomFieldDto
      type: object
      properties:
        description:
          type: string
        template:
          $ref: '#/components/schemas/AccountCustomFieldTemplateDto'
    AccountCustomFieldDto_1:
      title: AccountCustomFieldDto_1
      type: object
      properties:
        template:
          $ref: '#/components/schemas/AccountCustomFieldTemplateDto_1'
        description:
          type: string
    AccountCustomFieldTemplate:
      title: AccountCustomFieldTemplate
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
        order:
          type: integer
          format: int32
        showAsImportant:
          type: boolean
        showInSales:
          type: boolean
        uuid:
          type: string
    AccountCustomFieldTemplateDto:
      title: AccountCustomFieldTemplateDto
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
        order:
          type: integer
          format: int32
        showAsImportant:
          type: boolean
        showInSales:
          type: boolean
    AccountCustomFieldTemplateDto_1:
      title: AccountCustomFieldTemplateDto_1
      type: object
      properties:
        id:
          type: integer
          format: int64
        showAsImportant:
          type: boolean
        order:
          type: integer
          format: int32
        name:
          type: string
        showInSales:
          type: boolean
    AccountDocument:
      title: AccountDocument
      type: object
      properties:
        accountdocid:
          type: integer
          format: int64
        alert:
          type: string
        alertDates:
          type: array
          items:
            type: string
            format: date-time
        defaultInDispatch:
          type: boolean
        defaultInSales:
          type: boolean
        document:
          $ref: '#/components/schemas/BinaryReference_1'
        expirationDate:
          type: string
          format: date-time
        id:
          type: integer
          format: int64
        issueDate:
          type: string
          format: date-time
        lastNotificationSent:
          type: string
          format: date-time
        neverExpires:
          type: boolean
        operatorAOC:
          $ref: '#/components/schemas/AOC'
        title:
          type: string
        uuid:
          type: string
        visibleInDispatch:
          type: boolean
        visibleInSales:
          type: boolean
    AccountDto:
      title: AccountDto
      type: object
      properties:
        accountNumber:
          type: string
          description: Account number
          example: 1111
        accountid:
          type: integer
          format: int64
          description: FL3XX generated account ID
          example: 1111
          readOnly: true
        email:
          type: string
          description: Email address
          example: email@fl3xx.com
        externalReference:
          type: string
          description: External reference
          example: 669665849-f120-4f65-6325-11111
        internalId:
          type: integer
          format: int64
          description: Internal ID
          example: 632123
          readOnly: true
        mobile:
          type: string
          description: Mobile phone
          example: 111111111
        name:
          type: string
          description: Account name
          example: Account
        notes:
          type: string
          description: Notes
          example: Notes
        phone:
          type: string
          description: Phone number
          example: 111111111
        vatNumber:
          type: string
          description: VAT Number
          example: A11111111111
        address:
          $ref: '#/components/schemas/AddressDto'
        links:
          $ref: '#/components/schemas/Links'
    AccountEntryDto:
      title: AccountEntryDto
      type: object
      properties:
        accountCode:
          type: string
        amount:
          type: number
          description: Amount
          example: 5.23
        billable:
          type: boolean
        categoryAccountCode:
          type: string
        currency:
          type: string
          description: Currency
          example: EUR
        date:
          type: string
          description: Epoch date value
          example: 1732188260064
        description:
          type: string
          description: Notes
          example: Account discount
        flightNumber:
          type: string
          description: Flight number
          example: 34343
        id:
          type: integer
          format: int64
          example: 33423
        legId:
          type: integer
          format: int64
          description: Leg ID
          example: 2323
        quantity:
          type: number
        rate:
          type: number
        status:
          type: string
          description: Status
          enum:
            - TRANSFERRED
            - READY_TO_INVOICE
            - TRANSFERRING
          example: TRANSFERRED
        supplierId:
          type: integer
          format: int64
        supplierName:
          type: string
        taxable:
          type: boolean
        unit:
          type: string
        attachments:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReferenceMinDto'
        actual:
          $ref: '#/components/schemas/AccountPriceEntryDto'
    AccountPriceEntryDto:
      title: AccountPriceEntryDto
      type: object
      properties:
        amount:
          type: number
          description: Amount
          example: 96.23
        baseCurrency:
          type: string
          description: Base currency
          example: USD
        currency:
          type: string
          description: Currency
          example: EUR
        quantity:
          type: number
          description: Quantity
          example: 1
        rate:
          type: number
          description: Rate
          example: 1.23
        unit:
          type: string
          description: Unit
    AccountSearchDto:
      title: AccountSearchDto
      type: object
      properties:
        accountNumber:
          type: string
        id:
          type: integer
          format: int64
        name:
          type: string
        operator:
          $ref: '#/components/schemas/OperatorBaseDto'
        status:
          type: string
          enum:
            - ACTIVE
            - DELETED
            - INACTIVE
    AccountingDto:
      title: AccountingDto
      type: object
      properties:
        accountEntries:
          type: array
          items:
            $ref: '#/components/schemas/AccountEntryDto'
        aircraft:
          $ref: '#/components/schemas/AircraftDto'
        aircraftAccountCode:
          type: string
        bookingIdentifier:
          type: string
          description: Custom booking identifier
          example: PXXJG
        bookingStatus:
          type: string
          description: Booking status
          enum:
            - QUOTE
            - OPTION
            - BOOKING
            - CLOSED
            - CANCELED
          example: QUOTE
        customer:
          $ref: '#/components/schemas/UserDto'
        customerAccountCode:
          type: string
        exchangeRates:
          type: array
          items:
            $ref: '#/components/schemas/BookingExchangeRateDto'
        invoiceStatus:
          type: string
          enum:
            - TRANSFERRED
            - READY_TO_INVOICE
            - TRANSFERRING
          example: TRANSFERRED
        paymentGuarantee:
          type: string
          description: Payment guarantee
          enum:
            - NOT_GUARANTEED
            - SAFE_CLIENT
            - CREDIT_CARD_AUTHORIZED
            - FINANCIAL_RELEASE_OK
          example: NOT_GUARANTEED
        paymentMethod:
          type: string
          description: Payment method
          enum:
            - TRANSFER
            - DIRECT_DEBIT
            - CREDIT_CARD
            - ON_ACCOUNT
            - OTHER
            - ELECTRONIC_PAYMENT
            - NOT_REQUIRED
            - JET_CARD
          example: TRANSFER
        paymentStatus:
          type: string
          description: Payment status
          enum:
            - NOT_PAID
            - PAID
          example: NOT_PAID
    Address:
      title: Address
      type: object
      properties:
        account:
          $ref: '#/components/schemas/Account'
        addressid:
          type: integer
          format: int64
        buildingDetails:
          type: string
        city:
          type: string
        country:
          $ref: '#/components/schemas/Country_1'
        externalReference:
          type: string
        id:
          type: integer
          format: int64
        latitude:
          type: number
          format: double
        longitude:
          type: number
          format: double
        modificationDate:
          type: string
          format: date-time
        modificationDatePropertyName:
          type: string
        modificationDateZT:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        modificationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        recipient:
          type: string
        referenceUser:
          $ref: '#/components/schemas/User'
        state:
          type: string
        street:
          type: string
        type:
          type: string
          enum:
            - WORK
            - HOME
            - OTHER
            - APIS
        user:
          $ref: '#/components/schemas/User'
        uuid:
          type: string
        zip:
          type: string
    AddressDto:
      title: AddressDto
      type: object
      properties:
        buildingDetails:
          type: string
          description: Building details
          example: 14th
        city:
          type: string
          description: City
          example: Lisbon
        country:
          type: string
          description: Country
          example: Portugal
        externalReference:
          type: string
          description: External reference
          example: External ref
        internalId:
          type: integer
          format: int64
          description: Internal ID
          example: 334455
          readOnly: true
        latitude:
          type: number
          format: double
          description: Latitude
          example: 0.1
        links:
          $ref: '#/components/schemas/Links'
        longitude:
          type: number
          format: double
          description: longitude
          example: 0.1
        recipient:
          type: string
          description: Recipient
          example: Recipient
        street:
          type: string
          description: Street
          example: My Street
        type:
          type: string
          example: WORK
          enum:
            - WORK
            - HOME
            - OTHER
            - APIS
        zip:
          type: string
          description: ZIP Code
          example: 111111
    AddressDto_1:
      title: AddressDto_1
      type: object
      properties:
        buildingDetails:
          type: string
        city:
          type: string
        country:
          $ref: '#/components/schemas/CountryDto'
        countryId:
          type: integer
          format: int64
        defaultAddress:
          type: boolean
        id:
          type: integer
          format: int64
        latitude:
          type: number
          format: double
        longitude:
          type: number
          format: double
        modificationDate:
          type: string
          format: date-time
        recipient:
          type: string
        state:
          type: string
        street:
          type: string
        type:
          type: string
          enum:
            - WORK
            - HOME
            - OTHER
            - APIS
        zip:
          type: string
    Aircraft:
      title: Aircraft
      type: object
      properties:
        id:
          type: integer
          format: int64
        accountingManager:
          $ref: '#/components/schemas/User'
        accountingProfitCenter:
          type: string
        acmExternalMaintenanceSync:
          type: boolean
        acousticGroup:
          type: integer
          format: int32
        addAverageMinimumFlightHoursFee:
          type: boolean
        additionalCabinCrew:
          type: integer
          format: int32
        additionalFlightCrew:
          type: integer
          format: int32
        aircraftAccountTransactions:
          type: array
          items:
            $ref: '#/components/schemas/AircraftAccountTransaction'
        aircraftCrew:
          type: array
          items:
            $ref: '#/components/schemas/User'
        aircraftDocuments:
          type: array
          items:
            $ref: '#/components/schemas/AircraftDocument'
        aircraftEquipment:
          $ref: '#/components/schemas/AircraftEquipmentDto'
        aircraftIataCode:
          type: string
        aircraftLink:
          type: string
        aircraftMaintenanceSchedules:
          type: array
          items:
            $ref: '#/components/schemas/AircraftMaintenanceSchedule'
        aircraftManager:
          $ref: '#/components/schemas/User'
        aircraftModel:
          $ref: '#/components/schemas/AircraftModel'
        aircraftName:
          type: string
        aircraftVariant:
          type: string
        aircraftcards:
          type: array
          items:
            $ref: '#/components/schemas/Aircraftcard'
        aircraftid:
          type: integer
          format: int64
        airframeExternalMaintenanceSync:
          type: boolean
        airport:
          $ref: '#/components/schemas/Airport'
        airportServicesMarkup:
          type: number
        ambulance:
          type: boolean
        aoc:
          $ref: '#/components/schemas/AOC'
        apuExternalMaintenanceSync:
          type: boolean
        avinode:
          type: boolean
        avinodeSyncDate:
          type: string
          format: date-time
        bankAccount:
          $ref: '#/components/schemas/OperatorBankAccount'
        bccArrivalMvt:
          type: string
        bccDepartureMvt:
          type: string
        bedsN:
          type: integer
          format: int32
        beltedToilet:
          type: boolean
        billingAddress:
          $ref: '#/components/schemas/Address'
        billingContacts:
          type: array
          items:
            $ref: '#/components/schemas/AccountContact'
        billingEmail:
          $ref: '#/components/schemas/AccountContact'
        billingPhone:
          $ref: '#/components/schemas/AccountContact'
        bookingFee:
          type: number
        bookingFeeMarkup:
          type: number
        cabinCrew:
          type: integer
          format: int32
        cabinHeight:
          type: number
          format: float
        cabinLength:
          type: number
          format: float
        cabinWidth:
          type: number
          format: float
        camoAlerts:
          type: string
        camoContact:
          $ref: '#/components/schemas/User'
        cargo:
          type: boolean
        category:
          type: string
          enum:
            - PISTON
            - TURBO_PROP
            - VERY_LIGHT_JET
            - LIGHT_JET
            - SUPER_LIGHT_JET
            - MIDSIZE_JET
            - SUPER_MIDSIZE_JET
            - HEAVY_JET
            - ULTRA_LONG_RANGE_JET
            - VIP_JET
            - AIRLINER
            - AMPHIBIAN
            - GYROCOPTER
            - HELICOPTER
            - SEA_PLANE
            - TILT_ROTOR
        cbpDecalNumber:
          type: string
        ccyExternalMaintenanceSync:
          type: boolean
        certificateNumber:
          type: string
        certifiedCeiling:
          type: number
          format: float
        certifiedMaxPax:
          type: integer
          format: int32
        cgAftLimit:
          type: string
        cgFwdLimit:
          type: string
        charForFlightNumber:
          type: string
        charter:
          type: boolean
        charterType:
          type: string
          enum:
            - CHARTER
            - PRIVATE
        circlingCategory:
          type: string
          enum:
            - A
            - B
            - C
            - D
        clearMsn:
          type: string
        colorMarkings:
          type: string
        comment:
          type: string
        commission:
          type: number
        configChangeEnabled:
          type: boolean
        costCenter:
          type: string
        creationDate:
          type: string
          format: date-time
        creationDatePropertyName:
          type: string
        creationDateZT:
          type: string
          format: date-time
        creationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        crewPositions:
          type: array
          items:
            $ref: '#/components/schemas/AircraftCrewPosition'
        crewReportingTimesCabinCrew:
          type: integer
          format: int64
        crewReportingTimesFlightCrew:
          type: integer
          format: int64
        crewVariableCost:
          type: number
        customFeeMarkup:
          type: number
        dailyFee:
          type: number
        dailyFeeMarkup:
          type: number
        defaultImage:
          $ref: '#/components/schemas/BinaryReference_1'
        defaultTaxiTime:
          type: integer
          format: int32
        distinctClasses:
          type: boolean
        efvsEquip:
          type: boolean
        emptyWeight:
          type: number
          format: float
        engine1:
          $ref: '#/components/schemas/Engine'
        engine2:
          $ref: '#/components/schemas/Engine'
        engine3:
          $ref: '#/components/schemas/Engine'
        engine4:
          $ref: '#/components/schemas/Engine'
        engineNr:
          type: integer
          format: int32
        engineType:
          type: string
        externalHeight:
          type: number
          format: float
        externalLength:
          type: number
          format: float
        extraEnginesACMSerial:
          type: string
        extraEnginesAPUSerial:
          type: string
        extraEnginesHobsSerial:
          type: string
        extraEnginesInitialAcmCycles:
          type: integer
          format: int32
        extraEnginesInitialAcmDate:
          type: string
          format: date-time
        extraEnginesInitialAcmHours:
          type: number
          format: float
        extraEnginesInitialApuCycles:
          type: integer
          format: int32
        extraEnginesInitialApuDate:
          type: string
          format: date-time
        extraEnginesInitialApuHours:
          type: number
          format: float
        extraEnginesInitialHobbsDate:
          type: string
          format: date-time
        extraEnginesInitialHobbsHours:
          type: number
          format: float
        extraEnginesOption:
          type: integer
          format: int32
        extraEnginesTotalAcmCycles:
          type: integer
          format: int32
        extraEnginesTotalAcmHours:
          type: number
          format: float
        extraEnginesTotalApuCycles:
          type: integer
          format: int32
        extraEnginesTotalApuHours:
          type: number
          format: float
        extraEnginesTotalHobbsHours:
          type: number
          format: float
        extraSysInitialCcyCyclesLh:
          type: number
        extraSysInitialCcyCyclesRh:
          type: number
        extraSysInitialCcyDate:
          type: string
          format: date-time
        extraSysInitialIcyCyclesLh:
          type: integer
          format: int32
        extraSysInitialIcyCyclesRh:
          type: integer
          format: int32
        extraSysInitialIcyDate:
          type: string
          format: date-time
        extraSysInitialPcyCyclesLh:
          type: number
        extraSysInitialPcyCyclesRh:
          type: number
        extraSysInitialPcyDate:
          type: string
          format: date-time
        extraSysTotalCcyCyclesLh:
          type: number
        extraSysTotalCcyCyclesRh:
          type: number
        extraSysTotalIcyCyclesLh:
          type: integer
          format: int32
        extraSysTotalIcyCyclesRh:
          type: integer
          format: int32
        extraSysTotalPcyCyclesLh:
          type: number
        extraSysTotalPcyCyclesRh:
          type: number
        ferryFee:
          type: number
        ferryFeeCost:
          type: number
        ferryFeeMarkup:
          type: number
        ferryPriceType:
          type: string
          enum:
            - BLOCK_TIME
            - FLIGHT_TIME
        flightAttendantFee:
          type: number
        flightAttendantFeeMarkup:
          type: number
        flightCrew:
          type: integer
          format: int32
        flightDataMonitoringSystem:
          type: string
          enum:
            - L3HARRIS
        flightMarginPercent:
          type: number
        flightPlanningSystem:
          type: string
          enum:
            - AIR_SUPPORT
            - FORE_FLIGHT
        flightTimeCalculationConstantFactor:
          type: number
        flightTimeCalculationConstantSummand:
          type: integer
          format: int32
        floatingBases:
          type: array
          items:
            $ref: '#/components/schemas/Airport'
        flyEasy:
          type: boolean
        flyOnTailNumber:
          type: boolean
        fuelCost:
          type: number
          format: float
        fuelFee:
          type: number
          format: float
        fuelLong:
          type: number
          format: float
        fuelShort:
          type: number
          format: float
        fuelStopFee:
          type: number
        fuelStopMarkup:
          type: number
        fuelSurcharge:
          type: number
        fuelTankUnits:
          type: string
          enum:
            - KILOGRAM
            - POUND
            - LITER
        fuelType:
          type: string
          enum:
            - JET_A1
            - JET_A
            - JET_B
            - JP4
            - JP5
            - JP8
            - JP54
            - AVGAS
            - UNLEADED_FUEL
        guardian:
          $ref: '#/components/schemas/User'
        holdItems:
          type: array
          items:
            $ref: '#/components/schemas/HoldItem'
        icyExternalMaintenanceSync:
          type: boolean
        initialFlightAcMeter:
          type: number
        initialFlightLanding:
          type: integer
          format: int64
        initialFlightTime:
          type: integer
          format: int64
        initialFlights:
          type: integer
          format: int64
        interior:
          type: string
        internationalFee:
          type: number
        internationalFeeMarkup:
          type: number
        keyAccountManager:
          $ref: '#/components/schemas/User'
        lastPullDueList:
          type: string
          format: date-time
        leaseCost:
          type: number
        maintenanceCost:
          type: number
        maintenanceSystem:
          type: string
          enum:
            - CAMP
            - VERYON
            - TRAXXALL
            - AMOS
            - TRAX
        manageEndDate:
          type: string
          format: date-time
        manageStartDate:
          type: string
          format: date-time
        manufacturingDate:
          type: integer
          format: int32
        maxCargo:
          type: number
          format: float
        maxFuel:
          type: number
          format: float
        maxLandingWeight:
          type: number
          format: float
        maxPax:
          type: integer
          format: int32
        maxPayload:
          type: number
          format: float
        maxRampWeight:
          type: number
          format: float
        maxRange:
          type: number
          format: float
          description: Maximum range at 0 payload. Unit is m/s (meters per second)
        maxRunwayAltitude:
          type: number
          format: float
        maxZeroFuelWeight:
          type: number
          format: float
        minCabinCrewBeforeAugm:
          type: integer
          format: int32
        minRange:
          type: number
          format: float
        minRunway:
          type: number
          format: float
        minRunwayVisualRange:
          type: integer
          format: int32
        minRunwayWidth:
          type: number
          format: float
        minimumCostBooking:
          type: number
        minimumFlightHoursDay:
          type: number
        minimumFlightHoursFixedFee:
          type: number
        minimumFlightHoursFixedFeeMode:
          type: string
          enum:
            - CHARGE_WITH_HOURLY_MIN
            - CHARGE_ONLY_PENALTY
        minimumFlightHoursLeg:
          type: number
        minimumFlightHoursPosLeg:
          type: number
        model3DUrl:
          type: string
        modificationDate:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        msn:
          type: string
        mtow:
          type: number
          format: float
        mtowUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
        navigationCost:
          type: number
        normalCruiseSpeed:
          type: number
          format: float
          description: >-
            Normal cruise speed in m/s (meters per second). Formula to find kt
            value based on the data returned -> Knots (kt)  = Meters per second
            (m/s) * 1.944
        onboardEngineer:
          type: integer
          format: int32
        opsTeams:
          type: array
          items:
            $ref: '#/components/schemas/OpsTeam'
        optimumFlightLevel3060:
          type: integer
          format: int32
        optimumFlightLevel6090:
          type: integer
          format: int32
        optimumFlightLevelGT90:
          type: integer
          format: int32
        optimumFlightLevelLT30:
          type: integer
          format: int32
        overnightFee:
          type: number
        ownerAccount:
          $ref: '#/components/schemas/Account'
        ownerMaximumAllowedDiscount:
          type: number
        ownerPerson:
          $ref: '#/components/schemas/User'
        ownersApprovalRequired:
          type: boolean
        parkingFee:
          type: number
        payloadWithMaxFuels:
          type: number
          format: float
        paymentForm:
          type: string
        pcyExternalMaintenanceSync:
          type: boolean
        performanceCategory:
          type: string
          enum:
            - A
            - B
            - C
            - D
        phoneNumber:
          type: string
        pictures:
          type: array
          items:
            $ref: '#/components/schemas/AircraftImage'
        precisionApproachCategory:
          type: string
          enum:
            - I
            - II
            - III_A
            - III_B
        pricingModel:
          type: string
          enum:
            - PRICE
            - COST_PLUS
            - JEDIQ
            - PRICE_ENGINE
        profitabilityCalculationModel:
          type: string
          enum:
            - US
            - EJME_CHARTER_COST
            - CHARTER_COST
        propulsion:
          type: string
          enum:
            - PISTON
            - TURBO_PROP
            - JET
            - ELECTRIC
            - ROCKET
        publishOnAPI:
          type: boolean
        pullDueListDaysAhead:
          type: integer
          format: int32
        pullDueListFromExternalService:
          type: boolean
        refurbished:
          type: integer
          format: int32
        refurbishedInt:
          type: integer
          format: int32
        registration:
          type: string
        registrationDate:
          type: string
          format: date-time
        requiredGroundHandlingEquipment:
          type: string
        rescueAndFireFightingCategory:
          type: string
          enum:
            - A_1
            - A_2
            - A_3
            - A_4
            - A_5
            - A_6
            - A_7
            - A_8
            - A_9
            - A_10
            - NONE_AIRCRAFT
        rescueAndFireFightingHeliCategory:
          type: string
          enum:
            - H_1
            - H_2
            - H_3
            - NONE_HELI
        restFacilities:
          type: string
          enum:
            - CLASS_1
            - CLASS_2
            - CLASS_3
        revenueFee:
          type: number
        revenueFeeCost:
          type: number
        revenueFeeMarkup:
          type: number
        revenuePriceType:
          type: string
          enum:
            - BLOCK_TIME
            - FLIGHT_TIME
        seatPitchOver40:
          type: boolean
        selcal:
          type: string
        standBy:
          type: boolean
        startAirport:
          $ref: '#/components/schemas/Airport'
        startupFee:
          type: number
        startupFeeMarkup:
          type: number
        status:
          type: string
          enum:
            - ACTIVE
            - DELETED
            - INACTIVE
            - DRAFT
            - DUMMY
        subcharter:
          type: boolean
        targetMargin:
          type: number
        targetMarginPercent:
          type: number
        termsAndConditions:
          type: string
        totalAirframeHoursInitDate:
          type: string
          format: date-time
        totalFlightAcMeter:
          type: number
        totalFlightLanding:
          type: integer
          format: int64
        totalFlightTime:
          type: integer
          format: int64
        transponder:
          type: string
        turnaroundTime:
          type: integer
          format: int64
        typeRating:
          type: string
        uuid:
          type: string
        vatExempt:
          type: boolean
        vatN:
          type: string
        wakeTurbulenceCategory:
          type: string
          enum:
            - L
            - M
            - H
            - LM
            - MH
            - J
        wingSpan:
          type: number
          format: float
    AircraftAccountTransaction:
      title: AircraftAccountTransaction
      type: object
      properties:
        aircraft:
          $ref: '#/components/schemas/Aircraft'
        aircraftAccountTransactionid:
          type: integer
          format: int64
        id:
          type: integer
          format: int64
        label:
          type: string
        transactionDate:
          type: string
          format: date-time
        user:
          $ref: '#/components/schemas/User'
        uuid:
          type: string
        value:
          type: number
          format: float
    AircraftAirportFeeLegNote:
      title: AircraftAirportFeeLegNote
      type: object
      properties:
        airportIcao:
          type: string
        feesModificationDate:
          type: string
          format: date-time
        feesNotes:
          type: string
        legId:
          type: integer
          format: int64
    AircraftCrewPosition:
      title: AircraftCrewPosition
      type: object
      properties:
        aircraft:
          $ref: '#/components/schemas/Aircraft'
        aircraftCrewPositionId:
          type: integer
          format: int64
        crewPosition:
          $ref: '#/components/schemas/CrewPosition'
        crewType:
          type: string
          enum:
            - FLIGHT_DECK
            - CABIN
        id:
          type: integer
          format: int64
        order:
          type: integer
          format: int32
    AircraftCrewPositionDto:
      title: AircraftCrewPositionDto
      type: object
      properties:
        aircraftCrewPositionId:
          type: integer
          format: int64
        assignable:
          type: boolean
        code:
          type: string
        crewType:
          type: string
          enum:
            - FLIGHT_DECK
            - CABIN
        disableFtFdpCalculation:
          type: boolean
        id:
          type: integer
          format: int64
        name:
          type: string
        order:
          type: integer
          format: int32
        role:
          type: string
          enum:
            - CMD
            - FO
            - CC
            - MED1
            - ATPL
            - LST
            - AQ
            - OPCRH
            - PA
            - FA
            - CPL
            - DG
            - ESET
            - Sec
            - FF
            - ENL4
            - ENL5
            - ENL6
            - LC
            - OPC
            - LVTO
            - LV
            - RVSM
            - TRI
            - TRE
            - AUS
            - SQMM
            - SECG
            - BMVIT
            - EFB
            - GRT
            - ESE
            - OCC
            - OICC
            - PICC
            - DITCH
            - FAID
            - WINTER
            - BRNAV
            - MNPS_ETOPS
            - RACQ
            - ETOPS
            - TCAS
            - CRM
            - ASH
            - USER0
            - USER1
            - USER2
            - USER3
            - USER4
            - USER5
            - USER6
            - USER7
            - USER8
            - USER9
            - ENG
            - AUGM_CREW
            - ADD_CREW
            - CREW
            - IR
            - HW_OPS
            - PBN
            - PFI
            - FM
            - SEP
            - SEP_IR
            - FI_A
            - MEP
            - CR
            - RC
            - OBS
            - DHC
            - EX_CM
            - AUG_PIC
            - AUG_SIC
            - AUG_CRP
            - INSTRUCTOR
            - CHECK_AIRMAN
            - GROUND_INSTRUCTOR
            - AUG_FA
            - CA
            - MD
            - RN
            - MEDIC
            - MAINTENANCE
            - JUMPSEAT
            - LOAD_MASTER
            - OPS_CONTROL
            - FLIGHT_COORDINATOR
            - COURIER
            - NR
            - INSPECTOR
            - COMPANY_REP
            - SINGLE_PILOT
        typeRatingRelated:
          type: boolean
    AircraftDocument:
      title: AircraftDocument
      type: object
      properties:
        aircraft:
          $ref: '#/components/schemas/Aircraft'
        aircraftDocumentId:
          type: integer
          format: int64
        alert:
          type: string
        alertDates:
          type: array
          items:
            type: string
            format: date-time
        bizFlightReference:
          type: string
        defaultInDispatch:
          type: boolean
        defaultInSales:
          type: boolean
        id:
          type: integer
          format: int64
        lastNotificationSent:
          type: string
          format: date-time
        neverExpires:
          type: boolean
        original:
          $ref: '#/components/schemas/BinaryReference_1'
        title:
          type: string
        uuid:
          type: string
        validFrom:
          type: string
          format: date-time
        validUntil:
          type: string
          format: date-time
        visibleInDispatch:
          type: boolean
        visibleInSales:
          type: boolean
    AircraftDto:
      title: AircraftDto
      type: object
      properties:
        ambulance:
          type: boolean
          description: Indicates whether the aircraft is an ambulance or not
          example: true
        aoc:
          $ref: '#/components/schemas/AocDto'
        cabinHeight:
          type: number
          format: float
          description: Cabin height
          example: 1.8
        cabinLength:
          type: number
          format: float
          description: Cabin length
          example: 10
        cabinWidth:
          type: number
          format: float
          description: Cabin width
          example: 2
        cargo:
          type: boolean
          description: Indicates whether the aircraft is a cargo aircraft or not
        category:
          type: string
          description: Category
          example: PISTON
          enum:
            - PISTON
            - TURBO_PROP
            - VERY_LIGHT_JET
            - LIGHT_JET
            - SUPER_LIGHT_JET
            - MIDSIZE_JET
            - SUPER_MIDSIZE_JET
            - HEAVY_JET
            - ULTRA_LONG_RANGE_JET
            - VIP_JET
            - AIRLINER
            - AMPHIBIAN
            - GYROCOPTER
            - HELICOPTER
            - SEA_PLANE
            - TILT_ROTOR
        equipment:
          $ref: '#/components/schemas/AircraftEquipmentDto'
        externalHeight:
          type: number
          format: float
          description: External height
          example: 3
        externalLength:
          type: number
          format: float
          description: External length
          example: 20
        flightNumberToken:
          type: string
          description: Flight number token
        homebase:
          type: string
          description: Homebase
          example: LMML
        id:
          type: integer
          format: int64
          description: FL3XX Aircraft ID
        keyAccountManager:
          $ref: '#/components/schemas/UserDto'
        layout:
          $ref: '#/components/schemas/AircraftLayoutDto'
        links:
          $ref: '#/components/schemas/Links'
        maxFuel:
          type: number
          format: float
          description: Max fuel
          example: 1000
        maxPayload:
          type: number
          format: float
          description: Maximum payload. Unit is kg (kilograms).
          example: 1000
        maxRange:
          type: number
          format: float
          description: Maximum range at 0 payload. Unit is m/s (meters per second)
          example: 1000
        minRunway:
          type: number
          format: float
          description: Minimum runway
          example: 1000
        model:
          type: string
          description: Model
          example: Clipper
        normalCruiseSpeed:
          type: number
          format: float
          description: >-
            Normal cruise speed in m/s (meters per second). Formula to find kt
            value based on the data returned -> Knots (kt)  = Meters per second
            (m/s) * 1.944
          example: 0.8
        numberOfSeats:
          type: integer
          format: int32
          description: Number of seats
          example: 3
        subcharter:
          type: boolean
          description: Indicates whether the aircraft is subcharter or not
          example: true
        tailNumber:
          type: string
          description: Tail number
          example: SX-HIC
        type:
          type: string
          description: Type
          example: R44
        typeName:
          type: string
          description: Type name
          example: Robi 44
        typeOfUse:
          type: string
          description: Type of use
          example: PRIVATE
          enum:
            - CHARTER
            - PRIVATE
        typeRating:
          type: string
          description: Type rating
        wingSpan:
          type: number
          format: float
          description: Wing span
          example: 0
    AircraftEquipmentDto:
      title: AircraftEquipmentDto
      type: object
      properties:
        baggageVolume:
          type: number
          description: Baggage volume
          format: float
          example: 493
        cd_dvd:
          type: boolean
          description: Indicates whether CD/DVD is available or not
          example: true
        coffeePot:
          type: boolean
          description: Indicates whether a coffee pot is available or not
          example: false
        enclosedLavatory:
          type: boolean
          description: Indicates whether an enclosed lavatory is available or not
          example: false
        entertainmentSystem:
          type: boolean
          description: Indicates whether an entertainment system is available or not
          example: true
        espresso:
          type: boolean
          description: Indicates whether espresso is available or not
          example: true
        golfBags:
          type: boolean
          description: Indicates whether golf bags are available or not
          example: false
        headsets:
          type: boolean
          description: Indicates whether headsets is available or not
          example: true
        iceBin:
          type: boolean
          description: Indicates whether an ice-bin is available or not
          example: true
        lavatory:
          type: boolean
          description: Indicates whether a lavatory is available or not
          example: true
        maxWeight:
          type: number
          description: Max weight
          format: float
          example: 2170
        microwaveOven:
          type: boolean
          description: Indicates whether microwave oven is available or not
          example: true
        petsAllowed:
          type: boolean
          description: Indicates whether pets are allowed or not
          example: true
        satPhone:
          type: boolean
          description: Indicates whether satellite phone is available or not
          example: true
        satTV:
          type: boolean
          description: Indicates whether satellite tv is available or not
          example: false
        skiTube:
          type: boolean
          description: Indicates whether ski tube is available or not
          example: false
        smokingAllowed:
          type: boolean
          description: Indicates whether smoking is allowed or not.
          example: false
        standardSuitcases:
          type: integer
          description: Indicates the number of Standard Suitcases
          format: int32
          example: 18
        tv:
          type: boolean
          description: Indicates whether tv is available or not.
          example: true
        v110:
          type: boolean
          description: Indicates whether there is 110V socket available
          example: true
        v230:
          type: boolean
          description: Indicates whether there is 230V socket available
          example: false
        warmingOven:
          type: boolean
          description: Indicates whether a warming oven is available or not.
          example: true
        wifi:
          type: boolean
          description: Indicates whether wi-fi is available or not.
          example: true
    AircraftExtDto:
      title: AircraftExtDto
      type: object
      properties:
        aircraftName:
          type: string
          description: Aircraft name
          example: G650
        ambulance:
          type: boolean
          description: Has ambulance
        aocNumber:
          type: string
          description: Indicates AOC name
          example: test-aoc-number
        bedsN:
          type: integer
          description: Number of beds
          format: int32
          example: 3
        beltedToilet:
          type: boolean
          description: Has belted toilet
          example: false
        cabinCrew:
          type: integer
          description: Number of Cabin Crew
          format: int32
          example: 1
        cabinHeight:
          type: number
          description: Cabin height
          format: float
          example: 1.85
        cabinLength:
          type: number
          description: Cabin length
          format: float
          example: 14.76
        cabinWidth:
          type: number
          description: Cabin width
          format: float
          example: 2.49
        cargo:
          type: boolean
          description: Has cargo
          example: true
        category:
          type: string
          description: Aircraft category
          example: ULTRA_LONG_RANGE_JET
          enum:
            - PISTON
            - TURBO_PROP
            - VERY_LIGHT_JET
            - LIGHT_JET
            - SUPER_LIGHT_JET
            - MIDSIZE_JET
            - SUPER_MIDSIZE_JET
            - HEAVY_JET
            - ULTRA_LONG_RANGE_JET
            - VIP_JET
            - AIRLINER
            - AMPHIBIAN
            - GYROCOPTER
            - HELICOPTER
            - SEA_PLANE
            - TILT_ROTOR
        equipment:
          $ref: '#/components/schemas/AircraftEquipmentDto'
        externalHeight:
          type: number
          description: External height
          format: float
          example: 0
        externalLength:
          type: number
          description: External length
          format: float
          example: 0
        flightNumberToken:
          type: string
          description: This indicates the formatting of the flight numbers
          example: FLX001
        homebase:
          type: string
          description: Home base
          example: LOWW
        id:
          type: integer
          description: Aircraft's internal ID in FL3XX
          format: int64
          example: 2141
        keyAccountManager:
          $ref: '#/components/schemas/UserDto'
        manufacturingDate:
          type: integer
          description: Manufacturing year
          format: int32
          example: 2009
        maxFuel:
          type: number
          description: Max fuel
          format: float
          example: 0
        model:
          type: string
          description: Aircraft model
          example: G-7 Gulfstream G500
        numberOfSeats:
          type: integer
          description: Number of seats
          format: int32
          example: 13
        ownersApprovalRequired:
          type: boolean
          description: Requires owner approval
          example: false
        refurbished:
          type: integer
          description: Year the aircraft was refurbished
          format: int32
          example: 2016
        refurbishedInt:
          type: integer
          description: Year an interior of the aircraft was refurbished
          format: int32
          example: 2024
        status:
          type: string
          description: Aircraft status
          example: ACTIVE
          enum:
            - ACTIVE
            - DELETED
            - INACTIVE
            - DRAFT
            - DUMMY
        subcharter:
          type: boolean
          description: Indicates if it is a subcharter aircraft
          example: false
        tailNumber:
          type: string
          description: Tail number
          example: A7-XYZ
        type:
          type: string
          description: Aircraft type
          example: GA5C
        typeName:
          type: string
          description: Aircraft type name
          example: G650
        wingSpan:
          type: number
          description: Wingspan
          format: float
          example: 0
    AircraftFlight:
      title: AircraftFlight
      type: object
      properties:
        aircraft:
          $ref: '#/components/schemas/Aircraft'
        aircraftBeforeCancel:
          $ref: '#/components/schemas/Aircraft'
        canceled:
          type: boolean
        dispatchType:
          type: string
        flight:
          $ref: '#/components/schemas/Flight'
        from:
          type: string
          format: date-time
        fromBeforeCancel:
          type: string
          format: date-time
        id:
          type: integer
          format: int64
        interval:
          $ref: '#/components/schemas/Interval'
        reportNote:
          type: string
        saircraftFlightid:
          type: integer
          format: int64
        to:
          type: string
          format: date-time
        toBeforeCancel:
          type: string
          format: date-time
        uuid:
          type: string
        valid:
          type: boolean
    AircraftImage:
      title: AircraftImage
      type: object
      properties:
        aircraft:
          $ref: '#/components/schemas/Aircraft'
        generic:
          type: boolean
        imageOriginal:
          $ref: '#/components/schemas/BinaryReference_1'
        main:
          type: boolean
        markAsDeleted:
          type: boolean
        order:
          type: integer
          format: int32
        pictureType:
          type: string
          enum:
            - APRON
            - FLIGHTDECK
            - CABIN
            - RUNWAY
            - FLIGHT
            - DETAIL
        title:
          type: string
        uuid:
          type: string
    AircraftLayoutDto:
      title: AircraftLayoutDto
      type: object
      properties:
        cabinCrew:
          type: integer
          format: int32
        flightCrew:
          type: integer
          format: int32
        onboardEngineer:
          type: integer
          format: int32
    AircraftLogDto:
      title: AircraftLogDto
      type: object
      properties:
        aircraftId:
          type: integer
          format: int64
        arrFuel:
          $ref: '#/components/schemas/FuelDto'
        booking:
          type: string
        bookingId:
          type: integer
          format: int64
        cargo:
          $ref: '#/components/schemas/CargoLogDto'
        deice:
          $ref: '#/components/schemas/DeiceDto'
        documents:
          $ref: '#/components/schemas/DocumentsDto'
        endHobbs:
          type: number
        estimatedTimes:
          $ref: '#/components/schemas/EstimatedTimesDto'
        flight:
          type: string
        ftlComments:
          type: string
        fuel:
          $ref: '#/components/schemas/FuelDto'
        fuelProviders:
          type: array
          items:
            $ref: '#/components/schemas/FuelProviderInfoDto'
        hold:
          type: boolean
        journeyLog:
          type: string
        mtowUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
        nonPrecision:
          type: integer
          format: int32
        preFlight:
          $ref: '#/components/schemas/PreFlightDto'
        precision:
          type: integer
          format: int32
        reducedRestEnabled:
          type: boolean
        startHobbs:
          type: number
        tailNumber:
          type: string
        time:
          $ref: '#/components/schemas/FlightTimeDto'
        trafficReportPanel:
          $ref: '#/components/schemas/TrafficReportPanelDto'
        visual:
          type: boolean
        vorCheck:
          $ref: '#/components/schemas/VorCheckDto'
    AircraftLogDto_1:
      title: AircraftLogDto_1
      type: object
      properties:
        aircraftId:
          type: integer
          format: int64
        arrFuel:
          $ref: '#/components/schemas/FuelDto_1'
        booking:
          type: string
        bookingId:
          type: integer
          format: int64
        cargo:
          $ref: '#/components/schemas/CargoLogDto'
        deice:
          $ref: '#/components/schemas/DeiceDto_1'
        documents:
          $ref: '#/components/schemas/DocumentsDto'
        endHobbs:
          type: number
        estimatedTimes:
          $ref: '#/components/schemas/EstimatedTimesDto'
        flight:
          type: string
        ftlComments:
          type: string
        fuel:
          $ref: '#/components/schemas/FuelDto_1'
        fuelProviders:
          type: array
          items:
            $ref: '#/components/schemas/FuelProviderInfoDto'
        hold:
          type: boolean
        journeyLog:
          type: string
        mtowUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
        nonPrecision:
          type: integer
          format: int32
        preFlight:
          $ref: '#/components/schemas/PreFlightDto'
        precision:
          type: integer
          format: int32
        reducedRestEnabled:
          type: boolean
        startHobbs:
          type: number
        tailNumber:
          type: string
        time:
          $ref: '#/components/schemas/FlightTimeDto_1'
        trafficReportPanel:
          $ref: '#/components/schemas/TrafficReportPanelDto'
        visual:
          type: boolean
        vorCheck:
          $ref: '#/components/schemas/VorCheckDto_1'
    AircraftMaintenanceSchedule:
      title: AircraftMaintenanceSchedule
      type: object
      properties:
        aircraft:
          $ref: '#/components/schemas/Aircraft'
        amount:
          type: integer
          format: int64
        date:
          type: string
          format: date-time
        dueRepeat:
          type: integer
          format: int64
        externalSource:
          type: string
          enum:
            - CAMP
            - VERYON
            - TRAXXALL
            - AMOS
            - TRAX
        id:
          type: integer
          format: int64
        lastAmount:
          type: integer
          format: int64
        lastUpdate:
          type: string
          format: date-time
        maxAmount:
          type: integer
          format: int64
        maxDate:
          type: string
          format: date-time
        maxOrNextAmount:
          type: integer
          format: int64
        maxOrNextDate:
          type: string
          format: date-time
        modificationDate:
          type: string
          format: date-time
        modificationDatePropertyName:
          type: string
        modificationDateZT:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        modificationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        profileType:
          type: string
          enum:
            - AIRCRAFT
            - PROPELLER
            - APU
            - ENGINE
        scheduleType:
          type: string
          enum:
            - INTERVAL
            - CALENDAR
            - UPDATE
            - AIRWORTHINESS_DIRECTIVE
        taskType:
          type: string
          enum:
            - SERVICE
            - PART_NUMBER
            - PACKAGE
            - AD
            - BULLETIN
        timeUnit:
          type: string
          enum:
            - DAYS
            - MONTHS
            - YEARS
        type:
          type: string
        unit:
          type: string
          enum:
            - FLIGHT_HOURS
            - FLIGHT_CYCLES
            - ENGINE1_HOURS
            - ENGINE2_HOURS
            - ENGINE3_HOURS
            - ENGINE4_HOURS
            - ENGINE1_CYCLES
            - ENGINE2_CYCLES
            - ENGINE3_CYCLES
            - ENGINE4_CYCLES
            - APU_HOURS
            - APU_CYCLES
            - CCY_CYCLES
            - PCY_CYCLES
            - ICY_CYCLES
            - ENGINE_HOURS
            - ENGINE_CYCLES
            - ACM_CYCLES
            - ACM_HOURS
        uuid:
          type: string
    AircraftModel:
      title: AircraftModel
      type: object
      properties:
        aircraftVariant:
          type: string
        cabinCrew:
          type: integer
          format: int32
        category:
          type: string
          enum:
            - AMPHIBIAN
            - GYROCOPTER
            - HELICOPTER
            - LAND_PLANE
            - SEA_PLANE
            - TILT_ROTOR
        certifiedCeiling:
          type: number
          format: float
        engineNr:
          type: integer
          format: int32
        engineType:
          type: string
          enum:
            - unDef
            - Jet
            - Turboprop
            - Piston
            - Electric
            - Rocket
        extraEnginesAcm:
          type: boolean
        extraEnginesApu:
          type: boolean
        extraSystemCcy:
          type: boolean
        extraSystemHobbs:
          type: boolean
        extraSystemIcy:
          type: boolean
        extraSystemPcy:
          type: boolean
        flightCrew:
          type: integer
          format: int32
        fuelTankUnits:
          type: string
          enum:
            - KILOGRAM
            - POUND
            - LITER
        fuelType:
          type: string
          enum:
            - JET_A1
            - JET_A
            - JET_B
            - JP4
            - JP5
            - JP8
            - JP54
            - AVGAS
            - UNLEADED_FUEL
        icao:
          type: string
        manufacturer:
          type: string
        maxFuel:
          type: number
          format: float
        maxLandingWeight:
          type: number
          format: float
        maxPax:
          type: integer
          format: int32
        maxRampWeight:
          type: number
          format: float
        maxRange:
          type: number
          format: float
          description: Maximum range at 0 payload. Unit is m/s (meters per second)
        maxZeroFuelWeight:
          type: number
          format: float
        minRange:
          type: number
          format: float
        minRunway:
          type: number
          format: float
        model:
          type: string
        mtow:
          type: number
          format: float
        mtowUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
        normalCruiseSpeed:
          type: number
          format: float
          description: >-
            Normal cruise speed in m/s (meters per second). Formula to find kt
            value based on the data returned -> Knots (kt)  = Meters per second
            (m/s) * 1.944
        notes:
          type: string
        optimumFlightLevel3060:
          type: integer
          format: int32
        optimumFlightLevel6090:
          type: integer
          format: int32
        optimumFlightLevelGT90:
          type: integer
          format: int32
        optimumFlightLevelLT30:
          type: integer
          format: int32
        propulsion:
          type: string
          enum:
            - PISTON
            - TURBO_PROP
            - JET
            - ELECTRIC
            - ROCKET
        status:
          type: string
          enum:
            - ACTIVE
            - INACTIVE
            - DELETED
        typeRating:
          type: string
        uuid:
          type: string
    AircraftPriceDto:
      title: AircraftPriceDto
      type: object
      properties:
        costModel:
          $ref: '#/components/schemas/CostModel'
        fees:
          $ref: '#/components/schemas/PriceFee'
        priceModel:
          $ref: '#/components/schemas/PriceModel'
        tailCurrency:
          type: string
        tailNumber:
          type: string
    AircraftScheduleDto:
      title: AircraftScheduleDto
      type: object
      properties:
        arrivalAirport:
          type: string
        arrivalAirportObj:
          $ref: '#/components/schemas/AirportDto'
        arrivalDate:
          type: string
        arrivalDateUTC:
          type: string
        comments:
          type: string
        departureAirport:
          type: string
        departureAirportObj:
          $ref: '#/components/schemas/AirportDto'
        departureDate:
          type: string
        departureDateUTC:
          type: string
        fplType:
          type: string
          enum:
            - 'N'
            - G
            - X
            - M
            - S
        id:
          type: string
        notes:
          type: string
        pax:
          type: integer
          format: int32
        seatsAfter:
          type: integer
          format: int32
        taskType:
          type: string
          enum:
            - MAINTENANCE
            - RESERVED
            - AOG
            - CREW_UNAVAILABLE
            - NOTE
            - FLIGHT
            - UNSCHEDULED_MAINTENANCE
            - LOCATION
          description: >
            Type of task scheduled.


            Possible values:


            * **MAINTENANCE:**  Scheduled maintenance activities.

            * **UNSCHEDULED_MAINTENANCE:**  Unexpected maintenance needs.

            * **CREW_UNAVAILABLE:** Periods when the crew is unavailable for
            flight duties.

            * **AOG:**  Aircraft On Ground situations requiring attention.

            * **NOTE:**  For adding general notes or annotations to the
            schedule.

            * **RESERVED:**  To block out time on the schedule for potential
            future tasks.

            * **FLIGHT:** For scheduling actual flights (with different
            departure and arrival airports).
        tripNumber:
          type: integer
          format: int64
        workflow:
          type: string
          enum:
            - COMMERCIAL
            - MAINTENANCE
            - PRIVATE
            - TRAINING
            - OWNER
            - INTERNAL
            - RESERVED
            - CHARTER
            - SUBCHARTER
            - SCHEDULED
            - AMBULANCE
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
            - CUSTOM6
            - BROKER
            - BROKER_SUBCHARTER
        workflowCustomName:
          type: string
    AircraftTask:
      title: AircraftTask
      type: object
      properties:
        aircraft:
          $ref: '#/components/schemas/Aircraft'
        archived:
          type: boolean
        arrivalLocation:
          $ref: '#/components/schemas/Airport'
        booking:
          $ref: '#/components/schemas/Booking'
        closed:
          type: boolean
        closingDate:
          type: string
          format: date-time
        comment:
          type: string
        configCargo:
          type: boolean
        configChange:
          type: boolean
        configLifeRafts:
          type: integer
          format: int32
        configPaxSeats:
          type: integer
          format: int32
        creationDate:
          type: string
          format: date-time
        creationDatePropertyName:
          type: string
        creationDateZT:
          type: string
          format: date-time
        creationUser:
          $ref: '#/components/schemas/User'
        creationUserPropertyName:
          type: string
        creationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        estimatedCosts:
          type: number
        externalReference:
          type: string
        from:
          type: string
          format: date-time
        id:
          type: integer
          format: int64
        interval:
          $ref: '#/components/schemas/Interval'
        location:
          $ref: '#/components/schemas/Airport'
        maintenanceProvider:
          $ref: '#/components/schemas/MaintenanceProvider'
        modificationDate:
          type: string
          format: date-time
        modificationDatePropertyName:
          type: string
        modificationDateZT:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        modificationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        notes:
          type: string
        releaseDate:
          type: string
          format: date-time
        released:
          type: boolean
        releasedByUser:
          $ref: '#/components/schemas/User'
        removalReason:
          type: string
        saircraftTaskid:
          type: integer
          format: int64
        source:
          type: string
          enum:
            - INTERNAL
            - EJME
            - AMOS
        task:
          type: string
          enum:
            - MAINTENANCE
            - RESERVED
            - AOG
            - CREW_UNAVAILABLE
            - NOTE
            - FLIGHT
            - UNSCHEDULED_MAINTENANCE
            - LOCATION
        to:
          type: string
          format: date-time
        totalCosts:
          type: number
        uuid:
          type: string
    Aircraftcard:
      title: Aircraftcard
      type: object
      properties:
        aircraft:
          $ref: '#/components/schemas/Aircraft'
        aircraftcardid:
          type: integer
          format: int64
        copy:
          $ref: '#/components/schemas/BinaryReference_1'
        expirationDate:
          type: string
          format: date-time
        holder:
          type: string
        id:
          type: integer
          format: int64
        issuer:
          type: string
        number:
          type: string
        securityCode:
          type: string
        type:
          $ref: '#/components/schemas/CardType'
        uuid:
          type: string
    AirportObj:
      title: Airport
      type: object
      properties:
        id:
          type: integer
          format: int64
          description: FL3XX airport ID
          example: 20598
        avgTaxiInTime:
          type: number
          format: float
          description: Average taxi in time
        avgTaxiOutTime:
          type: number
          format: float
          description: Average taxi out time
        avgTurnaroundTime:
          type: number
          format: float
          description: Average turnaround time
        cfmuTaxiInTime:
          type: number
          format: float
          example: 240000
        cfmuTaxiOutTime:
          type: number
          format: float
          example: 480000
        elevation:
          type: number
          format: float
          description: Elevation
          example: 91.44000244140625
        latitude:
          type: number
          format: double
          description: Latitude
          example: 35.8575417
        longitude:
          type: number
          format: double
          description: Longitude
          example: 14.4774389
        icao:
          type: string
          description: ICAO code
          example: LMML
        iata:
          type: string
          description: IATA code
          example: MLA
        faa:
          type: string
          description: FAA code
        localIdentifier:
          type: string
          description: Local identifier
        longestRunwayLength:
          type: number
          format: float
          description: Longest runway length
          example: 3355
        widestRunwayWidth:
          type: number
          format: float
          description: Widest runway width
          example: 58
        servedCity:
          type: string
          description: Served city
          example: Valletta
        state:
          type: string
          description: State
        country:
          type: string
          description: Country Code
          example: MT
        timeZone:
          type: string
          description: Time zone
          example: Europe/Malta
        rescueFireCategory:
          type: string
          example: A_9
          enum:
            - A_1
            - A_2
            - A_3
            - A_4
            - A_5
            - A_6
            - A_7
            - A_8
            - A_9
            - A_10
            - NONE_AIRCRAFT
        rescueFireHeliCategory:
          type: string
          description: Rescue fire heli category
          enum:
            - H_1
            - H_2
            - H_3
            - NONE_HELI
        aid:
          type: string
          example: APT-VNCC-AV4U
        name:
          type: string
          description: Airport Name
          example: Malta International Airport
        servedCityGoverningDistrict:
          type: string
          description: Served city governing district
        administrativeCity:
          type: string
          description: Administrative city
        administrativeCityGoverningDistrict:
          $ref: '#/components/schemas/GoverningDistrict'
        distanceFromSearchCoordinates:
          type: number
          format: double
          description: Distance from search coordinates
        fuelPriceIndex:
          type: number
          description: Fuel price index
        fuelPriceIndexComercial:
          type: number
          description: Fuel price index comercial
        customsAvailability:
          type: string
          description: Customs availability
          example: NOT_AVAILABLE
          enum:
            - AVAILABLE
            - ON_REQUEST
            - NOT_AVAILABLE
        operatorCategory:
          type: string
          enum:
            - A
            - B
            - C
            - NC
        airportElevation:
          type: number
          format: float
          description: Airport elevation
          example: 91.44
        onRequestRescueFireCategory:
          type: string
          enum:
            - A_1
            - A_2
            - A_3
            - A_4
            - A_5
            - A_6
            - A_7
            - A_8
            - A_9
            - A_10
            - NONE_AIRCRAFT
        onRequestRescueFireHeliCategory:
          type: string
          enum:
            - H_1
            - H_2
            - H_3
            - NONE_HELI
        rescueFire:
          type: string
        address:
          $ref: '#/components/schemas/Address'
        links:
          type: array
          items:
            $ref: '#/components/schemas/Link'
    Airport:
      title: Airport
      type: object
      properties:
        administrativeCityGoverningDistrict:
          type: string
        aid:
          type: string
        airportElevation:
          type: number
          format: float
        airportid:
          type: integer
          format: int64
        arrivalSlotNeeded:
          type: boolean
        cfmuTaxiInTime:
          type: integer
          format: int64
        cfmuTaxiOutTime:
          type: integer
          format: int64
        customsAvailability:
          type: string
          enum:
            - AVAILABLE
            - ON_REQUEST
            - NOT_AVAILABLE
        customsEmail:
          type: string
        customsInfo:
          type: string
        customsOnRequestHours:
          type: integer
          format: int32
        departureSlotNeeded:
          type: boolean
        emailAddress:
          type: string
        faa:
          type: string
        faaOrIataOrIcao:
          type: string
        fullName:
          type: string
        groundServiceFee:
          type: number
          format: float
        h24:
          type: boolean
        handlingServiceRequired:
          type: boolean
        homeBase:
          type: boolean
        homepageUrl:
          type: string
        iata:
          type: string
        iataOrIcao:
          type: string
        iataOrIcaoOrFaa:
          type: string
        icao:
          type: string
        icaoOrFaa:
          type: string
        icaoOrIata:
          type: string
        icaoOrIataOrFaa:
          type: string
        id:
          type: integer
          format: int64
        identifier:
          type: string
        identifierOrName:
          type: string
        landingFee:
          type: number
          format: float
        latitude:
          type: number
          format: double
        localIdentifier:
          type: string
        longestRunwayLength:
          type: number
          format: float
        longitude:
          type: number
          format: double
        modificationDate:
          type: string
          format: date-time
        modificationDatePropertyName:
          type: string
        modificationDateZT:
          type: string
          format: date-time
        name:
          type: string
        onRequestRescueFireCategory:
          type: string
          enum:
            - A_1
            - A_2
            - A_3
            - A_4
            - A_5
            - A_6
            - A_7
            - A_8
            - A_9
            - A_10
            - NONE_AIRCRAFT
        onRequestRescueFireHeliCategory:
          type: string
          enum:
            - H_1
            - H_2
            - H_3
            - NONE_HELI
        parkingFee:
          type: number
          format: float
        penaltyIn:
          type: number
          format: float
        penaltyOut:
          type: number
          format: float
        permissionRequired:
          type: boolean
        pilotQualification:
          type: boolean
        pilotQualificationWebsite:
          type: string
        rescueFire:
          type: string
        rescueFireCategory:
          type: string
          enum:
            - A_1
            - A_2
            - A_3
            - A_4
            - A_5
            - A_6
            - A_7
            - A_8
            - A_9
            - A_10
            - NONE_AIRCRAFT
        rescueFireHeliCategory:
          type: string
          enum:
            - H_1
            - H_2
            - H_3
            - NONE_HELI
        score:
          type: number
          format: float
        servedCity:
          type: string
        slotRequestEmail:
          type: string
        slotUrl:
          type: string
        state:
          type: string
        status:
          type: string
          enum:
            - ACTIVE
            - INACTIVE
            - DELETED
        timeZone:
          type: string
        trafficVolume:
          type: integer
          format: int32
        turnAroundFeeDay:
          type: number
          format: float
        turnAroundFeeNight:
          type: number
          format: float
        uuid:
          type: string
        widestRunwayWidth:
          type: number
          format: float
        airportFee:
          type: array
          items:
            $ref: '#/components/schemas/AirportFee'
        airportFuels:
          type: array
          items:
            $ref: '#/components/schemas/AirportFuel'
        airportServices:
          type: array
          items:
            $ref: '#/components/schemas/AirportService'
        aocInfo:
          type: array
          items:
            $ref: '#/components/schemas/AirportAocInfo'
        country:
          $ref: '#/components/schemas/Country_1'
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        modificationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        parsedTimeZone:
          $ref: '#/components/schemas/TimeZone'
        parsedZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        picture:
          $ref: '#/components/schemas/BinaryReference_1'
        positioningsForFromAirport:
          type: array
          items:
            $ref: '#/components/schemas/Positioning'
        positioningsForToAirport:
          type: array
          items:
            $ref: '#/components/schemas/Positioning'
        address:
          $ref: '#/components/schemas/Address'
        types:
          type: array
          items:
            $ref: '#/components/schemas/AirportType'
    AirportAocInfo:
      title: AirportAocInfo
      type: object
      properties:
        airport:
          $ref: '#/components/schemas/Airport'
        aoc:
          $ref: '#/components/schemas/AOC'
        category:
          type: string
          enum:
            - A
            - B
            - C
            - NC
        id:
          type: integer
          format: int64
        pilotQualification:
          type: boolean
        uuid:
          type: string
    AirportDocumentDto:
      title: AirportDocumentDto
      type: object
      properties:
        aipType:
          type: string
        authority:
          type: string
        binaryReference:
          $ref: '#/components/schemas/BinaryReference'
        docId:
          type: integer
          format: int64
        eadId:
          type: integer
          format: int64
        effectiveDate:
          type: string
          format: date-time
        effectiveEndDate:
          type: string
          format: date-time
        effectiveEndText:
          type: string
        heading:
          type: string
        id:
          type: integer
          format: int64
        language:
          type: string
        name:
          type: string
        originalName:
          type: string
        part:
          type: string
        publicationDate:
          type: string
          format: date-time
        remark:
          type: string
        section:
          type: string
        series:
          type: string
    AirportDto:
      title: AirportDto
      type: object
      properties:
        aid:
          type: string
          description: AID
          example: APT-QAPF-UXNM
        faa:
          type: string
          description: FAA
          example: 'null'
        iata:
          type: string
          description: IATA
          example: 'null'
        icao:
          type: string
          description: ICAO
          example: OTBD
        id:
          type: integer
          description: FL3XX internal airport ID
          format: int64
          example: 22024
        localIdentifier:
          type: string
          description: Local identifier
          example: 'null'
        name:
          type: string
          description: Airport name
          example: Doha International Airport
    AirportFee:
      title: AirportFee
      type: object
      properties:
        airport:
          $ref: '#/components/schemas/Airport'
        airportId:
          type: integer
          format: int64
        arrivalPaxFee:
          type: number
        departurePaxFee:
          type: number
        fuelCost:
          type: number
        id:
          type: integer
          format: int64
        uuid:
          type: string
    AirportFeeDto:
      title: AirportFeeDto
      type: object
      properties:
        arrivalPaxFee:
          type: number
          description: Arrival pax fee
        departurePaxFee:
          type: number
          description: Departure pax fee
        fuelCost:
          type: number
          description: Fuel cost
        id:
          type: integer
          format: int64
          description: Airport fee ID
    AirportFuel:
      title: AirportFuel
      type: object
      properties:
        airport:
          $ref: '#/components/schemas/Airport'
        airportId:
          type: integer
          format: int64
        archived:
          type: boolean
        contractor:
          type: string
        created:
          type: string
          format: date-time
        creationDate:
          type: string
          format: date-time
        creationDatePropertyName:
          type: string
        creationDateZT:
          type: string
          format: date-time
        creationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        currency:
          type: string
        deleted:
          type: boolean
        email:
          type: string
        eurPerLiter:
          type: number
        eurPerLiterComercial:
          type: number
        feesPerUsdg:
          type: number
        fromVolume:
          type: number
          format: double
        id:
          type: integer
          format: int64
        intoPlane:
          type: string
        netUsdg:
          type: number
        payment:
          type: string
        phone:
          type: string
        preArrival:
          type: string
        priceIndex:
          type: number
        priceIndexComercial:
          type: number
        pricePerUnit:
          type: number
        pricePerUnitComercial:
          type: number
        priceValidity:
          type: string
        remarks:
          type: string
        source:
          type: string
        toVolume:
          type: number
          format: double
        totalUsdg:
          type: number
        unit:
          type: string
          enum:
            - LITER
            - GALLON_USA
        uuid:
          type: string
        vendorId:
          type: string
    AirportLocationDto:
      title: AirportLocationDto
      type: object
      properties:
        country:
          type: string
        faa:
          type: string
        iata:
          type: string
        icao:
          type: string
        id:
          type: integer
          format: int64
        latitude:
          type: number
          format: double
        localIdentifier:
          type: string
        location:
          type: string
        longitude:
          type: number
          format: double
        name:
          type: string
        servedCity:
          type: string
        state:
          type: string
        timeZone:
          type: string
    AirportMinSearchDto:
      title: AirportMinSearchDto
      type: object
      properties:
        faa:
          type: string
        iata:
          type: string
        icao:
          type: string
        id:
          type: integer
          format: int64
        localIdentifier:
          type: string
        name:
          type: string
        servedCity:
          type: string
        timeZone:
          type: string
    AirportSearchResult:
      title: AirportSearchResult
      type: object
      properties:
        administrativeCity:
          type: string
        administrativeCityGoverningDistrict:
          $ref: '#/components/schemas/GoverningDistrict'
        aid:
          type: string
        airportElevation:
          type: number
        avgTaxiInTime:
          type: integer
          format: int32
        avgTaxiOutTime:
          type: integer
          format: int32
        avgTurnaroundTime:
          type: integer
          format: int32
        cfmuTaxiInTime:
          type: integer
          format: int64
        cfmuTaxiOutTime:
          type: integer
          format: int64
        country:
          type: string
        countryDetails:
          $ref: '#/components/schemas/Country'
        customsAvailability:
          type: string
          enum:
            - AVAILABLE
            - ON_REQUEST
            - NOT_AVAILABLE
        distanceFromSearchCoordinates:
          type: number
          format: double
        elevation:
          type: number
        faa:
          type: string
        fuelPriceIndex:
          type: number
        fuelPriceIndexComercial:
          type: number
        iata:
          type: string
        icao:
          type: string
        id:
          type: integer
          format: int64
        latitude:
          type: number
        localIdentifier:
          type: string
        longestRunwayLength:
          type: number
          format: float
        longitude:
          type: number
        name:
          type: string
        operatorCategory:
          type: string
          enum:
            - A
            - B
            - C
            - NC
        rescueFireCategory:
          type: string
          enum:
            - A_1
            - A_2
            - A_3
            - A_4
            - A_5
            - A_6
            - A_7
            - A_8
            - A_9
            - A_10
            - NONE_AIRCRAFT
        rescueFireHeliCategory:
          type: string
          enum:
            - H_1
            - H_2
            - H_3
            - NONE_HELI
        servedCity:
          type: string
        servedCityGoverningDistrict:
          $ref: '#/components/schemas/GoverningDistrict'
        state:
          type: string
        timeZone:
          type: string
        widestRunwayWidth:
          type: number
          format: float
    AirportSearchResult_1:
      title: AirportSearchResult_1
      type: object
      properties:
        administrativeCity:
          type: string
        administrativeCityGoverningDistrict:
          $ref: '#/components/schemas/GoverningDistrict'
        aid:
          type: string
        avgTaxiInTime:
          type: integer
          format: int32
        avgTaxiOutTime:
          type: integer
          format: int32
        avgTurnaroundTime:
          type: integer
          format: int32
        cfmuTaxiInTime:
          type: integer
          format: int64
        cfmuTaxiOutTime:
          type: integer
          format: int64
        country:
          type: string
        countryDetails:
          $ref: '#/components/schemas/Country'
        customsAvailability:
          type: string
          enum:
            - AVAILABLE
            - ON_REQUEST
            - NOT_AVAILABLE
        distanceFromSearchCoordinates:
          type: number
          format: double
        elevation:
          type: number
        faa:
          type: string
        fuelPriceIndex:
          type: number
        fuelPriceIndexComercial:
          type: number
        iata:
          type: string
        icao:
          type: string
        id:
          type: integer
          format: int64
        latitude:
          type: number
        localIdentifier:
          type: string
        longestRunwayLength:
          type: number
          format: float
        longitude:
          type: number
        name:
          type: string
        operatorCategory:
          type: string
          enum:
            - A
            - B
            - C
            - NC
        rescueFireCategory:
          type: string
          enum:
            - A_1
            - A_2
            - A_3
            - A_4
            - A_5
            - A_6
            - A_7
            - A_8
            - A_9
            - A_10
            - NONE_AIRCRAFT
        rescueFireHeliCategory:
          type: string
          enum:
            - H_1
            - H_2
            - H_3
            - NONE_HELI
        servedCity:
          type: string
        servedCityGoverningDistrict:
          $ref: '#/components/schemas/GoverningDistrict'
        state:
          type: string
        timeZone:
          type: string
        widestRunwayWidth:
          type: number
          format: float
    AirportService:
      title: AirportService
      type: object
      properties:
        address:
          type: string
        aftn:
          type: string
        airport:
          $ref: '#/components/schemas/Airport'
        airportId:
          type: integer
          format: int64
        airportServiceid:
          type: integer
          format: int64
        bizFlightReference:
          type: string
        company:
          type: string
        contact:
          type: string
        created:
          type: string
          format: date-time
        creationDate:
          type: string
          format: date-time
        creationDatePropertyName:
          type: string
        creationDateZT:
          type: string
          format: date-time
        creationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        deleted:
          type: boolean
        email:
          type: string
        fax:
          type: string
        feeWaiverUnit:
          type: string
          enum:
            - LITER
            - GALLON_USA
        feeWaiverVolume:
          type: number
          format: double
        homepage:
          type: string
        id:
          type: integer
          format: int64
        info:
          type: string
        lastUpdated:
          type: string
          format: date-time
        mainContact:
          type: boolean
        modificationDate:
          type: string
          format: date-time
        modificationDatePropertyName:
          type: string
        modificationDateZT:
          type: string
          format: date-time
        modificationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        open24H:
          type: boolean
        openFrom:
          type: string
          format: date-time
        openTo:
          type: string
          format: date-time
        openingHours:
          type: string
        operatorInfo:
          type: array
          items:
            $ref: '#/components/schemas/AirportServiceOperatorInfo'
        phone:
          type: string
        phoneTollFree:
          type: string
        preArrivalNeeded:
          type: boolean
        priceDate:
          type: string
          format: date-time
        priceInfo:
          type: string
        priceRemark:
          type: string
        radio:
          type: string
        remarks:
          type: string
        sita:
          type: string
        source:
          type: string
        sourceType:
          type: string
          enum:
            - INTERNAL
            - EJME
            - UNIVERSAL
            - AVIOWIKI
            - PRIVATE
        type:
          $ref: '#/components/schemas/AirportServiceType'
        uuid:
          type: string
    AirportServiceBaseDto:
      title: AirportServiceBaseDto
      type: object
      properties:
        id:
          type: integer
          format: int64
          description: Service ID
          example: 45910
        airportId:
          type: integer
          format: int64
          description: FL3XX airport ID
          example: 20598
        company:
          type: string
          description: Company name
          example: Air Malta
        crewNotes:
          type: string
          description: Crew notes
        dispatchNotes:
          type: string
          description: Dispatch notes
        email:
          type: string
          description: Email address
          example: email@email.com
        fboOneShadow:
          type: boolean
        fboOneTeamEmail:
          type: string
        global:
          type: boolean
          example: true
        mainContact:
          type: boolean
        sourceType:
          type: string
          enum:
            - INTERNAL
            - EJME
            - UNIVERSAL
            - AVIOWIKI
            - PRIVATE
        useFboOne:
          type: boolean
        useMyHandling:
          type: boolean
    AirportServiceBaseDto_1:
      title: AirportServiceBaseDto_1
      type: object
      properties:
        airportId:
          type: integer
          format: int64
        company:
          type: string
        crewNotes:
          type: string
        dispatchNotes:
          type: string
        email:
          type: string
        fboOneShadow:
          type: boolean
        fboOneTeamEmail:
          type: string
        global:
          type: boolean
        id:
          type: integer
          format: int64
        mainContact:
          type: boolean
        sourceType:
          type: string
          enum:
            - INTERNAL
            - EJME
            - UNIVERSAL
            - AVIOWIKI
            - PRIVATE
        useFboOne:
          type: boolean
        useMyHandling:
          type: boolean
    AirportServiceDto:
      title: AirportServiceDto
      type: object
      properties:
        address:
          type: string
        aftn:
          type: string
        airportId:
          type: integer
          format: int64
        company:
          type: string
        created:
          type: string
          format: date-time
        crewNotes:
          type: string
        deleted:
          type: boolean
        dispatchNotes:
          type: string
        email:
          type: string
        fax:
          type: string
        fboOneShadow:
          type: boolean
        fboOneTeamEmail:
          type: string
        feeWaiverUnit:
          type: string
          enum:
            - LITER
            - GALLON_USA
        feeWaiverVolume:
          type: number
          format: double
        global:
          type: boolean
        homepage:
          type: string
        id:
          type: integer
          format: int64
        info:
          type: string
        lastUpdated:
          type: string
          format: date-time
        mainContact:
          type: boolean
        open24H:
          type: boolean
        openFrom:
          type: string
          format: date-time
        openTo:
          type: string
          format: date-time
        openingHours:
          type: string
        passengerNotes:
          type: string
        phone:
          type: string
        phoneTollFree:
          type: string
        priceDate:
          type: string
          format: date-time
        priceInfo:
          type: string
        radio:
          type: string
        ranking:
          type: integer
          format: int32
        sita:
          type: string
        source:
          type: string
        sourceType:
          type: string
          enum:
            - INTERNAL
            - EJME
            - UNIVERSAL
            - AVIOWIKI
            - PRIVATE
        type:
          $ref: '#/components/schemas/AirportServiceTypeDto'
        useFboOne:
          type: boolean
        useMyHandling:
          type: boolean
        vendorId:
          type: string
    AirportServiceDto_1:
      title: AirportServiceDto_1
      type: object
      properties:
        address:
          type: string
        aftn:
          type: string
        airportId:
          type: integer
          format: int64
        company:
          type: string
        created:
          type: string
          format: date-time
        crewNotes:
          type: string
        deleted:
          type: boolean
        dispatchNotes:
          type: string
        email:
          type: string
        fax:
          type: string
        fboOneShadow:
          type: boolean
        fboOneTeamEmail:
          type: string
        feeWaiverUnit:
          type: string
          enum:
            - LITER
            - GALLON_USA
        feeWaiverVolume:
          type: number
          format: double
        global:
          type: boolean
        homepage:
          type: string
        id:
          type: integer
          format: int64
        info:
          type: string
        lastUpdated:
          type: string
          format: date-time
        mainContact:
          type: boolean
        open24H:
          type: boolean
        openFrom:
          type: string
          format: date-time
        openTo:
          type: string
          format: date-time
        openingHours:
          type: string
        passengerNotes:
          type: string
        phone:
          type: string
        phoneTollFree:
          type: string
        priceDate:
          type: string
          format: date-time
        priceInfo:
          type: string
        radio:
          type: string
        ranking:
          type: integer
          format: int32
        sita:
          type: string
        source:
          type: string
        sourceType:
          type: string
          enum:
            - INTERNAL
            - EJME
            - UNIVERSAL
            - AVIOWIKI
            - PRIVATE
        type:
          $ref: '#/components/schemas/AirportServiceTypeDto'
        useFboOne:
          type: boolean
        useMyHandling:
          type: boolean
        vendorId:
          type: string
    AirportServiceOperatorInfo:
      title: AirportServiceOperatorInfo
      type: object
      properties:
        airport:
          $ref: '#/components/schemas/Airport'
        airportService:
          $ref: '#/components/schemas/AirportService'
        crewNotes:
          type: string
        defaultService:
          type: boolean
        deleted:
          type: boolean
        dispatchNotes:
          type: string
        fboOneShadow:
          type: boolean
        fboOneTeamEmail:
          type: string
        id:
          type: integer
          format: int64
        passengerNotes:
          type: string
        ranking:
          type: integer
          format: int32
        shadowedService:
          $ref: '#/components/schemas/AirportService'
        useFboOne:
          type: boolean
        useMyHandling:
          type: boolean
        uuid:
          type: string
        vendorId:
          type: string
    AirportServiceType:
      title: AirportServiceType
      type: object
      properties:
        cateringType:
          type: boolean
        choices:
          type: array
          items:
            $ref: '#/components/schemas/NamedEntity'
        defaultTranslation:
          type: string
        deicingType:
          type: boolean
        displayName:
          type: string
        groundTransportationType:
          type: boolean
        handlingType:
          type: boolean
        id:
          type: integer
          format: int64
        innerName:
          type: string
          enum:
            - Main
            - Customs
            - FBO
            - Fuel
            - Hotel
            - Maintenance
            - Restaurant
            - Charter
            - Limousine
            - Catering
            - Store
            - CarRental
            - Permission
            - AirportSlot
            - Other
            - PaxHandling
            - Taxi
            - OpeningHours
            - DeIcing
            - ExternalDispatch
            - OperatorService
            - Migration
            - GroundTransportation
            - MovMsg
            - Ambulance
        name:
          type: string
        nameEnum:
          type: string
          enum:
            - Main
            - Customs
            - FBO
            - Fuel
            - Hotel
            - Maintenance
            - Restaurant
            - Charter
            - Limousine
            - Catering
            - Store
            - CarRental
            - Permission
            - AirportSlot
            - Other
            - PaxHandling
            - Taxi
            - OpeningHours
            - DeIcing
            - ExternalDispatch
            - OperatorService
            - Migration
            - GroundTransportation
            - MovMsg
            - Ambulance
        openingHoursType:
          type: boolean
        order:
          type: integer
          format: int64
        slotType:
          type: boolean
        uuid:
          type: string
    AirportServiceTypeDto:
      title: AirportServiceTypeDto
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
    AirportType:
      title: AirportType
      type: object
      properties:
        airports:
          type: array
          items:
            $ref: '#/components/schemas/Airport'
        airporttypeid:
          type: integer
          format: int64
        choices:
          type: array
          items:
            $ref: '#/components/schemas/NamedEntity'
        defaultTranslation:
          type: string
        id:
          type: integer
          format: int64
        name:
          type: string
        uuid:
          type: string
    Animal:
      title: Animal
      type: object
      properties:
        documents:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReference_1'
        id:
          type: integer
          format: int64
        modificationDate:
          type: string
          format: date-time
        modificationDatePropertyName:
          type: string
        modificationDateZT:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        modificationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        note:
          type: string
        packages:
          type: integer
          format: int32
        type:
          type: string
          enum:
            - DOG
            - CAT
            - OTHER
        uuid:
          type: string
        weight:
          type: string
        weightQty:
          type: number
          format: float
        weightUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
    AnimalDto:
      title: AnimalDto
      type: object
      properties:
        cargoType:
          type: string
          enum:
            - ACT
            - AOG
            - ATT
            - AVI
            - BIG
            - BUP
            - CAO
            - CAT
            - COL
            - COM
            - DGD
            - DGR
            - DIP
            - EAP
            - EAT
            - EAW
            - ECC
            - ELI
            - ELM
            - FIL
            - FRI
            - FRO
            - GOG
            - HEA
            - HEG
            - HUM
            - ICE
            - IMP
            - LHO
            - LIC
            - MAG
            - MAL
            - MUW
            - NSC
            - NWP
            - OBX
            - OHG
            - PAC
            - PEA
            - PEF
            - PEM
            - PEP
            - PER
            - PES
            - PIL
            - QRT
            - RAC
            - RCL
            - RCM
            - RCX
            - RDS
            - REQ
            - RFG
            - RFL
            - RFS
            - RFW
            - RGX
            - RIS
            - RLI
            - RLM
            - RMD
            - RNG
            - ROP
            - ROX
            - RPB
            - RPG
            - RRE
            - RRW
            - RRY
            - RSB
            - RSC
            - RXB
            - RXC
            - RXD
            - RXE
            - RXG
            - RXS
            - SCO
            - SHL
            - SPF
            - SUR
            - SWP
            - VAL
            - VOL
            - VUN
            - WET
            - XPS
        document:
          $ref: '#/components/schemas/BinaryReferenceDto'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReferenceDto'
        id:
          type: integer
          format: int64
        note:
          type: string
        packages:
          type: integer
          format: int32
        type:
          type: string
          enum:
            - DOG
            - CAT
            - OTHER
        weight:
          type: string
        weightQty:
          type: number
          format: float
        weightUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
    AnimalDto_1:
      title: AnimalDto_1
      type: object
      properties:
        cargoType:
          type: string
          enum:
            - ACT
            - AOG
            - ATT
            - AVI
            - BIG
            - BUP
            - CAO
            - CAT
            - COL
            - COM
            - DGD
            - DGR
            - DIP
            - EAP
            - EAT
            - EAW
            - ECC
            - ELI
            - ELM
            - FIL
            - FRI
            - FRO
            - GOG
            - HEA
            - HEG
            - HUM
            - ICE
            - IMP
            - LHO
            - LIC
            - MAG
            - MAL
            - MUW
            - NSC
            - NWP
            - OBX
            - OHG
            - PAC
            - PEA
            - PEF
            - PEM
            - PEP
            - PER
            - PES
            - PIL
            - QRT
            - RAC
            - RCL
            - RCM
            - RCX
            - RDS
            - REQ
            - RFG
            - RFL
            - RFS
            - RFW
            - RGX
            - RIS
            - RLI
            - RLM
            - RMD
            - RNG
            - ROP
            - ROX
            - RPB
            - RPG
            - RRE
            - RRW
            - RRY
            - RSB
            - RSC
            - RXB
            - RXC
            - RXD
            - RXE
            - RXG
            - RXS
            - SCO
            - SHL
            - SPF
            - SUR
            - SWP
            - VAL
            - VOL
            - VUN
            - WET
            - XPS
        documents:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReferenceDto'
        id:
          type: integer
          format: int64
        note:
          type: string
        packages:
          type: integer
          format: int32
        type:
          type: string
          enum:
            - DOG
            - CAT
            - OTHER
        weight:
          type: string
        weightQty:
          type: number
          format: float
        weightUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
    AocContact:
      title: AocContact
      type: object
      properties:
        aoc:
          $ref: '#/components/schemas/AOC'
        data:
          type: string
        id:
          type: integer
          format: int64
        main:
          type: boolean
        type:
          type: string
          enum:
            - PHONE
            - EMAIL
            - SKYPE
            - URL
            - MOBILE
            - FAX
            - PHONE_PRIVATE
            - EMAIL_PRIVATE
            - EMERGENCY
            - MOBILE_PRIVATE
        uuid:
          type: string
    AocDto:
      title: AocDto
      type: object
      properties:
        id:
          type: integer
          format: int64
          description: AOC ID
          example: 33453
        name:
          type: string
          description: AOC name
    ArrivalTimesDto:
      title: ArrivalTimesDto
      type: object
      properties:
        approachType:
          type: string
          enum:
            - unDef
            - VFR
            - VISUAL
            - NONPRECISION
            - CAT1
            - CAT2
            - CAT3
        blocksOn:
          type: string
          format: date-time
        cmdApproachCategory:
          type: string
          enum:
            - CAT2
            - CAT3
            - LVO
            - TWO_D_AZIMUTH
            - TWO_D_CDI
            - THREE_D_CDI
            - CAT1
            - CAT1_LTS
            - GCA
            - GPS
            - RNP_AR
            - RNP_RNAV
            - ILS
            - JPALS
            - MLS
            - GLS
            - PAR
            - VLR
            - LOC
            - LDA
        cmdCheckout:
          type: boolean
        cmdClose:
          type: string
          format: date-time
        cmdDayLandings:
          type: integer
          format: int32
        cmdDefaultPilotTime:
          $ref: '#/components/schemas/PilotTime'
        cmdDutyTime:
          type: integer
          format: int32
        cmdEfvs:
          type: integer
          format: int32
        cmdFdpExtension:
          type: boolean
        cmdFdpExtensionOption:
          type: string
          enum:
            - NOT_POSSIBLE
            - POSSIBLE
            - POSSIBLE_BY_ADMIN
            - READ_ONLY
            - NOT_SUPPORTED
        cmdHold:
          type: boolean
        cmdInstTime:
          type: integer
          format: int64
        cmdLoggedLandings:
          type: integer
          format: int32
        cmdNightLandings:
          type: integer
          format: int32
        cmdNightTime:
          type: integer
          format: int64
        cmdNonPrecision:
          type: integer
          format: int32
        cmdPicTime:
          type: integer
          format: int64
        cmdPostFlightRestIncrease:
          type: boolean
        cmdPrecision:
          type: integer
          format: int32
        cmdRestTravelTime:
          type: integer
          format: int32
        cmdSicTime:
          type: integer
          format: int64
        cmdSplitDutyClose:
          type: boolean
        cmdSplitDutyCloseTime:
          type: string
          format: date-time
        cmdSplitDutyStart:
          type: boolean
        cmdSplitDutyStartTime:
          type: string
          format: date-time
        cmdUseReducedRest:
          type: boolean
        cmdVisual:
          type: boolean
        delayLandingReason:
          type: string
        delayLandingReasons:
          type: array
          items:
            type: string
        delayOnBlockReason:
          type: string
        delayOnBlockReasons:
          type: array
          items:
            type: string
        foApproachCategory:
          type: string
          enum:
            - CAT2
            - CAT3
            - LVO
            - TWO_D_AZIMUTH
            - TWO_D_CDI
            - THREE_D_CDI
            - CAT1
            - CAT1_LTS
            - GCA
            - GPS
            - RNP_AR
            - RNP_RNAV
            - ILS
            - JPALS
            - MLS
            - GLS
            - PAR
            - VLR
            - LOC
            - LDA
        foCheckout:
          type: boolean
        foClose:
          type: string
          format: date-time
        foDayLandings:
          type: integer
          format: int32
        foDefaultPilotTime:
          $ref: '#/components/schemas/PilotTime'
        foDutyTime:
          type: integer
          format: int32
        foEfvs:
          type: integer
          format: int32
        foFdpExtension:
          type: boolean
        foFdpExtensionOption:
          type: string
          enum:
            - NOT_POSSIBLE
            - POSSIBLE
            - POSSIBLE_BY_ADMIN
            - READ_ONLY
            - NOT_SUPPORTED
        foHold:
          type: boolean
        foInstTime:
          type: integer
          format: int64
        foLoggedLandings:
          type: integer
          format: int32
        foNightLandings:
          type: integer
          format: int32
        foNightTime:
          type: integer
          format: int64
        foNonPrecision:
          type: integer
          format: int32
        foPicTime:
          type: integer
          format: int64
        foPostFlightRestIncrease:
          type: boolean
        foPrecision:
          type: integer
          format: int32
        foRestTravelTime:
          type: integer
          format: int32
        foSicTime:
          type: integer
          format: int64
        foSplitDutyClose:
          type: boolean
        foSplitDutyCloseTime:
          type: string
          format: date-time
        foSplitDutyStart:
          type: boolean
        foSplitDutyStartTime:
          type: string
          format: date-time
        foUseReducedRest:
          type: boolean
        foVisual:
          type: boolean
        landing:
          type: string
          format: date-time
    ArrivalTimesDto_1:
      title: ArrivalTimesDto_1
      type: object
      properties:
        approachType:
          type: string
          enum:
            - unDef
            - VFR
            - VISUAL
            - NONPRECISION
            - CAT1
            - CAT2
            - CAT3
        blocksOn:
          type: string
          format: date-time
        cmdApproachCategory:
          type: string
          enum:
            - CAT2
            - CAT3
            - LVO
            - TWO_D_AZIMUTH
            - TWO_D_CDI
            - THREE_D_CDI
            - CAT1
            - CAT1_LTS
            - GCA
            - GPS
            - RNP_AR
            - RNP_RNAV
            - ILS
            - JPALS
            - MLS
            - GLS
            - PAR
            - VLR
            - LOC
            - LDA
        cmdCheckout:
          type: boolean
        cmdClose:
          type: string
          format: date-time
        cmdDayLandings:
          type: integer
          format: int32
        cmdDefaultPilotTime:
          $ref: '#/components/schemas/PilotTime_1'
        cmdDutyTime:
          type: integer
          format: int32
        cmdEfvs:
          type: integer
          format: int32
        cmdFdpExtension:
          type: boolean
        cmdFdpExtensionOption:
          type: string
          enum:
            - NOT_POSSIBLE
            - POSSIBLE
            - POSSIBLE_BY_ADMIN
            - READ_ONLY
            - NOT_SUPPORTED
        cmdHold:
          type: boolean
        cmdInstTime:
          type: integer
          format: int64
        cmdLoggedLandings:
          type: integer
          format: int32
        cmdNightLandings:
          type: integer
          format: int32
        cmdNightTime:
          type: integer
          format: int64
        cmdNonPrecision:
          type: integer
          format: int32
        cmdPicTime:
          type: integer
          format: int64
        cmdPostFlightRestIncrease:
          type: boolean
        cmdPrecision:
          type: integer
          format: int32
        cmdRestTravelTime:
          type: integer
          format: int32
        cmdSicTime:
          type: integer
          format: int64
        cmdSplitDutyClose:
          type: boolean
        cmdSplitDutyCloseTime:
          type: string
          format: date-time
        cmdSplitDutyStart:
          type: boolean
        cmdSplitDutyStartTime:
          type: string
          format: date-time
        cmdUseReducedRest:
          type: boolean
        cmdVisual:
          type: boolean
        delayLandingReason:
          type: string
        delayLandingReasons:
          type: array
          items:
            type: string
        delayOnBlockReason:
          type: string
        delayOnBlockReasons:
          type: array
          items:
            type: string
        foApproachCategory:
          type: string
          enum:
            - CAT2
            - CAT3
            - LVO
            - TWO_D_AZIMUTH
            - TWO_D_CDI
            - THREE_D_CDI
            - CAT1
            - CAT1_LTS
            - GCA
            - GPS
            - RNP_AR
            - RNP_RNAV
            - ILS
            - JPALS
            - MLS
            - GLS
            - PAR
            - VLR
            - LOC
            - LDA
        foCheckout:
          type: boolean
        foClose:
          type: string
          format: date-time
        foDayLandings:
          type: integer
          format: int32
        foDefaultPilotTime:
          $ref: '#/components/schemas/PilotTime_1'
        foDutyTime:
          type: integer
          format: int32
        foEfvs:
          type: integer
          format: int32
        foFdpExtension:
          type: boolean
        foFdpExtensionOption:
          type: string
          enum:
            - NOT_POSSIBLE
            - POSSIBLE
            - POSSIBLE_BY_ADMIN
            - READ_ONLY
            - NOT_SUPPORTED
        foHold:
          type: boolean
        foInstTime:
          type: integer
          format: int64
        foLoggedLandings:
          type: integer
          format: int32
        foNightLandings:
          type: integer
          format: int32
        foNightTime:
          type: integer
          format: int64
        foNonPrecision:
          type: integer
          format: int32
        foPicTime:
          type: integer
          format: int64
        foPostFlightRestIncrease:
          type: boolean
        foPrecision:
          type: integer
          format: int32
        foRestTravelTime:
          type: integer
          format: int32
        foSicTime:
          type: integer
          format: int64
        foSplitDutyClose:
          type: boolean
        foSplitDutyCloseTime:
          type: string
          format: date-time
        foSplitDutyStart:
          type: boolean
        foSplitDutyStartTime:
          type: string
          format: date-time
        foUseReducedRest:
          type: boolean
        foVisual:
          type: boolean
        landing:
          type: string
          format: date-time
    Assignment:
      title: Assignment
      type: object
      properties:
        active:
          type: boolean
        creationDate:
          type: string
          format: date-time
        creationDatePropertyName:
          type: string
        creationDateZT:
          type: string
          format: date-time
        creationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        crewPosition:
          $ref: '#/components/schemas/CrewPosition'
        date:
          type: string
          format: date-time
        id:
          type: integer
          format: int64
        modificationDate:
          type: string
          format: date-time
        modificationDatePropertyName:
          type: string
        modificationDateZT:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        modificationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        position:
          type: string
          enum:
            - PIC
            - SIC
            - CC
        qualification:
          $ref: '#/components/schemas/Qualification'
        user:
          $ref: '#/components/schemas/User'
        uuid:
          type: string
    AssignmentDto:
      title: AssignmentDto
      type: object
      properties:
        active:
          type: boolean
        date:
          type: string
          format: date-time
        name:
          type: string
        position:
          type: string
          enum:
            - PIC
            - SIC
            - CC
        statuses:
          type: array
          items:
            $ref: '#/components/schemas/AssignmentStatusDto'
    AssignmentStatus:
      title: AssignmentStatus
      type: object
      properties:
        baseDelta:
          type: integer
          format: int32
        baseItem:
          $ref: '#/components/schemas/QualificationStatus'
        baseMonth:
          type: integer
          format: int32
        calculatedBaseMonth:
          type: integer
          format: int32
        calculatedExpirationDate:
          type: string
          format: date-time
        checkedAlternatives:
          type: array
          items:
            $ref: '#/components/schemas/QualificationStatus'
        crewPositionId:
          type: integer
          format: int64
        expires:
          type: string
          format: date-time
        expiresControllingItem:
          $ref: '#/components/schemas/RecencyStatus'
        explainer:
          type: array
          items:
            type: string
        graceControllingItem:
          $ref: '#/components/schemas/RecencyStatus'
        graceExpires:
          type: string
          format: date-time
        hasGrace:
          type: boolean
        issueDate:
          type: string
          format: date-time
        mainQualificationId:
          type: integer
          format: int64
        mandatoryForFlight:
          type: boolean
        name:
          type: string
        neverExpires:
          type: boolean
        notMatchingAssignmentsPosition:
          type: boolean
        overridden:
          type: boolean
        overridesMain:
          type: boolean
        position:
          type: string
        qualificationActive:
          type: boolean
        qualificationId:
          type: integer
          format: int64
        qualificationName:
          type: string
        qualifications:
          type: array
          items:
            $ref: '#/components/schemas/QualificationStatus'
        recency:
          $ref: '#/components/schemas/Recency'
        restrictionsCheck:
          $ref: '#/components/schemas/RestrictionsCheck'
        revalidationPeriodEnd:
          type: string
          format: date-time
        revalidationPeriodStart:
          type: string
          format: date-time
        satisfied:
          type: boolean
        treeNodeName:
          type: string
        typeRating:
          type: string
        userQualificationId:
          type: integer
          format: int64
        warning:
          type: string
    AssignmentStatusDto:
      title: AssignmentStatusDto
      type: object
      properties:
        expires:
          type: string
          format: date-time
        graceExpires:
          type: string
          format: date-time
        issueDate:
          type: string
          format: date-time
        name:
          type: string
        position:
          type: string
        recency:
          type: string
          format: date-time
        satisfied:
          type: boolean
    B2CFplDTO:
      title: B2CFplDTO
      type: object
      properties:
        flightLevel:
          type: string
    B2CRosterDto:
      title: B2CRosterDto
      type: object
      properties:
        staff:
          type: array
          items:
            $ref: '#/components/schemas/B2CRosterUserDto'
    B2CRosterEntryDto:
      title: B2CRosterEntryDto
      type: object
      properties:
        actualFrom:
          type: string
          format: date-time
        actualTo:
          type: string
          format: date-time
        aircraft:
          $ref: '#/components/schemas/AircraftDto'
        aircraftEngineConfig:
          type: string
          enum:
            - SINGLE_ENGINE
            - MULTI_ENGINE
        aircraftVariant:
          type: string
        airport:
          $ref: '#/components/schemas/AirportDto'
        approvingDate:
          type: string
          format: date-time
        approvingUser:
          $ref: '#/components/schemas/UserDto'
        beginsDutyPeriod:
          type: boolean
        countsAsDutyTime:
          type: boolean
        endsDutyPeriod:
          type: boolean
        externalAircraft:
          type: string
        flightNumber:
          type: string
        from:
          type: string
          format: date-time
        fromAirport:
          $ref: '#/components/schemas/AirportDto'
        hold:
          type: boolean
        id:
          type: integer
          format: int64
        landing:
          type: string
          format: date-time
        nonPrecision:
          type: integer
          format: int32
        notes:
          type: string
        numberOfLandings:
          type: integer
          format: int64
        numberOfLandingsNight:
          type: integer
          format: int64
        numberOfTakeOffs:
          type: integer
          format: int64
        numberOfTakeOffsNight:
          type: integer
          format: int64
        operationType:
          type: string
          enum:
            - COMMERCIAL
            - PRIVATE
        operationalCondition:
          type: string
          enum:
            - IFR
            - VFR
            - NIGHT
        pilotFlightType:
          type: string
          enum:
            - SINGLE_PILOT
            - MULTI_PILOT
        precision:
          type: integer
          format: int32
        relatedBooking:
          type: string
        requestApproved:
          type: boolean
        requestStatus:
          type: string
        requestedOn:
          type: string
          format: date-time
        role:
          type: string
          enum:
            - CMD
            - FO
            - CC
            - MED1
            - ATPL
            - LST
            - AQ
            - OPCRH
            - PA
            - FA
            - CPL
            - DG
            - ESET
            - Sec
            - FF
            - ENL4
            - ENL5
            - ENL6
            - LC
            - OPC
            - LVTO
            - LV
            - RVSM
            - TRI
            - TRE
            - AUS
            - SQMM
            - SECG
            - BMVIT
            - EFB
            - GRT
            - ESE
            - OCC
            - OICC
            - PICC
            - DITCH
            - FAID
            - WINTER
            - BRNAV
            - MNPS_ETOPS
            - RACQ
            - ETOPS
            - TCAS
            - CRM
            - ASH
            - USER0
            - USER1
            - USER2
            - USER3
            - USER4
            - USER5
            - USER6
            - USER7
            - USER8
            - USER9
            - ENG
            - AUGM_CREW
            - ADD_CREW
            - CREW
            - IR
            - HW_OPS
            - PBN
            - PFI
            - FM
            - SEP
            - SEP_IR
            - FI_A
            - MEP
            - CR
            - RC
            - OBS
            - DHC
            - EX_CM
            - AUG_PIC
            - AUG_SIC
            - AUG_CRP
            - INSTRUCTOR
            - CHECK_AIRMAN
            - GROUND_INSTRUCTOR
            - AUG_FA
            - CA
            - MD
            - RN
            - MEDIC
            - MAINTENANCE
            - JUMPSEAT
            - LOAD_MASTER
            - OPS_CONTROL
            - FLIGHT_COORDINATOR
            - COURIER
            - NR
            - INSPECTOR
            - COMPANY_REP
            - SINGLE_PILOT
        splitDutyBreakEnd:
          type: boolean
        splitDutyBreakStart:
          type: boolean
        subtype:
          type: string
          enum:
            - EARLY
            - LATE
            - ALL_DAY
            - NIGHT
        takeoff:
          type: string
          format: date-time
        to:
          type: string
          format: date-time
        toAirport:
          $ref: '#/components/schemas/AirportDto'
        travelDocuments:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReferenceSharedDto'
        type:
          type: string
        typeRating:
          type: string
        visual:
          type: boolean
    B2CRosterUserDto:
      title: B2CRosterUserDto
      type: object
      properties:
        entries:
          type: array
          items:
            $ref: '#/components/schemas/B2CRosterEntryDto'
        flights:
          type: array
          items:
            $ref: '#/components/schemas/CrewFlightDto'
        user:
          $ref: '#/components/schemas/UserDto'
    BillingSource:
      title: BillingSource
      type: object
      properties:
        BillingSource:
          type: integer
          format: int32
        ChargeCategories:
          type: array
          items:
            $ref: '#/components/schemas/ChargeCategory'
        Currency:
          type: string
        Name:
          type: string
        Value:
          type: string
    BinaryReference:
      title: BinaryReference
      type: object
      properties:
        accessType:
          type: string
          enum:
            - INTERNAL
            - EXTERNAL
            - BUG_REPORT
        contentType:
          type: string
        creationDate:
          type: string
          format: date-time
        creationDatePropertyName:
          type: string
        creationDateZT:
          type: string
          format: date-time
        creationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        customName:
          type: string
        deleted:
          type: boolean
        entityName:
          type: string
        fileSize:
          type: integer
          format: int32
        id:
          type: integer
          format: int64
        imageSizeX:
          type: integer
          format: int32
        imageSizeY:
          type: integer
          format: int32
        isThumbnail:
          type: boolean
        name:
          type: string
        originalName:
          type: string
        path:
          type: string
        refEntityId:
          type: integer
          format: int64
        status:
          type: string
        storageLocation:
          type: string
          enum:
            - LOCAL
            - S3
        thumbnail:
          $ref: '#/components/schemas/BinaryReference_1'
        uuid:
          type: string
    BinaryReferenceDto:
      title: BinaryReferenceDto
      type: object
      properties:
        creationDate:
          type: string
          format: date-time
        customName:
          type: string
        entityName:
          type: string
        fileSize:
          type: integer
          format: int32
        id:
          type: integer
          format: int64
        imageSizeX:
          type: integer
          format: int32
        imageSizeY:
          type: integer
          format: int32
        isThumbnail:
          type: boolean
        name:
          type: string
        originalName:
          type: string
        refEntityId:
          type: integer
          format: int64
        status:
          type: string
        thumbnail:
          $ref: '#/components/schemas/BinaryReferenceDto'
        uuid:
          type: string
    BinaryReferenceMinDto:
      title: BinaryReferenceMinDto
      type: object
      properties:
        customName:
          type: string
          description: Custom name
          example: Custom name
        fileSize:
          type: integer
          format: int32
          description: File size
          example: 31633
        id:
          type: integer
          format: int64
          description: Document ID
          example: 94318
        imageSizeX:
          type: integer
          format: int32
          description: Image Width
          example: 0
        imageSizeY:
          type: integer
          format: int32
          description: Image Height
          example: 0
        isThumbnail:
          type: boolean
          description: Is thumbnail
          example: false
        name:
          type: string
          description: Document name
          example: 20241121-122428-220-PIOJG_Cancellation.pdf
        originalName:
          type: string
          description: Original document name
          example: PIOJG_Cancellation.pdf
        thumbnail:
          $ref: '#/components/schemas/BinaryReferenceMinDto'
        uuid:
          type: string
          description: Document UUID
          example: 71b0ea5c-f985-4032-ab58-21376c3c17e0
    BinaryReferenceSharedDto:
      title: BinaryReferenceSharedDto
      type: object
      properties:
        customName:
          type: string
        fileSize:
          type: integer
          format: int32
        id:
          type: integer
          format: int64
        imageSizeX:
          type: integer
          format: int32
        imageSizeY:
          type: integer
          format: int32
        isThumbnail:
          type: boolean
        name:
          type: string
        originalName:
          type: string
        uuid:
          type: string
    BinaryReference_1:
      title: BinaryReference_1
      type: object
      properties:
        accessType:
          type: string
          enum:
            - INTERNAL
            - EXTERNAL
            - BUG_REPORT
        contentType:
          type: string
        creationDate:
          type: string
          format: date-time
        creationDatePropertyName:
          type: string
        creationDateZT:
          type: string
          format: date-time
        creationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        customName:
          type: string
        deleted:
          type: boolean
        entityName:
          type: string
        fileSize:
          type: integer
          format: int32
        id:
          type: integer
          format: int64
        imageSizeX:
          type: integer
          format: int32
        imageSizeY:
          type: integer
          format: int32
        isThumbnail:
          type: boolean
        name:
          type: string
        originalName:
          type: string
        path:
          type: string
        refEntityId:
          type: integer
          format: int64
        status:
          type: string
        storageLocation:
          type: string
          enum:
            - LOCAL
            - S3
        thumbnail:
          $ref: '#/components/schemas/BinaryReference_1'
        uuid:
          type: string
    Booking:
      title: Booking
      type: object
      properties:
        acceptedDate:
          type: string
          format: date-time
        accountCurrencyCode:
          type: string
        accountExchangeRate:
          type: number
        accountantNotificationSent:
          type: boolean
        actualCurrency:
          type: string
        additionalFeeTotal:
          type: number
        aircraft:
          $ref: '#/components/schemas/Aircraft'
        aircraftCurrencyCode:
          type: string
        aircraftExchangeRate:
          type: number
        amenities:
          $ref: '#/components/schemas/BookingAmenities'
        approvedByOwner:
          type: boolean
        approvedByUser:
          $ref: '#/components/schemas/User'
        authorizer:
          $ref: '#/components/schemas/User'
        autoMargin:
          type: boolean
        autoMarginDemandInfo:
          type: string
        avinode:
          type: boolean
        avinodeAccepted:
          type: boolean
        avinodeDate:
          type: string
          format: date-time
        avinodeLink:
          type: string
        avinodeMessage:
          type: string
        avinodePrice:
          type: number
          format: float
        avinodeQuoteId:
          type: string
        avinodeRequest:
          $ref: '#/components/schemas/BinaryReference_1'
        avinodeRequestedQuoteId:
          type: string
        avinodeRequestedTripId:
          type: string
        avinodeTripAccepted:
          type: boolean
        avinodeTripId:
          type: string
        bizFlightReference:
          type: string
        bookingBooking:
          type: boolean
        bookingConversations:
          type: array
          items:
            $ref: '#/components/schemas/BookingConversation'
        bookingDate:
          type: string
          format: date-time
        bookingDocs:
          type: array
          items:
            $ref: '#/components/schemas/BookingDoc'
        bookingExchangeRates:
          type: array
          items:
            $ref: '#/components/schemas/BookingExchangeRate_1'
        bookingFee:
          type: number
        bookingIdentifier:
          type: string
        bookingMessages:
          type: array
          items:
            $ref: '#/components/schemas/SmtpMessage'
        bookingNumber:
          type: string
        bookingNumber2:
          type: integer
          format: int64
        bookingOption:
          type: boolean
        bookingQuote:
          type: boolean
        bookingRejectReasons:
          type: array
          items:
            $ref: '#/components/schemas/RejectReason'
        bookingServices:
          type: array
          items:
            $ref: '#/components/schemas/FlightService'
        bookingid:
          type: integer
          format: int64
        broker:
          type: boolean
        buyer:
          $ref: '#/components/schemas/User'
        buyerAccount:
          $ref: '#/components/schemas/Account'
        buyerNotification:
          type: boolean
        cancelFeePercentage:
          type: number
        cancelFeeValue:
          type: number
        cancelReason:
          type: string
          enum:
            - BY_CLIENT
            - DUTY_TIME_VIOLATION
            - AOG
            - UNPAID_INVOICE
            - NO_SHOW
            - NOTAM
            - WEATHER
            - BY_OWNER
            - MISSING_PERMITS
            - PASSPORTS_OR_VISAS
            - OTHER
        cancellationInvoiceNumber:
          type: string
        cancelled:
          type: boolean
        cancelledOrDeclinedOrDropped:
          type: boolean
        cateringFee:
          type: number
        closed:
          type: boolean
        cost:
          type: number
        creationDate:
          type: string
          format: date-time
        creationDatePropertyName:
          type: string
        creationDateZT:
          type: string
          format: date-time
        creationUser:
          $ref: '#/components/schemas/User'
        creationUserPropertyName:
          type: string
        creationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        creditCardAuthorized:
          type: boolean
        creditCardExpiration:
          type: string
          format: date-time
        creditMemoNumber:
          type: string
        crewInfo:
          type: string
        crewSwapFee:
          type: number
        crewVariableCost:
          type: number
        currencyCode:
          type: string
        customerComment:
          type: string
        dailyFee:
          type: number
        datesTBA:
          type: boolean
        declined:
          type: boolean
        departureFee:
          type: number
        detailsURL:
          type: string
        discountName:
          type: string
        discountPercentage:
          type: number
        discountValue:
          type: number
        documentLegs:
          type: array
          items:
            $ref: '#/components/schemas/Leg'
        dropped:
          type: boolean
        externalOperator:
          type: string
        externalReference:
          type: string
        ferryFee:
          type: number
        firstQuoteDate:
          type: string
          format: date-time
        flightMarginPercentage:
          type: number
        flightMarginValue:
          type: number
        flightNumber:
          type: string
        frozen:
          type: boolean
        fuelFee:
          type: number
        fuelSurcharge:
          type: number
        grossPrice:
          type: number
        handlingFee:
          type: number
        hasChildren:
          type: boolean
        hideTailNumber:
          type: boolean
        id:
          type: integer
          format: int64
        integrations:
          type: array
          items:
            type: string
        internalComment:
          type: string
        invoiceBR:
          $ref: '#/components/schemas/BinaryReference_1'
        invoiceChanged:
          type: boolean
        invoiceCreationDate:
          type: string
          format: date-time
        invoiceData:
          type: string
        invoiceDate:
          type: string
          format: date-time
        invoiceNumber:
          type: string
        invoiceSent:
          type: boolean
        invoiceStatus:
          type: string
          enum:
            - TRANSFERRED
            - READY_TO_INVOICE
            - TRANSFERRING
        invoiceVersionNumber:
          type: integer
          format: int32
        invoices:
          type: array
          items:
            $ref: '#/components/schemas/Invoice'
        jetcard:
          $ref: '#/components/schemas/Jetcard'
        justCreated:
          type: boolean
        landingFee:
          type: number
        lastChange:
          type: string
          format: date-time
        lastCreditMemoNumber:
          type: string
        lastInvoiceNumber:
          type: string
        lastProformaInvoiceNumber:
          type: string
        leaseFee:
          type: number
        legs:
          type: array
          items:
            $ref: '#/components/schemas/Leg'
        mainContact:
          $ref: '#/components/schemas/UserContact'
        maintCost:
          type: number
        maintenanceNature:
          type: boolean
        manifestChanged:
          type: boolean
        manifestData:
          type: string
        manifestResend:
          type: boolean
        manifestSent:
          type: boolean
        marginPercentage:
          type: number
        marginValue:
          type: number
        modificationDate:
          type: string
          format: date-time
        modificationDatePropertyName:
          type: string
        modificationDateZT:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        modificationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        multiQuote:
          type: boolean
        nature:
          type: string
          enum:
            - COMMERCIAL
            - MAINTENANCE
            - PRIVATE
            - TRAINING
            - OWNER
            - INTERNAL
            - RESERVED
            - CHARTER
            - SUBCHARTER
            - SCHEDULED
            - AMBULANCE
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
            - CUSTOM6
            - BROKER
            - BROKER_SUBCHARTER
        navFee:
          type: number
        netPrice:
          type: number
        notCancelledLegs:
          type: array
          items:
            $ref: '#/components/schemas/Leg'
        notes:
          type: string
        operatorCurrencyCode:
          type: string
        operatorExchangeRate:
          type: number
        operatorWorkflow:
          $ref: '#/components/schemas/OperatorWorkflow'
        origin:
          type: string
          enum:
            - AVINODE
            - FAX
            - EMAIL
            - PHONE
            - WEB
            - EXTERNAL_DISPATCH
            - IMPORT
            - DISPATCH
            - FLY_EASY_MARKETPLACE
            - FLY_EASY_WEB
        overnightFee:
          type: number
        ownerApprovalNotes:
          type: string
        ownerSent:
          type: boolean
        parent:
          $ref: '#/components/schemas/Booking'
        parkingFee:
          type: number
        paxFee:
          type: number
        paymentDate:
          type: string
          format: date-time
        paymentGuarantee:
          type: string
          enum:
            - NOT_GUARANTEED
            - SAFE_CLIENT
            - CREDIT_CARD_AUTHORIZED
            - FINANCIAL_RELEASE_OK
        paymentGuaranteeHoldAmount:
          type: number
        paymentGuaranteeSafe:
          type: boolean
        paymentMethod:
          type: string
          enum:
            - TRANSFER
            - DIRECT_DEBIT
            - CREDIT_CARD
            - ON_ACCOUNT
            - OTHER
            - ELECTRONIC_PAYMENT
            - NOT_REQUIRED
            - JET_CARD
        paymentStatus:
          type: string
          enum:
            - NOT_PAID
            - PAID
        pictures:
          type: array
          items:
            $ref: '#/components/schemas/AircraftImage'
        planner:
          $ref: '#/components/schemas/User'
        priceDetails:
          $ref: '#/components/schemas/BookingFeeDetail'
        priceDetailsManual:
          $ref: '#/components/schemas/PriceDetailsManual'
        pricingModel:
          type: string
          enum:
            - PRICE
            - COST_PLUS
            - JEDIQ
            - PRICE_ENGINE
        profitabilityCalculationModel:
          type: string
          enum:
            - US
            - EJME_CHARTER_COST
            - CHARTER_COST
        proformaInvoiceNumber:
          type: string
        purpose:
          $ref: '#/components/schemas/BookingPurpose'
        quoteNumber:
          type: string
        rejectReasonText:
          type: string
        reservedNature:
          type: boolean
        revenueFee:
          type: number
        root:
          $ref: '#/components/schemas/Booking'
        rootBooking:
          type: boolean
        rounding:
          type: number
        salesUser:
          $ref: '#/components/schemas/User'
        schedAeroLink:
          type: string
        schedAeroPriceUpdate:
          type: string
          format: date-time
        servicesTotal:
          type: number
        signSent:
          type: boolean
        soldPrice:
          $ref: '#/components/schemas/PriceDetailsManual'
        sourcingBookingId:
          type: integer
          format: int64
        sourcingBookingReference:
          type: string
        startupFee:
          type: number
        status:
          type: string
          enum:
            - CANCELED
            - FAILED
            - OK
            - PENDING
            - CLOSED
            - DROPPED
            - DECLINED
            - DELETED
        statusBeforeCancel:
          type: string
          enum:
            - CANCELED
            - FAILED
            - OK
            - PENDING
            - CLOSED
            - DROPPED
            - DECLINED
            - DELETED
        subcharterWorkflowState:
          type: string
          enum:
            - ACCEPTED
            - CONFIRMED
            - DECLINED
            - QUOTED
        surchargeName:
          type: string
        surchargePercentage:
          type: number
        surchargeValue:
          type: number
        tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
        task:
          type: array
          items:
            $ref: '#/components/schemas/AircraftTask'
        termsAndConditions:
          $ref: '#/components/schemas/TermsAndConditions'
        type:
          type: string
          enum:
            - BOOKING
            - OPTION
            - QUOTE
        uuid:
          type: string
        validFlights:
          type: array
          items:
            $ref: '#/components/schemas/Flight'
        validLegs:
          type: array
          items:
            $ref: '#/components/schemas/Leg'
        validUntil:
          type: string
          format: date-time
        vatPercentage:
          type: number
        vatValue:
          type: number
        workflow:
          $ref: '#/components/schemas/Workflow'
    BookingAmenities:
      title: BookingAmenities
      type: object
      properties:
        booking:
          $ref: '#/components/schemas/Booking'
        bookingId:
          type: integer
          format: int64
        divans:
          type: integer
          format: int32
        id:
          type: integer
          format: int64
        lavatories:
          type: integer
          format: int32
        manufactured:
          type: string
          format: date-time
        refurbished:
          type: string
          format: date-time
        seats:
          type: integer
          format: int32
        uuid:
          type: string
        wifi:
          type: string
          enum:
            - DOMESTIC
            - INTERNATIONAL
    BookingConversation:
      title: BookingConversation
      type: object
      properties:
        attachments:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReference_1'
        bcc:
          type: string
        body:
          type: string
        bookingConversationid:
          type: integer
          format: int64
        bookingDoc:
          $ref: '#/components/schemas/BookingDoc'
        bookingType:
          type: string
          enum:
            - CONFIRMATION
            - CREDIT_MEMO
            - INVOICE
            - MANIFEST
            - OFFER
            - OPTION
            - REJECT
            - OWNER_APPROVE
            - CONTRACT
            - SIGNED_ACCEPTANCE
            - ACCEPTANCE_ACKNOWLEDGE
            - CANCELATION
            - PROFORMA_INVOICE
        cc:
          type: string
        created:
          type: string
          format: date-time
        creationDate:
          type: string
          format: date-time
        creationDatePropertyName:
          type: string
        creationDateZT:
          type: string
          format: date-time
        creationUser:
          $ref: '#/components/schemas/User'
        creationUserPropertyName:
          type: string
        creationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        edited:
          type: boolean
        from:
          type: string
        id:
          type: integer
          format: int64
        sentBy:
          $ref: '#/components/schemas/User'
        subject:
          type: string
        to:
          $ref: '#/components/schemas/User'
        toTxt:
          type: string
        type:
          $ref: '#/components/schemas/BookingConversationType'
        uuid:
          type: string
    BookingConversationType:
      title: BookingConversationType
      type: object
      properties:
        choices:
          type: array
          items:
            $ref: '#/components/schemas/NamedEntity'
        defaultTranslation:
          type: string
        id:
          type: integer
          format: int64
        name:
          type: string
        uuid:
          type: string
    BookingDoc:
      title: BookingDoc
      type: object
      properties:
        booking:
          $ref: '#/components/schemas/Booking'
        bookingDocid:
          type: integer
          format: int64
        created:
          type: string
          format: date-time
        currency:
          type: string
        docNumber:
          type: string
        document:
          $ref: '#/components/schemas/BinaryReference_1'
        exchangeRate:
          type: number
        id:
          type: integer
          format: int64
        sentBy:
          $ref: '#/components/schemas/User'
        totalPrice:
          type: number
        type:
          type: string
          enum:
            - CONFIRMATION
            - CREDIT_MEMO
            - INVOICE
            - MANIFEST
            - OFFER
            - OPTION
            - REJECT
            - OWNER_APPROVE
            - CONTRACT
            - SIGNED_ACCEPTANCE
            - ACCEPTANCE_ACKNOWLEDGE
            - CANCELATION
            - PROFORMA_INVOICE
        uuid:
          type: string
    BookingExchangeRate:
      title: BookingExchangeRate
      type: object
      properties:
        currency:
          type: string
        editMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        exchangeRate:
          type: number
    BookingExchangeRateDto:
      title: BookingExchangeRateDto
      type: object
      properties:
        baseCurrency:
          type: string
          description: The base currency of the exchange rate
          example: USD
        exchangeRate:
          type: number
          description: The exchange rate
        targetCurrency:
          type: string
          description: The target currency of the exchange rate
          example: EUR
    BookingExchangeRate_1:
      title: BookingExchangeRate_1
      type: object
      properties:
        booking:
          $ref: '#/components/schemas/Booking'
        currency:
          type: string
        editMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        exchangeRate:
          type: number
        id:
          $ref: '#/components/schemas/Key_1'
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
    BookingFeeDetail:
      title: BookingFeeDetail
      type: object
      properties:
        actualGrossPrice:
          type: number
        augmentedCrewFee:
          type: number
        augmentedCrewQty:
          type: number
        blockTime:
          type: number
          format: float
        bookingAcceptancePrice:
          type: number
        bookingFeeDetailId:
          type: integer
          format: int64
        bookingFeeUnit:
          type: number
        bookingFees:
          type: integer
          format: int32
        crewSwapUnit:
          type: number
        crewSwaps:
          type: integer
          format: int32
        crewVariableUnit:
          type: number
        dailyFeeUnit:
          type: number
        days:
          type: integer
          format: int32
        demurrageMinimumsTimes:
          type: number
        departureFeeUnit:
          type: number
        ferryBlockTime:
          type: number
          format: float
        ferryFeeUnit:
          type: number
        ferryFlightTime:
          type: number
          format: float
        flightTime:
          type: number
          format: float
        fuelStopPrice:
          type: number
        fuelStopQuantity:
          type: number
        id:
          type: integer
          format: int64
        landings:
          type: integer
          format: int32
        leaseUnit:
          type: number
        maintUnit:
          type: number
        manuallyEdited:
          type: boolean
        minBookingFee:
          type: number
        minFlightHoursDayFee:
          type: number
        minFlightHoursDayTime:
          type: number
          format: float
        minLegHoursAverageFee:
          type: number
        minLegHoursAverageTime:
          type: number
          format: float
        minLegHoursFee:
          type: number
        minLegHoursFixedFee:
          type: number
        minLegHoursFixedFeeQty:
          type: integer
          format: int32
        minLegHoursTime:
          type: number
          format: float
        minPosLegHoursAverageFee:
          type: number
        minPosLegHoursAverageTime:
          type: number
          format: float
        minPosLegHoursFee:
          type: number
        minPosLegHoursTime:
          type: number
          format: float
        multiplyPaxFees:
          type: boolean
        nationalFee:
          type: number
        navUnit:
          type: number
        nrOfServices:
          type: integer
          format: int32
        overnightStayUnit:
          type: number
        overnightStays:
          type: integer
          format: int32
        pax:
          type: integer
          format: int32
        paxFeeUnit:
          type: number
        paxTax:
          type: number
          format: float
        postFlightPricingMode:
          type: string
          enum:
            - ACTUALS
            - ESTIMATIONS
        priceChangeApplied:
          type: boolean
        priceChanged:
          type: boolean
        quotedGross:
          type: number
        revenueBlockTime:
          type: number
          format: float
        revenueFeeUnit:
          type: number
        revenueFlightTime:
          type: number
          format: float
        serviceCostBookingStatus:
          type: string
          enum:
            - OPEN
            - LOCKED
        startupFeeUnit:
          type: number
        startups:
          type: integer
          format: int32
        taxableAmount:
          type: number
        uuid:
          type: string
    BookingFlightSelectionDto:
      title: BookingFlightSelectionDto
      type: object
      properties:
        bookings:
          type: array
          items:
            $ref: '#/components/schemas/BookingSearchDto'
        flightSelection:
          type: array
          items:
            $ref: '#/components/schemas/FlightSelectionDto'
    BookingFlightSelectionDto_1:
      title: BookingFlightSelectionDto_1
      type: object
      properties:
        bookings:
          type: array
          items:
            $ref: '#/components/schemas/BookingSearchDto_1'
        flightSelection:
          type: array
          items:
            $ref: '#/components/schemas/FlightSelectionDto_1'
    BookingPriceDto:
      title: BookingPriceDto
      type: object
      properties:
        accountCurrency:
          type: string
        accountDiscount:
          $ref: '#/components/schemas/PercentageEntry'
        accountExchangeRate:
          type: number
        arrivalFeesNotes:
          type: array
          items:
            $ref: '#/components/schemas/AircraftAirportFeeLegNote'
        augmentedCrewFee:
          $ref: '#/components/schemas/PriceEntry'
        autoMargin:
          type: boolean
        autoMarginDemandInfo:
          type: string
        billableServiceCosts:
          type: array
          items:
            $ref: '#/components/schemas/PriceEntry'
        bookingFee:
          $ref: '#/components/schemas/PriceEntry'
        brokerPayTax:
          type: boolean
        cancelationFee:
          $ref: '#/components/schemas/PercentageEntry'
        cateringFee:
          $ref: '#/components/schemas/PriceEntry'
        commission:
          $ref: '#/components/schemas/PercentageEntry'
        cost:
          $ref: '#/components/schemas/PriceEntry'
        crewSwap:
          $ref: '#/components/schemas/PriceEntry'
        crewVariableCost:
          $ref: '#/components/schemas/PriceEntry'
        currency:
          type: string
        customCurrency:
          type: string
        customExchangeRate:
          type: number
        customFees:
          type: array
          items:
            $ref: '#/components/schemas/PriceEntry'
        dailyFee:
          $ref: '#/components/schemas/PriceEntry'
        demandPercent:
          type: integer
          format: int32
        departureFee:
          $ref: '#/components/schemas/PriceEntry'
        departureFeesNotes:
          type: array
          items:
            $ref: '#/components/schemas/AircraftAirportFeeLegNote'
        discountPercentage:
          $ref: '#/components/schemas/PercentageEntry'
        exchangeRates:
          type: array
          items:
            $ref: '#/components/schemas/BookingExchangeRate'
        federalExciseFee:
          $ref: '#/components/schemas/PercentageEntry'
        federalExciseFeeAccount:
          $ref: '#/components/schemas/PercentageEntry'
        federalExciseFeeCustom:
          $ref: '#/components/schemas/PercentageEntry'
        ferryFee:
          $ref: '#/components/schemas/PriceEntry'
        flightAttendantFee:
          $ref: '#/components/schemas/PriceEntry'
        flightMargin:
          $ref: '#/components/schemas/PercentageEntry'
        fuelFee:
          $ref: '#/components/schemas/PriceEntry'
        fuelStop:
          $ref: '#/components/schemas/PriceEntry'
        fuelSurcharge:
          $ref: '#/components/schemas/PriceEntry'
        grossPrice:
          $ref: '#/components/schemas/PriceEntry'
        grossPriceAccount:
          $ref: '#/components/schemas/PriceEntry'
        grossPriceCustom:
          $ref: '#/components/schemas/PriceEntry'
        handlingFee:
          $ref: '#/components/schemas/PriceEntry'
        hasForeignCurrencyGrossPrice:
          type: boolean
        internationalFee:
          $ref: '#/components/schemas/PriceEntry'
        jediq:
          type: array
          items:
            $ref: '#/components/schemas/PriceEntry'
        jediqCustom:
          type: array
          items:
            $ref: '#/components/schemas/PriceEntry'
        jediqPriceCalculationInfo:
          $ref: '#/components/schemas/JediqPriceCalculationInfo'
        landingFee:
          $ref: '#/components/schemas/PriceEntry'
        leaseFee:
          $ref: '#/components/schemas/PriceEntry'
        maintCost:
          $ref: '#/components/schemas/PriceEntry'
        margin:
          $ref: '#/components/schemas/PercentageEntry'
        mechanicalRecoveryFee:
          $ref: '#/components/schemas/PercentageEntry'
        minCostPerBooking:
          $ref: '#/components/schemas/PriceEntry'
        minFlightTimeAverageFee:
          $ref: '#/components/schemas/PriceEntry'
        minFlightTimeFixedFee:
          $ref: '#/components/schemas/PriceEntry'
        minFlightTimePerDay:
          $ref: '#/components/schemas/PriceEntry'
        minFlightTimePerLeg:
          $ref: '#/components/schemas/PriceEntry'
        minFlightTimePerPosLeg:
          $ref: '#/components/schemas/PriceEntry'
        minPosFlightTimeAverageFee:
          $ref: '#/components/schemas/PriceEntry'
        minimalBookingFee:
          type: number
        minimalUse:
          $ref: '#/components/schemas/PriceEntry'
        mySkyQuote:
          $ref: '#/components/schemas/PriceEntry'
        mySkyQuoteId:
          type: integer
          format: int64
        mySkyQuotePriceCalculationInfo:
          $ref: '#/components/schemas/MySkyQuotePriceCalculationInfo'
        nationalPaxFee:
          $ref: '#/components/schemas/PriceEntry'
        nationalPaxFeeAccount:
          $ref: '#/components/schemas/PriceEntry'
        nationalPaxFeeCustom:
          $ref: '#/components/schemas/PriceEntry'
        navFee:
          $ref: '#/components/schemas/PriceEntry'
        netPrice:
          $ref: '#/components/schemas/PriceEntry'
        netPriceAccount:
          $ref: '#/components/schemas/PriceEntry'
        netPriceCustom:
          $ref: '#/components/schemas/PriceEntry'
        operatorCost:
          $ref: '#/components/schemas/PriceEntry'
        overnightFee:
          $ref: '#/components/schemas/PriceEntry'
        parkingFee:
          $ref: '#/components/schemas/PriceEntry'
        paxFee:
          $ref: '#/components/schemas/PriceEntry'
        priceCostCalculationInfo:
          $ref: '#/components/schemas/PriceCostCalculationInfo'
        priceEngine:
          type: array
          items:
            $ref: '#/components/schemas/PriceEntry'
        priceEngineRules:
          type: array
          items:
            $ref: '#/components/schemas/PriceEngineRuleDto'
        pricingCalculationInfo:
          $ref: '#/components/schemas/PricingCalculationInfo'
        rdcPrices:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/Model'
        reconcile:
          $ref: '#/components/schemas/PriceEntry'
        revenueFee:
          $ref: '#/components/schemas/PriceEntry'
        roundTo:
          type: integer
          format: int32
        roundUpMode:
          type: boolean
        rounding:
          type: number
        services:
          $ref: '#/components/schemas/PriceEntry'
        soldRounding:
          type: number
        soldTaxableAmount:
          type: number
        startupFee:
          $ref: '#/components/schemas/PriceEntry'
        surchargeDiscount:
          $ref: '#/components/schemas/PercentageEntry'
        surchargePercentage:
          $ref: '#/components/schemas/PercentageEntry'
        taxableAmount:
          type: number
        taxes:
          type: number
        taxesAccount:
          type: number
        taxesCustom:
          type: number
        vat:
          $ref: '#/components/schemas/PercentageEntry'
        vatAccount:
          $ref: '#/components/schemas/PercentageEntry'
        vatCustom:
          $ref: '#/components/schemas/PercentageEntry'
    BookingPurpose:
      title: BookingPurpose
      type: object
      properties:
        description:
          type: string
        id:
          type: integer
          format: int64
        name:
          type: string
        uuid:
          type: string
    BookingSearchDto:
      title: BookingSearchDto
      type: object
      properties:
        aircraftId:
          type: integer
          format: int64
        avinodeAccepted:
          type: boolean
        bookingIdentifier:
          type: string
        color:
          type: string
        creationDate:
          type: string
          format: date-time
        currency:
          type: string
        customerInfo:
          $ref: '#/components/schemas/CustomerInfoWithCustomFieldsDto'
        defaultCurrency:
          type: string
        displayPrice:
          type: number
        externalOperator:
          type: string
        hasChildren:
          type: boolean
        id:
          type: integer
          format: int64
        integrations:
          type: array
          items:
            type: string
        legInfo:
          $ref: '#/components/schemas/LegInfoDto'
        operator:
          $ref: '#/components/schemas/OperatorBaseDto'
        operatorWorkflow:
          $ref: '#/components/schemas/OperatorWorkflowDto'
        origin:
          type: string
        rootId:
          type: integer
          format: int64
        salesInfo:
          $ref: '#/components/schemas/CustomerInfoDto'
        sourcingBookingReference:
          type: string
        statusSymbol:
          type: string
        tags:
          type: array
          items:
            $ref: '#/components/schemas/TagBasicDto'
        tailNum:
          type: string
        totalAvinodeNotificationsCount:
          type: integer
          format: int64
        totalNotificationsCount:
          type: integer
          format: int64
        unseenAvinodeNotificationsCount:
          type: integer
          format: int64
        unseenNotificationsCount:
          type: integer
          format: int64
        validUntil:
          type: string
          format: date-time
        versionDetails:
          $ref: '#/components/schemas/BookingVersionDetails'
    BookingSearchDto_1:
      title: BookingSearchDto_1
      type: object
      properties:
        aircraftId:
          type: integer
          format: int64
        avinodeAccepted:
          type: boolean
        bookingIdentifier:
          type: string
        color:
          type: string
        creationDate:
          type: string
          format: date-time
        currency:
          type: string
        customerInfo:
          $ref: '#/components/schemas/CustomerInfoWithCustomFieldsDto_1'
        defaultCurrency:
          type: string
        displayPrice:
          type: number
        externalOperator:
          type: string
        hasChildren:
          type: boolean
        id:
          type: integer
          format: int64
        integrations:
          type: array
          items:
            type: string
        legInfo:
          $ref: '#/components/schemas/LegInfoDto'
        operator:
          $ref: '#/components/schemas/OperatorBaseDto'
        operatorWorkflow:
          $ref: '#/components/schemas/OperatorWorkflowDto_1'
        origin:
          type: string
        rootId:
          type: integer
          format: int64
        salesInfo:
          $ref: '#/components/schemas/CustomerInfoDto'
        sourcingBookingReference:
          type: string
        statusSymbol:
          type: string
        tags:
          type: array
          items:
            $ref: '#/components/schemas/TagBasicDto'
        tailNum:
          type: string
        totalAvinodeNotificationsCount:
          type: integer
          format: int64
        totalNotificationsCount:
          type: integer
          format: int64
        unseenAvinodeNotificationsCount:
          type: integer
          format: int64
        unseenNotificationsCount:
          type: integer
          format: int64
        validUntil:
          type: string
          format: date-time
        versionDetails:
          $ref: '#/components/schemas/BookingVersionDetails_1'
    BookingVersionDetails:
      title: BookingVersionDetails
      type: object
      properties:
        accepted:
          type: integer
          format: int64
        color:
          type: string
        count:
          type: integer
          format: int64
        declined:
          type: integer
          format: int64
        id:
          type: integer
          format: int64
        notAnswered:
          type: integer
          format: int64
        statusSymbol:
          type: string
        unreadMessages:
          type: integer
          format: int64
    BookingVersionDetails_1:
      title: BookingVersionDetails_1
      type: object
      properties:
        accepted:
          type: integer
          format: int64
        color:
          type: string
        declined:
          type: integer
          format: int64
        id:
          type: integer
          format: int64
        notAnswered:
          type: integer
          format: int64
        statusSymbol:
          type: string
        unreadMessages:
          type: integer
          format: int64
    CardType:
      title: CardType
      type: object
      properties:
        choices:
          type: array
          items:
            $ref: '#/components/schemas/NamedEntity'
        defaultTranslation:
          type: string
        group:
          type: string
          enum:
            - Aicraft
            - User
        id:
          type: integer
          format: int64
        name:
          type: string
        uuid:
          type: string
    Cargo:
      title: Cargo
      type: object
      properties:
        cargoType:
          type: string
          enum:
            - ACT
            - AOG
            - ATT
            - AVI
            - BIG
            - BUP
            - CAO
            - CAT
            - COL
            - COM
            - DGD
            - DGR
            - DIP
            - EAP
            - EAT
            - EAW
            - ECC
            - ELI
            - ELM
            - FIL
            - FRI
            - FRO
            - GOG
            - HEA
            - HEG
            - HUM
            - ICE
            - IMP
            - LHO
            - LIC
            - MAG
            - MAL
            - MUW
            - NSC
            - NWP
            - OBX
            - OHG
            - PAC
            - PEA
            - PEF
            - PEM
            - PEP
            - PER
            - PES
            - PIL
            - QRT
            - RAC
            - RCL
            - RCM
            - RCX
            - RDS
            - REQ
            - RFG
            - RFL
            - RFS
            - RFW
            - RGX
            - RIS
            - RLI
            - RLM
            - RMD
            - RNG
            - ROP
            - ROX
            - RPB
            - RPG
            - RRE
            - RRW
            - RRY
            - RSB
            - RSC
            - RXB
            - RXC
            - RXD
            - RXE
            - RXG
            - RXS
            - SCO
            - SHL
            - SPF
            - SUR
            - SWP
            - VAL
            - VOL
            - VUN
            - WET
            - XPS
        documents:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReference_1'
        id:
          type: integer
          format: int64
        modificationDate:
          type: string
          format: date-time
        modificationDatePropertyName:
          type: string
        modificationDateZT:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        modificationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        note:
          type: string
        packages:
          type: integer
          format: int32
        uuid:
          type: string
        weight:
          type: string
        weightQty:
          type: number
          format: float
        weightUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
    CargoDto:
      title: CargoDto
      type: object
      properties:
        cargoType:
          type: string
          enum:
            - ACT
            - AOG
            - ATT
            - AVI
            - BIG
            - BUP
            - CAO
            - CAT
            - COL
            - COM
            - DGD
            - DGR
            - DIP
            - EAP
            - EAT
            - EAW
            - ECC
            - ELI
            - ELM
            - FIL
            - FRI
            - FRO
            - GOG
            - HEA
            - HEG
            - HUM
            - ICE
            - IMP
            - LHO
            - LIC
            - MAG
            - MAL
            - MUW
            - NSC
            - NWP
            - OBX
            - OHG
            - PAC
            - PEA
            - PEF
            - PEM
            - PEP
            - PER
            - PES
            - PIL
            - QRT
            - RAC
            - RCL
            - RCM
            - RCX
            - RDS
            - REQ
            - RFG
            - RFL
            - RFS
            - RFW
            - RGX
            - RIS
            - RLI
            - RLM
            - RMD
            - RNG
            - ROP
            - ROX
            - RPB
            - RPG
            - RRE
            - RRW
            - RRY
            - RSB
            - RSC
            - RXB
            - RXC
            - RXD
            - RXE
            - RXG
            - RXS
            - SCO
            - SHL
            - SPF
            - SUR
            - SWP
            - VAL
            - VOL
            - VUN
            - WET
            - XPS
        document:
          $ref: '#/components/schemas/BinaryReferenceDto'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReferenceDto'
        id:
          type: integer
          format: int64
        note:
          type: string
        packages:
          type: integer
          format: int32
        weight:
          type: string
        weightQty:
          type: number
          format: float
        weightUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
    CargoDto_1:
      title: CargoDto_1
      type: object
      properties:
        cargoType:
          type: string
          enum:
            - ACT
            - AOG
            - ATT
            - AVI
            - BIG
            - BUP
            - CAO
            - CAT
            - COL
            - COM
            - DGD
            - DGR
            - DIP
            - EAP
            - EAT
            - EAW
            - ECC
            - ELI
            - ELM
            - FIL
            - FRI
            - FRO
            - GOG
            - HEA
            - HEG
            - HUM
            - ICE
            - IMP
            - LHO
            - LIC
            - MAG
            - MAL
            - MUW
            - NSC
            - NWP
            - OBX
            - OHG
            - PAC
            - PEA
            - PEF
            - PEM
            - PEP
            - PER
            - PES
            - PIL
            - QRT
            - RAC
            - RCL
            - RCM
            - RCX
            - RDS
            - REQ
            - RFG
            - RFL
            - RFS
            - RFW
            - RGX
            - RIS
            - RLI
            - RLM
            - RMD
            - RNG
            - ROP
            - ROX
            - RPB
            - RPG
            - RRE
            - RRW
            - RRY
            - RSB
            - RSC
            - RXB
            - RXC
            - RXD
            - RXE
            - RXG
            - RXS
            - SCO
            - SHL
            - SPF
            - SUR
            - SWP
            - VAL
            - VOL
            - VUN
            - WET
            - XPS
        documents:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReferenceDto'
        id:
          type: integer
          format: int64
        note:
          type: string
        packages:
          type: integer
          format: int32
        weight:
          type: string
        weightQty:
          type: number
          format: float
        weightUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
    CargoLogDto:
      title: CargoLogDto
      type: object
      properties:
        cargoUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
        cargoWeight:
          type: number
          format: float
    CateringDto:
      title: CateringDto
      type: object
      properties:
        airportId:
          type: integer
          format: int64
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        cancellationRequired:
          type: boolean
        cateringService:
          $ref: '#/components/schemas/AirportServiceDto'
        cost:
          type: number
        currency:
          type: string
        deliveryDate:
          type: string
          format: date-time
        details:
          type: string
        documents:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReferenceDto'
        externalNote:
          type: string
        externalSource:
          type: string
          enum:
            - B2C
            - FBOONE
            - MYHANDLING
            - FLIGHTBRIDGE
            - FUELERLINX
            - DELISKY
            - JETEX
            - UVGO
            - FOREFLIGHT
        externalStatus:
          type: string
        flightBridgeNote:
          type: string
        id:
          type: integer
          format: int64
        meals:
          type: string
        notes:
          type: string
        paxNotes:
          type: string
        permitProviderId:
          type: integer
          format: int64
        person:
          $ref: '#/components/schemas/UserSearchDto'
        poCreatedDate:
          type: string
          format: date-time
        poNumber:
          type: string
        price:
          type: number
        serviceFor:
          type: string
          enum:
            - Crew
            - Pax
            - Person
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        updatedDate:
          type: string
          format: date-time
    CateringDto_1:
      title: CateringDto_1
      type: object
      properties:
        airportId:
          type: integer
          format: int64
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        cancellationRequired:
          type: boolean
        cateringService:
          $ref: '#/components/schemas/AirportServiceDto_1'
        cost:
          type: number
        currency:
          type: string
        deliveryDate:
          type: string
          format: date-time
        details:
          type: string
        documents:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReferenceDto'
        externalNote:
          type: string
        externalSource:
          type: string
          enum:
            - B2C
            - FBOONE
            - MYHANDLING
            - FLIGHTBRIDGE
            - FUELERLINX
            - DELISKY
            - JETEX
            - UVGO
            - FOREFLIGHT
        externalStatus:
          type: string
        flightBridgeNote:
          type: string
        id:
          type: integer
          format: int64
        meals:
          type: string
        notes:
          type: string
        paxNotes:
          type: string
        permitProviderId:
          type: integer
          format: int64
        person:
          $ref: '#/components/schemas/UserSearchDto'
        poCreatedDate:
          type: string
          format: date-time
        poNumber:
          type: string
        price:
          type: number
        serviceFor:
          type: string
          enum:
            - Crew
            - Pax
            - Person
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        updatedDate:
          type: string
          format: date-time
    ChangeSet:
      title: ChangeSet
      type: object
      properties:
        added:
          type: array
          items:
            type: integer
            format: int64
        cancelled:
          type: array
          items:
            type: integer
            format: int64
        same:
          type: array
          items:
            type: integer
            format: int64
        updated:
          type: array
          items:
            type: integer
            format: int64
    ChangeSet_1:
      title: ChangeSet_1
      type: object
      properties:
        added:
          type: array
          items:
            type: integer
            format: int64
        updated:
          type: array
          items:
            type: integer
            format: int64
        same:
          type: array
          items:
            type: integer
            format: int64
        cancelled:
          type: array
          items:
            type: integer
            format: int64
    Character:
      title: Character
      type: object
    ChargeCategory:
      title: ChargeCategory
      type: object
      properties:
        ChargeCategory:
          type: integer
          format: int32
        ChargeElements:
          type: array
          items:
            $ref: '#/components/schemas/ChargeElement'
        Currency:
          type: string
        Name:
          type: string
        Value:
          type: string
    ChargeElement:
      title: ChargeElement
      type: object
      properties:
        Currency:
          type: string
        ElementName:
          type: string
        Value:
          type: string
    Charges:
      title: Charges
      type: object
      properties:
        BillingSources:
          type: array
          items:
            type: array
            items:
              $ref: '#/components/schemas/BillingSource'
        Total:
          type: string
        TotalCurrency:
          type: string
    Citypair:
      title: Citypair
      type: object
      properties:
        airlineCost:
          type: integer
          format: int32
        airlineDirect:
          type: boolean
        airlineDuration:
          type: integer
          format: int32
        averageAirDistance:
          type: number
          format: float
        averageAirTime:
          type: integer
          format: int32
        averageWindSpeed:
          type: number
          format: float
        circular:
          type: boolean
        citypairid:
          type: integer
          format: int64
        fromAirport:
          $ref: '#/components/schemas/Airport'
        fromAirportId:
          type: integer
          format: int64
        id:
          type: integer
          format: int64
        modificationDate:
          type: string
          format: date-time
        modificationDatePropertyName:
          type: string
        modificationDateZT:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        modificationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        roadCost:
          type: integer
          format: int32
        roadDistance:
          type: integer
          format: int32
        roadDuration:
          type: integer
          format: int32
        toAirport:
          $ref: '#/components/schemas/Airport'
        toAirportId:
          type: integer
          format: int64
        trainCost:
          type: integer
          format: int32
        trainDistance:
          type: integer
          format: int32
        trainDuration:
          type: integer
          format: int32
        uuid:
          type: string
    CostModel:
      title: CostModel
      type: object
      properties:
        fuelLong:
          type: number
          format: float
        fuelShort:
          type: number
          format: float
        leaseCost:
          type: number
        maintenanceCost:
          type: number
        navigationCost:
          type: number
    Country:
      title: Country
      type: object
      properties:
        iso2:
          type: string
        iso3:
          type: string
        isoNumeric:
          type: integer
          format: int64
        localIdentifierName:
          type: string
        name:
          type: string
        officialName:
          type: string
    CountryDto:
      title: CountryDto
      type: object
      properties:
        capital:
          type: string
        continent:
          type: string
        currencyCode:
          type: string
        domain:
          type: string
        id:
          type: integer
          format: int64
        intname:
          type: string
        ioc:
          type: string
        iso2:
          type: string
        iso3:
          type: string
        name:
          type: string
        phone:
          type: string
    Country_1:
      title: Country_1
      type: object
      properties:
        capital:
          type: string
        continent:
          type: string
        countryid:
          type: integer
          format: int64
        currencyCode:
          type: string
        domain:
          type: string
        id:
          type: integer
          format: int64
        intname:
          type: string
        ioc:
          type: string
        iso2:
          type: string
        iso3:
          type: string
        modificationDate:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        name:
          type: string
        phone:
          type: string
        schengen:
          type: boolean
        uuid:
          type: string
    CrewAppFlightTimesDto:
      title: CrewAppFlightTimesDto
      type: object
      properties:
        blocksOff:
          type: string
          format: date-time
        blocksOn:
          type: string
          format: date-time
        checkIn:
          type: string
          format: date-time
        checkOut:
          type: string
          format: date-time
        landing:
          type: string
          format: date-time
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        takeOff:
          type: string
          format: date-time
    CrewAssignmentDto:
      title: CrewAssignmentDto
      type: object
      properties:
        additionalCrew:
          type: array
          items:
            $ref: '#/components/schemas/PilotFlightDto'
        augmentedCrew:
          type: boolean
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        commander:
          $ref: '#/components/schemas/PilotFlightDto'
        crewPositions:
          type: array
          items:
            $ref: '#/components/schemas/AircraftCrewPositionDto'
        emptySeats:
          $ref: '#/components/schemas/CrewSeats'
        firstOfficer:
          $ref: '#/components/schemas/PilotFlightDto'
        flightAttendants:
          type: array
          items:
            $ref: '#/components/schemas/PilotFlightDto'
        hasOnBoardEng:
          type: boolean
        id:
          type: integer
          format: int64
        numberOfFA:
          type: integer
          format: int32
        onBoardEng:
          type: integer
          format: int32
        onBoardEngineer:
          $ref: '#/components/schemas/PilotFlightDto'
        onBoardEngineers:
          type: array
          items:
            $ref: '#/components/schemas/PilotFlightDto'
        permitProviderId:
          type: integer
          format: int64
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
    CrewBriefDto:
      title: CrewBriefDto
      type: object
      properties:
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        crewNotes:
          type: string
        flightSelection:
          $ref: '#/components/schemas/BookingFlightSelectionDto'
        id:
          type: integer
          format: int64
        permitProviderId:
          type: integer
          format: int64
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
    CrewBriefDto_1:
      title: CrewBriefDto_1
      type: object
      properties:
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        crewNotes:
          type: string
        flightSelection:
          $ref: '#/components/schemas/BookingFlightSelectionDto_1'
        id:
          type: integer
          format: int64
        permitProviderId:
          type: integer
          format: int64
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
    CrewDetailedInformationDto:
      title: CrewDetailedInformationDto
      type: object
      properties:
        account:
          $ref: '#/components/schemas/AccountDto'
        allowance:
          type: number
        allowanceDomestic:
          type: number
        allowancePaymentSchema:
          type: string
          enum:
            - PER_HOUR
            - PER_LANDING
            - PER_DAY
        assignments:
          type: array
          items:
            $ref: '#/components/schemas/AssignmentDto'
        birthCountry:
          type: string
        birthDate:
          type: string
          format: date
        birthPlace:
          type: string
        email:
          type: string
        employedSince:
          type: string
          format: date-time
        employedUntil:
          type: string
          format: date-time
        externalReference:
          type: string
        firstName:
          type: string
        flightHours:
          $ref: '#/components/schemas/PilotFlightHoursDto'
        gender:
          type: string
          enum:
            - FEMALE
            - MALE
            - OTHER
        homeAirport:
          $ref: '#/components/schemas/AirportDto'
        idCards:
          type: array
          items:
            $ref: '#/components/schemas/IdcardDto_1'
        jobTitle:
          type: string
        lastName:
          type: string
        logName:
          type: string
        luggageUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
        luggageWeight:
          type: number
          format: float
        maxBlockHoursPerMonth:
          type: integer
          format: int32
        middleName:
          type: string
        mobile:
          type: string
        nationality:
          type: string
        operator:
          $ref: '#/components/schemas/ExternalOperatorBaseDto'
        personnelNumber:
          type: string
        phone:
          type: string
        pilotId:
          type: integer
          format: int64
        pilotOnAircraft:
          type: array
          items:
            type: string
        radiationProtectionRegistryId:
          type: string
        roles:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
        salutation:
          type: string
          enum:
            - Mr
            - Mrs
            - Miss
            - Ms
            - unDef
            - Dr
            - Ing
            - Prof
            - Mag
            - Captain
            - Prince
            - Princess
            - Shaikh
            - Shaikhah
            - HRH
            - HE
            - Sir
            - Lady
            - Mx
            - HM
            - Sr
            - Fr
            - Br
            - Rev
            - Dr_Med
            - Prof_Dr
            - Lord
        status:
          type: string
          enum:
            - ACTIVE
            - DELETED
            - INACTIVE
            - MIGRATED_US
        trigram:
          type: string
        userQualifications:
          type: array
          items:
            $ref: '#/components/schemas/UserQualificationDto'
        weight:
          type: number
          format: float
        weightUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
    CrewDetailsDto:
      title: CrewDetailsDto
      type: object
      properties:
        crewAssign:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        crewBriefing:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        dtl:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        id:
          type: integer
          format: int64
        target:
          type: string
          enum:
            - DEPARTURE
            - ARRIVAL
        worst:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
    CrewFlightDto:
      title: CrewFlightDto
      type: object
      properties:
        accountId:
          type: integer
          format: int64
        accountName:
          type: string
        accountReference:
          type: string
        accountTrigram:
          type: string
        aircraftAOC:
          $ref: '#/components/schemas/AocDto'
        aircraftCategory:
          type: string
        airportFrom:
          type: string
        airportTo:
          type: string
        blockOffEstLocal:
          type: string
          format: date-time
        blockOffEstUTC:
          type: string
          format: date-time
        blockOnEstLocal:
          type: string
          format: date-time
        blockOnEstUTC:
          type: string
          format: date-time
        blocksoffestimated:
          type: string
          format: date-time
        blocksonestimated:
          type: string
          format: date-time
        bookingIdentifier:
          type: string
        bookingReference:
          type: string
        crew:
          type: array
          items:
            $ref: '#/components/schemas/FlightCrewDto'
        customerFirstname:
          type: string
        customerId:
          type: string
        customerLastname:
          type: string
        customerTrigram:
          type: string
        dateFrom:
          type: string
          format: date-time
        dateTo:
          type: string
          format: date-time
        eta:
          type: string
          format: date-time
        etd:
          type: string
          format: date-time
        flightId:
          type: integer
          format: int64
        flightNumber:
          type: string
        flightNumberCompany:
          type: string
        flightStatus:
          type: string
        flightType:
          type: string
        fpl:
          $ref: '#/components/schemas/B2CFplDTO'
        fplType:
          type: string
          enum:
            - 'N'
            - G
            - X
            - M
            - S
        fuelArrival:
          type: number
          format: float
        fuelMassUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
            - LITER
        fuelOffBlock:
          type: number
          format: float
        fuelRemainigActual:
          type: number
          format: float
        operator:
          $ref: '#/components/schemas/ExternalOperatorBaseDto'
        paxNumber:
          type: integer
          format: int32
        paxReferences:
          type: array
          items:
            $ref: '#/components/schemas/TicketDto'
        postFlightClosed:
          type: boolean
        realAirportFrom:
          type: string
        realAirportTo:
          type: string
        realDateIN:
          type: string
          format: date-time
        realDateOFF:
          type: string
          format: date-time
        realDateON:
          type: string
          format: date-time
        realDateOUT:
          type: string
          format: date-time
        registrationNumber:
          type: string
        requestedAircraftType:
          type: string
          enum:
            - CJ3
            - PC12
            - PC24
            - PC12/CJ3
            - PC12/PC24
            - CHART
            - SF50
        rescheduledDateFrom:
          type: string
          format: date-time
        rescheduledDateTo:
          type: string
          format: date-time
        status:
          type: string
          enum:
            - MANUAL
            - FAILED
            - AUTO
            - CANCELED
            - DISABLED
            - NEW
            - DRAFT
        tripNumber:
          type: integer
          format: int64
        upliftMass:
          type: number
          format: float
        userReference:
          type: string
        workflow:
          type: string
          enum:
            - COMMERCIAL
            - MAINTENANCE
            - PRIVATE
            - TRAINING
            - OWNER
            - INTERNAL
            - RESERVED
            - CHARTER
            - SUBCHARTER
            - SCHEDULED
            - AMBULANCE
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
            - CUSTOM6
            - BROKER
            - BROKER_SUBCHARTER
        workflowCustomName:
          type: string
    CrewPosition:
      title: CrewPosition
      type: object
      properties:
        assignable:
          type: boolean
        code:
          type: string
        crewType:
          type: string
          enum:
            - FLIGHT_DECK
            - CABIN
        disableFtFdpCalculation:
          type: boolean
        id:
          type: integer
          format: int64
        name:
          type: string
        role:
          type: string
          enum:
            - CMD
            - FO
            - CC
            - MED1
            - ATPL
            - LST
            - AQ
            - OPCRH
            - PA
            - FA
            - CPL
            - DG
            - ESET
            - Sec
            - FF
            - ENL4
            - ENL5
            - ENL6
            - LC
            - OPC
            - LVTO
            - LV
            - RVSM
            - TRI
            - TRE
            - AUS
            - SQMM
            - SECG
            - BMVIT
            - EFB
            - GRT
            - ESE
            - OCC
            - OICC
            - PICC
            - DITCH
            - FAID
            - WINTER
            - BRNAV
            - MNPS_ETOPS
            - RACQ
            - ETOPS
            - TCAS
            - CRM
            - ASH
            - USER0
            - USER1
            - USER2
            - USER3
            - USER4
            - USER5
            - USER6
            - USER7
            - USER8
            - USER9
            - ENG
            - AUGM_CREW
            - ADD_CREW
            - CREW
            - IR
            - HW_OPS
            - PBN
            - PFI
            - FM
            - SEP
            - SEP_IR
            - FI_A
            - MEP
            - CR
            - RC
            - OBS
            - DHC
            - EX_CM
            - AUG_PIC
            - AUG_SIC
            - AUG_CRP
            - INSTRUCTOR
            - CHECK_AIRMAN
            - GROUND_INSTRUCTOR
            - AUG_FA
            - CA
            - MD
            - RN
            - MEDIC
            - MAINTENANCE
            - JUMPSEAT
            - LOAD_MASTER
            - OPS_CONTROL
            - FLIGHT_COORDINATOR
            - COURIER
            - NR
            - INSPECTOR
            - COMPANY_REP
            - SINGLE_PILOT
        typeRatingRelated:
          type: boolean
        uuid:
          type: string
    CrewPositionDto:
      title: CrewPositionDto
      type: object
      properties:
        assignable:
          type: boolean
        code:
          type: string
        crewType:
          type: string
          enum:
            - FLIGHT_DECK
            - CABIN
        disableFtFdpCalculation:
          type: boolean
        id:
          type: integer
          format: int64
        name:
          type: string
        role:
          type: string
          enum:
            - CMD
            - FO
            - CC
            - MED1
            - ATPL
            - LST
            - AQ
            - OPCRH
            - PA
            - FA
            - CPL
            - DG
            - ESET
            - Sec
            - FF
            - ENL4
            - ENL5
            - ENL6
            - LC
            - OPC
            - LVTO
            - LV
            - RVSM
            - TRI
            - TRE
            - AUS
            - SQMM
            - SECG
            - BMVIT
            - EFB
            - GRT
            - ESE
            - OCC
            - OICC
            - PICC
            - DITCH
            - FAID
            - WINTER
            - BRNAV
            - MNPS_ETOPS
            - RACQ
            - ETOPS
            - TCAS
            - CRM
            - ASH
            - USER0
            - USER1
            - USER2
            - USER3
            - USER4
            - USER5
            - USER6
            - USER7
            - USER8
            - USER9
            - ENG
            - AUGM_CREW
            - ADD_CREW
            - CREW
            - IR
            - HW_OPS
            - PBN
            - PFI
            - FM
            - SEP
            - SEP_IR
            - FI_A
            - MEP
            - CR
            - RC
            - OBS
            - DHC
            - EX_CM
            - AUG_PIC
            - AUG_SIC
            - AUG_CRP
            - INSTRUCTOR
            - CHECK_AIRMAN
            - GROUND_INSTRUCTOR
            - AUG_FA
            - CA
            - MD
            - RN
            - MEDIC
            - MAINTENANCE
            - JUMPSEAT
            - LOAD_MASTER
            - OPS_CONTROL
            - FLIGHT_COORDINATOR
            - COURIER
            - NR
            - INSPECTOR
            - COMPANY_REP
            - SINGLE_PILOT
        typeRatingRelated:
          type: boolean
    CrewPositionExternalDto:
      title: CrewPositionExternalDto
      type: object
      properties:
        assignable:
          type: boolean
        code:
          type: string
        crewType:
          type: string
          enum:
            - FLIGHT_DECK
            - CABIN
        disableFtFdpCalculation:
          type: boolean
        id:
          type: integer
          format: int64
        name:
          type: string
        role:
          type: string
          enum:
            - CMD
            - FO
            - CC
            - MED1
            - ATPL
            - LST
            - AQ
            - OPCRH
            - PA
            - FA
            - CPL
            - DG
            - ESET
            - Sec
            - FF
            - ENL4
            - ENL5
            - ENL6
            - LC
            - OPC
            - LVTO
            - LV
            - RVSM
            - TRI
            - TRE
            - AUS
            - SQMM
            - SECG
            - BMVIT
            - EFB
            - GRT
            - ESE
            - OCC
            - OICC
            - PICC
            - DITCH
            - FAID
            - WINTER
            - BRNAV
            - MNPS_ETOPS
            - RACQ
            - ETOPS
            - TCAS
            - CRM
            - ASH
            - USER0
            - USER1
            - USER2
            - USER3
            - USER4
            - USER5
            - USER6
            - USER7
            - USER8
            - USER9
            - ENG
            - AUGM_CREW
            - ADD_CREW
            - CREW
            - IR
            - HW_OPS
            - PBN
            - PFI
            - FM
            - SEP
            - SEP_IR
            - FI_A
            - MEP
            - CR
            - RC
            - OBS
            - DHC
            - EX_CM
            - AUG_PIC
            - AUG_SIC
            - AUG_CRP
            - INSTRUCTOR
            - CHECK_AIRMAN
            - GROUND_INSTRUCTOR
            - AUG_FA
            - CA
            - MD
            - RN
            - MEDIC
            - MAINTENANCE
            - JUMPSEAT
            - LOAD_MASTER
            - OPS_CONTROL
            - FLIGHT_COORDINATOR
            - COURIER
            - NR
            - INSPECTOR
            - COMPANY_REP
            - SINGLE_PILOT
        typeRatingRelated:
          type: boolean
    CrewPositionExternalDto_1:
      title: CrewPositionExternalDto_1
      type: object
      properties:
        id:
          type: integer
          format: int64
        role:
          type: string
          enum:
            - CMD
            - FO
            - CC
            - MED1
            - ATPL
            - LST
            - AQ
            - OPCRH
            - PA
            - FA
            - CPL
            - DG
            - ESET
            - Sec
            - FF
            - ENL4
            - ENL5
            - ENL6
            - LC
            - OPC
            - LVTO
            - LV
            - RVSM
            - TRI
            - TRE
            - AUS
            - SQMM
            - SECG
            - BMVIT
            - EFB
            - GRT
            - ESE
            - OCC
            - OICC
            - PICC
            - DITCH
            - FAID
            - WINTER
            - BRNAV
            - MNPS_ETOPS
            - RACQ
            - ETOPS
            - TCAS
            - CRM
            - ASH
            - USER0
            - USER1
            - USER2
            - USER3
            - USER4
            - USER5
            - USER6
            - USER7
            - USER8
            - USER9
            - ENG
            - AUGM_CREW
            - ADD_CREW
            - CREW
            - IR
            - HW_OPS
            - PBN
            - PFI
            - FM
            - SEP
            - SEP_IR
            - FI_A
            - MEP
            - CR
            - RC
            - OBS
            - DHC
            - EX_CM
            - AUG_PIC
            - AUG_SIC
            - AUG_CRP
            - INSTRUCTOR
            - CHECK_AIRMAN
            - GROUND_INSTRUCTOR
            - AUG_FA
            - CA
            - MD
            - RN
            - MEDIC
            - MAINTENANCE
            - JUMPSEAT
            - LOAD_MASTER
            - OPS_CONTROL
            - FLIGHT_COORDINATOR
            - COURIER
            - NR
            - INSPECTOR
            - COMPANY_REP
            - SINGLE_PILOT
        name:
          type: string
        code:
          type: string
        crewType:
          type: string
          enum:
            - FLIGHT_DECK
            - CABIN
        disableFtFdpCalculation:
          type: boolean
        assignable:
          type: boolean
        typeRatingRelated:
          type: boolean
    CrewPostFlightDto:
      title: CrewPostFlightDto
      type: object
      properties:
        accountName:
          type: string
        approachCategory:
          type: string
          enum:
            - CAT2
            - CAT3
            - LVO
            - TWO_D_AZIMUTH
            - TWO_D_CDI
            - THREE_D_CDI
            - CAT1
            - CAT1_LTS
            - GCA
            - GPS
            - RNP_AR
            - RNP_RNAV
            - ILS
            - JPALS
            - MLS
            - GLS
            - PAR
            - VLR
            - LOC
            - LDA
        closeTime:
          type: string
          format: date-time
        closed:
          type: boolean
        crewPosition:
          $ref: '#/components/schemas/CrewPositionDto'
        crewType:
          type: string
          enum:
            - FLIGHT_DECK
            - CABIN
        defaultPilotTime:
          $ref: '#/components/schemas/PilotTime'
        efvs:
          type: integer
          format: int32
        fdpExtension:
          type: boolean
        fdpExtensionOption:
          type: string
          enum:
            - NOT_POSSIBLE
            - POSSIBLE
            - POSSIBLE_BY_ADMIN
            - READ_ONLY
            - NOT_SUPPORTED
        firstName:
          type: string
        from:
          type: string
          format: date-time
        gender:
          type: string
          enum:
            - FEMALE
            - MALE
            - OTHER
        height:
          type: number
          format: float
        hold:
          type: boolean
        id:
          type: integer
          format: int64
        instTime:
          type: integer
          format: int64
        jobTitle:
          type: string
        landings:
          type: integer
          format: int32
        lastName:
          type: string
        loggedLandings:
          type: integer
          format: int32
        loggedTakeOffs:
          type: integer
          format: int32
        middleName:
          type: string
        nationalityCountryName:
          type: string
        nickname:
          type: string
        nightLandings:
          type: integer
          format: int32
        nightTakeOffs:
          type: integer
          format: int32
        nightTime:
          type: integer
          format: int64
        nonPrecision:
          type: integer
          format: int32
        personnelNumber:
          type: string
        picTime:
          type: integer
          format: int64
        pilot:
          type: boolean
        pilotRole:
          type: string
          enum:
            - CMD
            - FO
            - CC
            - MED1
            - ATPL
            - LST
            - AQ
            - OPCRH
            - PA
            - FA
            - CPL
            - DG
            - ESET
            - Sec
            - FF
            - ENL4
            - ENL5
            - ENL6
            - LC
            - OPC
            - LVTO
            - LV
            - RVSM
            - TRI
            - TRE
            - AUS
            - SQMM
            - SECG
            - BMVIT
            - EFB
            - GRT
            - ESE
            - OCC
            - OICC
            - PICC
            - DITCH
            - FAID
            - WINTER
            - BRNAV
            - MNPS_ETOPS
            - RACQ
            - ETOPS
            - TCAS
            - CRM
            - ASH
            - USER0
            - USER1
            - USER2
            - USER3
            - USER4
            - USER5
            - USER6
            - USER7
            - USER8
            - USER9
            - ENG
            - AUGM_CREW
            - ADD_CREW
            - CREW
            - IR
            - HW_OPS
            - PBN
            - PFI
            - FM
            - SEP
            - SEP_IR
            - FI_A
            - MEP
            - CR
            - RC
            - OBS
            - DHC
            - EX_CM
            - AUG_PIC
            - AUG_SIC
            - AUG_CRP
            - INSTRUCTOR
            - CHECK_AIRMAN
            - GROUND_INSTRUCTOR
            - AUG_FA
            - CA
            - MD
            - RN
            - MEDIC
            - MAINTENANCE
            - JUMPSEAT
            - LOAD_MASTER
            - OPS_CONTROL
            - FLIGHT_COORDINATOR
            - COURIER
            - NR
            - INSPECTOR
            - COMPANY_REP
            - SINGLE_PILOT
        postFlightRestIncrease:
          type: boolean
        precision:
          type: integer
          format: int32
        reducedRestOffBySystem:
          type: boolean
        reportTime:
          type: string
          format: date-time
        reported:
          type: boolean
        restTravelTime:
          type: integer
          format: int32
        sicTime:
          type: integer
          format: int64
        splitDutyClose:
          type: boolean
        splitDutyCloseTime:
          type: string
          format: date-time
        splitDutyStart:
          type: boolean
        splitDutyStartTime:
          type: string
          format: date-time
        status:
          type: string
          enum:
            - ACTIVE
            - DELETED
            - INACTIVE
            - MIGRATED_US
        takeOffs:
          type: integer
          format: int32
        to:
          type: string
          format: date-time
        useReducedRest:
          type: boolean
        userCharacteristics:
          $ref: '#/components/schemas/UserCharacteristicsDto'
        userId:
          type: integer
          format: int64
        visual:
          type: boolean
        weight:
          type: number
          format: float
    CrewPostFlightDto_1:
      title: CrewPostFlightDto_1
      type: object
      properties:
        accountName:
          type: string
        approachCategory:
          type: string
          enum:
            - CAT2
            - CAT3
            - LVO
            - TWO_D_AZIMUTH
            - TWO_D_CDI
            - THREE_D_CDI
            - CAT1
            - CAT1_LTS
            - GCA
            - GPS
            - RNP_AR
            - RNP_RNAV
            - ILS
            - JPALS
            - MLS
            - GLS
            - PAR
            - VLR
            - LOC
            - LDA
        closeTime:
          type: string
          format: date-time
        closed:
          type: boolean
        crewPosition:
          $ref: '#/components/schemas/CrewPositionDto'
        crewType:
          type: string
          enum:
            - FLIGHT_DECK
            - CABIN
        defaultPilotTime:
          $ref: '#/components/schemas/PilotTime_1'
        efvs:
          type: integer
          format: int32
        fdpExtension:
          type: boolean
        fdpExtensionOption:
          type: string
          enum:
            - NOT_POSSIBLE
            - POSSIBLE
            - POSSIBLE_BY_ADMIN
            - READ_ONLY
            - NOT_SUPPORTED
        firstName:
          type: string
        from:
          type: string
          format: date-time
        gender:
          type: string
          enum:
            - FEMALE
            - MALE
            - OTHER
        height:
          type: number
          format: float
        hold:
          type: boolean
        id:
          type: integer
          format: int64
        instTime:
          type: integer
          format: int64
        jobTitle:
          type: string
        landings:
          type: integer
          format: int32
        lastName:
          type: string
        loggedLandings:
          type: integer
          format: int32
        loggedTakeOffs:
          type: integer
          format: int32
        middleName:
          type: string
        nationalityCountryName:
          type: string
        nickname:
          type: string
        nightLandings:
          type: integer
          format: int32
        nightTakeOffs:
          type: integer
          format: int32
        nightTime:
          type: integer
          format: int64
        nonPrecision:
          type: integer
          format: int32
        personnelNumber:
          type: string
        picTime:
          type: integer
          format: int64
        pilot:
          type: boolean
        pilotRole:
          type: string
          enum:
            - CMD
            - FO
            - CC
            - MED1
            - ATPL
            - LST
            - AQ
            - OPCRH
            - PA
            - FA
            - CPL
            - DG
            - ESET
            - Sec
            - FF
            - ENL4
            - ENL5
            - ENL6
            - LC
            - OPC
            - LVTO
            - LV
            - RVSM
            - TRI
            - TRE
            - AUS
            - SQMM
            - SECG
            - BMVIT
            - EFB
            - GRT
            - ESE
            - OCC
            - OICC
            - PICC
            - DITCH
            - FAID
            - WINTER
            - BRNAV
            - MNPS_ETOPS
            - RACQ
            - ETOPS
            - TCAS
            - CRM
            - ASH
            - USER0
            - USER1
            - USER2
            - USER3
            - USER4
            - USER5
            - USER6
            - USER7
            - USER8
            - USER9
            - ENG
            - AUGM_CREW
            - ADD_CREW
            - CREW
            - IR
            - HW_OPS
            - PBN
            - PFI
            - FM
            - SEP
            - SEP_IR
            - FI_A
            - MEP
            - CR
            - RC
            - OBS
            - DHC
            - EX_CM
            - AUG_PIC
            - AUG_SIC
            - AUG_CRP
            - INSTRUCTOR
            - CHECK_AIRMAN
            - GROUND_INSTRUCTOR
            - AUG_FA
            - CA
            - MD
            - RN
            - MEDIC
            - MAINTENANCE
            - JUMPSEAT
            - LOAD_MASTER
            - OPS_CONTROL
            - FLIGHT_COORDINATOR
            - COURIER
            - NR
            - INSPECTOR
            - COMPANY_REP
            - SINGLE_PILOT
        postFlightRestIncrease:
          type: boolean
        precision:
          type: integer
          format: int32
        reducedRestOffBySystem:
          type: boolean
        reportTime:
          type: string
          format: date-time
        reported:
          type: boolean
        restTravelTime:
          type: integer
          format: int32
        sicTime:
          type: integer
          format: int64
        splitDutyClose:
          type: boolean
        splitDutyCloseTime:
          type: string
          format: date-time
        splitDutyStart:
          type: boolean
        splitDutyStartTime:
          type: string
          format: date-time
        status:
          type: string
          enum:
            - ACTIVE
            - DELETED
            - INACTIVE
            - MIGRATED_US
        takeOffs:
          type: integer
          format: int32
        to:
          type: string
          format: date-time
        useReducedRest:
          type: boolean
        userCharacteristics:
          $ref: '#/components/schemas/UserCharacteristicsDto'
        userId:
          type: integer
          format: int64
        visual:
          type: boolean
        weight:
          type: number
          format: float
    CrewSeats:
      title: CrewSeats
      type: object
      properties:
        cc:
          type: integer
          format: int32
        ccExt:
          type: integer
          format: int32
        eng:
          type: integer
          format: int32
        expected:
          $ref: '#/components/schemas/CrewSeats'
        fd:
          type: integer
          format: int32
        fdExt:
          type: integer
          format: int32
    CrewSeats_1:
      title: CrewSeats_1
      type: object
      properties:
        fd:
          type: integer
          format: int32
        fdExt:
          type: integer
          format: int32
        cc:
          type: integer
          format: int32
        ccExt:
          type: integer
          format: int32
        eng:
          type: integer
          format: int32
        expected:
          $ref: '#/components/schemas/CrewSeats_1'
    CrewWarningsSummary:
      title: CrewWarningsSummary
      type: object
      properties:
        ccWarnings:
          type: boolean
        fdWarnings:
          type: boolean
        usersWithWarnings:
          type: array
          items:
            type: integer
            format: int64
    CrewWarningsSummary_1:
      title: CrewWarningsSummary_1
      type: object
      properties:
        fdWarnings:
          type: boolean
        ccWarnings:
          type: boolean
        usersWithWarnings:
          type: array
          items:
            type: integer
            format: int64
    CustomPaymentCondition:
      title: CustomPaymentCondition
      type: object
      properties:
        defaultForAccounts:
          type: boolean
        id:
          type: integer
          format: int64
        name:
          type: string
        order:
          type: integer
          format: int32
        triggersSafeClient:
          type: boolean
        uuid:
          type: string
    CustomerInfoDto:
      title: CustomerInfoDto
      type: object
      properties:
        account:
          $ref: '#/components/schemas/AccountSearchDto'
        changedManually:
          type: boolean
        firstName:
          type: string
        id:
          type: integer
          format: int64
        lastName:
          type: string
        nickname:
          type: string
    CustomerInfoWithCustomFieldsDto:
      title: CustomerInfoWithCustomFieldsDto
      type: object
      properties:
        account:
          $ref: '#/components/schemas/AccountSearchDto'
        accountCommercialComment:
          type: string
        accountCustomFields:
          type: array
          items:
            $ref: '#/components/schemas/AccountCustomFieldDto'
        changedManually:
          type: boolean
        commercialPreferences:
          type: array
          items:
            $ref: '#/components/schemas/UserPreferenceDto'
        firstName:
          type: string
        id:
          type: integer
          format: int64
        lastName:
          type: string
        nickname:
          type: string
        userCommercialComment:
          type: string
    CustomerInfoWithCustomFieldsDto_1:
      title: CustomerInfoWithCustomFieldsDto_1
      type: object
      properties:
        account:
          $ref: '#/components/schemas/AccountSearchDto'
        accountCommercialComment:
          type: string
        accountCustomFields:
          type: array
          items:
            $ref: '#/components/schemas/AccountCustomFieldDto_1'
        changedManually:
          type: boolean
        commercialPreferences:
          type: array
          items:
            $ref: '#/components/schemas/UserPreferenceDto_1'
        firstName:
          type: string
        id:
          type: integer
          format: int64
        lastName:
          type: string
        nickname:
          type: string
        userCommercialComment:
          type: string
    Data:
      title: Data
      type: object
      properties:
        DestinationAirport:
          type: string
        DestinationCharges:
          $ref: '#/components/schemas/Charges'
        Equipment:
          type: string
        ExchangeRates:
          type: array
          items:
            $ref: '#/components/schemas/ExchangeRate'
        OriginAirport:
          type: string
        OriginCharges:
          $ref: '#/components/schemas/Charges'
        Request:
          $ref: '#/components/schemas/Request'
        Status:
          type: string
        SubTotal:
          type: string
    DefaultPriceItem:
      title: DefaultPriceItem
      type: object
      properties:
        amount:
          type: number
        amountEmpty:
          type: boolean
        completelyEmpty:
          type: boolean
        currency:
          type: string
        editMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        empty:
          type: boolean
        explainer:
          type: string
        notEmpty:
          type: boolean
        quantity:
          type: number
        quantityEmpty:
          type: boolean
        quantityIdentity:
          type: boolean
        quantityNotEmpty:
          type: boolean
        quantityUnit:
          type: string
          enum:
            - ABSOLUTE
            - TIME
            - PERCENTAGE
        total:
          type: number
        totalEmpty:
          type: boolean
    DeiceDto:
      title: DeiceDto
      type: object
      properties:
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        crew:
          type: array
          items:
            $ref: '#/components/schemas/UserSearchDto'
        deIcingHoldOverTimeEnd:
          type: string
          format: date-time
        deIcingHoldOverTimeStart:
          type: string
          format: date-time
        deIcingLiters:
          type: integer
          format: int32
        deIcingMix:
          type: integer
          format: int32
        deIcingOutsideAirTemperature:
          type: integer
          format: int32
        deIcingSignedBy:
          $ref: '#/components/schemas/UserSearchDto'
        deIcingSignedOn:
          type: string
        deIcingStart:
          type: string
          format: date-time
        deIcingType:
          type: string
          enum:
            - I
            - II
            - III
            - IV
        empty:
          type: boolean
        id:
          type: integer
          format: int64
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
    DeiceDto_1:
      title: DeiceDto_1
      type: object
      properties:
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        crew:
          type: array
          items:
            $ref: '#/components/schemas/UserSearchDto'
        deIcingHoldOverTimeEnd:
          type: string
          format: date-time
        deIcingHoldOverTimeStart:
          type: string
          format: date-time
        deIcingLiters:
          type: integer
          format: int32
        deIcingMix:
          type: integer
          format: int32
        deIcingOutsideAirTemperature:
          type: integer
          format: int32
        deIcingSignedBy:
          $ref: '#/components/schemas/UserSearchDto'
        deIcingSignedOn:
          type: string
        deIcingStart:
          type: string
          format: date-time
        deIcingType:
          type: string
          enum:
            - I
            - II
            - III
            - IV
        id:
          type: integer
          format: int64
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
    DeletedDto:
      title: DeletedDto
      type: object
      properties:
        deleted:
          type: boolean
    DepartureTimesDto:
      title: DepartureTimesDto
      type: object
      properties:
        blocksOff:
          type: string
          format: date-time
        cmdCheckin:
          type: boolean
        cmdLoggedTakeOffs:
          type: integer
          format: int32
        cmdStartTime:
          type: string
          format: date-time
        cmdTakeOffs:
          type: integer
          format: int32
        cmdTakeOffsNight:
          type: integer
          format: int32
        delayOffBlockReason:
          type: string
        delayOffBlockReasons:
          type: array
          items:
            type: string
        delayTakeOffReason:
          type: string
        delayTakeOffReasons:
          type: array
          items:
            type: string
        foCheckin:
          type: boolean
        foLoggedTakeOffs:
          type: integer
          format: int32
        foStartTime:
          type: string
          format: date-time
        foTakeOffs:
          type: integer
          format: int32
        foTakeOffsNight:
          type: integer
          format: int32
        pax:
          type: integer
          format: int32
        plannedPax:
          type: integer
          format: int32
        takeOff:
          type: string
          format: date-time
    DetailedFlightDto:
      title: DetailedFlightDto
      type: object
      properties:
        accountId:
          type: integer
          format: int64
        accountName:
          type: string
        accountReference:
          type: string
        accountTrigram:
          type: string
        aircraftAOC:
          $ref: '#/components/schemas/AocDto'
        aircraftCategory:
          type: string
        airportFrom:
          type: string
        airportTo:
          type: string
        blockOffEstLocal:
          type: string
          format: date-time
        blockOffEstUTC:
          type: string
          format: date-time
        blockOnEstLocal:
          type: string
          format: date-time
        blockOnEstUTC:
          type: string
          format: date-time
        blocksoffestimated:
          type: string
          format: date-time
        blocksonestimated:
          type: string
          format: date-time
        bookingIdentifier:
          type: string
        bookingReference:
          type: string
        customerFirstname:
          type: string
        customerId:
          type: string
        customerLastname:
          type: string
        customerTrigram:
          type: string
        dateFrom:
          type: string
          format: date-time
        dateTo:
          type: string
          format: date-time
        eta:
          type: string
          format: date-time
        etd:
          type: string
          format: date-time
        flightId:
          type: integer
          format: int64
        flightNumber:
          type: string
        flightNumberCompany:
          type: string
        flightStatus:
          type: string
        flightType:
          type: string
        fpl:
          $ref: '#/components/schemas/B2CFplDTO'
        fplType:
          type: string
          enum:
            - 'N'
            - G
            - X
            - M
            - S
        fuelArrival:
          type: number
          format: float
        fuelMassUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
            - LITER
        fuelOffBlock:
          type: number
          format: float
        fuelRemainigActual:
          type: number
          format: float
        operator:
          $ref: '#/components/schemas/ExternalOperatorBaseDto'
        paxNumber:
          type: integer
          format: int32
        paxReferences:
          type: array
          items:
            $ref: '#/components/schemas/TicketDto'
        postFlightClosed:
          type: boolean
        realAirportFrom:
          type: string
        realAirportTo:
          type: string
        realDateIN:
          type: string
          format: date-time
        realDateOFF:
          type: string
          format: date-time
        realDateON:
          type: string
          format: date-time
        realDateOUT:
          type: string
          format: date-time
        registrationNumber:
          type: string
        requestedAircraftType:
          type: string
          description: >-
            The requested aircraft type. `The property is only returned for
            bookings initiated via the API`
          enum:
            - CJ3
            - PC12
            - PC24
            - PC12/CJ3
            - PC12/PC24
            - CHART
            - SF50
        rescheduledDateFrom:
          type: string
          format: date-time
        rescheduledDateTo:
          type: string
          format: date-time
        status:
          type: string
          enum:
            - MANUAL
            - FAILED
            - AUTO
            - CANCELED
            - DISABLED
            - NEW
            - DRAFT
        tripNumber:
          type: integer
          format: int64
        upliftMass:
          type: number
          format: float
        userReference:
          type: string
        workflow:
          type: string
          enum:
            - COMMERCIAL
            - MAINTENANCE
            - PRIVATE
            - TRAINING
            - OWNER
            - INTERNAL
            - RESERVED
            - CHARTER
            - SUBCHARTER
            - SCHEDULED
            - AMBULANCE
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
            - CUSTOM6
            - BROKER
            - BROKER_SUBCHARTER
        workflowCustomName:
          type: string
    DocumentsDto:
      title: DocumentsDto
      type: object
      properties:
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        documents:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReferenceDto'
        flightLog:
          $ref: '#/components/schemas/BinaryReferenceDto'
        fmsUpdate:
          type: boolean
        fuel:
          $ref: '#/components/schemas/BinaryReferenceDto'
        id:
          type: integer
          format: int64
        occurence:
          type: boolean
        safaRampCheck:
          type: boolean
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        techLog:
          $ref: '#/components/schemas/BinaryReferenceDto'
    DtlModelDto:
      title: DtlModelDto
      type: object
      properties:
        close:
          type: string
          format: date-time
        closed:
          type: boolean
        dutyPeriod7:
          type: integer
          format: int32
        estimated:
          $ref: '#/components/schemas/DtlTimesDto'
        explainer:
          type: array
          items:
            $ref: '#/components/schemas/ExplainerMessage'
        extendedFdpNotPossible:
          type: boolean
        fdpExtension:
          type: boolean
        fdpWithExtension:
          type: integer
          format: int32
        id:
          type: integer
          format: int64
        max:
          $ref: '#/components/schemas/DtlTimesDto'
        maxDutyPeriod7:
          type: integer
          format: int64
        minFollowingRestPeriod:
          type: integer
          format: int32
        pilotRole:
          type: string
          enum:
            - CMD
            - FO
            - CC
            - MED1
            - ATPL
            - LST
            - AQ
            - OPCRH
            - PA
            - FA
            - CPL
            - DG
            - ESET
            - Sec
            - FF
            - ENL4
            - ENL5
            - ENL6
            - LC
            - OPC
            - LVTO
            - LV
            - RVSM
            - TRI
            - TRE
            - AUS
            - SQMM
            - SECG
            - BMVIT
            - EFB
            - GRT
            - ESE
            - OCC
            - OICC
            - PICC
            - DITCH
            - FAID
            - WINTER
            - BRNAV
            - MNPS_ETOPS
            - RACQ
            - ETOPS
            - TCAS
            - CRM
            - ASH
            - USER0
            - USER1
            - USER2
            - USER3
            - USER4
            - USER5
            - USER6
            - USER7
            - USER8
            - USER9
            - ENG
            - AUGM_CREW
            - ADD_CREW
            - CREW
            - IR
            - HW_OPS
            - PBN
            - PFI
            - FM
            - SEP
            - SEP_IR
            - FI_A
            - MEP
            - CR
            - RC
            - OBS
            - DHC
            - EX_CM
            - AUG_PIC
            - AUG_SIC
            - AUG_CRP
            - INSTRUCTOR
            - CHECK_AIRMAN
            - GROUND_INSTRUCTOR
            - AUG_FA
            - CA
            - MD
            - RN
            - MEDIC
            - MAINTENANCE
            - JUMPSEAT
            - LOAD_MASTER
            - OPS_CONTROL
            - FLIGHT_COORDINATOR
            - COURIER
            - NR
            - INSPECTOR
            - COMPANY_REP
            - SINGLE_PILOT
        postFlightRestIncrease:
          type: boolean
        reducedRestIsNotPossible:
          type: boolean
        reported:
          type: boolean
        splitDutyClose:
          type: boolean
        splitDutyCloseTime:
          type: string
          format: date-time
        splitDutyFdpAddon:
          type: integer
          format: int32
        splitDutyStart:
          type: boolean
        splitDutyStartTime:
          type: string
          format: date-time
        start:
          type: string
          format: date-time
        useReducedRest:
          type: boolean
        userId:
          type: integer
          format: int64
    DtlModelDtoV2:
      title: DtlModelDtoV2
      type: object
      properties:
        aoc:
          type: integer
          format: int64
        aocName:
          type: string
        augmentedCrew:
          type: boolean
        blockTime:
          $ref: '#/components/schemas/Value'
        canUseFdp1hExtension:
          type: boolean
        checkin:
          type: string
          format: date-time
        checkinActual:
          type: string
          format: date-time
        checkinDefault:
          type: string
          format: date-time
        checkout:
          type: string
          format: date-time
        checkoutActual:
          type: string
          format: date-time
        checkoutDefault:
          type: string
          format: date-time
        closed:
          type: boolean
        disabledFtFdpCalculation:
          type: boolean
        dp:
          $ref: '#/components/schemas/Value'
        dtlRegulation:
          type: string
          enum:
            - DEFAULT
            - FAA_FT_IN_24H
            - FAA_FT_IN_DP
            - DGAC_FDTL
            - TAIWAN_MOTC
            - CAR_700
            - AUSTRALIA_CAO_48_1
        explainerMap:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/ExplainerMessage'
        extensionLimitations:
          type: string
          enum:
            - NOT_ALLOWED
            - NO_LIMITATIONS
            - ORO_FTL_EU_OPS
            - CAR_FEX
            - AU_CAO_48_1
        fdp:
          $ref: '#/components/schemas/Value'
        fdpEqualsDp:
          type: boolean
        fdpExtension:
          type: boolean
        fdpExtensionIsNotPossible:
          type: boolean
        fdpExtensionOption:
          type: string
          enum:
            - NOT_POSSIBLE
            - POSSIBLE
            - POSSIBLE_BY_ADMIN
            - READ_ONLY
            - NOT_SUPPORTED
        flightTime:
          $ref: '#/components/schemas/Value'
        flightTimeIn24h:
          $ref: '#/components/schemas/Value'
        fullDutyState:
          $ref: '#/components/schemas/DtlModelDtoV2'
        inViolation:
          type: boolean
        lastFlightActualsEntered:
          type: boolean
        lastFlightId:
          type: integer
          format: int64
        limitationGroups:
          type: object
          additionalProperties:
            type: array
            items:
              $ref: '#/components/schemas/LimitationInfo'
        limitations:
          type: object
          additionalProperties:
            type: integer
            format: int64
        nextWeeklyRestDueFor:
          type: string
          format: date-time
        pilotRole:
          type: string
          enum:
            - CMD
            - FO
            - CC
            - MED1
            - ATPL
            - LST
            - AQ
            - OPCRH
            - PA
            - FA
            - CPL
            - DG
            - ESET
            - Sec
            - FF
            - ENL4
            - ENL5
            - ENL6
            - LC
            - OPC
            - LVTO
            - LV
            - RVSM
            - TRI
            - TRE
            - AUS
            - SQMM
            - SECG
            - BMVIT
            - EFB
            - GRT
            - ESE
            - OCC
            - OICC
            - PICC
            - DITCH
            - FAID
            - WINTER
            - BRNAV
            - MNPS_ETOPS
            - RACQ
            - ETOPS
            - TCAS
            - CRM
            - ASH
            - USER0
            - USER1
            - USER2
            - USER3
            - USER4
            - USER5
            - USER6
            - USER7
            - USER8
            - USER9
            - ENG
            - AUGM_CREW
            - ADD_CREW
            - CREW
            - IR
            - HW_OPS
            - PBN
            - PFI
            - FM
            - SEP
            - SEP_IR
            - FI_A
            - MEP
            - CR
            - RC
            - OBS
            - DHC
            - EX_CM
            - AUG_PIC
            - AUG_SIC
            - AUG_CRP
            - INSTRUCTOR
            - CHECK_AIRMAN
            - GROUND_INSTRUCTOR
            - AUG_FA
            - CA
            - MD
            - RN
            - MEDIC
            - MAINTENANCE
            - JUMPSEAT
            - LOAD_MASTER
            - OPS_CONTROL
            - FLIGHT_COORDINATOR
            - COURIER
            - NR
            - INSPECTOR
            - COMPANY_REP
            - SINGLE_PILOT
        postFlightRestIncrease:
          type: boolean
        reducedCheckin:
          type: string
          format: date-time
        reducedCheckout:
          type: string
          format: date-time
        reducedRestEnabled:
          type: boolean
        reducedRestOffBySystem:
          type: boolean
        reducedRestType:
          type: string
          enum:
            - Q_CAT_FR
            - Q_NCC_FR
            - ORO_FTL
            - CAR_700_40
            - CAO481_A2
            - CAO481_A4
            - CAO481_A4B
        refDutyId:
          type: integer
          format: int64
        reported:
          type: boolean
        restAfterDuty:
          $ref: '#/components/schemas/Value'
        restBeforeDuty:
          $ref: '#/components/schemas/Value'
        restInSuitableAccommodationApplicable:
          type: boolean
        restInSuitableAccommodationEnabled:
          type: boolean
        restReductionIsNotPossible:
          type: boolean
        restTravelTime:
          type: integer
          format: int32
        splitDutyClose:
          type: boolean
        splitDutyClosed:
          type: string
          format: date-time
        splitDutyNotPossible:
          type: boolean
        splitDutyStart:
          type: boolean
        splitDutyStarted:
          type: string
          format: date-time
        startOfWeeklyFirstDuty:
          type: string
          format: date-time
        suitableAccommodation:
          type: boolean
        suitableAccommodationEnabled:
          type: boolean
        useReducedRest:
          type: boolean
        userId:
          type: integer
          format: int64
        weeklyHoursLeft:
          type: integer
          format: int64
        weeklyRestCalcEnabled:
          type: boolean
    DtlModelDtoV2_1:
      title: DtlModelDtoV2_1
      type: object
      properties:
        aoc:
          type: integer
          format: int64
        aocName:
          type: string
        augmentedCrew:
          type: boolean
        blockTime:
          $ref: '#/components/schemas/Value'
        canUseFdp1hExtension:
          type: boolean
        checkin:
          type: string
          format: date-time
        checkinActual:
          type: string
          format: date-time
        checkinDefault:
          type: string
          format: date-time
        checkout:
          type: string
          format: date-time
        checkoutActual:
          type: string
          format: date-time
        checkoutDefault:
          type: string
          format: date-time
        closed:
          type: boolean
        disabledFtFdpCalculation:
          type: boolean
        dp:
          $ref: '#/components/schemas/Value'
        dtlRegulation:
          type: string
          enum:
            - DEFAULT
            - FAA_FT_IN_24H
            - FAA_FT_IN_DP
            - DGAC_FDTL
            - TAIWAN_MOTC
            - CAR_700
            - AUSTRALIA_CAO_48_1
        explainerMap:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/ExplainerMessage_1'
        extensionLimitations:
          type: string
          enum:
            - NOT_ALLOWED
            - NO_LIMITATIONS
            - ORO_FTL_EU_OPS
            - CAR_FEX
            - AU_CAO_48_1
        fdp:
          $ref: '#/components/schemas/Value'
        fdpEqualsDp:
          type: boolean
        fdpExtension:
          type: boolean
        fdpExtensionOption:
          type: string
          enum:
            - NOT_POSSIBLE
            - POSSIBLE
            - POSSIBLE_BY_ADMIN
            - READ_ONLY
            - NOT_SUPPORTED
        flightTime:
          $ref: '#/components/schemas/Value'
        flightTimeIn24h:
          $ref: '#/components/schemas/Value'
        fullDutyState:
          $ref: '#/components/schemas/DtlModelDtoV2_1'
        inViolation:
          type: boolean
        lastFlightActualsEntered:
          type: boolean
        lastFlightId:
          type: integer
          format: int64
        limitationGroups:
          type: object
          additionalProperties:
            type: array
            items:
              $ref: '#/components/schemas/LimitationInfo'
        limitations:
          type: object
          additionalProperties:
            type: integer
            format: int64
        nextWeeklyRestDueFor:
          type: string
          format: date-time
        pilotRole:
          type: string
          enum:
            - CMD
            - FO
            - CC
            - MED1
            - ATPL
            - LST
            - AQ
            - OPCRH
            - PA
            - FA
            - CPL
            - DG
            - ESET
            - Sec
            - FF
            - ENL4
            - ENL5
            - ENL6
            - LC
            - OPC
            - LVTO
            - LV
            - RVSM
            - TRI
            - TRE
            - AUS
            - SQMM
            - SECG
            - BMVIT
            - EFB
            - GRT
            - ESE
            - OCC
            - OICC
            - PICC
            - DITCH
            - FAID
            - WINTER
            - BRNAV
            - MNPS_ETOPS
            - RACQ
            - ETOPS
            - TCAS
            - CRM
            - ASH
            - USER0
            - USER1
            - USER2
            - USER3
            - USER4
            - USER5
            - USER6
            - USER7
            - USER8
            - USER9
            - ENG
            - AUGM_CREW
            - ADD_CREW
            - CREW
            - IR
            - HW_OPS
            - PBN
            - PFI
            - FM
            - SEP
            - SEP_IR
            - FI_A
            - MEP
            - CR
            - RC
            - OBS
            - DHC
            - EX_CM
            - AUG_PIC
            - AUG_SIC
            - AUG_CRP
            - INSTRUCTOR
            - CHECK_AIRMAN
            - GROUND_INSTRUCTOR
            - AUG_FA
            - CA
            - MD
            - RN
            - MEDIC
            - MAINTENANCE
            - JUMPSEAT
            - LOAD_MASTER
            - OPS_CONTROL
            - FLIGHT_COORDINATOR
            - COURIER
            - NR
            - INSPECTOR
            - COMPANY_REP
            - SINGLE_PILOT
        postFlightRestIncrease:
          type: boolean
        reducedCheckin:
          type: string
          format: date-time
        reducedCheckout:
          type: string
          format: date-time
        reducedRestEnabled:
          type: boolean
        reducedRestOffBySystem:
          type: boolean
        reducedRestType:
          type: string
          enum:
            - Q_CAT_FR
            - Q_NCC_FR
            - ORO_FTL
            - CAR_700_40
            - CAO481_A2
            - CAO481_A4
            - CAO481_A4B
        refDutyId:
          type: integer
          format: int64
        reported:
          type: boolean
        restAfterDuty:
          $ref: '#/components/schemas/Value'
        restBeforeDuty:
          $ref: '#/components/schemas/Value'
        restInSuitableAccommodationApplicable:
          type: boolean
        restInSuitableAccommodationEnabled:
          type: boolean
        restReductionIsNotPossible:
          type: boolean
        restTravelTime:
          type: integer
          format: int32
        splitDutyClose:
          type: boolean
        splitDutyClosed:
          type: string
          format: date-time
        splitDutyNotPossible:
          type: boolean
        splitDutyStart:
          type: boolean
        splitDutyStarted:
          type: string
          format: date-time
        startOfWeeklyFirstDuty:
          type: string
          format: date-time
        suitableAccommodation:
          type: boolean
        suitableAccommodationEnabled:
          type: boolean
        useReducedRest:
          type: boolean
        userId:
          type: integer
          format: int64
        weeklyHoursLeft:
          type: integer
          format: int64
        weeklyRestCalcEnabled:
          type: boolean
    DtlTimesDto:
      title: DtlTimesDto
      type: object
      properties:
        duty:
          type: integer
          format: int32
        dutyExtended:
          type: integer
          format: int32
        dutyExtendedSplitDuty:
          type: integer
          format: int32
        rest:
          type: integer
          format: int32
    Duration_1:
      title: Duration_1
      type: object
      properties:
        nano:
          type: integer
          format: int32
        negative:
          type: boolean
        positive:
          type: boolean
        seconds:
          type: integer
          format: int64
        units:
          type: array
          items:
            $ref: '#/components/schemas/TemporalUnit_1'
        zero:
          type: boolean
    DutyTimeLimDto:
      title: DutyTimeLimDto
      type: object
      properties:
        allowedReducedCheckin:
          type: boolean
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        dtlActuals:
          type: array
          items:
            $ref: '#/components/schemas/DtlModelDto'
        dtls:
          type: array
          items:
            $ref: '#/components/schemas/DtlModelDto'
        dtls2:
          type: array
          items:
            $ref: '#/components/schemas/DtlModelDtoV2'
        id:
          type: integer
          format: int64
        manualStatus:
          type: boolean
        operationType:
          $ref: '#/components/schemas/OperationTypeDto'
        remarks:
          type: string
        splitDutyType:
          type: string
          enum:
            - DEFAULT
            - INCREASE_REST
            - ARCUS
            - NO_SPLIT
            - GREEK
            - MALTA
            - FRENCH
            - FIXED_FDP_INCREASE
            - LUXEMBOURG
            - LUXEMBOURG_100
            - SAN_MARINO
            - CAP_371
            - CANADA700
            - CANADA604
            - ITALIAN
            - VLJ_NCC
            - UAE_BREAK
            - LASM
            - BL_518
            - INDIA_CAR_7_J_IV_10
            - FAR_117
            - CAR_700
            - CANADA700_FEX
            - CANADA604_FEX
            - CAA_CZ
            - SAN_MARINO_CUSTOM
            - ACASS
            - AU_CAO481_A2
            - AU_CAO481_A3
            - AU_CAO481_A4
            - AU_CAO481_A6
            - AU_CAO481_A4B
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
    Engine:
      title: Engine
      type: object
      properties:
        date:
          type: string
          format: date-time
        externalMaintenanceSync:
          type: boolean
        id:
          type: integer
          format: int64
        initialCycles:
          type: integer
          format: int32
        initialHours:
          type: integer
          format: int64
        serial:
          type: string
        totalCycles:
          type: integer
          format: int32
        totalHours:
          type: integer
          format: int64
        uuid:
          type: string
    EstimatedTimesDto:
      title: EstimatedTimesDto
      type: object
      properties:
        blocksOff:
          type: number
          description: Epoch time in milliseconds
        blocksOn:
          type: number
          description: Epoch time in milliseconds
        estimatedPostflightPhase:
          type: integer
          format: int32
        estimatedPreflightPhase:
          type: integer
          format: int32
        landing:
          type: number
          description: Epoch time in milliseconds
        takeOff:
          type: number
          description: Epoch time in milliseconds
    ExchangeRate:
      title: ExchangeRate
      type: object
      properties:
        CurrencyFrom:
          type: string
        CurrencyTo:
          type: string
        ExchangeRate:
          type: number
          format: double
    ExchangedAirportFuelDto:
      title: ExchangedAirportFuelDto
      type: object
      properties:
        contractor:
          type: string
          description: Contractor
          example: Contractor Name
        created:
          type: number
          description: Date created in Epoch format
          example: 1608620381046
        currency:
          type: string
          description: Currency
          example: EUR
        email:
          type: string
          description: Email
          example: example@fl3xxexample.com
        eurPerLiter:
          type: number
          description: Price per liter in EUR
          example: 2.2
        eurPerLiterComercial:
          type: number
          description: Commercial price per liter in EUR
          example: 2.2
        exchangeRate:
          type: number
          description: Exchange rate
          example: 1
        exchangedCurrency:
          type: string
          description: Exchanged currency
          example: EUR
        exchangedPrice:
          type: number
          description: Exchanged price
          example: 8.3279
        exchangedPriceComercial:
          type: number
          description: Commercial Exchanged price
          example: 7.1923
        exchangedUnit:
          type: string
          description: Exchanged unit
          example: GALLON_USA
          enum:
            - LITER
            - GALLON_USA
        feeWaiverVolume:
          type: number
          format: double
        feesPerUsdg:
          type: number
        fromVolume:
          type: number
          format: double
        id:
          type: integer
          format: int64
        intoPlane:
          type: string
        netUsdg:
          type: number
        payment:
          type: string
        phone:
          type: string
        preArrival:
          type: string
        priceIndex:
          type: number
        priceIndexComercial:
          type: number
        pricePerUnit:
          type: number
        pricePerUnitComercial:
          type: number
        remarks:
          type: string
        source:
          type: string
        sourceType:
          type: string
          enum:
            - FL3XX
            - AVIAA
            - WFS
            - SFS
            - ATL
            - AVFUEL
            - AEG
            - AIR_BP
            - EVEREST
            - PARAGON
            - UAS
            - EVO
            - F1ST
            - MERC
            - PHILLIPS
            - FUEL_AND_MORE
            - TITAN
            - CLICK
            - VALCORA
        toVolume:
          type: number
          format: double
        totalUsdg:
          type: number
        unit:
          type: string
          description: unit
          example: LITER
          enum:
            - LITER
            - GALLON_USA
        vendorId:
          type: string
          description: Vendor ID
    Explainer:
      title: Explainer
      type: object
      discriminator:
        propertyName: type
    ExplainerMessage:
      title: ExplainerMessage
      type: object
      properties:
        header:
          type: string
        order:
          type: integer
          format: int32
        text:
          type: array
          items:
            type: string
        warning:
          type: boolean
    ExplainerMessage_1:
      title: ExplainerMessage_1
      type: object
      properties:
        header:
          type: string
        order:
          type: integer
          format: int32
        warning:
          type: boolean
    ExtendedUserSearchDto:
      title: ExtendedUserSearchDto
      type: object
      properties:
        accountName:
          type: string
        birthDate:
          type: string
          format: date-time
        birthPlace:
          type: string
        catering:
          type: string
        emailAddress:
          type: string
        firstName:
          type: string
        gender:
          type: string
          enum:
            - FEMALE
            - MALE
            - OTHER
        height:
          type: number
          format: float
        id:
          type: integer
          format: int64
        idsCount:
          type: integer
          format: int64
        important:
          type: string
        interest:
          type: string
        jobTitle:
          type: string
        lastName:
          type: string
        middleName:
          type: string
        nationalityCountryName:
          type: string
        nickname:
          type: string
        personnelNumber:
          type: string
        phoneNumber:
          type: string
        pilot:
          type: boolean
        preferences:
          type: array
          items:
            $ref: '#/components/schemas/UserPreferenceDto'
        salutation:
          type: string
          enum:
            - Mr
            - Mrs
            - Miss
            - Ms
            - unDef
            - Dr
            - Ing
            - Prof
            - Mag
            - Captain
            - Prince
            - Princess
            - Shaikh
            - Shaikhah
            - HRH
            - HE
            - Sir
            - Lady
            - Mx
            - HM
            - Sr
            - Fr
            - Br
            - Rev
            - Dr_Med
            - Prof_Dr
            - Lord
        status:
          type: string
          enum:
            - ACTIVE
            - DELETED
            - INACTIVE
            - MIGRATED_US
        userCharacteristics:
          $ref: '#/components/schemas/UserCharacteristicsDto'
        vaccinations:
          type: array
          items:
            $ref: '#/components/schemas/VaccinationDto'
        weight:
          type: number
          format: float
    ExtendedUserSearchDto_1:
      title: ExtendedUserSearchDto_1
      type: object
      properties:
        accountName:
          type: string
        birthDate:
          type: string
          format: date-time
        birthPlace:
          type: string
        catering:
          type: string
        emailAddress:
          type: string
        firstName:
          type: string
        gender:
          type: string
          enum:
            - FEMALE
            - MALE
            - OTHER
        height:
          type: number
          format: float
        id:
          type: integer
          format: int64
        idsCount:
          type: integer
          format: int64
        important:
          type: string
        interest:
          type: string
        jobTitle:
          type: string
        lastName:
          type: string
        middleName:
          type: string
        nationalityCountryName:
          type: string
        nickname:
          type: string
        personnelNumber:
          type: string
        phoneNumber:
          type: string
        pilot:
          type: boolean
        preferences:
          type: array
          items:
            $ref: '#/components/schemas/UserPreferenceDto_1'
        salutation:
          type: string
          enum:
            - Mr
            - Mrs
            - Miss
            - Ms
            - unDef
            - Dr
            - Ing
            - Prof
            - Mag
            - Captain
            - Prince
            - Princess
            - Shaikh
            - Shaikhah
            - HRH
            - HE
            - Sir
            - Lady
            - Mx
            - HM
            - Sr
            - Fr
            - Br
            - Rev
            - Dr_Med
            - Prof_Dr
            - Lord
        status:
          type: string
          enum:
            - ACTIVE
            - DELETED
            - INACTIVE
            - MIGRATED_US
        userCharacteristics:
          $ref: '#/components/schemas/UserCharacteristicsDto'
        vaccinations:
          type: array
          items:
            $ref: '#/components/schemas/VaccinationDto'
        weight:
          type: number
          format: float
    ExternalFuelDto:
      type: object
      properties:
        id:
          type: integer
          format: int64
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        permitProviderId:
          type: integer
          format: int64
        deliveryDate:
          type: string
          format: date-time
        paymentType:
          type: string
          enum:
            - FUEL_CARD
            - CREDIT_CARD
            - ACCOUNT
            - CASH
            - RELEASE
            - CONTRACT
        currency:
          type: string
        upliftUnit:
          type: string
          enum:
            - LITER
            - GALLON_USA
        quantity:
          type: integer
          format: int32
        fuelType:
          type: string
          enum:
            - JET_A1
            - JET_A
            - JET_B
            - JP4
            - JP5
            - JP8
            - JP54
            - AVGAS
            - UNLEADED_FUEL
        fuelReleaseDocument:
          $ref: '#/components/schemas/B2CBinaryReferenceDTO'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/B2CBinaryReferenceDTO'
        notes:
          type: string
    ExternalFuelDto_1:
      title: ExternalFuelDto_1
      type: object
      properties:
        id:
          type: integer
          format: int64
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        permitProviderId:
          type: integer
          format: int64
        deliveryDate:
          type: string
          format: date-time
        paymentType:
          type: string
          enum:
            - FUEL_CARD
            - CREDIT_CARD
            - ACCOUNT
            - CASH
            - RELEASE
            - CONTRACT
        currency:
          type: string
        upliftUnit:
          type: string
          enum:
            - LITER
            - GALLON_USA
        quantity:
          type: integer
          format: int32
        fuelType:
          type: string
          enum:
            - JET_A1
            - JET_A
            - JET_B
            - JP4
            - JP5
            - JP8
            - JP54
            - AVGAS
            - UNLEADED_FUEL
        notes:
          type: string
    ExternalFuelsDto:
      title: ExternalFuelsDto
      type: object
      properties:
        arrivalFuel:
          $ref: '#/components/schemas/ExternalFuelDto'
        departureFuel:
          $ref: '#/components/schemas/ExternalFuelDto'
    ExternalFuelsDto_1:
      title: ExternalFuelsDto_1
      type: object
      properties:
        departureFuel:
          $ref: '#/components/schemas/ExternalFuelDto_1'
        arrivalFuel:
          $ref: '#/components/schemas/ExternalFuelDto_1'
    ExternalMigrationDto:
      title: ExternalMigrationDto
      type: object
      properties:
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        documents:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReferenceSharedDto'
        id:
          type: integer
          format: int64
        notes:
          type: string
        permitProviderId:
          type: integer
          format: int64
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
    ExternalMigrationDto_1:
      title: ExternalMigrationDto_1
      type: object
      properties:
        id:
          type: integer
          format: int64
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        permitProviderId:
          type: integer
          format: int64
        notes:
          type: string
        documents:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReferenceSharedDto'
    ExternalMigrationsDto:
      title: ExternalMigrationsDto
      type: object
      properties:
        arrivalMigration:
          $ref: '#/components/schemas/ExternalMigrationDto'
        departureMigration:
          $ref: '#/components/schemas/ExternalMigrationDto'
    ExternalMigrationsDto_1:
      title: ExternalMigrationsDto_1
      type: object
      properties:
        departureMigration:
          $ref: '#/components/schemas/ExternalMigrationDto_1'
        arrivalMigration:
          $ref: '#/components/schemas/ExternalMigrationDto_1'
    ExternalOperatorBaseDto:
      title: ExternalOperatorBaseDto
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
    ExternalSplitDto:
      title: ExternalSplitDto
      type: object
      properties:
        bookingId:
          type: integer
          format: int64
          description: Booking ID
          example: 107853
        bookingIdentifier:
          type: string
          description: Custom booking Identifier
          example: PIOJG
        split:
          type: array
          items:
            $ref: '#/components/schemas/ExternalSplitItemDto'
    ExternalSplitItemDto:
      title: ExternalSplitItemDto
      type: object
      properties:
        category:
          type: string
          description: Category of the split
          example: COMMISSION
          enum:
            - DEMURRAGE_PENALTIES
            - SPLIT
            - BLOCK_TIME_DIFFERENCE
            - FUEL_SURCHARGE
            - BOOKING_FEE
            - LEG_FEE
            - DAILY_FEE
            - FUEL_STOP_FEE
            - FLIGHT_ATTENDANT_FEE
            - INTERNATIONAL_FEE
            - DEPARTURE_FEE
            - LANDING_FEE
            - HANDLING_FEE
            - OVERNIGHT_FEE
            - CREW_SWAP_FEE
            - PARKING_FEE
            - CATERING_FEE
            - MAXIMUM_ALLOWED_DISCOUNT
            - DISCOUNT
            - SURCHARGE
            - CUSTOM
            - ACCOUNT_DISCOUNT
            - REVENUE_FEE
            - FERRY_FEE
            - COMMISSION
            - MECHANICAL_RECOVERY
            - MINIMUM_USE
            - TOTAL
        description:
          type: string
          description: Notes about the split
          example: Commission for the booking
        legId:
          type: integer
          format: int64
          description: Leg ID
          example: 107853
        cost:
          $ref: '#/components/schemas/ExternalSplitRelatedItemDto'
        owner:
          $ref: '#/components/schemas/ExternalSplitRelatedItemDto'
        price:
          $ref: '#/components/schemas/ExternalSplitRelatedItemDto'
        profitability:
          $ref: '#/components/schemas/ExternalSplitRelatedItemDto'
    ExternalSplitRelatedItemDto:
      title: ExternalSplitRelatedItemDto
      type: object
      properties:
        amount:
          type: number
          description: Amount
          example: 100
        quantity:
          type: number
          description: Quantity
          example: 1
        quantityUnit:
          type: string
          description: Quantity unit
          example: ABSOLUTE
          enum:
            - ABSOLUTE
            - TIME
            - PERCENTAGE
        total:
          type: number
          description: Total
          example: 100
    Flight:
      title: Flight
      type: object
      properties:
        acknowledgementDate:
          type: string
          format: date-time
        actualAircraft:
          $ref: '#/components/schemas/Aircraft'
        actualBlockTime:
          type: integer
          format: int32
        actualOperatorWorkflow:
          $ref: '#/components/schemas/OperatorWorkflow'
        aircraft:
          $ref: '#/components/schemas/Aircraft'
        aircraftFlights:
          type: array
          items:
            $ref: '#/components/schemas/AircraftFlight'
        alternateDepartureAirport:
          $ref: '#/components/schemas/Airport'
        alternateDepartureAirportFFCApproved:
          type: boolean
        alternateDepartureAirportNotes:
          type: string
        alternateFirstArrivalAirport:
          $ref: '#/components/schemas/Airport'
        alternateFirstArrivalAirportFFCApproved:
          type: boolean
        alternateFirstArrivalAirportNotes:
          type: string
        alternateSecondArrivalAirport:
          $ref: '#/components/schemas/Airport'
        alternateSecondArrivalAirportFFCApproved:
          type: boolean
        alternateSecondArrivalAirportNotes:
          type: string
        animal:
          type: array
          items:
            $ref: '#/components/schemas/Animal'
        arincBlocksOff:
          type: string
          format: date-time
        arrSlotEndTime:
          type: string
          format: date-time
        arrSlotStartTime:
          type: string
          format: date-time
        arrivalAirportFFCApproved:
          type: boolean
        arrivalAirportNotes:
          type: string
        arrivalMvtPresent:
          type: boolean
        bizflightFlightType:
          type: string
          enum:
            - PAX
            - POS
            - SUB_CHARTER_PAX
            - SUB_CHARTER_POS
            - CARGO
        bizflightLegReference:
          type: string
        blocksOff:
          type: string
          format: date-time
        blocksOffActual:
          type: string
          format: date-time
        blocksOffActualSource:
          type: string
          enum:
            - FLO
            - ARINC
            - ADS_B
            - HONEYWELL
            - HERMES
            - SATCOM_DIRECT
        blocksOffActualZT:
          type: string
          format: date-time
        blocksOffEstimated:
          type: string
          format: date-time
        blocksOffEstimatedZT:
          type: string
          format: date-time
        blocksOffZT:
          type: string
          format: date-time
        blocksOn:
          type: string
          format: date-time
        blocksOnActual:
          type: string
          format: date-time
        blocksOnActualSource:
          type: string
          enum:
            - FLO
            - ARINC
            - ADS_B
            - HONEYWELL
            - HERMES
            - SATCOM_DIRECT
        blocksOnActualZT:
          type: string
          format: date-time
        blocksOnEstimated:
          type: string
          format: date-time
        blocksOnEstimatedZT:
          type: string
          format: date-time
        blocksOnWithoutEstimates:
          type: string
          format: date-time
        blocksOnZT:
          type: string
          format: date-time
        booking:
          $ref: '#/components/schemas/Booking'
        cancelled:
          type: boolean
        cargo:
          type: array
          items:
            $ref: '#/components/schemas/Cargo'
        cateringCount:
          type: integer
          format: int32
        cfmuCalcTakeOff:
          type: string
          format: date-time
        citypair:
          $ref: '#/components/schemas/Citypair'
        creationDate:
          type: string
          format: date-time
        creationDatePropertyName:
          type: string
        creationDateZT:
          type: string
          format: date-time
        creationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        crewNumber:
          type: integer
          format: int32
        depSlotEndTime:
          type: string
          format: date-time
        depSlotStartTime:
          type: string
          format: date-time
        departureAirportFFCApproved:
          type: boolean
        departureAirportNotes:
          type: string
        diversion:
          $ref: '#/components/schemas/Airport'
        docFlightTechnicalLog:
          $ref: '#/components/schemas/BinaryReference_1'
        docNotam:
          $ref: '#/components/schemas/BinaryReference_1'
        domesticFlight:
          type: boolean
        earliestBlocksOff:
          type: string
          format: date-time
        earliestBlocksOffZT:
          type: string
          format: date-time
        externalId:
          type: string
        externalReference:
          type: string
        feasibilityCheckApprovingDate:
          type: string
          format: date-time
        feasibilityCheckApprovingUser:
          $ref: '#/components/schemas/User'
        feasibilityCheckStatus:
          type: string
          enum:
            - REQUESTED
            - APPROVED
            - DECLINED
        fixedAircraft:
          $ref: '#/components/schemas/Aircraft'
        fixedBlocksOffEstimated:
          type: string
          format: date-time
        flightConversations:
          type: array
          items:
            $ref: '#/components/schemas/FlightConversation'
        flightDefectReport:
          $ref: '#/components/schemas/FlightDefectReport'
        flightExecution:
          $ref: '#/components/schemas/FlightExecution'
        flightMessages:
          type: array
          items:
            $ref: '#/components/schemas/SmtpMessage'
        flightNumber:
          type: string
        flightNumberSource:
          type: string
          enum:
            - FLO
            - MANUAL
        flightServices:
          type: array
          items:
            $ref: '#/components/schemas/FlightService'
        flightid:
          type: integer
          format: int64
        ftlComments:
          type: string
        id:
          type: integer
          format: int64
        internationalFlight:
          type: boolean
        interval:
          $ref: '#/components/schemas/Interval'
        isAugmentedCrewRequired:
          type: boolean
        journeyLog:
          type: string
        landedAirport:
          type: integer
          format: int64
        landing:
          type: string
          format: date-time
        landingActual:
          type: string
          format: date-time
        landingActualSource:
          type: string
          enum:
            - FLO
            - ARINC
            - ADS_B
            - HONEYWELL
            - HERMES
            - SATCOM_DIRECT
        landingActualZT:
          type: string
          format: date-time
        landingEstimated:
          type: string
          format: date-time
        landingEstimatedZT:
          type: string
          format: date-time
        landingZT:
          type: string
          format: date-time
        leg:
          $ref: '#/components/schemas/Leg'
        ltFlight:
          type: boolean
        manualBlockTime:
          type: integer
          format: int32
        manualBlockTimeEnabled:
          type: boolean
        manuallyDispatchedAircraft:
          type: boolean
        maxCargo:
          type: number
          format: float
        modificationDate:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        mvtBlocksOffActual:
          type: string
          format: date-time
        mvtBlocksOffEst:
          type: string
          format: date-time
        mvtBlocksOnActual:
          type: string
          format: date-time
        mvtBlocksOnEst:
          type: string
          format: date-time
        mvtLandingActual:
          type: string
          format: date-time
        mvtTakeOffActual:
          type: string
          format: date-time
        nextFlightNumber:
          type: string
        offerLog:
          type: string
        pairedFlight:
          $ref: '#/components/schemas/Flight'
        paxFlight:
          $ref: '#/components/schemas/Flight'
        paxNumber:
          type: integer
          format: int32
        pilotFlights:
          type: array
          items:
            $ref: '#/components/schemas/PilotFlight'
        posFlight:
          $ref: '#/components/schemas/Flight'
        possibleRevise:
          type: boolean
        readByCrewMember:
          $ref: '#/components/schemas/User'
        readFromCrewApp:
          type: string
          format: date-time
        relevant:
          type: boolean
        revisionPerson:
          $ref: '#/components/schemas/User'
        setup:
          type: boolean
        status:
          type: string
          enum:
            - MANUAL
            - FAILED
            - AUTO
            - CANCELED
            - DISABLED
            - NEW
            - DRAFT
        statusBeforeCancel:
          type: string
          enum:
            - MANUAL
            - FAILED
            - AUTO
            - CANCELED
            - DISABLED
            - NEW
            - DRAFT
        takeOff:
          type: string
          format: date-time
        takeOffActual:
          type: string
          format: date-time
        takeOffActualSource:
          type: string
          enum:
            - FLO
            - ARINC
            - ADS_B
            - HONEYWELL
            - HERMES
            - SATCOM_DIRECT
        takeOffActualZT:
          type: string
          format: date-time
        takeOffEstimated:
          type: string
          format: date-time
        takeOffEstimatedZT:
          type: string
          format: date-time
        takeOffZT:
          type: string
          format: date-time
        type:
          type: string
          enum:
            - PAX
            - POS
            - SUB_CHARTER_PAX
            - SUB_CHARTER_POS
            - CARGO
        uuid:
          type: string
        valid:
          type: boolean
        validPilotFlights:
          type: array
          items:
            $ref: '#/components/schemas/PilotFlight'
        worstStatus:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
    FlightAirportInfoDto:
      title: FlightAirportInfoDto
      type: object
      properties:
        airportElevation:
          type: number
          format: double
        airportid:
          type: integer
          format: int64
        alternates:
          type: array
          items:
            type: string
        category:
          type: string
          enum:
            - A
            - B
            - C
            - NC
        countryIso2:
          type: string
        danger:
          type: boolean
        faa:
          type: string
        handler:
          $ref: '#/components/schemas/AirportServiceBaseDto'
        iata:
          type: string
        icao:
          type: string
        latitude:
          type: number
          format: double
        localIdentifier:
          type: string
        longestRunwayLength:
          type: number
          format: double
        longitude:
          type: number
          format: double
        name:
          type: string
        pilotQualification:
          type: boolean
        requestedHandler:
          $ref: '#/components/schemas/AirportServiceBaseDto'
        rescueAndFireFightingCategory:
          type: string
          enum:
            - A_1
            - A_2
            - A_3
            - A_4
            - A_5
            - A_6
            - A_7
            - A_8
            - A_9
            - A_10
            - NONE_AIRCRAFT
        servedCity:
          type: string
        timeZone:
          type: string
        warning:
          type: boolean
        widestRunwayWidth:
          type: number
          format: double
    FlightAirportInfoDto_1:
      title: FlightAirportInfoDto_1
      type: object
      properties:
        airportElevation:
          type: number
          format: double
        airportid:
          type: integer
          format: int64
        alternates:
          type: array
          items:
            type: string
        category:
          type: string
          enum:
            - A
            - B
            - C
            - NC
        countryIso2:
          type: string
        danger:
          type: boolean
        faa:
          type: string
        handler:
          $ref: '#/components/schemas/AirportServiceBaseDto_1'
        iata:
          type: string
        icao:
          type: string
        latitude:
          type: number
          format: double
        localIdentifier:
          type: string
        longestRunwayLength:
          type: number
          format: double
        longitude:
          type: number
          format: double
        name:
          type: string
        pilotQualification:
          type: boolean
        requestedHandler:
          $ref: '#/components/schemas/AirportServiceBaseDto_1'
        rescueAndFireFightingCategory:
          type: string
          enum:
            - A_1
            - A_2
            - A_3
            - A_4
            - A_5
            - A_6
            - A_7
            - A_8
            - A_9
            - A_10
            - NONE_AIRCRAFT
        servedCity:
          type: string
        timeZone:
          type: string
        warning:
          type: boolean
        widestRunwayWidth:
          type: number
          format: double
    FlightConversation:
      title: FlightConversation
      type: object
      properties:
        attachments:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReference_1'
        bcc:
          type: string
        body:
          type: string
        cc:
          type: string
        created:
          type: string
          format: date-time
        creationDate:
          type: string
          format: date-time
        creationDatePropertyName:
          type: string
        creationDateZT:
          type: string
          format: date-time
        creationUser:
          $ref: '#/components/schemas/User'
        creationUserPropertyName:
          type: string
        creationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        edited:
          type: boolean
        flight:
          $ref: '#/components/schemas/Flight'
        flightConversationid:
          type: integer
          format: int64
        from:
          type: string
        id:
          type: integer
          format: int64
        sentBy:
          $ref: '#/components/schemas/User'
        subject:
          type: string
        to:
          $ref: '#/components/schemas/User'
        toTxt:
          type: string
        type:
          type: string
          enum:
            - MAIL
            - JETEX
        uuid:
          type: string
    FlightCrewDto:
      title: FlightCrewDto
      type: object
      properties:
        crewPosition:
          $ref: '#/components/schemas/CrewPositionExternalDto'
        email:
          type: string
        externalReference:
          type: string
        firstName:
          type: string
        gender:
          type: string
          enum:
            - FEMALE
            - MALE
            - OTHER
        isPilotLanding:
          type: boolean
        isPilotTakeoff:
          type: boolean
        lastName:
          type: string
        logName:
          type: string
        luggageUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
        luggageWeight:
          type: number
          format: float
        middleName:
          type: string
        mobile:
          type: string
        personnelNumber:
          type: string
        phone:
          type: string
        pilotId:
          type: integer
          format: int64
        role:
          type: string
        trigram:
          type: string
        weight:
          type: number
          format: float
        weightUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
    FlightCrewDto_1:
      title: FlightCrewDto_1
      type: object
      properties:
        crewPosition:
          $ref: '#/components/schemas/CrewPositionExternalDto_1'
        email:
          type: string
        externalReference:
          type: string
        firstName:
          type: string
        gender:
          type: string
          enum:
            - FEMALE
            - MALE
            - OTHER
        isPilotLanding:
          type: boolean
        isPilotTakeoff:
          type: boolean
        lastName:
          type: string
        logName:
          type: string
        luggageUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
        luggageWeight:
          type: number
          format: float
        middleName:
          type: string
        mobile:
          type: string
        personnelNumber:
          type: string
        phone:
          type: string
        pilotId:
          type: integer
          format: int64
        role:
          type: string
        trigram:
          type: string
        weight:
          type: number
          format: float
        weightUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
    FlightDefectReport:
      title: FlightDefectReport
      type: object
      properties:
        actionTaken:
          type: string
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        description:
          type: string
        hilReference:
          type: string
        id:
          type: integer
          format: int64
        maintenanceOrganization:
          type: string
        modificationUser:
          $ref: '#/components/schemas/User'
        oneHundredFourtyFiveNumber:
          type: string
        reportDate:
          type: string
          format: date-time
        signature:
          type: string
        techNumber:
          type: string
        uuid:
          type: string
    FlightDetailsCrewDto:
      title: FlightDetailsCrewDto
      type: object
      properties:
        aircraftId:
          type: integer
          format: int64
        assignmentApprovalBlocked:
          type: boolean
        booking:
          type: string
        bookingId:
          type: integer
          format: int64
        crewAssign:
          $ref: '#/components/schemas/CrewAssignmentDto'
        crewBrief:
          $ref: '#/components/schemas/CrewBriefDto'
        dutyTimeLim:
          $ref: '#/components/schemas/DutyTimeLimDto'
        flight:
          type: string
        flightId:
          type: integer
          format: int64
        mtowUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
        reducedRestEnabled:
          type: boolean
        tailNumber:
          type: string
    FlightDetailsInfoDto:
      title: FlightDetailsInfoDto
      type: object
      properties:
        additionalCrew:
          type: array
          items:
            $ref: '#/components/schemas/FlightSearchCrewDto'
        arr:
          $ref: '#/components/schemas/TargetedInfoDto'
        blocksOff:
          type: string
          format: date-time
        blocksOffDefault:
          type: string
          format: date-time
        blocksOn:
          type: string
          format: date-time
        blocksOnDefault:
          type: string
          format: date-time
        ca:
          type: array
          items:
            $ref: '#/components/schemas/FlightSearchCrewDto'
        cargo:
          type: number
          format: float
        catering:
          type: string
        cmd:
          $ref: '#/components/schemas/FlightSearchCrewDto'
        dep:
          $ref: '#/components/schemas/TargetedInfoDto'
        emptySeats:
          $ref: '#/components/schemas/CrewSeats'
        etaDefault:
          type: string
          format: date-time
        fa:
          type: array
          items:
            $ref: '#/components/schemas/FlightSearchCrewDto'
        fo:
          $ref: '#/components/schemas/FlightSearchCrewDto'
        fpl:
          type: string
          enum:
            - 'N'
            - G
            - X
            - M
            - S
        fuelUnit:
          type: string
          enum:
            - LITER
            - GALLON_USA
        hilNumber:
          type: integer
          format: int32
        landing:
          type: string
          format: date-time
        landingDefault:
          type: string
          format: date-time
        maintananceCount:
          type: integer
          format: int32
        maintananceExpired:
          type: integer
          format: int32
        numberOfPax:
          type: integer
          format: int32
        onBoardEngineers:
          type: array
          items:
            $ref: '#/components/schemas/FlightSearchCrewDto'
        pax:
          type: array
          items:
            $ref: '#/components/schemas/UserSearchDto'
        takeOff:
          type: string
          format: date-time
        takeOffDefault:
          type: string
          format: date-time
        techlogNumber:
          type: string
        totalLandings:
          type: integer
          format: int32
        wAndB:
          type: boolean
    FlightDetailsInfoDto_1:
      title: FlightDetailsInfoDto_1
      type: object
      properties:
        additionalCrew:
          type: array
          items:
            $ref: '#/components/schemas/FlightSearchCrewDto'
        arr:
          $ref: '#/components/schemas/TargetedInfoDto'
        blocksOff:
          type: string
          format: date-time
        blocksOffDefault:
          type: string
          format: date-time
        blocksOn:
          type: string
          format: date-time
        blocksOnDefault:
          type: string
          format: date-time
        ca:
          type: array
          items:
            $ref: '#/components/schemas/FlightSearchCrewDto'
        cargo:
          type: number
          format: float
        catering:
          type: string
        cmd:
          $ref: '#/components/schemas/FlightSearchCrewDto'
        dep:
          $ref: '#/components/schemas/TargetedInfoDto'
        emptySeats:
          $ref: '#/components/schemas/CrewSeats_1'
        etaDefault:
          type: string
          format: date-time
        fa:
          type: array
          items:
            $ref: '#/components/schemas/FlightSearchCrewDto'
        fo:
          $ref: '#/components/schemas/FlightSearchCrewDto'
        fpl:
          type: string
          enum:
            - 'N'
            - G
            - X
            - M
            - S
        fuelUnit:
          type: string
          enum:
            - LITER
            - GALLON_USA
        hilNumber:
          type: integer
          format: int32
        landing:
          type: string
          format: date-time
        landingDefault:
          type: string
          format: date-time
        maintananceCount:
          type: integer
          format: int32
        maintananceExpired:
          type: integer
          format: int32
        numberOfPax:
          type: integer
          format: int32
        onBoardEngineers:
          type: array
          items:
            $ref: '#/components/schemas/FlightSearchCrewDto'
        pax:
          type: array
          items:
            $ref: '#/components/schemas/UserSearchDto'
        takeOff:
          type: string
          format: date-time
        takeOffDefault:
          type: string
          format: date-time
        techlogNumber:
          type: string
        totalLandings:
          type: integer
          format: int32
        wAndB:
          type: boolean
    FlightDetailsPaxDto:
      title: FlightDetailsPaxDto
      type: object
      properties:
        activeNoFlyLists:
          type: array
          items:
            $ref: '#/components/schemas/NoFlyListUploadMinDto'
        aircraftId:
          type: integer
          format: int64
        animal:
          type: array
          items:
            $ref: '#/components/schemas/AnimalDto'
        booking:
          type: string
        bookingId:
          type: integer
          format: int64
        cargo:
          type: array
          items:
            $ref: '#/components/schemas/CargoDto'
        cargoAllowed:
          type: boolean
        crewBrief:
          $ref: '#/components/schemas/CrewBriefDto'
        flight:
          type: string
        flightId:
          type: integer
          format: int64
        mtowUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
        pax:
          $ref: '#/components/schemas/PaxDto'
        petsAllowed:
          type: boolean
        reducedRestEnabled:
          type: boolean
        tailNumber:
          type: string
        tsa:
          $ref: '#/components/schemas/TsaFlightDetails'
    FlightDetailsPaxDto_1:
      title: FlightDetailsPaxDto_1
      type: object
      properties:
        activeNoFlyLists:
          type: array
          items:
            $ref: '#/components/schemas/NoFlyListUploadMinDto'
        aircraftId:
          type: integer
          format: int64
        animal:
          type: array
          items:
            $ref: '#/components/schemas/AnimalDto_1'
        booking:
          type: string
        bookingId:
          type: integer
          format: int64
        cargo:
          type: array
          items:
            $ref: '#/components/schemas/CargoDto_1'
        cargoAllowed:
          type: boolean
        crewBrief:
          $ref: '#/components/schemas/CrewBriefDto_1'
        flight:
          type: string
        flightId:
          type: integer
          format: int64
        mtowUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
        pax:
          $ref: '#/components/schemas/PaxDto_1'
        petsAllowed:
          type: boolean
        reducedRestEnabled:
          type: boolean
        tailNumber:
          type: string
        tsa:
          $ref: '#/components/schemas/TsaFlightDetails_1'
    FlightDispatchDetailsDto:
      title: FlightDispatchDetailsDto
      type: object
      properties:
        crw:
          $ref: '#/components/schemas/CrewDetailsDto'
        flightRelease:
          $ref: '#/components/schemas/FlightReleaseDetailsDto'
        flt:
          $ref: '#/components/schemas/FltDispatchDto'
        hndlgAndSvcs:
          $ref: '#/components/schemas/HndlgAndSvcsDetailsDto'
        id:
          type: integer
          format: int64
        log:
          $ref: '#/components/schemas/LogDetailsDto'
        notif:
          $ref: '#/components/schemas/NotifDetailsDto'
        nts:
          $ref: '#/components/schemas/NtsDetailsDto'
    FlightDispatchDetailsDto_1:
      title: FlightDispatchDetailsDto_1
      type: object
      properties:
        crw:
          $ref: '#/components/schemas/CrewDetailsDto'
        flightRelease:
          $ref: '#/components/schemas/FlightReleaseDetailsDto'
        flt:
          $ref: '#/components/schemas/FltDispatchDto_1'
        hndlgAndSvcs:
          $ref: '#/components/schemas/HndlgAndSvcsDetailsDto'
        id:
          type: integer
          format: int64
        log:
          $ref: '#/components/schemas/LogDetailsDto'
        notif:
          $ref: '#/components/schemas/NotifDetailsDto'
        nts:
          $ref: '#/components/schemas/NtsDetailsDto'
    FlightDto:
      title: FlightDto
      type: object
      properties:
        crews:
          type: array
          items:
            $ref: '#/components/schemas/FlightCrewDto'
        externalReference:
          type: string
        flightId:
          type: integer
          format: int64
    FlightExecution:
      title: FlightExecution
      type: object
      properties:
        acMeter:
          type: number
        actualTakeoffWeight:
          type: number
          format: float
        approachType:
          type: string
          enum:
            - unDef
            - VFR
            - VISUAL
            - NONPRECISION
            - CAT1
            - CAT2
            - CAT3
        apuOilUplift:
          type: number
          format: float
        arrFuelDensityUnit:
          type: string
          enum:
            - KG_BY_LITRE
            - POUNDS_BY_LITRE
            - KG_BY_GALLONS_USA
            - POUNDS_BY_GALLONS_USA
        arrFuelDensityValue:
          type: number
          format: float
        arrFuelDoc:
          $ref: '#/components/schemas/BinaryReference_1'
        arrFuelProvider:
          $ref: '#/components/schemas/AirportFuel'
        arrFuelReceiptNumber:
          type: string
        arrFuelReleaseBy:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        arrFuelReleaseDoc:
          $ref: '#/components/schemas/BinaryReference_1'
        arrFuelReleaseStatus:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        arrFuelTemperature:
          type: number
          format: double
        arrKgFuelArrival:
          type: number
          format: float
        arrKgFuelArrivalPlanned:
          type: number
          format: float
        arrKgFuelBurned:
          type: number
          format: float
        arrKgFuelBurnedPlanned:
          type: number
          format: float
        arrKgFuelDeparture:
          type: number
          format: float
        arrKgFuelUplift:
          type: number
          format: float
        arrMinFuel:
          type: number
          format: float
        arrUnitUplift:
          type: string
          enum:
            - LITER
            - GALLON_USA
        arrUpliftVolume:
          type: number
          format: float
        atcNotes:
          type: string
        attachedDocuments:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReference_1'
        cOilUplift:
          type: number
          format: float
        cargoUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
        cargoWeight:
          type: number
          format: float
        cgActual:
          type: string
        cgAftLimit:
          type: string
        cgFwdLimit:
          type: string
        crewAssignBy:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        crewAssignPermitProvider:
          $ref: '#/components/schemas/PermitProvider'
        crewBriefingBy:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        crewBriefingPermitProvider:
          $ref: '#/components/schemas/PermitProvider'
        crewNotes:
          type: string
        cruiseSpeed:
          type: string
        cruiseSpeedInKnots:
          type: integer
          format: int32
        cruiseSpeedUnit:
          type: string
          enum:
            - METER_PER_SECOND
            - MACH
            - KNOTS
        dateOfFlight:
          type: string
          format: date-time
        deIcingHoldOverTimeEnd:
          type: string
          format: date-time
        deIcingHoldOverTimeStart:
          type: string
          format: date-time
        deIcingLiters:
          type: integer
          format: int32
        deIcingMix:
          type: integer
          format: int32
        deIcingOutsideAirTemperature:
          type: integer
          format: int32
        deIcingRequested:
          type: boolean
        deIcingSignedBy:
          $ref: '#/components/schemas/User'
        deIcingSignedOn:
          type: string
        deIcingStart:
          type: string
          format: date-time
        deIcingType:
          type: string
          enum:
            - I
            - II
            - III
            - IV
        deiceBy:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        delayLandingReason:
          type: string
        delayOffBlockReason:
          type: string
        delayOnBlockReason:
          type: string
        delayTakeOffReason:
          type: string
        documents:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReference_1'
        dossierNumber:
          type: string
        dtlBy:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        dtlOperationType:
          $ref: '#/components/schemas/OperationType'
        dtlRemarks:
          type: string
        endHobbs:
          type: number
        engine1Cycles:
          type: integer
          format: int32
        engine2Cycles:
          type: integer
          format: int32
        engine3Cycles:
          type: integer
          format: int32
        engine4Cycles:
          type: integer
          format: int32
        esad:
          type: number
          format: float
        externalNote:
          type: string
        extraEnginesAcmCycles:
          type: integer
          format: int32
        extraEnginesAcmHours:
          type: number
          format: float
        extraEnginesApuCycles:
          type: integer
          format: int32
        extraEnginesApuHours:
          type: number
          format: float
        extraSysCcyCyclesLh:
          type: number
        extraSysCcyCyclesRh:
          type: number
        extraSysIcyCyclesLh:
          type: integer
          format: int32
        extraSysIcyCyclesRh:
          type: integer
          format: int32
        extraSysPcyCyclesLh:
          type: number
        extraSysPcyCyclesRh:
          type: number
        flightLevel:
          type: string
        flightLevelAsInteger:
          type: integer
          format: int32
        flightLog:
          $ref: '#/components/schemas/BinaryReference_1'
        flightRiskAssessmentAcknowledgedBy:
          $ref: '#/components/schemas/User'
        flightRiskAssessmentAcknowledgedDate:
          type: string
          format: date-time
        flightRiskAssessmentApprovalDate:
          type: string
          format: date-time
        flightRiskAssessmentApprover:
          $ref: '#/components/schemas/User'
        flightRiskAssessmentMitigatedScore:
          type: integer
          format: int32
        flightRiskAssessmentMitigation:
          type: string
        flightRiskAssessmentMitigationScore:
          type: integer
          format: int32
        flightRiskAssessmentScore:
          type: integer
          format: int32
        flightRiskAssessmentThreshold:
          $ref: '#/components/schemas/FlightRiskAssessmentThreshold'
        flightRules:
          type: string
          enum:
            - V
            - I
            - 'Y'
            - Z
        flightServices:
          type: array
          items:
            $ref: '#/components/schemas/FlightService'
        flightType:
          type: string
          enum:
            - CARGO
            - TRAINING
            - CHECK_FLIGHT
            - MAINTENANCE_FLIGHT
            - FERRY_CREW_CHANGE
            - FERRY_CARGO
            - FERRY_RETURN_BASE
            - FERRY_TECHNICAL_PROBLEM
            - PAX_FLIGHT
            - FERRY_CREW_CHANGE_PAX
            - FERRY_PAX
            - FERRY_RETURN_BASE_PAX
        flp:
          $ref: '#/components/schemas/BinaryReference_1'
        fmsUpdate:
          type: boolean
        fplAirportId:
          type: integer
          format: int64
        fplApproved:
          type: string
          format: date-time
        fplCancellationRequired:
          type: boolean
        fplDocuments:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReference_1'
        fplExternalNote:
          type: string
        fplExternalSource:
          type: string
          enum:
            - B2C
            - FBOONE
            - MYHANDLING
            - FLIGHTBRIDGE
            - FUELERLINX
            - DELISKY
            - JETEX
            - UVGO
            - FOREFLIGHT
        fplExternalStatus:
          type: string
        fplPermitProvider:
          $ref: '#/components/schemas/PermitProvider'
        fplRemarks:
          type: string
        fplRequested:
          type: string
          format: date-time
        fplRouting:
          type: string
        fplStatus:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        fplStatusBy:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        fplStatusUpdate:
          type: string
          format: date-time
        fplType:
          type: string
          enum:
            - 'N'
            - G
            - X
            - M
            - S
        fuelCost:
          type: number
        fuelCurrency:
          type: string
        fuelDensityUnit:
          type: string
          enum:
            - KG_BY_LITRE
            - POUNDS_BY_LITRE
            - KG_BY_GALLONS_USA
            - POUNDS_BY_GALLONS_USA
        fuelDensityValue:
          type: number
          format: float
        fuelDoc:
          $ref: '#/components/schemas/BinaryReference_1'
        fuelMassUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
            - LITER
        fuelProvider:
          $ref: '#/components/schemas/AirportFuel'
        fuelReceiptNumber:
          type: string
        fuelReleaseBy:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        fuelReleaseDoc:
          $ref: '#/components/schemas/BinaryReference_1'
        fuelReleaseStatus:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        fuelRemainigActual:
          type: number
          format: float
        fuelTemperature:
          type: number
          format: double
        hold:
          type: boolean
        id:
          type: integer
          format: int64
        kgFuelArrival:
          type: number
          format: float
        kgFuelArrivalPlanned:
          type: number
          format: float
        kgFuelBurned:
          type: number
          format: float
        kgFuelBurnedPlanned:
          type: number
          format: float
        kgFuelDeparture:
          type: number
          format: float
        kgFuelUplift:
          type: number
          format: float
        lOilUplift:
          type: number
          format: float
        landingsNight:
          type: integer
          format: int32
        maintenanceEmailSent:
          type: boolean
        manualDtlStatus:
          type: boolean
        marked:
          type: boolean
        maxAllowableTakeoffWeight:
          type: number
          format: float
        minFuel:
          type: number
          format: float
        minFuelRequired:
          type: number
          format: float
        minFuelRequiredUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
            - LITER
        modificationDate:
          type: string
          format: date-time
        modificationDatePropertyName:
          type: string
        modificationDateZT:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        modificationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        nightFlightTime:
          type: integer
          format: int64
        nonPrecision:
          type: integer
          format: int32
        notes:
          type: string
        notesModificationDate:
          type: string
          format: date-time
        occurence:
          type: boolean
        oflp:
          $ref: '#/components/schemas/BinaryReference_1'
        passengersActual:
          type: integer
          format: int32
        paxBy:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        paxPermitProvider:
          $ref: '#/components/schemas/PermitProvider'
        pilotFlying:
          type: integer
          format: int64
        planningNotes:
          type: string
        planningNotesModificationDate:
          type: string
          format: date-time
        postFlightBy:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        postFlightSignature:
          type: string
          format: date-time
        postFlightSignedBy:
          $ref: '#/components/schemas/User'
        postFlightSignedOn:
          type: string
          format: date-time
        ppsLastUpdate:
          type: string
          format: date-time
        preFlightSignature:
          type: string
          format: date-time
        precision:
          type: integer
          format: int32
        r2OilUplift:
          type: number
          format: float
        rOilUplift:
          type: number
          format: float
        receipt:
          $ref: '#/components/schemas/BinaryReference_1'
        referenceNumber:
          type: string
        requested:
          type: boolean
        safaRampCheck:
          type: boolean
        startHobbs:
          type: number
        tafMetar:
          $ref: '#/components/schemas/BinaryReference_1'
        talRemarks:
          type: string
        talSequenceNumber:
          type: string
        techLog:
          $ref: '#/components/schemas/BinaryReference_1'
        techlogNumber:
          type: string
        totalLandings:
          type: integer
          format: int32
        unitUplift:
          type: string
          enum:
            - LITER
            - GALLON_USA
        upliftVolume:
          type: number
          format: float
        uuid:
          type: string
        visual:
          type: boolean
        vorCheckBearing1:
          type: number
        vorCheckBearing1Error:
          type: number
        vorCheckBearing2:
          type: number
        vorCheckBearing2Error:
          type: number
        vorCheckCompleted:
          type: string
          format: date-time
        vorCheckLocation:
          type: string
        vorCheckNext:
          type: string
          format: date-time
        wAndBCancellationRequired:
          type: boolean
        wAndBExternalNote:
          type: string
        wAndBExternalSource:
          type: string
          enum:
            - B2C
            - FBOONE
            - MYHANDLING
            - FLIGHTBRIDGE
            - FUELERLINX
            - DELISKY
            - JETEX
            - UVGO
            - FOREFLIGHT
        wAndBExternalStatus:
          type: string
        wAndBRemarks:
          type: string
        wAndBStatusUpdate:
          type: string
          format: date-time
        wAndBalBy:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        wAndBalPermitProvider:
          $ref: '#/components/schemas/PermitProvider'
        wbAirportId:
          type: integer
          format: int64
        weightAndBalance:
          $ref: '#/components/schemas/BinaryReference_1'
    FlightInfo:
      title: FlightInfo
      type: object
      properties:
        dossierNumber:
          type: string
        flightId:
          type: integer
          format: int64
        flightType:
          type: string
          enum:
            - CARGO
            - TRAINING
            - CHECK_FLIGHT
            - MAINTENANCE_FLIGHT
            - FERRY_CREW_CHANGE
            - FERRY_CARGO
            - FERRY_RETURN_BASE
            - FERRY_TECHNICAL_PROBLEM
            - PAX_FLIGHT
            - FERRY_CREW_CHANGE_PAX
            - FERRY_PAX
            - FERRY_RETURN_BASE_PAX
        referenceNumber:
          type: string
    FlightReleaseDetailsDto:
      title: FlightReleaseDetailsDto
      type: object
      properties:
        flightRelease:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        id:
          type: integer
          format: int64
        target:
          type: string
          enum:
            - DEPARTURE
            - ARRIVAL
        worst:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
    FlightRiskAssessmentThreshold:
      title: FlightRiskAssessmentThreshold
      type: object
      properties:
        chiefPilotApprovalMails:
          type: string
        chiefPilotApprovalThreshold:
          type: integer
          format: int32
        deleted:
          type: boolean
        enableFlightNotAuthorizedMails:
          type: boolean
        flightNotAuthorizedMails:
          type: string
        flightNotAuthorizedThreshold:
          type: integer
          format: int32
        id:
          type: integer
          format: int64
        uuid:
          type: string
    FlightSearchCrewDto:
      title: FlightSearchCrewDto
      type: object
      properties:
        accountName:
          type: string
        acknowledgementDate:
          type: string
          format: date-time
        crewPosition:
          $ref: '#/components/schemas/CrewPositionDto'
        crewType:
          type: string
          enum:
            - FLIGHT_DECK
            - CABIN
        firstName:
          type: string
        gender:
          type: string
          enum:
            - FEMALE
            - MALE
            - OTHER
        height:
          type: number
          format: float
        id:
          type: integer
          format: int64
        jobTitle:
          type: string
        lastName:
          type: string
        middleName:
          type: string
        nationalityCountryName:
          type: string
        nickname:
          type: string
        personnelNumber:
          type: string
        pilot:
          type: boolean
        pilotRole:
          type: string
          enum:
            - CMD
            - FO
            - CC
            - MED1
            - ATPL
            - LST
            - AQ
            - OPCRH
            - PA
            - FA
            - CPL
            - DG
            - ESET
            - Sec
            - FF
            - ENL4
            - ENL5
            - ENL6
            - LC
            - OPC
            - LVTO
            - LV
            - RVSM
            - TRI
            - TRE
            - AUS
            - SQMM
            - SECG
            - BMVIT
            - EFB
            - GRT
            - ESE
            - OCC
            - OICC
            - PICC
            - DITCH
            - FAID
            - WINTER
            - BRNAV
            - MNPS_ETOPS
            - RACQ
            - ETOPS
            - TCAS
            - CRM
            - ASH
            - USER0
            - USER1
            - USER2
            - USER3
            - USER4
            - USER5
            - USER6
            - USER7
            - USER8
            - USER9
            - ENG
            - AUGM_CREW
            - ADD_CREW
            - CREW
            - IR
            - HW_OPS
            - PBN
            - PFI
            - FM
            - SEP
            - SEP_IR
            - FI_A
            - MEP
            - CR
            - RC
            - OBS
            - DHC
            - EX_CM
            - AUG_PIC
            - AUG_SIC
            - AUG_CRP
            - INSTRUCTOR
            - CHECK_AIRMAN
            - GROUND_INSTRUCTOR
            - AUG_FA
            - CA
            - MD
            - RN
            - MEDIC
            - MAINTENANCE
            - JUMPSEAT
            - LOAD_MASTER
            - OPS_CONTROL
            - FLIGHT_COORDINATOR
            - COURIER
            - NR
            - INSPECTOR
            - COMPANY_REP
            - SINGLE_PILOT
        readFromCrewApp:
          type: string
          format: date-time
        status:
          type: string
          enum:
            - ACTIVE
            - DELETED
            - INACTIVE
            - MIGRATED_US
        userCharacteristics:
          $ref: '#/components/schemas/UserCharacteristicsDto'
        weight:
          type: number
          format: float
    FlightSearchDto:
      title: FlightSearchDto
      type: object
      properties:
        acknowledgementDate:
          type: string
          format: date-time
        aircraftId:
          type: integer
          format: int64
        aircraftReqRw:
          type: number
          format: float
        aircraftType:
          type: string
        aoc:
          type: string
        aocId:
          type: integer
          format: int64
        arrAirport:
          $ref: '#/components/schemas/FlightAirportInfoDto'
        arrDate:
          type: string
          format: date-time
        bookingId:
          type: integer
          format: int64
        bookingIdentifier:
          type: string
        bookingNotes:
          type: string
        buyerFirstName:
          type: string
        buyerLastName:
          type: string
        cancelled:
          type: boolean
        cfmuCalcTakeOff:
          type: string
          format: date-time
        crewNotes:
          type: string
        crewTime:
          $ref: '#/components/schemas/CrewAppFlightTimesDto'
        crewWarningsSummary:
          $ref: '#/components/schemas/CrewWarningsSummary'
        customerAccountNumber:
          type: string
        customerId:
          type: integer
          format: int64
        customerName:
          type: string
        depAirport:
          $ref: '#/components/schemas/FlightAirportInfoDto'
        depDate:
          type: string
          format: date-time
        details:
          $ref: '#/components/schemas/FlightDispatchDetailsDto'
        detailsArrival:
          $ref: '#/components/schemas/FlightDispatchDetailsDto'
        distanceFromToKm:
          type: integer
          format: int32
        externalNotes:
          type: string
        feasibilityCheckStatus:
          type: string
          enum:
            - REQUESTED
            - APPROVED
            - DECLINED
        ffCat:
          type: string
          enum:
            - A_1
            - A_2
            - A_3
            - A_4
            - A_5
            - A_6
            - A_7
            - A_8
            - A_9
            - A_10
            - NONE_AIRCRAFT
        flightDetails:
          $ref: '#/components/schemas/FlightDetailsInfoDto'
        flightNumber:
          type: string
        flightNumberSource:
          type: string
          enum:
            - FLO
            - MANUAL
        flightType:
          type: string
        id:
          type: integer
          format: int64
        landing:
          type: string
          format: date-time
        maxCargo:
          type: number
          format: float
        modificationDate:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/UserSearchDto'
        mvtBlocksOffEst:
          type: string
          format: date-time
        mvtBlocksOnEst:
          type: string
          format: date-time
        notes:
          type: string
        oldLeg:
          $ref: '#/components/schemas/LegDto'
        operator:
          $ref: '#/components/schemas/OperatorBaseDto'
        operatorWorkflow:
          $ref: '#/components/schemas/OperatorWorkflowDto'
        opsTeamIds:
          type: array
          items:
            type: integer
            format: int64
        passengers:
          type: integer
          format: int32
        passengersActual:
          type: integer
          format: int32
        paymentGuarantee:
          type: string
          enum:
            - NOT_GUARANTEED
            - SAFE_CLIENT
            - CREDIT_CARD_AUTHORIZED
            - FINANCIAL_RELEASE_OK
        paymentStatus:
          type: string
          enum:
            - NOT_PAID
            - PAID
        planningNotes:
          type: string
        readFromCrewApp:
          type: string
          format: date-time
        revisionUser:
          $ref: '#/components/schemas/UserSearchDto'
        serviceCancellationRequired:
          type: boolean
        serviceCostBookingStatus:
          type: string
          enum:
            - OPEN
            - LOCKED
        setup:
          type: boolean
        tailNumber:
          type: string
        takeOff:
          type: string
          format: date-time
        tripNumber:
          type: integer
          format: int64
        unseenNotificationsByConversationType:
          type: object
          additionalProperties:
            type: integer
            format: int64
        unseenNotificationsCount:
          type: integer
          format: int64
        warnings:
          type: array
          items:
            $ref: '#/components/schemas/SchedulerWarningDto'
        workflow:
          type: string
          enum:
            - COMMERCIAL
            - MAINTENANCE
            - PRIVATE
            - TRAINING
            - OWNER
            - INTERNAL
            - RESERVED
            - CHARTER
            - SUBCHARTER
            - SCHEDULED
            - AMBULANCE
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
            - CUSTOM6
            - BROKER
            - BROKER_SUBCHARTER
        worstStatus:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
    FlightSearchDto_1:
      title: FlightSearchDto_1
      type: object
      properties:
        acknowledgementDate:
          type: string
          format: date-time
        aircraftId:
          type: integer
          format: int64
        aircraftReqRw:
          type: number
          format: float
        aircraftType:
          type: string
        aoc:
          type: string
        aocId:
          type: integer
          format: int64
        arrAirport:
          $ref: '#/components/schemas/FlightAirportInfoDto_1'
        arrDate:
          type: string
          format: date-time
        bookingId:
          type: integer
          format: int64
        bookingIdentifier:
          type: string
        bookingNotes:
          type: string
        buyerFirstName:
          type: string
        buyerLastName:
          type: string
        cancelled:
          type: boolean
        cfmuCalcTakeOff:
          type: string
          format: date-time
        crewNotes:
          type: string
        crewTime:
          $ref: '#/components/schemas/CrewAppFlightTimesDto'
        crewWarningsSummary:
          $ref: '#/components/schemas/CrewWarningsSummary_1'
        customerAccountNumber:
          type: string
        customerId:
          type: integer
          format: int64
        customerName:
          type: string
        depAirport:
          $ref: '#/components/schemas/FlightAirportInfoDto_1'
        depDate:
          type: string
          format: date-time
        details:
          $ref: '#/components/schemas/FlightDispatchDetailsDto_1'
        detailsArrival:
          $ref: '#/components/schemas/FlightDispatchDetailsDto_1'
        distanceFromToKm:
          type: integer
          format: int32
        externalNotes:
          type: string
        feasibilityCheckStatus:
          type: string
          enum:
            - REQUESTED
            - APPROVED
            - DECLINED
        ffCat:
          type: string
          enum:
            - A_1
            - A_2
            - A_3
            - A_4
            - A_5
            - A_6
            - A_7
            - A_8
            - A_9
            - A_10
            - NONE_AIRCRAFT
        flightDetails:
          $ref: '#/components/schemas/FlightDetailsInfoDto_1'
        flightNumber:
          type: string
        flightNumberSource:
          type: string
          enum:
            - FLO
            - MANUAL
        flightType:
          type: string
        id:
          type: integer
          format: int64
        landing:
          type: string
          format: date-time
        maxCargo:
          type: number
          format: float
        modificationDate:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/UserSearchDto'
        mvtBlocksOffEst:
          type: string
          format: date-time
        mvtBlocksOnEst:
          type: string
          format: date-time
        notes:
          type: string
        oldLeg:
          $ref: '#/components/schemas/LegDto_1'
        operator:
          $ref: '#/components/schemas/OperatorBaseDto'
        operatorWorkflow:
          $ref: '#/components/schemas/OperatorWorkflowDto_1'
        opsTeamIds:
          type: array
          items:
            type: integer
            format: int64
        passengers:
          type: integer
          format: int32
        passengersActual:
          type: integer
          format: int32
        paymentGuarantee:
          type: string
          enum:
            - NOT_GUARANTEED
            - SAFE_CLIENT
            - CREDIT_CARD_AUTHORIZED
            - FINANCIAL_RELEASE_OK
        paymentStatus:
          type: string
          enum:
            - NOT_PAID
            - PAID
        planningNotes:
          type: string
        readFromCrewApp:
          type: string
          format: date-time
        revisionUser:
          $ref: '#/components/schemas/UserSearchDto'
        serviceCancellationRequired:
          type: boolean
        serviceCostBookingStatus:
          type: string
          enum:
            - OPEN
            - LOCKED
        setup:
          type: boolean
        tailNumber:
          type: string
        takeOff:
          type: string
          format: date-time
        tripNumber:
          type: integer
          format: int64
        unseenNotificationsByConversationType:
          type: object
          additionalProperties:
            type: integer
            format: int64
        unseenNotificationsCount:
          type: integer
          format: int64
        warnings:
          type: array
          items:
            $ref: '#/components/schemas/SchedulerWarningDto'
        workflow:
          type: string
          enum:
            - COMMERCIAL
            - MAINTENANCE
            - PRIVATE
            - TRAINING
            - OWNER
            - INTERNAL
            - RESERVED
            - CHARTER
            - SUBCHARTER
            - SCHEDULED
            - AMBULANCE
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
            - CUSTOM6
            - BROKER
            - BROKER_SUBCHARTER
        worstStatus:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
    FlightSelectionDto:
      title: FlightSelectionDto
      type: object
      properties:
        flight:
          $ref: '#/components/schemas/FlightSearchDto'
        selected:
          type: boolean
    FlightSelectionDto_1:
      title: FlightSelectionDto_1
      type: object
      properties:
        flight:
          $ref: '#/components/schemas/FlightSearchDto_1'
        selected:
          type: boolean
    FlightService:
      title: FlightService
      type: object
      properties:
        actualServiceFor:
          type: string
          enum:
            - Crew
            - Pax
            - Person
        agent:
          $ref: '#/components/schemas/AirportService'
        agentId:
          type: integer
          format: int64
        airport:
          $ref: '#/components/schemas/Airport'
        airportId:
          type: integer
          format: int64
        airportService:
          $ref: '#/components/schemas/AirportService'
        airportServiceId:
          type: integer
          format: int64
        booking:
          $ref: '#/components/schemas/Booking'
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        cancellationRequired:
          type: boolean
        cancelled:
          type: boolean
        confirmed:
          type: boolean
        country:
          $ref: '#/components/schemas/Country_1'
        created:
          type: string
          format: date-time
        createdBy:
          $ref: '#/components/schemas/User'
        createdByOptimizer:
          type: boolean
        creditCardExpiration:
          type: string
          format: date-time
        creditCardNumber:
          type: string
        currency:
          type: string
        deliveryDate:
          type: string
          format: date-time
        details:
          type: string
        document:
          $ref: '#/components/schemas/BinaryReference_1'
        documents:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReference_1'
        externalNote:
          type: string
        externalReference:
          type: string
        externalSource:
          type: string
          enum:
            - B2C
            - FBOONE
            - MYHANDLING
            - FLIGHTBRIDGE
            - FUELERLINX
            - DELISKY
            - JETEX
            - UVGO
            - FOREFLIGHT
        externalStatus:
          type: string
        flight:
          $ref: '#/components/schemas/Flight'
        flightBeforeCancel:
          $ref: '#/components/schemas/Flight'
        flightExecution:
          $ref: '#/components/schemas/FlightExecution'
        fromTime:
          type: string
          format: date-time
        fuel:
          $ref: '#/components/schemas/AirportFuel'
        fuelId:
          type: integer
          format: int64
        fuelQuantity:
          type: integer
          format: int32
        fuelType:
          type: string
          enum:
            - JET_A1
            - JET_A
            - JET_B
            - JP4
            - JP5
            - JP8
            - JP54
            - AVGAS
            - UNLEADED_FUEL
        handlingRequests:
          type: array
          items:
            type: string
        id:
          type: integer
          format: int64
        invalid:
          type: boolean
        leg:
          $ref: '#/components/schemas/Leg'
        meal:
          type: string
        message:
          $ref: '#/components/schemas/SmtpMessage'
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        parent:
          $ref: '#/components/schemas/AbstractService'
        paxRemarks:
          type: string
        paymentType:
          type: string
          enum:
            - FUEL_CARD
            - CREDIT_CARD
            - ACCOUNT
            - CASH
            - RELEASE
            - CONTRACT
        permitProvider:
          $ref: '#/components/schemas/PermitProvider'
        permitProviderId:
          type: integer
          format: int64
        price:
          type: number
        priceIndex:
          type: number
        priceIndexComercial:
          type: number
        quantity:
          type: integer
          format: int32
        queued:
          type: boolean
        quoteOnly:
          type: boolean
        reference:
          type: integer
          format: int64
        relatedTo:
          $ref: '#/components/schemas/User'
        releaseDocument:
          type: boolean
        remarks:
          type: string
        requestText:
          type: string
        requested:
          type: boolean
        requestedAirportService:
          $ref: '#/components/schemas/AirportService'
        requestedDate:
          type: string
          format: date-time
        sent:
          type: boolean
        serviceCharge:
          type: number
        serviceChargePercentage:
          type: number
        serviceGroupType:
          $ref: '#/components/schemas/AirportServiceType'
        serviceStatus:
          type: string
          enum:
            - InProgress
            - Queued
            - Sent
            - Confirmed
            - Deleted
            - Cancelled
            - Denied
            - Invalid
        serviceTarget:
          type: string
          enum:
            - DEPARTURE
            - ARRIVAL
        serviceType:
          $ref: '#/components/schemas/AirportServiceType'
        serviceTypeGroupId:
          type: integer
          format: int64
        serviceTypeId:
          type: integer
          format: int64
        sortOrder:
          type: integer
          format: int32
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        statusUpdate:
          type: string
          format: date-time
        toTime:
          type: string
          format: date-time
        total:
          type: number
        totalComercial:
          type: number
        totalCost:
          type: number
        uuid:
          type: string
    FlightStatusableDetails:
      title: FlightStatusableDetails
      type: object
      properties:
        crew:
          type: array
          items:
            $ref: '#/components/schemas/UserOnFlightStatusableDetails'
        passengers:
          type: array
          items:
            $ref: '#/components/schemas/UserOnFlightStatusableDetails'
    FlightStatusableDetails_1:
      title: FlightStatusableDetails_1
      type: object
      properties:
        crew:
          type: array
          items:
            $ref: '#/components/schemas/UserOnFlightStatusableDetails_1'
        passengers:
          type: array
          items:
            $ref: '#/components/schemas/UserOnFlightStatusableDetails_1'
    FlightTimeDto:
      title: FlightTimeDto
      type: object
      properties:
        add_crew:
          type: array
          items:
            $ref: '#/components/schemas/CrewPostFlightDto'
        arr:
          $ref: '#/components/schemas/ArrivalTimesDto'
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        cmd:
          $ref: '#/components/schemas/LegacyCrewPostFlightDto'
        cmdOpenFdp:
          type: integer
          format: int64
        dep:
          $ref: '#/components/schemas/DepartureTimesDto'
        dtls2:
          type: array
          items:
            $ref: '#/components/schemas/DtlModelDtoV2'
        fa:
          type: array
          items:
            $ref: '#/components/schemas/CrewPostFlightDto'
        flight:
          $ref: '#/components/schemas/FlightTimesDto'
        fo:
          $ref: '#/components/schemas/LegacyCrewPostFlightDto'
        foIsCmd:
          type: boolean
        foOpenFdp:
          type: integer
          format: int64
        id:
          type: integer
          format: int64
        onboardEngineers:
          type: array
          items:
            $ref: '#/components/schemas/CrewPostFlightDto'
        pilotFlying:
          type: integer
          format: int64
        splitDutyType:
          type: string
          enum:
            - DEFAULT
            - INCREASE_REST
            - ARCUS
            - NO_SPLIT
            - GREEK
            - MALTA
            - FRENCH
            - FIXED_FDP_INCREASE
            - LUXEMBOURG
            - LUXEMBOURG_100
            - SAN_MARINO
            - CAP_371
            - CANADA700
            - CANADA604
            - ITALIAN
            - VLJ_NCC
            - UAE_BREAK
            - LASM
            - BL_518
            - INDIA_CAR_7_J_IV_10
            - FAR_117
            - CAR_700
            - CANADA700_FEX
            - CANADA604_FEX
            - CAA_CZ
            - SAN_MARINO_CUSTOM
            - ACASS
            - AU_CAO481_A2
            - AU_CAO481_A3
            - AU_CAO481_A4
            - AU_CAO481_A6
            - AU_CAO481_A4B
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
    FlightTimeDto_1:
      title: FlightTimeDto_1
      type: object
      properties:
        add_crew:
          type: array
          items:
            $ref: '#/components/schemas/CrewPostFlightDto_1'
        arr:
          $ref: '#/components/schemas/ArrivalTimesDto_1'
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        cmd:
          $ref: '#/components/schemas/LegacyCrewPostFlightDto_1'
        cmdOpenFdp:
          type: integer
          format: int64
        dep:
          $ref: '#/components/schemas/DepartureTimesDto'
        dtls2:
          type: array
          items:
            $ref: '#/components/schemas/DtlModelDtoV2_1'
        fa:
          type: array
          items:
            $ref: '#/components/schemas/CrewPostFlightDto_1'
        flight:
          $ref: '#/components/schemas/FlightTimesDto'
        fo:
          $ref: '#/components/schemas/LegacyCrewPostFlightDto_1'
        foIsCmd:
          type: boolean
        foOpenFdp:
          type: integer
          format: int64
        id:
          type: integer
          format: int64
        onboardEngineers:
          type: array
          items:
            $ref: '#/components/schemas/CrewPostFlightDto_1'
        pilotFlying:
          type: integer
          format: int64
        splitDutyType:
          type: string
          enum:
            - DEFAULT
            - INCREASE_REST
            - ARCUS
            - NO_SPLIT
            - GREEK
            - MALTA
            - FRENCH
            - FIXED_FDP_INCREASE
            - LUXEMBOURG
            - LUXEMBOURG_100
            - SAN_MARINO
            - CAP_371
            - CANADA700
            - CANADA604
            - ITALIAN
            - VLJ_NCC
            - UAE_BREAK
            - LASM
            - BL_518
            - INDIA_CAR_7_J_IV_10
            - FAR_117
            - CAR_700
            - CANADA700_FEX
            - CANADA604_FEX
            - CAA_CZ
            - SAN_MARINO_CUSTOM
            - ACASS
            - AU_CAO481_A2
            - AU_CAO481_A3
            - AU_CAO481_A4
            - AU_CAO481_A6
            - AU_CAO481_A4B
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
    FlightTimeProviderResult:
      title: FlightTimeProviderResult
      type: object
      properties:
        blockTime:
          type: integer
          format: int32
        empty:
          type: boolean
        errors:
          type: array
          items:
            type: string
        estimatedElapsedTime:
          type: integer
          format: int32
        flightLevel:
          type: integer
          format: int32
        flightTimeWithinDelta:
          type: boolean
        originHash:
          type: integer
          format: int32
        provider:
          type: string
          enum:
            - ROCKETROUTE
            - AVIAPAGES
        route:
          type: string
        status:
          type: string
          enum:
            - NOT_CALCULATED
            - CALCULATED_NO_WINDS
            - CALCULATED_WINDS
            - CALCULATED_HISTORICAL_WINDS
        warnings:
          type: array
          items:
            type: string
    FlightTimeProviderResult_1:
      title: FlightTimeProviderResult_1
      type: object
      properties:
        provider:
          type: string
          enum:
            - ROCKETROUTE
            - AVIAPAGES
        estimatedElapsedTime:
          type: integer
          format: int32
        blockTime:
          type: integer
          format: int32
        status:
          type: string
          enum:
            - NOT_CALCULATED
            - CALCULATED_NO_WINDS
            - CALCULATED_WINDS
            - CALCULATED_HISTORICAL_WINDS
        flightLevel:
          type: integer
          format: int32
        route:
          type: string
        flightTimeWithinDelta:
          type: boolean
        originHash:
          type: integer
          format: int32
        warnings:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
    FlightTimesDto:
      title: FlightTimesDto
      type: object
      properties:
        acMeter:
          type: number
          format: float
        aircraftExtraEnginesAcmCycles:
          type: integer
          format: int32
        aircraftExtraEnginesAcmHours:
          type: number
          format: float
        aircraftExtraEnginesApuCycles:
          type: integer
          format: int32
        aircraftExtraEnginesApuHours:
          type: number
          format: float
        aircraftExtraSysCcyCyclesLh:
          type: number
        aircraftExtraSysCcyCyclesRh:
          type: number
        aircraftExtraSysIcyCyclesLh:
          type: integer
          format: int32
        aircraftExtraSysIcyCyclesRh:
          type: integer
          format: int32
        aircraftExtraSysPcyCyclesLh:
          type: number
        aircraftExtraSysPcyCyclesRh:
          type: number
        aircraftTotalExtraEnginesAcmCycles:
          type: integer
          format: int32
        aircraftTotalExtraEnginesAcmHours:
          type: number
          format: float
        aircraftTotalExtraEnginesApuCycles:
          type: integer
          format: int32
        aircraftTotalExtraEnginesApuHours:
          type: number
          format: float
        aircraftTotalExtraSysCcyCyclesLh:
          type: number
        aircraftTotalExtraSysCcyCyclesRh:
          type: number
        aircraftTotalExtraSysIcyCyclesLh:
          type: integer
          format: int32
        aircraftTotalExtraSysIcyCyclesRh:
          type: integer
          format: int32
        aircraftTotalExtraSysPcyCyclesLh:
          type: number
        aircraftTotalExtraSysPcyCyclesRh:
          type: number
        apuOilUplift:
          type: number
          format: float
        cOilUplift:
          type: number
          format: float
        endHobbs:
          type: number
        engine1Cycles:
          type: integer
          format: int32
        engine2Cycles:
          type: integer
          format: int32
        engine3Cycles:
          type: integer
          format: int32
        engine4Cycles:
          type: integer
          format: int32
        engineCycles:
          type: integer
          format: int32
        engineNr:
          type: integer
          format: int32
        extraEnginesAcm:
          type: boolean
        extraEnginesAcmCycles:
          type: integer
          format: int32
        extraEnginesAcmHours:
          type: number
          format: float
        extraEnginesApu:
          type: boolean
        extraEnginesApuCycles:
          type: integer
          format: int32
        extraEnginesApuHours:
          type: number
          format: float
        extraSysCcyCyclesLh:
          type: number
        extraSysCcyCyclesRh:
          type: number
        extraSysIcyCyclesLh:
          type: integer
          format: int32
        extraSysIcyCyclesRh:
          type: integer
          format: int32
        extraSysPcyCyclesLh:
          type: number
        extraSysPcyCyclesRh:
          type: number
        extraSystemCcy:
          type: boolean
        extraSystemHobbs:
          type: boolean
        extraSystemIcy:
          type: boolean
        extraSystemPcy:
          type: boolean
        lOilUplift:
          type: number
          format: float
        nightFlightTime:
          type: integer
          format: int32
        previousFlightEndHobbsPresent:
          type: boolean
        r2OilUplift:
          type: number
          format: float
        rOilUplift:
          type: number
          format: float
        startHobbs:
          type: number
        techlogNumber:
          type: string
        totalEngineCycles1:
          type: integer
          format: int64
        totalEngineCycles2:
          type: integer
          format: int64
        totalEngineCycles3:
          type: integer
          format: int64
        totalEngineCycles4:
          type: integer
          format: int64
        totalEngineHours1:
          type: integer
          format: int64
        totalEngineHours2:
          type: integer
          format: int64
        totalEngineHours3:
          type: integer
          format: int64
        totalEngineHours4:
          type: integer
          format: int64
        totalFlightHours:
          type: integer
          format: int64
        totalLandings:
          type: integer
          format: int64
    FltDispatchDto:
      title: FltDispatchDto
      type: object
      properties:
        flightPlan:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        flightPlanAndFlightRiskAssessment:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        flightRiskAssessment:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        fuel:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        overflightPermissions:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        slot:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        weightAndBalance:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
    FltDispatchDto_1:
      title: FltDispatchDto_1
      type: object
      properties:
        flightPlan:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        flightRiskAssessment:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        fuel:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        overflightPermissions:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        slot:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        weightAndBalance:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
    FuelDto:
      title: FuelDto
      type: object
      properties:
        agentId:
          type: integer
          format: int64
        airportId:
          type: integer
          format: int64
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        cancellationRequired:
          type: boolean
        creditCardExpiration:
          type: string
          format: date-time
        creditCardNumber:
          type: string
        currency:
          type: string
        deliveryDate:
          type: string
          format: date-time
        density:
          type: number
          format: float
        documents:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReferenceDto'
        externalNote:
          type: string
        externalSource:
          type: string
          enum:
            - B2C
            - FBOONE
            - MYHANDLING
            - FLIGHTBRIDGE
            - FUELERLINX
            - DELISKY
            - JETEX
            - UVGO
            - FOREFLIGHT
        externalStatus:
          type: string
        extraFuel:
          type: number
          format: float
        fplType:
          type: string
          enum:
            - 'N'
            - G
            - X
            - M
            - S
        fuelArrival:
          type: number
          format: float
        fuelArrivalPlanned:
          type: number
          format: float
        fuelBurned:
          type: number
          format: float
        fuelBurnedPlanned:
          type: number
          format: float
        fuelCost:
          type: number
        fuelCurrency:
          type: string
        fuelPriceIndex:
          type: number
        fuelPriceIndexCommercial:
          type: number
        fuelProvider:
          type: integer
          format: int64
        fuelRelease:
          $ref: '#/components/schemas/BinaryReferenceDto'
        fuelRemainig:
          type: number
          format: float
        fuelRemainigActual:
          type: number
          format: float
        fuelTankUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
            - LITER
        fuelTemperature:
          type: number
          format: double
        fuelType:
          type: string
          enum:
            - JET_A1
            - JET_A
            - JET_B
            - JP4
            - JP5
            - JP8
            - JP54
            - AVGAS
            - UNLEADED_FUEL
        id:
          type: integer
          format: int64
        minFuelRequired:
          type: number
          format: float
        minFuelRequiredUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
            - LITER
        notes:
          type: string
        payment:
          type: string
        paymentType:
          type: string
          enum:
            - FUEL_CARD
            - CREDIT_CARD
            - ACCOUNT
            - CASH
            - RELEASE
            - CONTRACT
        permitProviderId:
          type: integer
          format: int64
        poCreatedDate:
          type: string
          format: date-time
        poNumber:
          type: string
        price:
          type: number
        priceComercial:
          type: number
        pricePerUnit:
          type: number
        pricePerUnitComercial:
          type: number
        providerId:
          type: integer
          format: int64
        quantity:
          type: integer
          format: int32
        quoteOnly:
          type: boolean
        receiptNumber:
          type: string
        release:
          $ref: '#/components/schemas/Statusable'
        releaseAgentId:
          type: integer
          format: int64
        releaseDocument:
          type: boolean
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        unitDensity:
          type: string
          enum:
            - KG_BY_LITRE
            - POUNDS_BY_LITRE
            - KG_BY_GALLONS_USA
            - POUNDS_BY_GALLONS_USA
        updatedDate:
          type: string
          format: date-time
        uplift:
          type: number
          format: float
        upliftMass:
          type: number
          format: float
        upliftUnit:
          type: string
          enum:
            - LITER
            - GALLON_USA
    FuelDto_1:
      title: FuelDto_1
      type: object
      properties:
        agentId:
          type: integer
          format: int64
        airportId:
          type: integer
          format: int64
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        cancellationRequired:
          type: boolean
        creditCardExpiration:
          type: string
          format: date-time
        creditCardNumber:
          type: string
        currency:
          type: string
        deliveryDate:
          type: string
          format: date-time
        density:
          type: number
          format: float
        documents:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReferenceDto'
        externalNote:
          type: string
        externalSource:
          type: string
          enum:
            - B2C
            - FBOONE
            - MYHANDLING
            - FLIGHTBRIDGE
            - FUELERLINX
            - DELISKY
            - JETEX
            - UVGO
            - FOREFLIGHT
        externalStatus:
          type: string
        extraFuel:
          type: number
          format: float
        fplType:
          type: string
          enum:
            - 'N'
            - G
            - X
            - M
            - S
        fuelArrival:
          type: number
          format: float
        fuelArrivalPlanned:
          type: number
          format: float
        fuelBurned:
          type: number
          format: float
        fuelBurnedPlanned:
          type: number
          format: float
        fuelCost:
          type: number
        fuelCurrency:
          type: string
        fuelPriceIndex:
          type: number
        fuelPriceIndexCommercial:
          type: number
        fuelProvider:
          type: integer
          format: int64
        fuelRelease:
          $ref: '#/components/schemas/BinaryReferenceDto'
        fuelRemainig:
          type: number
          format: float
        fuelRemainigActual:
          type: number
          format: float
        fuelTankUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
            - LITER
        fuelTemperature:
          type: number
          format: double
        fuelType:
          type: string
          enum:
            - JET_A1
            - JET_A
            - JET_B
            - JP4
            - JP5
            - JP8
            - JP54
            - AVGAS
            - UNLEADED_FUEL
        id:
          type: integer
          format: int64
        minFuelRequired:
          type: number
          format: float
        minFuelRequiredUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
            - LITER
        notes:
          type: string
        payment:
          type: string
        paymentType:
          type: string
          enum:
            - FUEL_CARD
            - CREDIT_CARD
            - ACCOUNT
            - CASH
            - RELEASE
            - CONTRACT
        permitProviderId:
          type: integer
          format: int64
        poCreatedDate:
          type: string
          format: date-time
        poNumber:
          type: string
        price:
          type: number
        priceComercial:
          type: number
        pricePerUnit:
          type: number
        providerId:
          type: integer
          format: int64
        quantity:
          type: integer
          format: int32
        quoteOnly:
          type: boolean
        receiptNumber:
          type: string
        release:
          $ref: '#/components/schemas/Statusable'
        releaseAgentId:
          type: integer
          format: int64
        releaseDocument:
          type: boolean
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        unitDensity:
          type: string
          enum:
            - KG_BY_LITRE
            - POUNDS_BY_LITRE
            - KG_BY_GALLONS_USA
            - POUNDS_BY_GALLONS_USA
        updatedDate:
          type: string
          format: date-time
        uplift:
          type: number
          format: float
        upliftMass:
          type: number
          format: float
        upliftUnit:
          type: string
          enum:
            - LITER
            - GALLON_USA
    FuelProviderInfoDto:
      title: FuelProviderInfoDto
      type: object
      properties:
        eurPerLiter:
          type: number
        eurPerLiterCommercial:
          type: number
        id:
          type: integer
          format: int64
        name:
          type: string
        priceIndex:
          type: number
        priceIndexCommercial:
          type: number
        target:
          type: string
          enum:
            - DEPARTURE
            - ARRIVAL
    FullDetailedFlightDto:
      title: FullDetailedFlightDto
      type: object
      properties:
        accountId:
          type: integer
          format: int64
        accountName:
          type: string
        accountReference:
          type: string
        accountTrigram:
          type: string
        aircraftAOC:
          $ref: '#/components/schemas/AocDto'
        aircraftCategory:
          type: string
        airportFrom:
          type: string
        airportTo:
          type: string
        alternateDepartureAirport:
          $ref: '#/components/schemas/AirportDto'
        alternateFirstArrivalAirport:
          $ref: '#/components/schemas/AirportDto'
        alternateSecondArrivalAirport:
          $ref: '#/components/schemas/AirportDto'
        blockOffEstLocal:
          type: string
          format: date-time
        blockOffEstUTC:
          type: string
          format: date-time
        blockOnEstLocal:
          type: string
          format: date-time
        blockOnEstUTC:
          type: string
          format: date-time
        blocksoffestimated:
          type: string
          format: date-time
        blocksonestimated:
          type: string
          format: date-time
        bookingIdentifier:
          type: string
        bookingReference:
          type: string
        customerFirstname:
          type: string
        customerId:
          type: string
        customerLastname:
          type: string
        customerTrigram:
          type: string
        dateFrom:
          type: string
          format: date-time
        dateTo:
          type: string
          format: date-time
        eta:
          type: string
          format: date-time
        etd:
          type: string
          format: date-time
        flightId:
          type: integer
          format: int64
        flightNumber:
          type: string
        flightNumberCompany:
          type: string
        flightStatus:
          type: string
        flightType:
          type: string
        fpl:
          $ref: '#/components/schemas/B2CFplDTO'
        fplType:
          type: string
          enum:
            - 'N'
            - G
            - X
            - M
            - S
        fuelArrival:
          type: number
          format: float
        fuelMassUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
            - LITER
        fuelOffBlock:
          type: number
          format: float
        fuelRemainigActual:
          type: number
          format: float
        operator:
          $ref: '#/components/schemas/ExternalOperatorBaseDto'
        paxNumber:
          type: integer
          format: int32
        paxReferences:
          type: array
          items:
            $ref: '#/components/schemas/TicketDto'
        postFlightClosed:
          type: boolean
        realAirportFrom:
          type: string
        realAirportTo:
          type: string
        realDateIN:
          type: string
          format: date-time
        realDateOFF:
          type: string
          format: date-time
        realDateON:
          type: string
          format: date-time
        realDateOUT:
          type: string
          format: date-time
        registrationNumber:
          type: string
        requestedAircraftType:
          type: string
          enum:
            - CJ3
            - PC12
            - PC24
            - PC12/CJ3
            - PC12/PC24
            - CHART
            - SF50
        rescheduledDateFrom:
          type: string
          format: date-time
        rescheduledDateTo:
          type: string
          format: date-time
        status:
          type: string
          enum:
            - MANUAL
            - FAILED
            - AUTO
            - CANCELED
            - DISABLED
            - NEW
            - DRAFT
        tripNumber:
          type: integer
          format: int64
        upliftMass:
          type: number
          format: float
        userReference:
          type: string
        workflow:
          type: string
          enum:
            - COMMERCIAL
            - MAINTENANCE
            - PRIVATE
            - TRAINING
            - OWNER
            - INTERNAL
            - RESERVED
            - CHARTER
            - SUBCHARTER
            - SCHEDULED
            - AMBULANCE
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
            - CUSTOM6
            - BROKER
            - BROKER_SUBCHARTER
        workflowCustomName:
          type: string
    GoverningDistrict:
      title: GoverningDistrict
      type: object
      properties:
        administrativeType:
          type: string
        code:
          type: string
        name:
          type: string
    GroundTransportationDto:
      title: GroundTransportationDto
      type: object
      properties:
        airportId:
          type: integer
          format: int64
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        cancellationRequired:
          type: boolean
        cost:
          type: number
        documents:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReferenceDto'
        externalNote:
          type: string
        externalServiceId:
          type: string
        externalSource:
          type: string
          enum:
            - B2C
            - FBOONE
            - MYHANDLING
            - FLIGHTBRIDGE
            - FUELERLINX
            - DELISKY
            - JETEX
            - UVGO
            - FOREFLIGHT
        externalStatus:
          type: string
        flightBridgeNote:
          type: string
        groundTransportationService:
          $ref: '#/components/schemas/AirportServiceDto'
        id:
          type: integer
          format: int64
        notes:
          type: string
        permitProviderId:
          type: integer
          format: int64
        person:
          $ref: '#/components/schemas/UserSearchDto'
        poCreatedDate:
          type: string
          format: date-time
        poNumber:
          type: string
        price:
          type: number
        serviceFor:
          type: string
          enum:
            - Crew
            - Pax
            - Person
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        type:
          type: string
        updatedDate:
          type: string
          format: date-time
    GroundTransportationDto_1:
      title: GroundTransportationDto_1
      type: object
      properties:
        airportId:
          type: integer
          format: int64
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        cancellationRequired:
          type: boolean
        cost:
          type: number
        documents:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReferenceDto'
        externalNote:
          type: string
        externalServiceId:
          type: string
        externalSource:
          type: string
          enum:
            - B2C
            - FBOONE
            - MYHANDLING
            - FLIGHTBRIDGE
            - FUELERLINX
            - DELISKY
            - JETEX
            - UVGO
            - FOREFLIGHT
        externalStatus:
          type: string
        flightBridgeNote:
          type: string
        groundTransportationService:
          $ref: '#/components/schemas/AirportServiceDto_1'
        id:
          type: integer
          format: int64
        notes:
          type: string
        permitProviderId:
          type: integer
          format: int64
        person:
          $ref: '#/components/schemas/UserSearchDto'
        poCreatedDate:
          type: string
          format: date-time
        poNumber:
          type: string
        price:
          type: number
        serviceFor:
          type: string
          enum:
            - Crew
            - Pax
            - Person
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        type:
          type: string
        updatedDate:
          type: string
          format: date-time
    HandlerDto:
      title: HandlerDto
      type: object
      properties:
        airportId:
          type: integer
          format: int64
        airportService:
          $ref: '#/components/schemas/AirportServiceDto'
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        cancellationRequired:
          type: boolean
        cost:
          type: number
        documents:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReferenceDto'
        externalNote:
          type: string
        externalReference:
          type: string
        externalSource:
          type: string
          enum:
            - B2C
            - FBOONE
            - MYHANDLING
            - FLIGHTBRIDGE
            - FUELERLINX
            - DELISKY
            - JETEX
            - UVGO
            - FOREFLIGHT
        externalStatus:
          type: string
        fboId:
          type: integer
          format: int64
        flightBridgeNote:
          type: string
        handlingType:
          type: string
          enum:
            - HANDLING_REQUEST
            - FLIGHT_ANNOUNCEMENT
            - QUOTE_REQUEST
            - GROUND_TRANSPORT_REQUEST
            - HOTEL_REQUEST
            - CATERING_REQUEST
        id:
          type: integer
          format: int64
        permitProviderId:
          type: integer
          format: int64
        poCreatedDate:
          type: string
          format: date-time
        poNumber:
          type: string
        price:
          type: number
        remarks:
          type: string
        request:
          type: string
        requestedDate:
          type: string
          format: date-time
        serviceLogs:
          type: array
          items:
            $ref: '#/components/schemas/Map_string_object'
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        updatedDate:
          type: string
          format: date-time
        useFboOne:
          type: boolean
        useMyHandling:
          type: boolean
    HandlerDto_1:
      title: HandlerDto_1
      type: object
      properties:
        airportId:
          type: integer
          format: int64
        airportService:
          $ref: '#/components/schemas/AirportServiceDto_1'
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        cancellationRequired:
          type: boolean
        cost:
          type: number
        documents:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReferenceDto'
        externalNote:
          type: string
        externalReference:
          type: string
        externalSource:
          type: string
          enum:
            - B2C
            - FBOONE
            - MYHANDLING
            - FLIGHTBRIDGE
            - FUELERLINX
            - DELISKY
            - JETEX
            - UVGO
            - FOREFLIGHT
        externalStatus:
          type: string
        fboId:
          type: integer
          format: int64
        flightBridgeNote:
          type: string
        handlingType:
          type: string
          enum:
            - HANDLING_REQUEST
            - FLIGHT_ANNOUNCEMENT
            - QUOTE_REQUEST
            - GROUND_TRANSPORT_REQUEST
            - HOTEL_REQUEST
            - CATERING_REQUEST
        id:
          type: integer
          format: int64
        permitProviderId:
          type: integer
          format: int64
        poCreatedDate:
          type: string
          format: date-time
        poNumber:
          type: string
        price:
          type: number
        remarks:
          type: string
        request:
          type: string
        requestedDate:
          type: string
          format: date-time
        serviceLogs:
          type: array
          items:
            $ref: '#/components/schemas/Map_string_object'
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        updatedDate:
          type: string
          format: date-time
        useFboOne:
          type: boolean
        useMyHandling:
          type: boolean
    HandlingAndServicesDto:
      title: HandlingAndServicesDto
      type: object
      properties:
        aircraftId:
          type: integer
          format: int64
        arrivalCatering:
          $ref: '#/components/schemas/CateringDto'
        arrivalCateringList:
          type: array
          items:
            $ref: '#/components/schemas/CateringDto'
        arrivalGroundTransportation:
          type: array
          items:
            $ref: '#/components/schemas/GroundTransportationDto'
        arrivalHandler:
          $ref: '#/components/schemas/HandlerDto'
        arrivalHotac:
          type: array
          items:
            $ref: '#/components/schemas/HotacDto'
        booking:
          type: string
        bookingId:
          type: integer
          format: int64
        catering:
          $ref: '#/components/schemas/CateringDto'
        cateringList:
          type: array
          items:
            $ref: '#/components/schemas/CateringDto'
        departureGroundTransportation:
          type: array
          items:
            $ref: '#/components/schemas/GroundTransportationDto'
        departureHandler:
          $ref: '#/components/schemas/HandlerDto'
        departureHotac:
          type: array
          items:
            $ref: '#/components/schemas/HotacDto'
        flight:
          type: string
        mtowUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
        reducedRestEnabled:
          type: boolean
        tailNumber:
          type: string
    HandlingAndServicesDto_1:
      title: HandlingAndServicesDto_1
      type: object
      properties:
        aircraftId:
          type: integer
          format: int64
        arrivalCatering:
          $ref: '#/components/schemas/CateringDto_1'
        arrivalCateringList:
          type: array
          items:
            $ref: '#/components/schemas/CateringDto_1'
        arrivalGroundTransportation:
          type: array
          items:
            $ref: '#/components/schemas/GroundTransportationDto_1'
        arrivalHandler:
          $ref: '#/components/schemas/HandlerDto_1'
        arrivalHotac:
          type: array
          items:
            $ref: '#/components/schemas/HotacDto_1'
        booking:
          type: string
        bookingId:
          type: integer
          format: int64
        catering:
          $ref: '#/components/schemas/CateringDto_1'
        cateringList:
          type: array
          items:
            $ref: '#/components/schemas/CateringDto_1'
        departureGroundTransportation:
          type: array
          items:
            $ref: '#/components/schemas/GroundTransportationDto_1'
        departureHandler:
          $ref: '#/components/schemas/HandlerDto_1'
        departureHotac:
          type: array
          items:
            $ref: '#/components/schemas/HotacDto_1'
        flight:
          type: string
        mtowUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
        reducedRestEnabled:
          type: boolean
        tailNumber:
          type: string
    HierarchicalPriceEntry:
      title: HierarchicalPriceEntry
      type: object
      properties:
        priceEntries:
          type: array
          items:
            $ref: '#/components/schemas/PriceEntry'
        reconcile:
          $ref: '#/components/schemas/PriceEntry'
    HistoryEntry:
      title: HistoryEntry
      type: object
      properties:
        description:
          type: string
        modificationDate:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
    HndlgAndSvcsDetailsDto:
      title: HndlgAndSvcsDetailsDto
      type: object
      properties:
        cstm:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        ctrn:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        fuel:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        grndTrnsp:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        hndlr:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        htc:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        id:
          type: integer
          format: int64
        migr:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        target:
          type: string
          enum:
            - DEPARTURE
            - ARRIVAL
        worst:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
    HoldItem:
      title: HoldItem
      type: object
      properties:
        acknowledged:
          type: array
          items:
            $ref: '#/components/schemas/HoldItemAcknowledged'
        aircraft:
          $ref: '#/components/schemas/Aircraft'
        approvalUser:
          $ref: '#/components/schemas/User'
        cabinConvenience:
          type: boolean
        corrected:
          type: boolean
        correctedWorkOrderNumber:
          type: string
        correctionDate:
          type: string
          format: date-time
        correctionUser:
          $ref: '#/components/schemas/User'
        correctiveActions:
          type: string
        creationDate:
          type: string
          format: date-time
        creationDatePropertyName:
          type: string
        creationDateZT:
          type: string
          format: date-time
        creationUser:
          $ref: '#/components/schemas/User'
        creationUserPropertyName:
          type: string
        creationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        cycles:
          type: integer
          format: int32
        deleted:
          type: boolean
        description:
          type: string
        documents:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReference_1'
        dueDate:
          type: string
          format: date-time
        dueDateExtended:
          type: boolean
        extendedDueDate:
          type: string
          format: date-time
        formCategory:
          type: string
          enum:
            - MEL_A
            - MEL_B
            - MEL_C
            - MEL_D
            - HIL_A
            - HIL_B
            - HIL_C
            - HIL_D
        hilReference:
          type: string
        hours:
          type: number
          format: float
        id:
          type: integer
          format: int64
        limitations:
          type: string
          enum:
            - 'NO'
            - 'YES'
            - DONT_KNOW
        limitationsDescription:
          type: string
        maintenanceOrganization:
          type: string
        melReference:
          type: string
        modificationDate:
          type: string
          format: date-time
        modificationDatePropertyName:
          type: string
        modificationDateZT:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        modificationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        oneHundredFourtyFiveNumber:
          type: string
        partOff:
          type: string
        partOn:
          type: string
        remarks:
          type: string
        reportDate:
          type: string
          format: date-time
        serialOff:
          type: string
        serialOn:
          type: string
        signature:
          type: string
        source:
          type: string
          enum:
            - DISPATCH
            - CREW
        techLogCycles:
          type: integer
          format: int32
        techLogHours:
          type: number
          format: float
        techNumber:
          type: string
        techlogNumber:
          type: string
        uuid:
          type: string
        valid:
          type: boolean
        workOrderNumber:
          type: string
    HoldItemAcknowledged:
      title: HoldItemAcknowledged
      type: object
      properties:
        acknowledgedAt:
          type: string
          format: date-time
        acknowledgedBy:
          $ref: '#/components/schemas/User'
        acknowledgedLeg:
          $ref: '#/components/schemas/Leg'
        holdItem:
          $ref: '#/components/schemas/HoldItem'
        id:
          type: integer
          format: int64
        uuid:
          type: string
    HoldItemDto:
      title: HoldItemDto
      type: object
      properties:
        aircraftId:
          type: integer
          format: int64
        approvalUser:
          $ref: '#/components/schemas/UserMinimal'
        cabinConvenience:
          type: boolean
        corrected:
          type: boolean
        correctedWorkOrderNumber:
          type: string
        correctionDate:
          type: string
          format: date-time
        correctionUser:
          $ref: '#/components/schemas/UserMinimal'
        correctiveActions:
          type: string
        creationDate:
          type: string
          format: date-time
        creationUser:
          $ref: '#/components/schemas/UserMinimal'
        cycles:
          type: integer
          format: int32
        description:
          type: string
        documents:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReferenceDto'
        dueDate:
          type: string
          format: date-time
        extendedDueDate:
          type: string
          format: date-time
        formCategory:
          type: string
          enum:
            - MEL_A
            - MEL_B
            - MEL_C
            - MEL_D
            - HIL_A
            - HIL_B
            - HIL_C
            - HIL_D
        hilReference:
          type: string
        hours:
          type: number
          format: float
        id:
          type: integer
          format: int64
        limitations:
          type: string
          enum:
            - 'NO'
            - 'YES'
            - DONT_KNOW
        limitationsDescription:
          type: string
        maintenanceOrganization:
          type: string
        melReference:
          type: string
        modificationDate:
          type: string
          format: date-time
        modifiedBy:
          $ref: '#/components/schemas/UserMinimal'
        oneHundredFourtyFiveNumber:
          type: string
        partOff:
          type: string
        partOn:
          type: string
        remarks:
          type: string
        reportDate:
          type: string
          format: date-time
        serialOff:
          type: string
        serialOn:
          type: string
        signature:
          type: string
        source:
          type: string
          enum:
            - DISPATCH
            - CREW
        techLogCycles:
          type: integer
          format: int32
        techLogHours:
          type: number
          format: float
        techNumber:
          type: string
        techlogNumber:
          type: string
        workOrderNumber:
          type: string
    HotacDto:
      title: HotacDto
      type: object
      properties:
        airportId:
          type: integer
          format: int64
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        cancellationRequired:
          type: boolean
        cost:
          type: number
        documents:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReferenceDto'
        externalNote:
          type: string
        externalSource:
          type: string
          enum:
            - B2C
            - FBOONE
            - MYHANDLING
            - FLIGHTBRIDGE
            - FUELERLINX
            - DELISKY
            - JETEX
            - UVGO
            - FOREFLIGHT
        externalStatus:
          type: string
        flightBridgeNote:
          type: string
        hotacService:
          $ref: '#/components/schemas/AirportServiceDto'
        hotel:
          type: string
        id:
          type: integer
          format: int64
        notes:
          type: string
        permitProviderId:
          type: integer
          format: int64
        person:
          $ref: '#/components/schemas/UserSearchDto'
        poCreatedDate:
          type: string
          format: date-time
        poNumber:
          type: string
        price:
          type: number
        reservationId:
          type: string
        serviceFor:
          type: string
          enum:
            - Crew
            - Pax
            - Person
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        targetFor:
          type: string
        updatedDate:
          type: string
          format: date-time
    HotacDto_1:
      title: HotacDto_1
      type: object
      properties:
        airportId:
          type: integer
          format: int64
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        cancellationRequired:
          type: boolean
        cost:
          type: number
        documents:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReferenceDto'
        externalNote:
          type: string
        externalSource:
          type: string
          enum:
            - B2C
            - FBOONE
            - MYHANDLING
            - FLIGHTBRIDGE
            - FUELERLINX
            - DELISKY
            - JETEX
            - UVGO
            - FOREFLIGHT
        externalStatus:
          type: string
        flightBridgeNote:
          type: string
        hotacService:
          $ref: '#/components/schemas/AirportServiceDto_1'
        hotel:
          type: string
        id:
          type: integer
          format: int64
        notes:
          type: string
        permitProviderId:
          type: integer
          format: int64
        person:
          $ref: '#/components/schemas/UserSearchDto'
        poCreatedDate:
          type: string
          format: date-time
        poNumber:
          type: string
        price:
          type: number
        reservationId:
          type: string
        serviceFor:
          type: string
          enum:
            - Crew
            - Pax
            - Person
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        targetFor:
          type: string
        updatedDate:
          type: string
          format: date-time
    IdDto:
      title: IdDto
      type: object
      properties:
        id:
          type: integer
          format: int64
    Idcard:
      title: Idcard
      type: object
      properties:
        copy:
          $ref: '#/components/schemas/BinaryReference_1'
        deleted:
          type: boolean
        expirationDate:
          type: string
          format: date-time
        id:
          type: integer
          format: int64
        idcardid:
          type: integer
          format: int64
        issueAuthority:
          type: string
        issueCountry:
          $ref: '#/components/schemas/Country_1'
        issueDate:
          type: string
          format: date-time
        issuePlace:
          type: string
        lastMailSent:
          type: string
          format: date-time
        main:
          type: boolean
        number:
          type: string
        passportId:
          type: integer
          format: int64
        state:
          type: string
        type:
          type: string
          enum:
            - PASSPORT
            - IDCARD
            - VISA
            - OTHER
            - CREWID
            - AIRPORT_ID
            - DRIVING_LICENSE
            - US_GLOBAL
            - GREEN_CARD
            - PILOT_LICENSE
            - ALIEN_REGISTRATION_CARD
            - PERMANENT_RESIDENCE_CARD
            - FACILITATION_DOCUMENT
            - MILITARY_CARD
            - NEXUS_CARD
            - REFUGEE_TRAVEL_DOCUMENT
            - EXEMPT_FROM_IRPA_DOCUMENT
            - REDRESS_NUMBER
        user:
          $ref: '#/components/schemas/User'
        userId:
          type: integer
          format: int64
        uuid:
          type: string
        visaType:
          type: string
    IdcardDto:
      title: IdcardDto
      type: object
      properties:
        copy:
          $ref: '#/components/schemas/BinaryReferenceDto'
        deleted:
          type: boolean
        expirationDate:
          type: string
          format: date-time
        id:
          type: integer
          format: int64
        issueAuthority:
          type: string
        issueCountry:
          $ref: '#/components/schemas/CountryDto'
        issueCountryId:
          type: integer
          format: int64
        issueDate:
          type: string
          format: date-time
        issuePlace:
          type: string
        lastMailSent:
          type: string
          format: date-time
        main:
          type: boolean
        number:
          type: string
        passportId:
          type: integer
          format: int64
        state:
          type: string
        type:
          type: string
          enum:
            - PASSPORT
            - IDCARD
            - VISA
            - OTHER
            - CREWID
            - AIRPORT_ID
            - DRIVING_LICENSE
            - US_GLOBAL
            - GREEN_CARD
            - PILOT_LICENSE
            - ALIEN_REGISTRATION_CARD
            - PERMANENT_RESIDENCE_CARD
            - FACILITATION_DOCUMENT
            - MILITARY_CARD
            - NEXUS_CARD
            - REFUGEE_TRAVEL_DOCUMENT
            - EXEMPT_FROM_IRPA_DOCUMENT
            - REDRESS_NUMBER
        userId:
          type: integer
          format: int64
        visaType:
          type: string
    IdcardDto_1:
      title: IdcardDto_1
      type: object
      properties:
        document:
          $ref: '#/components/schemas/BinaryReferenceSharedDto'
        expirationDate:
          type: string
          format: date
        externalReference:
          type: string
        internalId:
          type: integer
          format: int64
        issueAuthority:
          type: string
        issueCountry:
          type: string
        issueDate:
          type: string
          format: date
        issuePlace:
          type: string
        links:
          $ref: '#/components/schemas/Links'
        main:
          type: boolean
        number:
          type: string
        passportExternalReference:
          type: string
        type:
          type: string
          enum:
            - PASSPORT
            - IDCARD
            - VISA
            - OTHER
            - CREWID
            - AIRPORT_ID
            - DRIVING_LICENSE
            - US_GLOBAL
            - GREEN_CARD
            - PILOT_LICENSE
            - ALIEN_REGISTRATION_CARD
            - PERMANENT_RESIDENCE_CARD
            - FACILITATION_DOCUMENT
            - MILITARY_CARD
            - NEXUS_CARD
            - REFUGEE_TRAVEL_DOCUMENT
            - EXEMPT_FROM_IRPA_DOCUMENT
            - REDRESS_NUMBER
        visaType:
          type: string
    IdcardDto_2:
      title: IdcardDto_2
      type: object
      properties:
        document:
          $ref: '#/components/schemas/BinaryReferenceSharedDto'
        expirationDate:
          type: string
          format: date
        externalReference:
          type: string
        internalId:
          type: integer
          format: int64
        issueAuthority:
          type: string
        issueCountry:
          type: string
        issueDate:
          type: string
          format: date
        issuePlace:
          type: string
        links:
          type: array
          items:
            $ref: '#/components/schemas/Link'
        main:
          type: boolean
        number:
          type: string
        passportExternalReference:
          type: string
        type:
          type: string
          enum:
            - PASSPORT
            - IDCARD
            - VISA
            - OTHER
            - CREWID
            - AIRPORT_ID
            - DRIVING_LICENSE
            - US_GLOBAL
            - GREEN_CARD
            - PILOT_LICENSE
            - ALIEN_REGISTRATION_CARD
            - PERMANENT_RESIDENCE_CARD
            - FACILITATION_DOCUMENT
            - MILITARY_CARD
            - NEXUS_CARD
            - REFUGEE_TRAVEL_DOCUMENT
            - EXEMPT_FROM_IRPA_DOCUMENT
            - REDRESS_NUMBER
        visaType:
          type: string
    Interval:
      title: Interval
      type: object
      properties:
        empty:
          type: boolean
        end:
          type: string
          format: date-time
        start:
          type: string
          format: date-time
        unboundedEnd:
          type: boolean
        unboundedStart:
          type: boolean
    Invoice:
      title: Invoice
      type: object
      properties:
        actualGrossPrice:
          type: number
        booking:
          $ref: '#/components/schemas/Booking'
        calculationCurrency:
          type: string
        country:
          $ref: '#/components/schemas/Country_1'
        creationDate:
          type: string
          format: date-time
        creationDatePropertyName:
          type: string
        creationDateZT:
          type: string
          format: date-time
        creationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        creditAmount:
          type: number
        currency:
          type: string
        debitAmount:
          type: number
        exchangeRate:
          type: number
        exchangedGrossPrice:
          type: number
        federalExciseFee:
          type: number
        grossPrice:
          type: number
        id:
          type: integer
          format: int64
        invoiceBR:
          $ref: '#/components/schemas/BinaryReference_1'
        invoiceDate:
          type: string
          format: date-time
        invoiceNumber:
          type: string
        invoiceStatus:
          type: string
          enum:
            - TRANSFERRED
            - READY_TO_INVOICE
            - TRANSFERRING
        invoiceType:
          type: string
          enum:
            - INVOICE
            - PROFORMA_INVOICE
            - CREDIT_MEMO
            - CANCELLATION
        legPrices:
          type: array
          items:
            $ref: '#/components/schemas/InvoiceLegPrice'
        modificationDate:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        nationalFee:
          type: number
        netPrice:
          type: number
        notes:
          type: string
        reason:
          type: string
        taxableAmount:
          type: number
        uuid:
          type: string
        vat:
          type: number
        vatAmmount:
          type: number
    InvoiceDto:
      title: InvoiceDto
      type: object
      properties:
        grossPrice:
          type: number
          description: Gross price of the invoice
          example: 5000.69
        invoiceDate:
          type: string
          description: Date of the invoice (YYYY-MM-DDTHH:MM:SS.SSSZ)
          example: '2024-11-21T11:24:20.064Z'
        invoiceNumber:
          type: string
          description: Number of the invoice
          example: 123456
        invoiceType:
          type: string
          description: Type of the invoice
          example: INVOICE
          enum:
            - INVOICE
            - PROFORMA_INVOICE
            - CREDIT_MEMO
            - CANCELLATION
        netPrice:
          type: number
          description: Net price of the invoice
          example: 4000.69
        timestamp:
          type: string
          example: '2024-11-21T11:24:28.249Z'
        vat:
          type: number
          description: VAT of the invoice
          example: 1000
        vatPercentage:
          type: number
          description: VAT percentage of the invoice
          example: 20
        document:
          $ref: '#/components/schemas/BinaryReferenceMinDto'
        user:
          $ref: '#/components/schemas/UserDto'
    InvoiceLegPrice:
      title: InvoiceLegPrice
      type: object
      properties:
        cityPairId:
          type: integer
          format: int64
        fet:
          $ref: '#/components/schemas/DefaultPriceItem'
        legDescription:
          type: string
        legId:
          type: integer
          format: int64
        nationalFee:
          $ref: '#/components/schemas/DefaultPriceItem'
        vat:
          $ref: '#/components/schemas/DefaultPriceItem'
    IsoChronology:
      title: IsoChronology
      type: object
      properties:
        calendarType:
          type: string
        id:
          type: string
        isoBased:
          type: boolean
    JediqPriceCalculationInfo:
      title: JediqPriceCalculationInfo
      type: object
      properties:
        status:
          type: string
          enum:
            - ERROR
            - UNAVAILABLE
            - OK
    Jetcard:
      title: Jetcard
      type: object
      properties:
        account:
          $ref: '#/components/schemas/Account'
        currency:
          type: string
        deleted:
          type: boolean
        id:
          type: integer
          format: int64
        modificationDate:
          type: string
          format: date-time
        modificationDatePropertyName:
          type: string
        modificationDateZT:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        modificationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        name:
          type: string
        users:
          type: array
          items:
            $ref: '#/components/schemas/User'
        uuid:
          type: string
    Key:
      title: Key
      type: object
      properties:
        account:
          $ref: '#/components/schemas/Account'
        accountCustomFieldTemplate:
          $ref: '#/components/schemas/AccountCustomFieldTemplate'
    Key_1:
      title: Key_1
      type: object
      properties:
        booking:
          $ref: '#/components/schemas/Booking'
        currency:
          type: string
    Key_2:
      title: Key_2
      type: object
      properties:
        user:
          $ref: '#/components/schemas/User'
        userPreferenceTemplate:
          $ref: '#/components/schemas/UserPreferenceTemplate'
    Leg:
      title: Leg
      type: object
      properties:
        actualAircraft:
          $ref: '#/components/schemas/Aircraft'
        actualOperatorWorkflow:
          $ref: '#/components/schemas/OperatorWorkflow'
        aircraft:
          $ref: '#/components/schemas/Aircraft'
        aircraftAtHomeBase:
          type: boolean
        aircraftModel:
          $ref: '#/components/schemas/AircraftModel'
        ambulance:
          type: boolean
        autoPosStrategy:
          type: string
          enum:
            - ACTUAL_SCHEDULE
            - FIXED_BASE
            - FLOATING_BASE
        bizFlightReference:
          type: string
        blockTime:
          type: integer
          format: int32
        booking:
          $ref: '#/components/schemas/Booking'
        cancelled:
          type: boolean
        cargoUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
        citypair:
          $ref: '#/components/schemas/Citypair'
        crewMembers:
          type: integer
          format: int32
        crewSwap:
          type: boolean
        dailyDutyTime:
          type: integer
          format: int64
        dailyFlightTime:
          type: integer
          format: int64
        datesTBA:
          type: boolean
        diversionOf:
          $ref: '#/components/schemas/Flight'
        documentLeg:
          type: boolean
        domestic:
          type: boolean
        domesticCountry:
          $ref: '#/components/schemas/Country_1'
        earliestDeparture:
          type: string
          format: date-time
        earliestDepartureZT:
          type: string
          format: date-time
        empty:
          type: boolean
        fakeLeg:
          type: boolean
        flight:
          $ref: '#/components/schemas/Flight'
        flight24:
          type: integer
          format: int64
        flightLevel:
          type: integer
          format: int32
        flightNumber:
          type: string
        flightNumberSource:
          type: string
          enum:
            - FLO
            - MANUAL
        flightTimeCalculationStatus:
          type: string
          enum:
            - NOT_CALCULATED
            - CALCULATED_NO_WINDS
            - CALCULATED_WINDS
            - CALCULATED_HISTORICAL_WINDS
        flightTimeSource:
          type: string
          enum:
            - FL3XX
            - AVINODE
            - ROCKETROUTE
            - MANUAL
            - AVIAPAGES
        flights:
          type: array
          items:
            $ref: '#/components/schemas/Flight'
        fromGroundHandling:
          $ref: '#/components/schemas/AirportService'
        fuelStop:
          type: boolean
        id:
          type: integer
          format: int64
        international:
          type: boolean
        interval:
          $ref: '#/components/schemas/Interval'
        isAvinode:
          type: boolean
        latestArrival:
          type: string
          format: date-time
        latestArrivalZT:
          type: string
          format: date-time
        legPrice:
          type: number
        manifestReSend:
          type: boolean
        manifestSent:
          type: boolean
        manualBlockTimeEnabled:
          type: boolean
        maxCargo:
          type: number
          format: float
        modificationDate:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        oldLeg:
          $ref: '#/components/schemas/Leg'
        operatorWorkflow:
          $ref: '#/components/schemas/OperatorWorkflow'
        originHash:
          type: integer
          format: int32
        otherRejectReason:
          type: string
        parentLeg:
          $ref: '#/components/schemas/Leg'
        passengers:
          type: integer
          format: int32
        patients:
          type: integer
          format: int32
        paxLeg:
          type: boolean
        paxTickets:
          type: array
          items:
            $ref: '#/components/schemas/Ticket'
        posExplainer:
          type: array
          items:
            type: string
        posFrom:
          $ref: '#/components/schemas/Airport'
        posLeg:
          type: boolean
        priceDetail:
          $ref: '#/components/schemas/LegPrice'
        publishPrice:
          type: number
        rdcPrices:
          pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
          type: string
          format: byte
        rejectReasons:
          type: array
          items:
            $ref: '#/components/schemas/RejectReason'
        requestedAircraftType:
          type: string
          enum:
            - CJ3
            - PC12
            - PC24
            - PC12/CJ3
            - PC12/PC24
            - CHART
            - SF50
        requestedSeats:
          type: integer
          format: int32
        route:
          type: string
        showInDocument:
          type: boolean
        status:
          type: string
          enum:
            - CANCELED
            - PENDING
            - OK
            - FAILED
            - WARNING
            - PENDING_NEW
        statusBeforeCancel:
          type: string
          enum:
            - CANCELED
            - PENDING
            - OK
            - FAILED
            - WARNING
            - PENDING_NEW
        taxiTimeArrival:
          type: integer
          format: int32
        taxiTimeDeparture:
          type: integer
          format: int32
        techStop:
          type: boolean
        tickets:
          type: array
          items:
            $ref: '#/components/schemas/Ticket'
        toGroundHandling:
          $ref: '#/components/schemas/AirportService'
        totalPassengers:
          type: integer
          format: int32
        type:
          type: string
          enum:
            - POS
            - PAX
            - FAKE
            - CARGO
        uuid:
          type: string
        validLeg:
          type: boolean
        warnings:
          type: array
          items:
            $ref: '#/components/schemas/SchedulerWarning'
    LegDto:
      title: LegDto
      type: object
      properties:
        aircraftId:
          type: integer
          format: int64
        aircraftTailNumber:
          type: string
        block:
          type: integer
          format: int32
        cargoUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
        cmdName:
          type: string
        crewMembers:
          type: integer
          format: int32
        crewSwap:
          type: boolean
        dailyDutyTime:
          type: integer
          format: int64
        dailyFlightTime:
          type: integer
          format: int64
        datesTBA:
          type: boolean
        distance:
          type: integer
          format: int32
        earliestDeparture:
          type: string
          format: date-time
        feasibilityCheckStatus:
          type: string
          enum:
            - REQUESTED
            - APPROVED
            - DECLINED
        flight24:
          type: integer
          format: int64
        flightId:
          type: integer
          format: int64
        flightNumber:
          type: string
        flightNumberSource:
          type: string
          enum:
            - FLO
            - MANUAL
        flightTimeCalculationResult:
          $ref: '#/components/schemas/FlightTimeProviderResult'
        flightTimeSource:
          type: string
          enum:
            - FL3XX
            - AVINODE
            - ROCKETROUTE
            - MANUAL
            - AVIAPAGES
        from:
          $ref: '#/components/schemas/AirportSearchResult'
        fuelStop:
          type: boolean
        id:
          type: integer
          format: int64
        latestArrival:
          type: string
          format: date-time
        legPrice:
          type: integer
          format: int32
        maxCargo:
          type: number
          format: float
        maxDutyTime:
          type: integer
          format: int64
        maxFlightTime:
          type: integer
          format: int64
        modificationDate:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/UserSearchDto'
        notes:
          type: string
        oldLeg:
          $ref: '#/components/schemas/LegDto'
        operatorWorkflow:
          $ref: '#/components/schemas/OperatorWorkflowDto'
        originalTaxiTimeArrival:
          type: integer
          format: int32
        originalTaxiTimeDeparture:
          type: integer
          format: int32
        otherRejectReason:
          type: string
        passengers:
          type: integer
          format: int32
        patients:
          type: integer
          format: int32
        posExplainer:
          type: array
          items:
            type: string
        postFlightLocked:
          type: boolean
        rejectReasons:
          type: array
          items:
            $ref: '#/components/schemas/RejectReasonDto'
        reviseFlight:
          type: boolean
        rocketRouteResult:
          $ref: '#/components/schemas/FlightTimeProviderResult'
        showInDocument:
          type: boolean
        status:
          type: string
          enum:
            - CANCELED
            - PENDING
            - OK
            - FAILED
            - WARNING
            - PENDING_NEW
        taxiTimeArrival:
          type: integer
          format: int32
        taxiTimeDeparture:
          type: integer
          format: int32
        techStop:
          type: boolean
        to:
          $ref: '#/components/schemas/AirportSearchResult'
        type:
          type: string
        warnings:
          type: array
          items:
            $ref: '#/components/schemas/SchedulerWarningDto'
        worstStatus:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
    LegDto_1:
      title: LegDto_1
      type: object
      properties:
        aircraftId:
          type: integer
          format: int64
        aircraftTailNumber:
          type: string
        block:
          type: integer
          format: int32
        cargoUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
        cmdName:
          type: string
        crewMembers:
          type: integer
          format: int32
        crewSwap:
          type: boolean
        dailyDutyTime:
          type: integer
          format: int64
        dailyFlightTime:
          type: integer
          format: int64
        datesTBA:
          type: boolean
        distance:
          type: integer
          format: int32
        earliestDeparture:
          type: string
          format: date-time
        feasibilityCheckStatus:
          type: string
          enum:
            - REQUESTED
            - APPROVED
            - DECLINED
        flight24:
          type: integer
          format: int64
        flightId:
          type: integer
          format: int64
        flightNumber:
          type: string
        flightNumberSource:
          type: string
          enum:
            - FLO
            - MANUAL
        flightTimeCalculationResult:
          $ref: '#/components/schemas/FlightTimeProviderResult_1'
        flightTimeSource:
          type: string
          enum:
            - FL3XX
            - AVINODE
            - ROCKETROUTE
            - MANUAL
            - AVIAPAGES
        from:
          $ref: '#/components/schemas/AirportSearchResult_1'
        fuelStop:
          type: boolean
        id:
          type: integer
          format: int64
        latestArrival:
          type: string
          format: date-time
        legPrice:
          type: integer
          format: int32
        maxCargo:
          type: number
          format: float
        modificationDate:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/UserSearchDto'
        notes:
          type: string
        oldLeg:
          $ref: '#/components/schemas/LegDto_1'
        operatorWorkflow:
          $ref: '#/components/schemas/OperatorWorkflowDto_1'
        originalTaxiTimeArrival:
          type: integer
          format: int32
        originalTaxiTimeDeparture:
          type: integer
          format: int32
        otherRejectReason:
          type: string
        passengers:
          type: integer
          format: int32
        patients:
          type: integer
          format: int32
        posExplainer:
          type: array
          items:
            type: string
        postFlightLocked:
          type: boolean
        rejectReasons:
          type: array
          items:
            $ref: '#/components/schemas/RejectReasonDto'
        reviseFlight:
          type: boolean
        showInDocument:
          type: boolean
        status:
          type: string
          enum:
            - CANCELED
            - PENDING
            - OK
            - FAILED
            - WARNING
            - PENDING_NEW
        taxiTimeArrival:
          type: integer
          format: int32
        taxiTimeDeparture:
          type: integer
          format: int32
        techStop:
          type: boolean
        to:
          $ref: '#/components/schemas/AirportSearchResult_1'
        type:
          type: string
        warnings:
          type: array
          items:
            $ref: '#/components/schemas/SchedulerWarningDto'
        worstStatus:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
    LegDto_2:
      title: LegDto_2
      type: object
      properties:
        aircraft:
          type: string
          description: Aircraft registration
          example: A7-XYZ
        arrivalAirport:
          type: string
          description: Arrival airport
          example: FNLU
        arrivalAirportObj:
          $ref: '#/components/schemas/AirportDto'
        arrivalDate:
          type: string
          description: Arrival date
          format: date-time
        arrivalDateUTC:
          type: string
          description: Arrival date in UTC
          format: date-time
        blockTime:
          type: integer
          description: Block-time
          format: int32
          example: 758
        comments:
          type: string
          description: ''
          example: ''
        crew:
          type: array
          items:
            $ref: '#/components/schemas/FlightCrewDto'
        departureAirport:
          type: string
          description: Departure airport
          example: KTEB
        departureAirportObj:
          $ref: '#/components/schemas/AirportDto'
        departureDate:
          type: string
          description: Departure date
          format: date-time
        departureDateUTC:
          type: string
          description: Departure date in UTC
          format: date-time
        distance:
          type: number
          description: Distance
          format: float
          example: 5815
        flightInfo:
          $ref: '#/components/schemas/FlightInfo'
        flightTime:
          type: integer
          description: Flight time
          format: int32
          example: 416
        fplType:
          type: string
          description: Indicates an FPL type
          example: G
          enum:
            - 'N'
            - G
            - X
            - M
            - S
        fuelStop:
          type: boolean
          description: Indicates whether the flight requires fuel stop
          example: true
        id:
          type: string
          description: ''
          example: 'null'
        notes:
          type: string
          description: ''
          example: ''
        pax:
          type: integer
          description: PAX
          format: int32
          example: 0
        planningNotes:
          type: string
          description: Flight PLanning notes
          example: Possible delays due to the ATC strike
        postFlightClosed:
          type: boolean
          description: Indicates if post flight is closed
          example: false
        requestedAircraftType:
          type: string
          description: Requested aircraft type
          example: CJ3
          enum:
            - CJ3
            - PC12
            - PC24
            - PC12/CJ3
            - PC12/PC24
            - CHART
            - SF50
        seatsAfter:
          type: integer
          description: Number of seats after BOOKing
          format: int32
          example: 9
        snapshotOfLegId:
          type: integer
          description: ''
          format: int64
        status:
          type: string
          description: Leg status
          example: OK
          enum:
            - OK
            - CANCELED
        taskType:
          type: string
          description: Timeline activity type
          example: AOG
          enum:
            - MAINTENANCE
            - RESERVED
            - AOG
            - CREW_UNAVAILABLE
            - NOTE
            - FLIGHT
            - UNSCHEDULED_MAINTENANCE
            - LOCATION
        techStop:
          type: boolean
          description: Indicates whether the flight requires tech stop
          example: false
        tripNumber:
          type: integer
          description: Trip number
          format: int64
          example: 569845
        warnings:
          type: array
          description: Warning associated with the leg
          items:
            $ref: '#/components/schemas/WarningDto'
        workflow:
          type: string
          description: Workflow
          example: CHARTER
          enum:
            - COMMERCIAL
            - MAINTENANCE
            - PRIVATE
            - TRAINING
            - OWNER
            - INTERNAL
            - RESERVED
            - CHARTER
            - SUBCHARTER
            - SCHEDULED
            - AMBULANCE
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
            - CUSTOM6
            - BROKER
            - BROKER_SUBCHARTER
        workflowCustomName:
          type: string
          description: Workflow custom name
          example: '704'
    LegDto_3:
      title: LegDto_3
      type: object
      properties:
        aircraft:
          type: string
        arrivalAirport:
          type: string
        arrivalAirportObj:
          $ref: '#/components/schemas/AirportDto'
        arrivalDate:
          type: string
        arrivalDateUTC:
          type: string
        blockTime:
          type: integer
          format: int32
        comments:
          type: string
        crew:
          type: array
          items:
            $ref: '#/components/schemas/FlightCrewDto_1'
        departureAirport:
          type: string
        departureAirportObj:
          $ref: '#/components/schemas/AirportDto'
        departureDate:
          type: string
        departureDateUTC:
          type: string
        distance:
          type: number
          format: float
        flightInfo:
          $ref: '#/components/schemas/FlightInfo'
        flightTime:
          type: integer
          format: int32
        fplType:
          type: string
          enum:
            - 'N'
            - G
            - X
            - M
            - S
        fuelStop:
          type: boolean
        id:
          type: string
        notes:
          type: string
        pax:
          type: integer
          format: int32
        planningNotes:
          type: string
        postFlightClosed:
          type: boolean
        requestedAircraftType:
          type: string
          enum:
            - CJ3
            - PC12
            - PC24
            - PC12/CJ3
            - PC12/PC24
            - CHART
            - SF50
        seatsAfter:
          type: integer
          format: int32
        snapshotOfLegId:
          type: integer
          format: int64
        status:
          type: string
          enum:
            - OK
            - CANCELED
        taskType:
          type: string
          enum:
            - MAINTENANCE
            - RESERVED
            - AOG
            - CREW_UNAVAILABLE
            - NOTE
            - FLIGHT
            - UNSCHEDULED_MAINTENANCE
            - LOCATION
        techStop:
          type: boolean
        tripNumber:
          type: integer
          format: int64
        warnings:
          type: array
          items:
            $ref: '#/components/schemas/WarningDto'
        workflow:
          type: string
          enum:
            - COMMERCIAL
            - MAINTENANCE
            - PRIVATE
            - TRAINING
            - OWNER
            - INTERNAL
            - RESERVED
            - CHARTER
            - SUBCHARTER
            - SCHEDULED
            - AMBULANCE
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
            - CUSTOM6
            - BROKER
            - BROKER_SUBCHARTER
        workflowCustomName:
          type: string
    LegDto_Lookup:
      title: LegDto_Lookup
      required:
        - arrivalAirport
        - departureAirport
        - departureDate
      type: object
      properties:
        arrivalAirport:
          type: string
          description: >-
            Arrival airport. Value can be ICAO, IATA, FAA, LocalIdentifier or
            aid (Aviowiki ID).
          example: FA54
        arrivalDate:
          type: string
          description: Arrival date in local time (YYYY-MM-DDTHH:MM).
          example: 2024-10-09T14:25
        arrivalDateUTC:
          type: string
          description: Arrival date in UTC time (YYYY-MM-DDTHH:MM).
          format: date-time
        departureAirport:
          type: string
          description: >-
            Departure airport. Value can be ICAO, IATA, FAA, LocalIdentifier or
            aid (Aviowiki ID).
          example: BIKF
        departureDate:
          type: string
          description: Departure date in local time (YYYY-MM-DDTHH:MM).
          format: date-time
        departureDateUTC:
          type: string
          description: Departure date in UTC time (YYYY-MM-DDTHH:MM).
          format: date-time
        pax:
          type: integer
          description: Number of PAX
          format: int32
          example: 4
    LegInfoDto:
      title: LegInfoDto
      type: object
      properties:
        date:
          type: string
          format: date-time
        duration:
          type: string
        flightNumber:
          type: string
        flightSequence:
          type: string
        from:
          type: string
        fromId:
          type: integer
          format: int64
        fromTimeZone:
          type: string
        legId:
          type: integer
          format: int64
        to:
          type: string
        toId:
          type: integer
          format: int64
    LegPrice:
      title: LegPrice
      type: object
      properties:
        cateringFee:
          type: number
        crewSwapFee:
          type: number
        crewVariable:
          type: number
        departureFee:
          type: number
        fuelFee:
          type: number
        handlingFee:
          type: number
        id:
          type: integer
          format: int64
        landingFee:
          type: number
        legFee:
          type: number
        legPriceId:
          type: integer
          format: int64
        minFlightHoursAverageFee:
          type: number
        minFlightHoursAverageTime:
          type: number
          format: float
        minFlightHoursFee:
          type: number
        minFlightHoursFixedFee:
          type: number
        minFlightHoursTime:
          type: number
          format: float
        nationalFee:
          type: number
        nationalFee2:
          type: number
        navFee:
          type: number
        overnightFee:
          type: number
        parkingFee:
          type: number
        paxFee:
          type: number
        startupFee:
          type: number
        uuid:
          type: string
    LegacyCrewPostFlightDto:
      title: LegacyCrewPostFlightDto
      type: object
      properties:
        accountName:
          type: string
        approachCategory:
          type: string
          enum:
            - CAT2
            - CAT3
            - LVO
            - TWO_D_AZIMUTH
            - TWO_D_CDI
            - THREE_D_CDI
            - CAT1
            - CAT1_LTS
            - GCA
            - GPS
            - RNP_AR
            - RNP_RNAV
            - ILS
            - JPALS
            - MLS
            - GLS
            - PAR
            - VLR
            - LOC
            - LDA
        closeTime:
          type: string
          format: date-time
        closed:
          type: boolean
        crewPosition:
          $ref: '#/components/schemas/CrewPositionDto'
        crewType:
          type: string
          enum:
            - FLIGHT_DECK
            - CABIN
        defaultPilotTime:
          $ref: '#/components/schemas/PilotTime'
        efvs:
          type: integer
          format: int32
        fdpExtension:
          type: boolean
        fdpExtensionOption:
          type: string
          enum:
            - NOT_POSSIBLE
            - POSSIBLE
            - POSSIBLE_BY_ADMIN
            - READ_ONLY
            - NOT_SUPPORTED
        firstName:
          type: string
        from:
          type: string
          format: date-time
        gender:
          type: string
          enum:
            - FEMALE
            - MALE
            - OTHER
        height:
          type: number
          format: float
        hold:
          type: boolean
        id:
          type: integer
          format: int64
        instTime:
          type: integer
          format: int64
        jobTitle:
          type: string
        landings:
          type: integer
          format: int32
        lastName:
          type: string
        loggedLandings:
          type: integer
          format: int32
        loggedTakeOffs:
          type: integer
          format: int32
        middleName:
          type: string
        nationalityCountryName:
          type: string
        nickname:
          type: string
        nightLandings:
          type: integer
          format: int32
        nightTakeOffs:
          type: integer
          format: int32
        nightTime:
          type: integer
          format: int64
        nonPrecision:
          type: integer
          format: int32
        personnelNumber:
          type: string
        picTime:
          type: integer
          format: int64
        pilot:
          type: boolean
        pilotRole:
          type: string
          enum:
            - CMD
            - FO
            - CC
            - MED1
            - ATPL
            - LST
            - AQ
            - OPCRH
            - PA
            - FA
            - CPL
            - DG
            - ESET
            - Sec
            - FF
            - ENL4
            - ENL5
            - ENL6
            - LC
            - OPC
            - LVTO
            - LV
            - RVSM
            - TRI
            - TRE
            - AUS
            - SQMM
            - SECG
            - BMVIT
            - EFB
            - GRT
            - ESE
            - OCC
            - OICC
            - PICC
            - DITCH
            - FAID
            - WINTER
            - BRNAV
            - MNPS_ETOPS
            - RACQ
            - ETOPS
            - TCAS
            - CRM
            - ASH
            - USER0
            - USER1
            - USER2
            - USER3
            - USER4
            - USER5
            - USER6
            - USER7
            - USER8
            - USER9
            - ENG
            - AUGM_CREW
            - ADD_CREW
            - CREW
            - IR
            - HW_OPS
            - PBN
            - PFI
            - FM
            - SEP
            - SEP_IR
            - FI_A
            - MEP
            - CR
            - RC
            - OBS
            - DHC
            - EX_CM
            - AUG_PIC
            - AUG_SIC
            - AUG_CRP
            - INSTRUCTOR
            - CHECK_AIRMAN
            - GROUND_INSTRUCTOR
            - AUG_FA
            - CA
            - MD
            - RN
            - MEDIC
            - MAINTENANCE
            - JUMPSEAT
            - LOAD_MASTER
            - OPS_CONTROL
            - FLIGHT_COORDINATOR
            - COURIER
            - NR
            - INSPECTOR
            - COMPANY_REP
            - SINGLE_PILOT
        postFlightRestIncrease:
          type: boolean
        precision:
          type: integer
          format: int32
        reducedRestOffBySystem:
          type: boolean
        reportTime:
          type: string
          format: date-time
        reported:
          type: boolean
        restTravelTime:
          type: integer
          format: int32
        sicTime:
          type: integer
          format: int64
        splitDutyClose:
          type: boolean
        splitDutyCloseTime:
          type: string
          format: date-time
        splitDutyStart:
          type: boolean
        splitDutyStartTime:
          type: string
          format: date-time
        status:
          type: string
          enum:
            - ACTIVE
            - DELETED
            - INACTIVE
            - MIGRATED_US
        takeOffs:
          type: integer
          format: int32
        to:
          type: string
          format: date-time
        useReducedRest:
          type: boolean
        userCharacteristics:
          $ref: '#/components/schemas/UserCharacteristicsDto'
        userId:
          type: integer
          format: int64
        visual:
          type: boolean
        weight:
          type: number
          format: float
    LegacyCrewPostFlightDto_1:
      title: LegacyCrewPostFlightDto_1
      type: object
      properties:
        accountName:
          type: string
        approachCategory:
          type: string
          enum:
            - CAT2
            - CAT3
            - LVO
            - TWO_D_AZIMUTH
            - TWO_D_CDI
            - THREE_D_CDI
            - CAT1
            - CAT1_LTS
            - GCA
            - GPS
            - RNP_AR
            - RNP_RNAV
            - ILS
            - JPALS
            - MLS
            - GLS
            - PAR
            - VLR
            - LOC
            - LDA
        closeTime:
          type: string
          format: date-time
        closed:
          type: boolean
        crewPosition:
          $ref: '#/components/schemas/CrewPositionDto'
        crewType:
          type: string
          enum:
            - FLIGHT_DECK
            - CABIN
        defaultPilotTime:
          $ref: '#/components/schemas/PilotTime_1'
        efvs:
          type: integer
          format: int32
        fdpExtension:
          type: boolean
        fdpExtensionOption:
          type: string
          enum:
            - NOT_POSSIBLE
            - POSSIBLE
            - POSSIBLE_BY_ADMIN
            - READ_ONLY
            - NOT_SUPPORTED
        firstName:
          type: string
        from:
          type: string
          format: date-time
        gender:
          type: string
          enum:
            - FEMALE
            - MALE
            - OTHER
        height:
          type: number
          format: float
        hold:
          type: boolean
        id:
          type: integer
          format: int64
        instTime:
          type: integer
          format: int64
        jobTitle:
          type: string
        landings:
          type: integer
          format: int32
        lastName:
          type: string
        loggedLandings:
          type: integer
          format: int32
        loggedTakeOffs:
          type: integer
          format: int32
        middleName:
          type: string
        nationalityCountryName:
          type: string
        nickname:
          type: string
        nightLandings:
          type: integer
          format: int32
        nightTakeOffs:
          type: integer
          format: int32
        nightTime:
          type: integer
          format: int64
        nonPrecision:
          type: integer
          format: int32
        personnelNumber:
          type: string
        picTime:
          type: integer
          format: int64
        pilot:
          type: boolean
        pilotRole:
          type: string
          enum:
            - CMD
            - FO
            - CC
            - MED1
            - ATPL
            - LST
            - AQ
            - OPCRH
            - PA
            - FA
            - CPL
            - DG
            - ESET
            - Sec
            - FF
            - ENL4
            - ENL5
            - ENL6
            - LC
            - OPC
            - LVTO
            - LV
            - RVSM
            - TRI
            - TRE
            - AUS
            - SQMM
            - SECG
            - BMVIT
            - EFB
            - GRT
            - ESE
            - OCC
            - OICC
            - PICC
            - DITCH
            - FAID
            - WINTER
            - BRNAV
            - MNPS_ETOPS
            - RACQ
            - ETOPS
            - TCAS
            - CRM
            - ASH
            - USER0
            - USER1
            - USER2
            - USER3
            - USER4
            - USER5
            - USER6
            - USER7
            - USER8
            - USER9
            - ENG
            - AUGM_CREW
            - ADD_CREW
            - CREW
            - IR
            - HW_OPS
            - PBN
            - PFI
            - FM
            - SEP
            - SEP_IR
            - FI_A
            - MEP
            - CR
            - RC
            - OBS
            - DHC
            - EX_CM
            - AUG_PIC
            - AUG_SIC
            - AUG_CRP
            - INSTRUCTOR
            - CHECK_AIRMAN
            - GROUND_INSTRUCTOR
            - AUG_FA
            - CA
            - MD
            - RN
            - MEDIC
            - MAINTENANCE
            - JUMPSEAT
            - LOAD_MASTER
            - OPS_CONTROL
            - FLIGHT_COORDINATOR
            - COURIER
            - NR
            - INSPECTOR
            - COMPANY_REP
            - SINGLE_PILOT
        postFlightRestIncrease:
          type: boolean
        precision:
          type: integer
          format: int32
        reducedRestOffBySystem:
          type: boolean
        reportTime:
          type: string
          format: date-time
        reported:
          type: boolean
        restTravelTime:
          type: integer
          format: int32
        sicTime:
          type: integer
          format: int64
        splitDutyClose:
          type: boolean
        splitDutyCloseTime:
          type: string
          format: date-time
        splitDutyStart:
          type: boolean
        splitDutyStartTime:
          type: string
          format: date-time
        status:
          type: string
          enum:
            - ACTIVE
            - DELETED
            - INACTIVE
            - MIGRATED_US
        takeOffs:
          type: integer
          format: int32
        to:
          type: string
          format: date-time
        useReducedRest:
          type: boolean
        userCharacteristics:
          $ref: '#/components/schemas/UserCharacteristicsDto'
        userId:
          type: integer
          format: int64
        visual:
          type: boolean
        weight:
          type: number
          format: float
    LimitationInfo:
      title: LimitationInfo
      type: object
      properties:
        label:
          type: string
        limitationType:
          type: string
        order:
          type: integer
          format: int32
        value:
          $ref: '#/components/schemas/Value'
    Link:
      title: Link
      type: object
      properties:
        deprecation:
          type: string
        href:
          type: string
        hreflang:
          type: string
        media:
          type: string
        name:
          type: string
        profile:
          type: string
        rel:
          $ref: '#/components/schemas/LinkRelation'
        title:
          type: string
        type:
          type: string
    LinkRelation:
      title: LinkRelation
      type: object
    Links:
      title: Links
      type: object
      properties:
        empty:
          type: boolean
    LocalTime:
      title: LocalTime
      type: object
      properties:
        hour:
          type: integer
          format: int32
        minute:
          type: integer
          format: int32
        nano:
          type: integer
          format: int32
        second:
          type: integer
          format: int32
    Locale:
      title: Locale
      type: object
      properties:
        country:
          type: string
        displayCountry:
          type: string
        displayLanguage:
          type: string
        displayName:
          type: string
        displayScript:
          type: string
        displayVariant:
          type: string
        extensionKeys:
          type: array
          items:
            $ref: '#/components/schemas/Character'
        iso3Country:
          type: string
        iso3Language:
          type: string
        language:
          type: string
        script:
          type: string
        unicodeLocaleAttributes:
          type: array
          items:
            type: string
        unicodeLocaleKeys:
          type: array
          items:
            type: string
        variant:
          type: string
    LogDetailsDto:
      title: LogDetailsDto
      type: object
      properties:
        defect:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        deice:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        documents:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        id:
          type: integer
          format: int64
        maintenance:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        postFlight:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        preFlight:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        target:
          type: string
          enum:
            - DEPARTURE
            - ARRIVAL
        time:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        worst:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
    LuggageDto:
      title: LuggageDto
      type: object
      properties:
        comment:
          type: string
        luggageWeight:
          type: number
          format: float
        ticketId:
          type: integer
          format: int64
    MaintenanceProvider:
      title: MaintenanceProvider
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
        reasonForOtherProvider:
          type: string
        showOnDdl:
          type: boolean
        uuid:
          type: string
    Map_string_object:
      title: Map_string_object
      type: object
      additionalProperties:
        type: object
        properties: {}
    EmptyLegs:
      title: Empty Legs
      type: object
      properties:
        from:
          type: string
          description: Departure airport (IATA ICAO)
          example: OEDF DMM
        to:
          type: string
          description: Arrival airport
          example: CYVR YVR
        type:
          type: string
          description: Aircraft type
          example: OL-777
        tailnumber:
          type: string
          description: Aircraft tail number
          example: OL-777
        date:
          type: integer
          format: int64
          description: Departure date (unix time)
          example: 1750997940000
        datearr:
          type: integer
          format: int64
          description: Arrival date (unix time)
          example: 1750999260000
        seats:
          type: integer
          format: int32
          description: Number of seats
          example: 5
        price:
          type: integer
          format: int64
          description: Price
          example: 250.56
        operator:
          type: integer
          format: int32
          description: Operator ID
          example: 14
        id:
          type: integer
          format: int32
          description: Let ID
          example: 245587
        currency:
          type: string
          description: Currency
          example: EUR
        booking:
          type: integer
          format: int32
          description: Booking ID
          example: 94470
        account_name:
          type: string
          description: Account Name
          example: My account
        account_number:
          type: string
          description: Account Number
          example: '2310'
        accountid:
          type: integer
          format: int64
          description: Account ID
          example: 25016
        bookingidentifier:
          type: string
          description: Booking Identifier
          example: IYBUJ
        aircraftid:
          type: integer
          format: int32
          description: FL3XX Aircraft ID
          example: 2333
    Model:
      title: Model
      type: object
      properties:
        ContentEncoding:
          type: object
          properties: {}
        ContentType:
          type: string
        Data:
          $ref: '#/components/schemas/Data'
        JsonRequestBehavior:
          type: integer
          format: int32
        MaxJsonLength:
          type: object
          properties: {}
        RecursionLimit:
          type: object
          properties: {}
    MySkyQuotePriceCalculationInfo:
      title: MySkyQuotePriceCalculationInfo
      type: object
      properties:
        mySkyQuoteId:
          type: integer
          format: int64
        total:
          type: number
    NamedEntity:
      title: NamedEntity
      type: object
      properties:
        choices:
          type: array
          items:
            $ref: '#/components/schemas/NamedEntity'
        defaultTranslation:
          type: string
        id:
          type: integer
          format: int64
        name:
          type: string
    NoFlyListUploadMinDto:
      title: NoFlyListUploadMinDto
      type: object
      properties:
        active:
          type: boolean
        entryType:
          type: string
          enum:
            - NoFly
            - Selectee
            - Cleared
        fileName:
          type: string
        fileSize:
          type: integer
          format: int64
        id:
          type: integer
          format: int64
    NoFlyUserMatchDto:
      title: NoFlyUserMatchDto
      type: object
      properties:
        importFile:
          type: string
        line:
          type: integer
          format: int32
    NotesDto:
      title: NotesDto
      type: object
      properties:
        modificationDate:
          type: string
          format: date-time
        note:
          type: string
    NotifDetailsDto:
      title: NotifDetailsDto
      type: object
      properties:
        crew:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        id:
          type: integer
          format: int64
        manifest:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        movementMsg:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        pax:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        target:
          type: string
          enum:
            - DEPARTURE
            - ARRIVAL
        worst:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
    NtsDetailsDto:
      title: NtsDetailsDto
      type: object
      properties:
        id:
          type: integer
          format: int64
        notes:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        target:
          type: string
          enum:
            - DEPARTURE
            - ARRIVAL
        worst:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
    OperationType:
      title: OperationType
      type: object
      properties:
        id:
          type: integer
          format: int64
        label:
          type: string
        uuid:
          type: string
    OperationTypeDto:
      title: OperationTypeDto
      type: object
      properties:
        id:
          type: integer
          format: int64
        label:
          type: string
    OperationalNoteDto:
      title: OperationalNoteDto
      type: object
      properties:
        airportId:
          type: integer
          format: int64
        alert:
          type: boolean
        country:
          $ref: '#/components/schemas/CountryDto'
        countryWide:
          type: boolean
        deleted:
          type: boolean
        end:
          type: string
          format: date-time
        icao:
          type: string
        id:
          type: integer
          format: int64
        note:
          type: string
        operatorId:
          type: integer
          format: int64
        previous:
          $ref: '#/components/schemas/OperationalNoteDto'
        start:
          type: string
          format: date-time
    Operator:
      title: Operator
      type: object
      properties:
        acronym:
          type: string
        aocs:
          type: array
          items:
            $ref: '#/components/schemas/AOC'
        bankAccounts:
          type: array
          items:
            $ref: '#/components/schemas/OperatorBankAccount'
        bccAccountingEmail:
          type: string
        bccDispatchEmail:
          type: string
        bccSalesEmail:
          type: string
        camoAlerts:
          type: string
        camoEmail:
          type: string
        city:
          type: string
        cleanedUpName:
          type: string
        clientEmail:
          type: string
        clientFax:
          type: string
        defCancellationPolicy:
          type: string
        defaultCurrency:
          type: string
        defaultEmail:
          type: string
        dispatchFax:
          type: string
        dispatchPhone:
          type: string
        emailLogoId:
          type: string
        fromDispatchEmail:
          type: string
        fromReceivablesEmail:
          type: string
        fromSalesEmail:
          type: string
        id:
          type: integer
          format: int64
        legalForm:
          type: string
        mainAoc:
          $ref: '#/components/schemas/AOC'
        name:
          type: string
        operatorCountry:
          $ref: '#/components/schemas/Country_1'
        operatorId:
          type: integer
          format: int64
        operatorWebSite:
          type: string
        opsTeams:
          type: array
          items:
            $ref: '#/components/schemas/OpsTeam'
        phFlightOps:
          type: string
        phoneDomestic:
          type: string
        phoneGeneral:
          type: string
        phoneInterantional:
          type: string
        registerOffice:
          type: string
        salesFax:
          type: string
        salesPhoneNumber:
          type: string
        salesTeams:
          type: array
          items:
            $ref: '#/components/schemas/SalesTeam'
        state:
          type: string
        street:
          type: string
        topicUUID:
          type: string
        uuid:
          type: string
        vatForDomFlights:
          type: string
        vatForIntlFlights:
          type: string
        vatNumber:
          type: string
        zip:
          type: string
    OperatorBankAccount:
      title: OperatorBankAccount
      type: object
      properties:
        bankFieldName:
          type: string
        bankFieldValue:
          type: string
        bankInformation:
          type: string
        currency:
          type: string
        id:
          type: integer
          format: int64
        name:
          type: string
        operatorBankAccountId:
          type: integer
          format: int64
        uuid:
          type: string
    OperatorBaseDto:
      title: OperatorBaseDto
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
    OperatorWorkflow:
      title: OperatorWorkflow
      type: object
      properties:
        cargo:
          type: boolean
        fplType:
          type: string
          enum:
            - 'N'
            - G
            - X
            - M
            - S
        hidden:
          type: boolean
        id:
          type: integer
          format: int64
        natureOrdinal:
          type: string
          enum:
            - COMMERCIAL
            - MAINTENANCE
            - PRIVATE
            - TRAINING
            - OWNER
            - INTERNAL
            - RESERVED
            - CHARTER
            - SUBCHARTER
            - SCHEDULED
            - AMBULANCE
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
            - CUSTOM6
            - BROKER
            - BROKER_SUBCHARTER
        operationType:
          $ref: '#/components/schemas/OperationType'
        operatorWorkflowId:
          type: integer
          format: int64
        order:
          type: integer
          format: int32
        useFlightReleaseProcess:
          type: boolean
        uuid:
          type: string
        workflowName:
          type: string
    OperatorWorkflowDto:
      title: OperatorWorkflowDto
      type: object
      properties:
        cargo:
          type: boolean
        deleted:
          type: boolean
        fplType:
          type: string
          enum:
            - 'N'
            - G
            - X
            - M
            - S
        hidden:
          type: boolean
        id:
          type: integer
          format: int64
        is135Flight:
          type: boolean
        is91Flight:
          type: boolean
        name:
          type: string
        nature:
          type: integer
          format: int32
        operationType:
          $ref: '#/components/schemas/OperationTypeDto'
        operatorId:
          type: integer
          format: int64
        order:
          type: integer
          format: int32
        useFlightReleaseProcess:
          type: boolean
        workflow:
          type: string
    OperatorWorkflowDto_1:
      title: OperatorWorkflowDto_1
      type: object
      properties:
        cargo:
          type: boolean
        deleted:
          type: boolean
        fplType:
          type: string
          enum:
            - 'N'
            - G
            - X
            - M
            - S
        hidden:
          type: boolean
        id:
          type: integer
          format: int64
        name:
          type: string
        nature:
          type: integer
          format: int32
        operationType:
          $ref: '#/components/schemas/OperationTypeDto'
        operatorId:
          type: integer
          format: int64
        order:
          type: integer
          format: int32
        useFlightReleaseProcess:
          type: boolean
        workflow:
          type: string
    OpsTeam:
      title: OpsTeam
      type: object
      properties:
        aircrafts:
          type: array
          items:
            $ref: '#/components/schemas/Aircraft'
        id:
          type: integer
          format: int64
        name:
          type: string
        opsTeamId:
          type: integer
          format: int64
        users:
          type: array
          items:
            $ref: '#/components/schemas/User'
        uuid:
          type: string
    Pageable:
      title: Pageable
      type: object
      properties:
        offset:
          type: integer
          format: int64
          description: Offset of the first element in the page
        pageNumber:
          type: integer
          format: int32
          description: Page number
        pageSize:
          type: integer
          format: int32
          description: Page size
        paged:
          type: boolean
          description: Indicates whether the the result is paged
        sort:
          $ref: '#/components/schemas/Sort'
        unpaged:
          type: boolean
          description: Indicates whether the the result is unpaged
    Page_List_QuoteDto:
      title: Page_List_QuoteDto
      type: object
      properties:
        content:
          type: array
          items:
            type: array
            items:
              $ref: '#/components/schemas/QuoteDto'
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          type: integer
          format: int32
        numberOfElements:
          type: integer
          format: int32
        pageable:
          $ref: '#/components/schemas/Pageable'
        size:
          type: integer
          format: int32
        sort:
          $ref: '#/components/schemas/Sort'
        totalElements:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int32
    Page_QuoteDto:
      title: Page_QuoteDto
      type: object
      properties:
        content:
          type: array
          items:
            $ref: '#/components/schemas/BookingDto'
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          type: integer
          format: int32
        numberOfElements:
          type: integer
          format: int32
        pageable:
          $ref: '#/components/schemas/Pageable'
        size:
          type: integer
          format: int32
        sort:
          $ref: '#/components/schemas/Sort'
        totalElements:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int32
    PassengerDto:
      title: PassengerDto
      type: object
      properties:
        ticketId:
          type: integer
          format: int64
          description: Ticket ID
        externalReference:
          type: string
          description: A unique identifier assigned to the passenger by an external system.
        isMain:
          type: boolean
          description: >-
            Indicates whether the passenger is the primary contact or main
            passenger.
        paxUserId:
          type: integer
          format: int64
          description: >-
            The User's FL3XX ID. When sent together with `paxExternalReference`,
            this field has higher priority.
        seatOnLap:
          type: boolean
          description: >-
            When set to `true`, this indicates that the passenger is an infant
            and will be seated on an adult's lap.
        paxType:
          type: string
          enum:
            - NONE
            - MALE
            - FEMALE
            - CHILD
            - INFANT
            - OTHER
        links:
          type: array
          items:
            $ref: '#/components/schemas/Link'
    PassengerRequestDto:
      title: Passenger
      type: object
      properties:
        externalReference:
          type: string
          description: A unique identifier assigned to the passenger by an external system.
        isMain:
          type: boolean
          description: >-
            Indicates whether the passenger is the primary contact or main
            passenger.
        paxExternalReference:
          type: string
          description: >-
            The external reference for the passenger. This field has lower
            priority if `paxUserId` is also provided.
        paxType:
          type: string
          description: >-
            The category or type of passenger (e.g., MALE, FEMALE, CHILD,
            INFANT, OTHER).
          enum:
            - NONE
            - MALE
            - FEMALE
            - CHILD
            - INFANT
            - OTHER
        paxUserId:
          type: integer
          format: int64
          description: >-
            The User's FL3XX ID. When sent together with `paxExternalReference`,
            this field has higher priority.
        seatOnLap:
          type: boolean
          description: >-
            When set to `true`, this indicates that the passenger is an infant
            and will be seated on an adult's lap.
    PaxDto:
      title: PaxDto
      type: object
      properties:
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        id:
          type: integer
          format: int64
        paxCount:
          type: integer
          format: int32
        permitProviderId:
          type: integer
          format: int64
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        tickets:
          type: array
          items:
            $ref: '#/components/schemas/TicketDto_1'
    PaxDto_1:
      title: PaxDto_1
      type: object
      properties:
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        id:
          type: integer
          format: int64
        paxCount:
          type: integer
          format: int32
        permitProviderId:
          type: integer
          format: int64
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        tickets:
          type: array
          items:
            $ref: '#/components/schemas/TicketDto_2'
    PercentageEntry:
      title: PercentageEntry
      type: object
      properties:
        accountCode:
          type: string
        bookingPriceItemId:
          type: integer
          format: int64
        children:
          $ref: '#/components/schemas/HierarchicalPriceEntry'
        currency:
          type: string
        customPriceItemCategoryId:
          type: integer
          format: int64
        editMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        explainer:
          type: string
        legId:
          type: integer
          format: int64
        name:
          type: string
        percentage:
          type: number
        percentageManual:
          type: number
        price:
          type: number
        priceItemExplainer:
          $ref: '#/components/schemas/Explainer'
        priceItemId:
          type: integer
          format: int64
        sold:
          type: number
        soldEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        soldPrice:
          type: number
        soldPriceItemExplainer:
          $ref: '#/components/schemas/Explainer'
        target:
          type: string
          enum:
            - FLIGHT
            - DEPARTURE
            - ARRIVAL
        unit:
          type: string
          enum:
            - ABSOLUTE
            - TIME
            - PERCENTAGE
        unitDescription:
          type: string
        value:
          type: number
        valueManual:
          type: number
    Period:
      title: Period
      type: object
      properties:
        chronology:
          $ref: '#/components/schemas/IsoChronology'
        days:
          type: integer
          format: int32
        months:
          type: integer
          format: int32
        negative:
          type: boolean
        units:
          type: array
          items:
            $ref: '#/components/schemas/TemporalUnit_1'
        years:
          type: integer
          format: int32
        zero:
          type: boolean
    PermitProvider:
      title: PermitProvider
      type: object
      properties:
        address:
          type: string
        aftn:
          type: string
        apiIntegration:
          type: string
          enum:
            - JETEX
            - UVGO
            - UNIVERSAL
        email:
          type: string
        fax:
          type: string
        id:
          type: integer
          format: int64
        invisibleOperators:
          type: array
          items:
            $ref: '#/components/schemas/Operator'
        logo:
          $ref: '#/components/schemas/BinaryReference_1'
        name:
          type: string
        operator:
          $ref: '#/components/schemas/Operator'
        phone:
          type: string
        sita:
          type: string
        uuid:
          type: string
    PilotFlight:
      title: PilotFlight
      type: object
      properties:
        acknowledgementDate:
          type: string
          format: date-time
        approachCategory:
          type: string
          enum:
            - CAT2
            - CAT3
            - LVO
            - TWO_D_AZIMUTH
            - TWO_D_CDI
            - THREE_D_CDI
            - CAT1
            - CAT1_LTS
            - GCA
            - GPS
            - RNP_AR
            - RNP_RNAV
            - ILS
            - JPALS
            - MLS
            - GLS
            - PAR
            - VLR
            - LOC
            - LDA
        arrivalBuffer:
          type: integer
          format: int32
        assignmentDate:
          type: string
          format: date-time
        blockTime:
          type: integer
          format: int32
        closeTime:
          type: string
          format: date-time
        closed:
          type: boolean
        commander:
          type: boolean
        crewPosition:
          $ref: '#/components/schemas/CrewPosition'
        crewType:
          type: string
          enum:
            - FLIGHT_DECK
            - CABIN
        departureAddress:
          $ref: '#/components/schemas/Address'
        destinationAddress:
          $ref: '#/components/schemas/Address'
        dispatchType:
          type: string
          enum:
            - AUTO
            - MANUAL
        dutyTime:
          type: integer
          format: int32
        dutyTimeViolationApproved:
          type: boolean
        dutyTimeViolationApprovedBy:
          $ref: '#/components/schemas/User'
        efvs:
          type: integer
          format: int32
        fa:
          type: boolean
        factoredBlockTime:
          type: integer
          format: int64
        fdpExtension:
          type: boolean
        firstOfficer:
          type: boolean
        fitForDuty:
          type: boolean
        fitForDutyBy:
          $ref: '#/components/schemas/User'
        fitForDutyDate:
          type: string
          format: date-time
        flight:
          $ref: '#/components/schemas/Flight'
        flightDay:
          type: string
          format: date-time
        from:
          type: string
          format: date-time
        fromBeforeCancel:
          type: string
          format: date-time
        hiddenForFlight:
          type: boolean
        hold:
          type: boolean
        id:
          type: integer
          format: int64
        idCard:
          $ref: '#/components/schemas/Idcard'
        idCardArrival:
          $ref: '#/components/schemas/Idcard'
        instTime:
          type: integer
          format: int64
        interval:
          $ref: '#/components/schemas/Interval'
        landings:
          type: integer
          format: int32
        latestDeparture:
          type: string
          format: date-time
        minFDPRemainingDelta:
          type: integer
          format: int32
        minFDPRemainingTime:
          type: integer
          format: int32
        minRestTime:
          type: integer
          format: int32
        minRestTimeDelta:
          type: integer
          format: int32
        modificationDate:
          type: string
          format: date-time
        modificationDatePropertyName:
          type: string
        modificationDateZT:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        modificationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        nextPossibleStart:
          type: string
          format: date-time
        nightLandings:
          type: integer
          format: int32
        nightTakeOffs:
          type: integer
          format: int32
        nightTime:
          type: integer
          format: int64
        nonPrecision:
          type: integer
          format: int32
        notes:
          type: string
        picTime:
          type: integer
          format: int64
        pilotAssigned:
          type: boolean
        pilotRole:
          type: string
          enum:
            - CMD
            - FO
            - CC
            - MED1
            - ATPL
            - LST
            - AQ
            - OPCRH
            - PA
            - FA
            - CPL
            - DG
            - ESET
            - Sec
            - FF
            - ENL4
            - ENL5
            - ENL6
            - LC
            - OPC
            - LVTO
            - LV
            - RVSM
            - TRI
            - TRE
            - AUS
            - SQMM
            - SECG
            - BMVIT
            - EFB
            - GRT
            - ESE
            - OCC
            - OICC
            - PICC
            - DITCH
            - FAID
            - WINTER
            - BRNAV
            - MNPS_ETOPS
            - RACQ
            - ETOPS
            - TCAS
            - CRM
            - ASH
            - USER0
            - USER1
            - USER2
            - USER3
            - USER4
            - USER5
            - USER6
            - USER7
            - USER8
            - USER9
            - ENG
            - AUGM_CREW
            - ADD_CREW
            - CREW
            - IR
            - HW_OPS
            - PBN
            - PFI
            - FM
            - SEP
            - SEP_IR
            - FI_A
            - MEP
            - CR
            - RC
            - OBS
            - DHC
            - EX_CM
            - AUG_PIC
            - AUG_SIC
            - AUG_CRP
            - INSTRUCTOR
            - CHECK_AIRMAN
            - GROUND_INSTRUCTOR
            - AUG_FA
            - CA
            - MD
            - RN
            - MEDIC
            - MAINTENANCE
            - JUMPSEAT
            - LOAD_MASTER
            - OPS_CONTROL
            - FLIGHT_COORDINATOR
            - COURIER
            - NR
            - INSPECTOR
            - COMPANY_REP
            - SINGLE_PILOT
        pilotSeat:
          type: string
          enum:
            - LHS
            - RHS
        postFlightRestIncrease:
          type: boolean
        precision:
          type: integer
          format: int32
        readFromCrewApp:
          type: string
          format: date-time
        reducedCheckin:
          type: string
          format: date-time
        reducedCheckout:
          type: string
          format: date-time
        reducedRestOffBySystem:
          type: boolean
        reportTime:
          type: string
          format: date-time
        reported:
          type: boolean
        restInSuitableAccommodationEnabled:
          type: boolean
        restTravelTime:
          type: integer
          format: int32
        sanctionList:
          type: string
          enum:
            - GRAY
            - GREEN
            - RED
            - LIGHT_RED
            - YELLOW
            - BLACK
            - WHITE
            - COLORLESS
            - MAINT_COLOR
            - BLUE
            - PURPLE
        sanctionListNote:
          type: string
        sanctionListSource:
          type: string
          enum:
            - WEB
            - API
        sicTime:
          type: integer
          format: int64
        spilotFlightid:
          type: integer
          format: int64
        splitDutyClose:
          type: boolean
        splitDutyCloseTime:
          type: string
          format: date-time
        splitDutyStart:
          type: boolean
        splitDutyStartTime:
          type: string
          format: date-time
        suitableAccommodation:
          type: boolean
        takeOffs:
          type: integer
          format: int32
        to:
          type: string
          format: date-time
        toBeforeCancel:
          type: string
          format: date-time
        useReducedRest:
          type: boolean
        user:
          $ref: '#/components/schemas/User'
        userBeforeCancel:
          $ref: '#/components/schemas/User'
        userId:
          type: integer
          format: int64
        uuid:
          type: string
        valid:
          type: boolean
        visa:
          type: string
          enum:
            - GRAY
            - GREEN
            - RED
            - LIGHT_RED
            - YELLOW
            - BLACK
            - WHITE
            - COLORLESS
            - MAINT_COLOR
            - BLUE
            - PURPLE
        visaNote:
          type: string
        visaSource:
          type: string
          enum:
            - WEB
            - API
        visual:
          type: boolean
    PilotFlightDto:
      title: PilotFlightDto
      type: object
      properties:
        acknowledgementDate:
          type: string
          format: date-time
        crewPosition:
          $ref: '#/components/schemas/CrewPositionDto'
        crewType:
          type: string
          enum:
            - FLIGHT_DECK
            - CABIN
        deleted:
          type: boolean
        departureAddress:
          $ref: '#/components/schemas/AddressDto_1'
        destinationAddress:
          $ref: '#/components/schemas/AddressDto_1'
        fitForDuty:
          type: boolean
        fitForDutyDate:
          type: string
          format: date-time
        hiddenForFlight:
          type: boolean
        id:
          type: integer
          format: int64
        idCard:
          $ref: '#/components/schemas/IdcardDto'
        idCardArrival:
          $ref: '#/components/schemas/IdcardDto'
        messages:
          type: array
          items:
            type: object
            properties: {}
        order:
          type: integer
          format: int32
        pilotRole:
          type: string
          enum:
            - CMD
            - FO
            - CC
            - MED1
            - ATPL
            - LST
            - AQ
            - OPCRH
            - PA
            - FA
            - CPL
            - DG
            - ESET
            - Sec
            - FF
            - ENL4
            - ENL5
            - ENL6
            - LC
            - OPC
            - LVTO
            - LV
            - RVSM
            - TRI
            - TRE
            - AUS
            - SQMM
            - SECG
            - BMVIT
            - EFB
            - GRT
            - ESE
            - OCC
            - OICC
            - PICC
            - DITCH
            - FAID
            - WINTER
            - BRNAV
            - MNPS_ETOPS
            - RACQ
            - ETOPS
            - TCAS
            - CRM
            - ASH
            - USER0
            - USER1
            - USER2
            - USER3
            - USER4
            - USER5
            - USER6
            - USER7
            - USER8
            - USER9
            - ENG
            - AUGM_CREW
            - ADD_CREW
            - CREW
            - IR
            - HW_OPS
            - PBN
            - PFI
            - FM
            - SEP
            - SEP_IR
            - FI_A
            - MEP
            - CR
            - RC
            - OBS
            - DHC
            - EX_CM
            - AUG_PIC
            - AUG_SIC
            - AUG_CRP
            - INSTRUCTOR
            - CHECK_AIRMAN
            - GROUND_INSTRUCTOR
            - AUG_FA
            - CA
            - MD
            - RN
            - MEDIC
            - MAINTENANCE
            - JUMPSEAT
            - LOAD_MASTER
            - OPS_CONTROL
            - FLIGHT_COORDINATOR
            - COURIER
            - NR
            - INSPECTOR
            - COMPANY_REP
            - SINGLE_PILOT
        pilotSeat:
          type: string
          enum:
            - LHS
            - RHS
        readFromCrewApp:
          type: string
          format: date-time
        sanctionList:
          type: string
          enum:
            - GRAY
            - GREEN
            - RED
            - LIGHT_RED
            - YELLOW
            - BLACK
            - WHITE
            - COLORLESS
            - MAINT_COLOR
            - BLUE
            - PURPLE
        sanctionListNote:
          type: string
        user:
          $ref: '#/components/schemas/ExtendedUserSearchDto'
        visa:
          type: string
          enum:
            - GRAY
            - GREEN
            - RED
            - LIGHT_RED
            - YELLOW
            - BLACK
            - WHITE
            - COLORLESS
            - MAINT_COLOR
            - BLUE
            - PURPLE
        visaNote:
          type: string
        warnings:
          $ref: '#/components/schemas/PilotQualificationsWarnings'
    PilotFlightHoursDto:
      title: PilotFlightHoursDto
      type: object
      properties:
        multiEngine:
          type: integer
          format: int32
        pic:
          type: integer
          format: int32
        picMultiEngine:
          type: integer
          format: int32
        picSingleEngine:
          type: integer
          format: int32
        singleEngine:
          type: integer
          format: int32
        total:
          type: integer
          format: int32
    PilotQualificationWarning:
      title: PilotQualificationWarning
      type: object
      properties:
        name:
          type: string
        status:
          type: string
          enum:
            - MISSING
            - EXPIRED
            - EXPIRING
            - SETUP
            - CONFLICT
            - RESTRICTION
        type:
          type: string
          enum:
            - OTHER
            - QUALIFICATION
            - RECENCY
            - DUTY
            - FLIGHT
    PilotQualificationsWarnings:
      title: PilotQualificationsWarnings
      type: object
      properties:
        assignmentGraceExpires:
          type: string
          format: date-time
        hasRhsEndorsment:
          type: boolean
        matchedAssignments:
          type: array
          items:
            $ref: '#/components/schemas/AssignmentStatus'
        messages:
          type: array
          items:
            $ref: '#/components/schemas/PilotQualificationWarning'
    PilotTime:
      title: PilotTime
      type: object
      properties:
        editableInstrumentTime:
          type: boolean
        editablePicSicTime:
          type: boolean
        factoredBlockTime:
          type: integer
          format: int64
        instrumentTime:
          type: integer
          format: int64
        picTime:
          type: integer
          format: int64
        pilots:
          type: integer
          format: int32
        sicTime:
          type: integer
          format: int64
    PilotTime_1:
      title: PilotTime_1
      type: object
      properties:
        pilots:
          type: integer
          format: int32
        picTime:
          type: integer
          format: int64
        sicTime:
          type: integer
          format: int64
        editablePicSicTime:
          type: boolean
        instrumentTime:
          type: integer
          format: int64
        editableInstrumentTime:
          type: boolean
        factoredBlockTime:
          type: integer
          format: int64
    Point:
      title: Point
      type: object
      properties:
        icao:
          type: string
        name:
          type: string
    Positioning:
      title: Positioning
      type: object
      properties:
        cost:
          type: integer
          format: int32
        friday:
          type: boolean
        fromAirport:
          $ref: '#/components/schemas/Airport'
        id:
          type: integer
          format: int64
        monday:
          type: boolean
        positioningid:
          type: integer
          format: int64
        saturday:
          type: boolean
        sunday:
          type: boolean
        thursday:
          type: boolean
        time:
          type: integer
          format: int32
        toAirport:
          $ref: '#/components/schemas/Airport'
        tuesday:
          type: boolean
        uuid:
          type: string
        wednesday:
          type: boolean
    PreFlightDto:
      title: PreFlightDto
      type: object
      properties:
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        flp:
          $ref: '#/components/schemas/BinaryReferenceDto'
        fplType:
          type: string
          enum:
            - 'N'
            - G
            - X
            - M
            - S
        fuelTankUnit:
          type: string
          enum:
            - KILOGRAM
            - POUND
            - LITER
        id:
          type: integer
          format: int64
        oflp:
          $ref: '#/components/schemas/BinaryReferenceDto'
        receipt:
          $ref: '#/components/schemas/BinaryReferenceDto'
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
        tafMetar:
          $ref: '#/components/schemas/BinaryReferenceDto'
        weightAndBalance:
          $ref: '#/components/schemas/BinaryReferenceDto'
    PriceCostCalculationInfo:
      title: PriceCostCalculationInfo
      type: object
      properties:
        ferryFlightCalculationTimeType:
          type: string
          enum:
            - BLOCK_TIME
            - FLIGHT_TIME
        revenueFlightCalculationTimeType:
          type: string
          enum:
            - BLOCK_TIME
            - FLIGHT_TIME
    PriceDetailsManual:
      title: PriceDetailsManual
      type: object
      properties:
        augmentedCrewEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        augmentedCrewFee:
          type: number
        augmentedCrewQty:
          type: number
        bookingFee:
          type: number
        bookingFeeEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        bookingFeeQty:
          type: number
        bookingFeeUnit:
          type: number
        brokerPayTax:
          type: boolean
        cancelationFee:
          type: number
        cancelationFeeCurrency:
          type: string
        cancelationFeeEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        cancelationFeeQty:
          type: number
        cateringFee:
          type: number
        cateringFeeEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        cateringFeeQty:
          type: number
        cateringFeeUnit:
          type: number
        cost:
          type: number
        crewSwapEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        crewSwapFee:
          type: number
        crewSwapFeeUnit:
          type: number
        crewSwaps:
          type: number
        crewVariableCost:
          type: number
        crewVariableEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        crewVariableUnit:
          type: number
        dailyFee:
          type: number
        dailyFeeEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        dailyFeeUnit:
          type: number
        days:
          type: integer
          format: int32
        departureFee:
          type: number
        departureFeeEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        departureFeeUnit:
          type: number
        discountEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        discountPercentage:
          type: number
        discountValue:
          type: number
        ferryFee:
          type: number
        ferryFlightBlockTime:
          type: number
        ferryFlightEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        ferryFlightUnit:
          type: number
        flightMarginEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        flightMarginPercentage:
          type: number
        flightMarginValue:
          type: number
        fuelEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        fuelFee:
          type: number
        fuelStopFee:
          type: number
        fuelStopFeeEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        fuelStopFeeQty:
          type: number
        fuelStopFeeUnit:
          type: number
        fuelUnit:
          type: number
        handlingFee:
          type: number
        handlingFeeEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        id:
          type: integer
          format: int64
        landingFee:
          type: number
        landingFeeEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        leaseFee:
          type: number
        leaseFeeEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        leaseFeeUnit:
          type: number
        maintCost:
          type: number
        maintCostEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        maintCostUnit:
          type: number
        manualAccountGrossPrice:
          type: number
        manualCustomGrossPrice:
          type: number
        manualGrossPrice:
          type: number
        manualNetPrice:
          type: number
        marginEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        marginPercentage:
          type: number
        marginValue:
          type: number
        minBookingFee:
          type: number
        minBookingFeeEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        minFlightHoursDayFee:
          type: number
        minFlightHoursDayFeeEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        minFlightHoursDayFeeUnit:
          type: number
        minFlightHoursDayTime:
          type: number
          format: float
        minLegHoursAverageFee:
          type: number
        minLegHoursAverageFeeEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        minLegHoursAverageFeeUnit:
          type: number
        minLegHoursAverageTime:
          type: number
          format: float
        minLegHoursFee:
          type: number
        minLegHoursFeeEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        minLegHoursFeeUnit:
          type: number
        minLegHoursFixedFee:
          type: number
        minLegHoursFixedFeeEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        minLegHoursFixedFeeQty:
          type: integer
          format: int32
        minLegHoursFixedFeeUnit:
          type: number
        minLegHoursTime:
          type: number
          format: float
        minPosLegHoursAverageFee:
          type: number
        minPosLegHoursAverageFeeEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        minPosLegHoursAverageFeeUnit:
          type: number
        minPosLegHoursAverageTime:
          type: number
          format: float
        minPosLegHoursFee:
          type: number
        minPosLegHoursFeeEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        minPosLegHoursFeeUnit:
          type: number
        minPosLegHoursTime:
          type: number
          format: float
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        nationalFee:
          type: number
        navFee:
          type: number
        navFligthEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        navUnit:
          type: number
        overnightFee:
          type: number
        overnightFeeEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        overnightFeeUnit:
          type: number
        overnights:
          type: integer
          format: int32
        overnightsUnit:
          type: number
        parkingDays:
          type: integer
          format: int32
        parkingFee:
          type: number
        parkingFeeEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        parkingUnit:
          type: number
        paxFee:
          type: number
        paxFeeEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        paxFeeQty:
          type: number
        paxFeeUnit:
          type: number
        revenueFee:
          type: number
        revenueFlightBlockTime:
          type: number
        revenueFlightEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        revenueFlightUnit:
          type: number
        rounding:
          type: number
        servicesTotal:
          type: number
        servicesTotalEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        servicesTotalQty:
          type: number
        startupFee:
          type: number
        startupFeeEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        startupFeeQty:
          type: number
        startupFeeUnit:
          type: number
        surchargeEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        surchargePercentage:
          type: number
        surchargeValue:
          type: number
        taxableAmount:
          type: number
        uuid:
          type: string
        vatEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        vatPercentage:
          type: number
        vatValue:
          type: number
    PriceDto:
      title: PriceDto
      type: object
      properties:
        charterCost:
          type: number
          description: Charter cost
          example: 0
        currency:
          type: string
          description: Currency
          example: USD
        exchangeRate:
          type: number
          description: Exchange rate
          example: 1
        fet:
          type: number
          description: Value of FET
          example: 0
        gross:
          type: number
          description: The total gross amount
          example: 141785
        invoiceDate:
          pattern: YYYY-MM-DDTHH:mm
          type: string
          description: Invoice date
          format: date-ime
          example: 2024-10-24T15:56
        invoiceNumber:
          type: string
          description: Invoice number
          example: 4568ASEF854
        net:
          type: number
          description: The net amount
          example: 141785
        tax:
          type: number
          description: The tax applied
          example: 385
        vat:
          type: number
          description: The VAT applied
          example: 0
        vatPerc:
          type: number
          description: The VAT percentage applied
          example: 0
    PriceEngine:
      title: PriceEngine
      allOf:
        - $ref: '#/components/schemas/Explainer'
        - title: PriceEngine
          type: object
          properties:
            priceEngineRuleId:
              type: integer
              format: int64
    PriceEngineRuleDto:
      title: PriceEngineRuleDto
      type: object
      properties:
        priceEngineRuleId:
          type: integer
          format: int64
        priceEngineRuleName:
          type: string
    PriceEntry:
      title: PriceEntry
      type: object
      properties:
        accountCode:
          type: string
        bookingPriceItemId:
          type: integer
          format: int64
        children:
          $ref: '#/components/schemas/HierarchicalPriceEntry'
        currency:
          type: string
        customPriceItemCategoryId:
          type: integer
          format: int64
        editMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        explainer:
          type: string
        legId:
          type: integer
          format: int64
        manualPrice:
          type: number
        manualQty:
          type: number
        manualTotal:
          type: number
        name:
          type: string
        price:
          type: number
        priceItemExplainer:
          $ref: '#/components/schemas/Explainer'
        priceItemId:
          type: integer
          format: int64
        qty:
          type: number
        sold:
          type: number
        soldEditMode:
          type: string
          enum:
            - AUTO
            - PRICE
            - TOTAL
            - QUANTITY
            - PRICE_TOTAL
            - PRICE_QUANTITY
            - QUANTITY_TOTAL
        soldPrice:
          type: number
        soldPriceItemExplainer:
          $ref: '#/components/schemas/Explainer'
        soldQty:
          type: number
        target:
          type: string
          enum:
            - FLIGHT
            - DEPARTURE
            - ARRIVAL
        total:
          type: number
        unit:
          type: string
          enum:
            - ABSOLUTE
            - TIME
            - PERCENTAGE
        unitDescription:
          type: string
    PriceFee:
      title: PriceFee
      type: object
      properties:
        bookingFee:
          type: number
        cabinAttendantDailyFee:
          type: number
        dailyFee:
          type: number
        fuelStopFee:
          type: number
        fuelSurchargePerBlockHour:
          type: number
        internationalFee:
          type: number
        legFee:
          type: number
    PriceModel:
      title: PriceModel
      type: object
      properties:
        positioningFlightRate:
          type: number
        positioningFlightUnit:
          type: string
          enum:
            - BLOCK_TIME
            - FLIGHT_TIME
        revenueFlightRate:
          type: number
        revenueFlightUnit:
          type: string
          enum:
            - BLOCK_TIME
            - FLIGHT_TIME
    PricingCalculationInfo:
      title: PricingCalculationInfo
      type: object
      properties:
        aircraftPricingModel:
          type: string
          enum:
            - PRICE
            - COST_PLUS
            - JEDIQ
            - PRICE_ENGINE
        postFlightPricingMode:
          type: string
          enum:
            - ACTUALS
            - ESTIMATIONS
        pricingModel:
          type: string
          enum:
            - PRICE
            - COST_PLUS
            - JEDIQ
            - PRICE_ENGINE
    Qualification:
      title: Qualification
      type: object
      properties:
        abbreviationOrName:
          type: string
        active:
          type: boolean
        aircraftModelIcao:
          type: string
        airport:
          $ref: '#/components/schemas/Airport'
        airportReqIfr:
          type: integer
          format: int32
        airportReqLanding:
          type: integer
          format: int32
        airportReqTakeOff:
          type: integer
          format: int32
        alternativeQualifications:
          type: array
          items:
            $ref: '#/components/schemas/Qualification'
        appliesTo:
          type: string
          enum:
            - FLIGHT_DECK
            - PIC
            - SIC
            - CC
            - CREW_POSITIONS_AND_ROLES
        appliesToCrewPositions:
          type: array
          items:
            $ref: '#/components/schemas/CrewPosition'
        appliesToFlightAirport:
          type: string
          enum:
            - ANY
            - DEPARTURE
            - ARRIVAL
            - BOTH
        appliesToRole:
          type: array
          items:
            type: integer
            format: int32
        apq:
          type: boolean
        argusQualificationType:
          type: string
          enum:
            - PILOT_LICENSE
            - INSTRUMENT_PROFICIENCY_CHECK
            - LINE_CHECK
            - PILOT_INDOCTRINATION_TRAINING
            - INTERNATIONAL_PROCEDURES_TRAINING
            - COMPETENCY_CHECK
            - RECURRENT_TRAINING
            - MEDICAL_CLASS_1_ISSUED
            - MEDICAL_CLASS_2_ISSUED
            - MEDICAL_CLASS_3_ISSUED
            - OPERATOR_PROFICIENCY_CHECK
            - MEDICAL_CLASS_1_EXPIRATION
            - MEDICAL_CLASS_2_EXPIRATION
            - MEDICAL_CLASS_3_EXPIRATION
            - TYPE_RATING
        argusTypeRating:
          type: string
        assignable:
          type: boolean
        countryListIso3:
          type: string
        creationDate:
          type: string
          format: date-time
        creationDatePropertyName:
          type: string
        creationDateZT:
          type: string
          format: date-time
        creationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        currency:
          type: boolean
        descriptionUser:
          type: string
        directAlternativeOnly:
          type: boolean
        displayOnRoster:
          type: boolean
        doNotArchive:
          type: boolean
        duration:
          type: integer
          format: int32
        durationPeriod:
          $ref: '#/components/schemas/Period'
        durationUnit:
          type: string
          enum:
            - MONTHS
            - DAYS
        expirationAdjustment:
          type: string
          enum:
            - NONE
            - FIXED_DAYS_BEFORE_DATE
            - FIXED_DAYS_AFTER_DATE
            - FIRST_DAY_OF_MONTH
            - LAST_DAY_OF_MONTH
            - FIRST_DAY_OF_LAST_MONTH
            - LAST_DAY_OF_LAST_MONTH
            - FIRST_DAY_OF_NEXT_MONTH
            - LAST_DAY_OF_NEXT_MONTH
            - FIXED_MONTHS_BEFORE_DATE
            - FIXED_MONTHS_AFTER_DATE
        expirationAlwaysCalculated:
          type: boolean
        gracePeriod:
          type: boolean
        group:
          type: string
        id:
          type: integer
          format: int64
        lockExpiration:
          type: boolean
        mandatoryForFlight:
          type: boolean
        minFlightHours:
          type: integer
          format: int32
        minSectors:
          type: integer
          format: int32
        modificationDate:
          type: string
          format: date-time
        modificationDatePropertyName:
          type: string
        modificationDateZT:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserId:
          type: integer
          format: int64
        modificationUserPropertyName:
          type: string
        modificationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        name:
          type: string
        neverExpiresPossible:
          type: boolean
        notes:
          type: string
        order:
          type: integer
          format: int32
        pairingAlwaysFlyWith:
          type: array
          items:
            $ref: '#/components/schemas/Qualification'
        pairingDontFlyWith:
          type: array
          items:
            $ref: '#/components/schemas/Qualification'
        parentId:
          type: integer
          format: int64
        qualificationid:
          type: integer
          format: int64
        recencyReqFlights:
          type: integer
          format: int32
        recencySet:
          type: string
          enum:
            - EU
            - US
            - AIRPORT
            - EFVS
            - CANADA
            - AU
            - US_V2
            - CUSTOM_RECENT_FLIGHTS
            - US_V3
            - CANADA_V2
            - AU_V2
            - US_V4
            - HELI
        recencyTimeAmount:
          type: integer
          format: int32
        recencyTimeCalField:
          type: integer
          format: int32
        relationType:
          type: string
          enum:
            - AIRCRAFTTYPE
            - AIRPORT
            - AIRPORTC
            - AIRCRAFTTYPEROLE
            - Z_DEPRECATED_AIRCRAFTTYPE_AIRCRAFTVAR
        relationType2:
          type: string
          enum:
            - AIRCRAFTTYPE
            - AIRPORT
            - AIRPORTC
            - AIRCRAFTTYPEROLE
            - Z_DEPRECATED_AIRCRAFTTYPE_AIRCRAFTVAR
        restrictionAny:
          type: boolean
        restrictionTypeRating:
          type: string
        revalidationPeriod:
          type: integer
          format: int32
        revalidationPeriodEnd:
          type: integer
          format: int32
        revalidationPeriodTypeEnd:
          type: string
          enum:
            - NONE
            - FIXED_DAYS_BEFORE_DATE
            - FIXED_DAYS_AFTER_DATE
            - FIRST_DAY_OF_MONTH
            - LAST_DAY_OF_MONTH
            - FIRST_DAY_OF_LAST_MONTH
            - LAST_DAY_OF_LAST_MONTH
            - FIRST_DAY_OF_NEXT_MONTH
            - LAST_DAY_OF_NEXT_MONTH
            - FIXED_MONTHS_BEFORE_DATE
            - FIXED_MONTHS_AFTER_DATE
        revalidationPeriodTypeStart:
          type: string
          enum:
            - NONE
            - FIXED_DAYS_BEFORE_DATE
            - FIXED_DAYS_AFTER_DATE
            - FIRST_DAY_OF_MONTH
            - LAST_DAY_OF_MONTH
            - FIRST_DAY_OF_LAST_MONTH
            - LAST_DAY_OF_LAST_MONTH
            - FIRST_DAY_OF_NEXT_MONTH
            - LAST_DAY_OF_NEXT_MONTH
            - FIXED_MONTHS_BEFORE_DATE
            - FIXED_MONTHS_AFTER_DATE
        shortName:
          type: string
          enum:
            - CMD
            - FO
            - CC
            - MED1
            - ATPL
            - LST
            - AQ
            - OPCRH
            - PA
            - FA
            - CPL
            - DG
            - ESET
            - Sec
            - FF
            - ENL4
            - ENL5
            - ENL6
            - LC
            - OPC
            - LVTO
            - LV
            - RVSM
            - TRI
            - TRE
            - AUS
            - SQMM
            - SECG
            - BMVIT
            - EFB
            - GRT
            - ESE
            - OCC
            - OICC
            - PICC
            - DITCH
            - FAID
            - WINTER
            - BRNAV
            - MNPS_ETOPS
            - RACQ
            - ETOPS
            - TCAS
            - CRM
            - ASH
            - USER0
            - USER1
            - USER2
            - USER3
            - USER4
            - USER5
            - USER6
            - USER7
            - USER8
            - USER9
            - ENG
            - AUGM_CREW
            - ADD_CREW
            - CREW
            - IR
            - HW_OPS
            - PBN
            - PFI
            - FM
            - SEP
            - SEP_IR
            - FI_A
            - MEP
            - CR
            - RC
            - OBS
            - DHC
            - EX_CM
            - AUG_PIC
            - AUG_SIC
            - AUG_CRP
            - INSTRUCTOR
            - CHECK_AIRMAN
            - GROUND_INSTRUCTOR
            - AUG_FA
            - CA
            - MD
            - RN
            - MEDIC
            - MAINTENANCE
            - JUMPSEAT
            - LOAD_MASTER
            - OPS_CONTROL
            - FLIGHT_COORDINATOR
            - COURIER
            - NR
            - INSPECTOR
            - COMPANY_REP
            - SINGLE_PILOT
        trainingForms:
          type: array
          items:
            $ref: '#/components/schemas/BinaryReference_1'
        treeParentId:
          type: integer
          format: int64
        type:
          type: string
          enum:
            - PILOT_PRIVATE
            - PILOT_COMMERCIAL
            - TYPE_RATING
            - DIFFERENCE_TRAINING
            - MEDICAL_US_CL1
            - US_61_58
            - MEDICAL_EU
            - AIRPORT_SPECIFIC
            - MEDICAL_US_CL2
            - MEDICAL_US_CL3
            - SPECIAL_INTERNATIONAL
            - EFVS
            - RESTRICTIONS
            - RECENCY
            - OPC
        typeOfTraining:
          type: string
          enum:
            - NONE
            - AIRCRAFT
            - ATO
            - CLASSROOM
            - ELEARNING
            - BASE
            - CHECKS_ORAL
            - CHECKS_FLIGHT_CHECK
            - GROUND_TRAINING
            - AIRCRAFT_SPECIFIC
            - SIM
            - SPECIAL_CURRICULUM
            - CURRENCY
            - MISC
            - SPECIAL
            - DEPRECATED_TYPE_RATING
            - LICENSE
        typeRating:
          type: string
        typeUserText:
          type: string
        userDefined:
          type: boolean
        userTypeOrDefaultName:
          type: string
        uuid:
          type: string
        wyvernCertificateType:
          type: string
          enum:
            - FIXED_WING_COMMERCIAL
            - FIXED_WING_COMMERCIAL_INSTRUMENT
            - FIXED_WING_AIRLINE_TRANSPORTATION_PILOT
            - ROTARY_WING_COMMERCIAL
            - ROTARY_WING_COMMERCIAL_INSTRUMENT
            - ROTARY_WING_AIRLINE_TRANSPORTATION_PILOT
        wyvernQualificationType:
          type: string
          enum:
            - PILOT_LICENSE
            - INSTRUMENT_PROFICIENCY_CHECK
            - LINE_CHECK
            - PILOT_INDOCTRINATION_TRAINING
            - INTERNATIONAL_PROCEDURES_TRAINING
            - COMPETENCY_CHECK
            - RECURRENT_TRAINING
            - MEDICAL_CLASS_1_ISSUED
            - MEDICAL_CLASS_2_ISSUED
            - MEDICAL_CLASS_3_ISSUED
            - OPERATOR_PROFICIENCY_CHECK
            - MEDICAL_CLASS_1_EXPIRATION
            - MEDICAL_CLASS_2_EXPIRATION
            - MEDICAL_CLASS_3_EXPIRATION
            - TYPE_RATING
        wyvernTypeRating:
          type: string
    QualificationStatus:
      title: QualificationStatus
      type: object
      properties:
        baseDelta:
          type: integer
          format: int32
        baseItem:
          $ref: '#/components/schemas/QualificationStatus'
        baseMonth:
          type: integer
          format: int32
        calculatedBaseMonth:
          type: integer
          format: int32
        calculatedExpirationDate:
          type: string
          format: date-time
        checkedAlternatives:
          type: array
          items:
            $ref: '#/components/schemas/QualificationStatus'
        expires:
          type: string
          format: date-time
        expiresControllingItem:
          $ref: '#/components/schemas/RecencyStatus'
        explainer:
          type: array
          items:
            type: string
        graceControllingItem:
          $ref: '#/components/schemas/RecencyStatus'
        graceExpires:
          type: string
          format: date-time
        hasGrace:
          type: boolean
        issueDate:
          type: string
          format: date-time
        mainQualificationId:
          type: integer
          format: int64
        mandatoryForFlight:
          type: boolean
        neverExpires:
          type: boolean
        notMatchingAssignmentsPosition:
          type: boolean
        overridden:
          type: boolean
        overridesMain:
          type: boolean
        qualificationActive:
          type: boolean
        qualificationId:
          type: integer
          format: int64
        qualificationName:
          type: string
        recency:
          $ref: '#/components/schemas/Recency'
        restrictionsCheck:
          $ref: '#/components/schemas/RestrictionsCheck'
        revalidationPeriodEnd:
          type: string
          format: date-time
        revalidationPeriodStart:
          type: string
          format: date-time
        satisfied:
          type: boolean
        typeRating:
          type: string
        userQualificationId:
          type: integer
          format: int64
        warning:
          type: string
    QuoteDto:
      title: QuoteDto
      type: object
      properties:
        accountPrice:
          $ref: '#/components/schemas/PriceDto'
        aircraft:
          type: string
          description: Aircraft registration
          example: A7-XYZ
        aircraftObj:
          $ref: '#/components/schemas/AircraftExtDto'
        autoCreatePosFlights:
          type: boolean
          description: When set to true the positioning flights will be included.
        avinodeQuoteId:
          type: string
          description: Avinode RFQ id
          example: A7BJU89
        bookingDateUTC:
          type: string
          description: The booking's date
          format: date-time
        bookingIdentifier:
          type: string
          description: Booking identifier
          example: SAEHD
        bookingid:
          type: integer
          description: FL3XX's booking ID
          format: int64
          example: 5263654
        comment:
          type: string
          description: Notes about the booking
          example: Booking comments
        createdDate:
          type: string
          description: Booking's creation date in milliseconds
          format: date-time
        customer:
          $ref: '#/components/schemas/UserDto'
        externalReference:
          type: string
          description: ''
          example: ''
        internalId:
          type: integer
          description: ''
          format: int64
        legs:
          type: array
          items:
            $ref: '#/components/schemas/LegDto_2'
        links:
          $ref: '#/components/schemas/Links'
        origin:
          type: string
          description: Indicates what is the origin of the Quote
          example: DISPATCH
          enum:
            - AVINODE
            - FAX
            - EMAIL
            - PHONE
            - WEB
            - EXTERNAL_DISPATCH
            - IMPORT
            - DISPATCH
            - FLY_EASY_MARKETPLACE
            - FLY_EASY_WEB
        postFlightClosed:
          type: boolean
          description: Indicates whether the Post Flight has been closed
          example: true
        price:
          $ref: '#/components/schemas/PriceDto'
        quoteNumber:
          type: string
          description: ''
          example: ''
        quotePrice:
          $ref: '#/components/schemas/PriceDto'
        rootBookingid:
          type: integer
          description: ''
          format: int64
        salesPerson:
          $ref: '#/components/schemas/UserDto'
        sourcingBookingId:
          type: integer
          description: ''
          format: int64
        sourcingBookingReference:
          type: string
          description: ''
          example: ''
        status:
          type: string
          description: >
            Status


            Possible values:
              
            * **R:** New Request.

            * **a:** New Avinode Request.

            * **W:** New Web Request.

            * **Q:** Quote (= Request that has been answered).

            * **A:** Accepted Quote.

            * **O:** Owner’s Approval pending (if applicable).

            * **S:** Signed.

            * **B:** Booking.

            * **F:** Flights pending (everything else is done).

            * **C:** Canceled Quote/ Booking.

            * **D:** Dropped (when the flights of an unanswered Request are in
            the past, the Request is Dropped automatically).
          example: B
          enum:
            - R
            - a
            - W
            - Q
            - A
            - O
            - S
            - B
            - F
            - C
            - D
        tripNumber:
          type: integer
          description: ''
          format: int64
        workflow:
          type: string
          description: Indicates what is the type workflow of the leg
          example: CHARTER
          enum:
            - COMMERCIAL
            - MAINTENANCE
            - PRIVATE
            - TRAINING
            - OWNER
            - INTERNAL
            - RESERVED
            - CHARTER
            - SUBCHARTER
            - SCHEDULED
            - AMBULANCE
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
            - CUSTOM6
            - BROKER
            - BROKER_SUBCHARTER
        workflowCustomName:
          type: string
          description: Indicates what is the name of the leg's workflow
          example: '704'
    BookingDto:
      title: BookingDto
      type: object
      properties:
        accountPrice:
          $ref: '#/components/schemas/PriceDto'
        aircraft:
          type: string
          description: Aircraft registration
          example: A7-XYZ
        aircraftObj:
          $ref: '#/components/schemas/AircraftExtDto'
        autoCreatePosFlights:
          type: boolean
          description: When set to true the positioning flights will be included.
        avinodeQuoteId:
          type: string
          description: Avinode RFQ id
          example: A7BJU89
        bookingDateUTC:
          type: string
          description: The booking's date
          format: date-time
        bookingIdentifier:
          type: string
          description: Booking identifier
          example: SAEHD
        bookingid:
          type: integer
          description: FL3XX's booking ID
          format: int64
          example: 5263654
        comment:
          type: string
          description: Notes about the booking
          example: Booking comments
        createdDate:
          type: string
          description: Booking's creation date in milliseconds
          format: date-time
        customer:
          $ref: '#/components/schemas/UserDto'
        externalReference:
          type: string
          description: ''
          example: ''
        internalId:
          type: integer
          description: ''
          format: int64
        legs:
          type: array
          items:
            $ref: '#/components/schemas/LegDto_2'
        links:
          $ref: '#/components/schemas/Links'
        origin:
          type: string
          description: Indicates what is the origin of the Quote
          example: DISPATCH
          enum:
            - AVINODE
            - FAX
            - EMAIL
            - PHONE
            - WEB
            - EXTERNAL_DISPATCH
            - IMPORT
            - DISPATCH
            - FLY_EASY_MARKETPLACE
            - FLY_EASY_WEB
        postFlightClosed:
          type: boolean
          description: Indicates whether the Post Flight has been closed
          example: true
        price:
          $ref: '#/components/schemas/PriceDto'
        quoteNumber:
          type: string
          description: ''
          example: ''
        quotePrice:
          $ref: '#/components/schemas/PriceDto'
        rootBookingid:
          type: integer
          description: ''
          format: int64
        salesPerson:
          $ref: '#/components/schemas/UserDto'
        sourcingBookingId:
          type: integer
          description: ''
          format: int64
        sourcingBookingReference:
          type: string
          description: ''
          example: ''
        status:
          type: string
          description: >
            Status


            Possible values:


            * **R:** New Request.

            * **a:** New Avinode Request.

            * **W:** New Web Request.

            * **Q:** Quote (= Request that has been answered).

            * **A:** Accepted Quote.

            * **O:** Owner’s Approval pending (if applicable).

            * **S:** Signed.

            * **B:** Booking.

            * **F:** Flights pending (everything else is done).

            * **C:** Canceled Quote/ Booking.

            * **D:** Dropped (when the flights of an unanswered Request are in
            the past, the Request is Dropped automatically).
          example: B
          enum:
            - R
            - a
            - W
            - Q
            - A
            - O
            - S
            - B
            - F
            - C
            - D
        tripNumber:
          type: integer
          description: ''
          format: int64
        workflow:
          type: string
          description: Indicates what is the type workflow of the leg
          example: CHARTER
          enum:
            - COMMERCIAL
            - MAINTENANCE
            - PRIVATE
            - TRAINING
            - OWNER
            - INTERNAL
            - RESERVED
            - CHARTER
            - SUBCHARTER
            - SCHEDULED
            - AMBULANCE
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
            - CUSTOM6
            - BROKER
            - BROKER_SUBCHARTER
        workflowCustomName:
          type: string
          description: Indicates what is the name of the leg's workflow
          example: '704'
        projectId:
          type: number
          description: Accounting project ID
          example: 1122
        projectExternalReference:
          type: string
          description: External Identifier of the project
          example: PRO1
    QuoteDto_1:
      title: QuoteDto_1
      required:
        - aircraft
        - customer
        - legs
      type: object
      properties:
        accountPrice:
          $ref: '#/components/schemas/PriceDto'
        aircraft:
          type: string
        autoCreatePosFlights:
          type: boolean
        avinodeQuoteId:
          type: string
        bookingid:
          type: integer
          format: int64
        comment:
          type: string
        customer:
          $ref: '#/components/schemas/UserDto'
        externalReference:
          type: string
        legs:
          type: array
          items:
            $ref: '#/components/schemas/LegDto_3'
        origin:
          type: string
          enum:
            - AVINODE
            - FAX
            - EMAIL
            - PHONE
            - WEB
            - EXTERNAL_DISPATCH
            - IMPORT
            - DISPATCH
            - FLY_EASY_MARKETPLACE
            - FLY_EASY_WEB
        price:
          $ref: '#/components/schemas/PriceDto'
        quoteNumber:
          type: string
        quotePrice:
          $ref: '#/components/schemas/PriceDto'
        rootBookingid:
          type: integer
          format: int64
        sourcingBookingId:
          type: integer
          format: int64
        sourcingBookingReference:
          type: string
        workflow:
          type: string
          enum:
            - COMMERCIAL
            - MAINTENANCE
            - PRIVATE
            - TRAINING
            - OWNER
            - INTERNAL
            - RESERVED
            - CHARTER
            - SUBCHARTER
            - SCHEDULED
            - AMBULANCE
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
            - CUSTOM6
            - BROKER
            - BROKER_SUBCHARTER
    UserDtoLookup:
      title: User object
      required:
        - account
      type: object
      properties:
        account:
          $ref: '#/components/schemas/UserAccountDtoLookup'
    UserAccountDtoLookup:
      title: User Account object
      required:
        - name
      type: object
      properties:
        name:
          type: string
          description: Account Name
          example: test
    QuoteDto_Lookup:
      title: Quote lookup obj
      required:
        - customer
        - legs
      type: object
      properties:
        aircraft:
          type: string
          description: >-
            A specific aircraft registration. When this field is not populated,
            the data returned includes all aircrafts capable of handling the
            request.
          example: OE-FLX
        autoCreatePosFlights:
          type: boolean
          description: When set to true the positioning flights will be included.
          example: false
        customer:
          $ref: '#/components/schemas/UserDtoLookup'
        legs:
          type: array
          description: Selected city-pair. Multi-leg creation is also allowed.
          items:
            $ref: '#/components/schemas/LegDto_Lookup'
        workflow:
          type: string
          enum:
            - COMMERCIAL
            - MAINTENANCE
            - PRIVATE
            - TRAINING
            - OWNER
            - INTERNAL
            - RESERVED
            - CHARTER
            - SUBCHARTER
            - SCHEDULED
            - AMBULANCE
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
            - CUSTOM6
            - BROKER
            - BROKER_SUBCHARTER
    QuoteRequest:
      title: QuoteRequest
      type: object
      properties:
        comment:
          type: string
        company:
          type: string
        country:
          type: string
        countryCode:
          type: string
        email:
          type: string
        firstname:
          type: string
        lastname:
          type: string
        phone:
          type: string
        sectors:
          type: array
          items:
            $ref: '#/components/schemas/Sector'
        title:
          type: string
    QuoteSnapshotDto:
      title: QuoteSnapshotDto
      type: object
      properties:
        bookingDateUTC:
          type: string
          format: date-time
        grossPrice:
          $ref: '#/components/schemas/PriceEntry'
        legs:
          type: array
          items:
            $ref: '#/components/schemas/LegDto_2'
    Recency:
      title: Recency
      type: object
      properties:
        conditions:
          type: array
          items:
            $ref: '#/components/schemas/RecencyCondition'
        currency:
          type: string
          format: date-time
        expires:
          type: string
          format: date-time
        expiresControllingItem:
          $ref: '#/components/schemas/RecencyStatus'
        overridden:
          type: boolean
        satisfied:
          type: boolean
    RecencyCondition:
      title: RecencyCondition
      type: object
      properties:
        completed:
          type: string
          format: date-time
        data:
          type: object
          properties: {}
        expires:
          type: string
          format: date-time
        expiresControllingItem:
          $ref: '#/components/schemas/RecencyStatus'
        name:
          type: string
        overridden:
          type: boolean
        period:
          type: string
        satisfied:
          type: boolean
        type:
          type: string
          enum:
            - THREE_LDG_IN_90_DAYS
            - THREE_DAY_TO_AND_LDG_IN_90_DAYS
            - THREE_NIGHT_TO_AND_LDG_IN_90_DAYS
            - THREE_NIGHT_TO_AND_LDG_IN_6_MONTHS_TURBINE
            - SIX_NIGHT_TO_AND_LDG_IN_12_MONTHS_SIM
            - SIX_DAY_TO_AND_LDG_IN_12_MONTHS_SIM
            - THREE_LANDINGS_IN_12_MONTHS
            - FIFTEEN_FLIGHT_HOURS_ON_TYPE_IN_90_DAYS
            - SIX_IFR_APPROACHES_IN_6_MONTHS
            - AIRPORT
            - EFVS
            - FIVE_TO_AND_LDG_IN_6_MONTHS_ON_TR
            - FIVE_NIGHT_TO_AND_LDG_IN_6_MONTHS
            - THREE_TO_AND_LDG_IN_90_DAYS
            - THREE_IFR_APPROACHES_IN_90_DAYS
            - FIVE_NIGHT_TO_AND_LDG_IN_6_MONTHS_ON_DATE
            - CUSTOM_RECENT_FLIGHTS
            - SIX_IFR_APPROACHES_AND_6H_INSTRUMENT_IN_6_MONTHS
            - THREE_NIGHT_TO_AND_LDG_IN_90_DAYS_ANY_TR
            - THREE_DAY_TO_AND_LDG_IN_90_DAYS_ANY_TR
        typeRating:
          type: string
    RecencyStatus:
      title: RecencyStatus
      type: object
      properties:
        expires:
          type: string
          format: date-time
        expiresControllingItem:
          $ref: '#/components/schemas/RecencyStatus'
        overridden:
          type: boolean
        satisfied:
          type: boolean
    RejectReason:
      title: RejectReason
      type: object
      properties:
        group:
          type: string
          enum:
            - Aircraft_Crew
            - Airport_AirspaceRestrictions
            - Commercial
            - Other
        guicolumn:
          type: integer
          format: int32
        id:
          type: integer
          format: int64
        name:
          type: string
        order:
          type: integer
          format: int32
        rejectReasonId:
          type: integer
          format: int64
        uuid:
          type: string
    RejectReasonDto:
      title: RejectReasonDto
      type: object
      properties:
        guicolumn:
          type: integer
          format: int32
        id:
          type: integer
          format: int64
        name:
          type: string
        order:
          type: integer
          format: int32
    RejectReasonDto_1:
      title: RejectReasonDto_1
      type: object
      properties:
        rejectReason:
          type: string
    Request:
      title: Request
      type: object
      properties:
        RequestsLeft:
          type: integer
          format: int32
        RequestsSentToday:
          type: integer
          format: int32
        TotalTimeElapsed:
          type: string
    AircraftMaintenanceScheduleDto:
      type: object
      properties:
        id:
          type: integer
          description: Aircraft Maintenance Schedule ID
          format: int64
          readOnly: true
          example: 7792
        scheduleType:
          type: string
          description: Schedule type
          enum:
            - INTERVAL
            - CALENDAR
            - UPDATE
            - AIRWORTHINESS_DIRECTIVE
        unit:
          type: string
          description: Unit
          enum:
            - FLIGHT_HOURS
            - FLIGHT_CYCLES
            - ENGINE1_HOURS
            - ENGINE2_HOURS
            - ENGINE3_HOURS
            - ENGINE4_HOURS
            - ENGINE1_CYCLES
            - ENGINE2_CYCLES
            - ENGINE3_CYCLES
            - ENGINE4_CYCLES
            - APU_HOURS
            - APU_CYCLES
            - CCY_CYCLES
            - PCY_CYCLES
            - ICY_CYCLES
            - ENGINE_HOURS
            - ENGINE_CYCLES
            - ACM_CYCLES
            - ACM_HOURS
        type:
          type: string
          description: a
        lastUpdate:
          type: number
          format: int64
          description: Date in milliseconds since the Unix epoch
          example: 1730124030623
        date:
          type: number
          format: int64
          description: Date in milliseconds since the Unix epoch
          example: 1730124030623
        maxDate:
          type: number
          format: int64
          description: Date in milliseconds since the Unix epoch
          example: 1730124030623
        amount:
          type: integer
          description: Amount
          format: int64
        lastAmount:
          type: integer
          description: Previous amount
          format: int64
        maxAmount:
          type: integer
          description: Max amount
          format: int64
        profileType:
          type: string
          description: Type of profile
          enum:
            - AIRCRAFT
            - PROPELLER
            - APU
            - ENGINE
        taskType:
          type: string
          description: Type of task
          enum:
            - SERVICE
            - PART_NUMBER
            - PACKAGE
            - AD
            - BULLETIN
        dueRepeat:
          type: integer
          description: Due Repeat
          format: int64
        modificationDate:
          type: number
          format: int64
          description: Date in milliseconds since the Unix epoch
          example: 1730124030623
          readOnly: true
        externalSource:
          type: string
          description: External Source
          enum:
            - CAMP
            - VERYON
            - TRAXXALL
            - AMOS
            - TRAX
        timeUnit:
          type: string
          description: Time unit
          enum:
            - DAYS
            - MONTHS
            - YEARS
        remaining:
          type: integer
          description: Remaining
          format: int64
        averagePerDay:
          type: number
          description: Average per day
        limitReached:
          type: string
          description: Limit reached
          format: date-time
        maxOrNextAmount:
          type: integer
          description: Max or Next Amount
          format: int64
    DeleteObj:
      type: object
      properties:
        deleted:
          type: boolean
          description: Indicates whether the element was deleted or not
          example: true
    Response:
      title: Response
      type: object
      properties:
        code:
          type: integer
          format: int32
        data:
          type: string
        message:
          type: string
    RestrictionsCheck:
      title: RestrictionsCheck
      type: object
      properties:
        covered:
          type: boolean
        flightHours:
          type: integer
          format: int32
        minFlightHours:
          type: integer
          format: int32
        minSectors:
          type: integer
          format: int32
        onDate:
          type: string
          format: date-time
        pass:
          type: boolean
        sectors:
          type: integer
          format: int32
        sinceDate:
          type: string
          format: date-time
    Role:
      type: object
      properties:
        id:
          type: integer
          format: int64
        label:
          type: string
        mandatory:
          $ref: '#/components/schemas/Role'
        mandatoryId:
          type: integer
          format: int64
        order:
          type: integer
          format: int32
        roleid:
          type: integer
          format: int64
        rosterFilter:
          type: boolean
        toDisplay:
          type: boolean
        type:
          type: string
          enum:
            - ADMIN
            - USER
            - PILOT
            - SALES
            - DISPATCH
            - EMP
            - CUSTOMER
            - BROKER
            - SPECIAL
            - MANAGER
            - CREDIT_CARD_ACCESS
            - INTERNAL
            - ACCOUNTANT
            - SUPER_ADMIN
            - ACCOUNTABLE_MGR
            - PH_TRAINING
            - PH_FLT_OP
            - PH_QA
            - PH_CAMO
            - PH_GO
            - EXT_DISP
            - SUB_CHARTER_CREW
            - PAX
            - CORPORATE
            - END_USER
            - OPERATOR
            - PAX_CONFIDENTIAL
            - LEAD
            - SUPER_VIEW
            - OWNER
            - GUARDIAN
            - OPS
            - FREELANCE_PILOT
            - FLIGHT_ATTENDANT
            - OBE
            - RAMP
            - FREELANCE_FLIGHT_ATTENDANT
            - OFFICE
            - EXAMINER
            - EXTERNAL_STAFF
            - OTHERS
            - OWNER_HIRED_PILOT
            - OWNER_HIRED_FLIGHT_ATTENDANT
            - MED
            - MED_SUPPORT
            - MED_DIRECTOR
            - MED_OFFICE
            - FLIGHT_DOCTOR
            - FLIGHT_PEDIATRICIAN
            - FLIGHT_NURSE
            - CABIN_REPRESENTATIVE
            - FLIGHT_STATION_ENGINEER
            - FLIGHT_OPERATIONS
            - CUSTOMER_SERVICE
            - HUMAN_RESOURCES
            - TRAINING
            - FINANCE
            - CAMO
            - FREELANCE_CABIN_REPRESENTATIVE
            - FREELANCE_FLIGHT_STATION_ENGINEER
            - FLIGHT_RELEASE
            - MAINTENANCE
            - MEDIC
            - CABIN_ATTENDANT
            - CONTRACT_PILOT
            - INSTRUCTOR
            - CUSTOMER_STUDENT
            - STUFF_EXAMINER
            - EXTERNAL_INSTRUCTOR
            - STAFF_STUDENT
            - EXTERNAL_STAFF_STUDENT
            - STUDENT_PILOT
            - ATO
            - EXTERNAL_ATO
        uuid:
          type: string
        visible:
          type: boolean
    SalesTeam:
      title: SalesTeam
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
        salesTeamId:
          type: integer
          format: int64
        users:
          type: array
          items:
            $ref: '#/components/schemas/User'
        uuid:
          type: string
    SchedulerWarning:
      title: SchedulerWarning
      type: object
      properties:
        aircraftCategory:
          type: string
          enum:
            - A_1
            - A_2
            - A_3
            - A_4
            - A_5
            - A_6
            - A_7
            - A_8
            - A_9
            - A_10
            - NONE_AIRCRAFT
        aircraftHeliCategory:
          type: string
          enum:
            - H_1
            - H_2
            - H_3
            - NONE_HELI
        airportCategory:
          type: string
          enum:
            - A_1
            - A_2
            - A_3
            - A_4
            - A_5
            - A_6
            - A_7
            - A_8
            - A_9
            - A_10
            - NONE_AIRCRAFT
        airportHeliCategory:
          type: string
          enum:
            - H_1
            - H_2
            - H_3
            - NONE_HELI
        extendedAirportCategory:
          type: string
          enum:
            - A_1
            - A_2
            - A_3
            - A_4
            - A_5
            - A_6
            - A_7
            - A_8
            - A_9
            - A_10
            - NONE_AIRCRAFT
        extendedAirportHeliCategory:
          type: string
          enum:
            - H_1
            - H_2
            - H_3
            - NONE_HELI
        id:
          type: integer
          format: int64
        leg:
          $ref: '#/components/schemas/Leg'
        legId:
          type: integer
          format: int64
        notes:
          type: string
        relatedObjectClass:
          type: string
        relatedObjectId:
          type: integer
          format: int64
        relatedObjectName:
          type: string
        type:
          type: string
          enum:
            - OK
            - TOO_MANY_PAX
            - PAX_NOT_SET
            - RESCUE_CAT_NOT_SET
            - RESCUE_CAT_INVALID
            - RESCUE_HELI_CAT_NOT_SET
            - RESCUE_HELI_CAT_INVALID
            - FUEL_STOP
            - RUNWAY_TOO_SHORT
            - SCHEDULE_OVERLAP
            - SCHEDULE_OVERLAP_POS
            - SCHEDULE_OVERLAP_TASK
            - EXTENDED_RESCUE_CAT_INVALID
            - EXTENDED_RESCUE_HELI_CAT_INVALID
            - AIRPORT_AOC_CATEGORY_NOT_A
            - OPTION_OVERLAP
            - OPTION_OVERLAP_POS
            - OPERATIONAL_NOTE
            - AIRPORT_AOC_CATEGORY_C
            - OPERATIONAL_NOTE_ALERT
            - AIRPORT_OPENING_HOURS_CLOSED
            - AIRPORT_OPENING_HOURS_RESTRICTED
            - UNCORRECTED_HOLD_ITEM
            - OVERDUE_HOLD_ITEM
            - FTL_YELLOW
            - FTL_RED
            - FTL_FLIGHT_TIME_YELLOW
            - FTL_FLIGHT_TIME_RED
            - RUNWAY_TOO_NARROW
            - RUNWAY_TOO_HIGH
            - FBO_DISCONNECT_PREV_LEG
            - FBO_DISCONNECT_NEXT_LEG
            - CREW_OVERLAP
        uuid:
          type: string
        validUntil:
          type: string
          format: date-time
    SchedulerWarningDto:
      title: SchedulerWarningDto
      type: object
      properties:
        aircraftCategory:
          type: string
          enum:
            - A_1
            - A_2
            - A_3
            - A_4
            - A_5
            - A_6
            - A_7
            - A_8
            - A_9
            - A_10
            - NONE_AIRCRAFT
        aircraftHeliCategory:
          type: string
          enum:
            - H_1
            - H_2
            - H_3
            - NONE_HELI
        airportCategory:
          type: string
          enum:
            - A_1
            - A_2
            - A_3
            - A_4
            - A_5
            - A_6
            - A_7
            - A_8
            - A_9
            - A_10
            - NONE_AIRCRAFT
        airportHeliCategory:
          type: string
          enum:
            - H_1
            - H_2
            - H_3
            - NONE_HELI
        extendedAirportCategory:
          type: string
          enum:
            - A_1
            - A_2
            - A_3
            - A_4
            - A_5
            - A_6
            - A_7
            - A_8
            - A_9
            - A_10
            - NONE_AIRCRAFT
        extendedAirportHeliCategory:
          type: string
          enum:
            - H_1
            - H_2
            - H_3
            - NONE_HELI
        id:
          type: integer
          format: int64
        notes:
          type: string
        relatedObjectClass:
          type: string
        relatedObjectId:
          type: integer
          format: int64
        relatedObjectName:
          type: string
        type:
          type: string
          enum:
            - OK
            - TOO_MANY_PAX
            - PAX_NOT_SET
            - RESCUE_CAT_NOT_SET
            - RESCUE_CAT_INVALID
            - RESCUE_HELI_CAT_NOT_SET
            - RESCUE_HELI_CAT_INVALID
            - FUEL_STOP
            - RUNWAY_TOO_SHORT
            - SCHEDULE_OVERLAP
            - SCHEDULE_OVERLAP_POS
            - SCHEDULE_OVERLAP_TASK
            - EXTENDED_RESCUE_CAT_INVALID
            - EXTENDED_RESCUE_HELI_CAT_INVALID
            - AIRPORT_AOC_CATEGORY_NOT_A
            - OPTION_OVERLAP
            - OPTION_OVERLAP_POS
            - OPERATIONAL_NOTE
            - AIRPORT_AOC_CATEGORY_C
            - OPERATIONAL_NOTE_ALERT
            - AIRPORT_OPENING_HOURS_CLOSED
            - AIRPORT_OPENING_HOURS_RESTRICTED
            - UNCORRECTED_HOLD_ITEM
            - OVERDUE_HOLD_ITEM
            - FTL_YELLOW
            - FTL_RED
            - FTL_FLIGHT_TIME_YELLOW
            - FTL_FLIGHT_TIME_RED
            - RUNWAY_TOO_NARROW
            - RUNWAY_TOO_HIGH
            - FBO_DISCONNECT_PREV_LEG
            - FBO_DISCONNECT_NEXT_LEG
            - CREW_OVERLAP
        validUntil:
          type: string
          format: date-time
    Sector:
      title: Sector
      type: object
      properties:
        departureDatetime:
          type: string
          format: date-time
        from:
          $ref: '#/components/schemas/Point'
        passengers:
          type: integer
          format: int32
        to:
          $ref: '#/components/schemas/Point'
    SmtpMessage:
      title: SmtpMessage
      type: object
      properties:
        attachLogo:
          type: boolean
        attachments:
          type: array
          items:
            $ref: '#/components/schemas/SmtpMessageAttachment'
        bcc:
          type: string
        body:
          type: string
        cc:
          type: string
        errorCounter:
          type: integer
          format: int32
        errorSending:
          type: string
        from:
          type: string
        id:
          type: integer
          format: int64
        messageId:
          type: string
        messageType:
          type: string
          enum:
            - INBOUND
            - OUTBOUND
        replyTo:
          type: string
        resendCount:
          type: integer
          format: int32
        sendOn:
          type: string
          format: date-time
        sent:
          type: boolean
        sentBy:
          $ref: '#/components/schemas/User'
        sentOn:
          type: string
          format: date-time
        sentTo:
          $ref: '#/components/schemas/User'
        serializedMessage:
          $ref: '#/components/schemas/BinaryReference_1'
        smtpMessageid:
          type: integer
          format: int64
        subject:
          type: string
        systemMessageType:
          type: string
          enum:
            - BOOKING_CONFIRMATION
            - BOOKING_CREDIT_MEMO
            - BOOKING_INVOICE
            - BOOKING_MANIFEST
            - BOOKING_OFFER
            - BOOKING_OPTION
            - BOOKING_REJECT
            - BOOKING_OWNER_APPROVE
            - BOOKING_CONTRACT
            - BOOKING_SIGNED_ACCEPTANCE
            - ACCEPTANCE_ACKNOWLEDGE
            - BOOKING_CANCELATION
            - BOOKING_PROFORMA_INVOICE
            - CFMU
        textOnly:
          type: boolean
        timestamp:
          type: string
          format: date-time
        to:
          type: string
        type:
          type: string
          enum:
            - INBOUND
            - OUTBOUND
        uuid:
          type: string
    SmtpMessageAttachment:
      title: SmtpMessageAttachment
      type: object
      properties:
        document:
          $ref: '#/components/schemas/BinaryReference_1'
        id:
          type: integer
          format: int64
        message:
          $ref: '#/components/schemas/SmtpMessage'
        resourceType:
          type: string
          enum:
            - INLINE
            - ATTACHMENT
        stmpMessageAttachmentid:
          type: integer
          format: int64
        title:
          type: string
        uuid:
          type: string
    Sort:
      title: Sort
      type: object
      properties:
        empty:
          type: boolean
        sorted:
          type: boolean
          description: Indicates whether the list is sorted
        unsorted:
          type: boolean
          description: Indicates whether the list is unsorted
    Statusable:
      title: Statusable
      type: object
      properties:
        by:
          type: string
          enum:
            - HANDLER
            - CREW
            - DISPATCH
            - OPS
            - PPS
            - JEPP
            - PERMIT_PROVIDER
            - CUSTOM1
            - CUSTOM2
            - CUSTOM3
            - CUSTOM4
            - CUSTOM5
        id:
          type: integer
          format: int64
        status:
          type: string
          enum:
            - NA
            - NR
            - DO
            - HOLD
            - REQ
            - OK
            - INIT
            - OK_REVISED
            - REQ_REVISED
            - HOLD_REVISED
            - DO_REVISED
            - CNL
    Tag:
      title: Tag
      type: object
      properties:
        color:
          type: string
        deleted:
          type: boolean
        id:
          type: integer
          format: int64
        modificationDate:
          type: string
          format: date-time
        modificationDatePropertyName:
          type: string
        modificationDateZT:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        modificationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        name:
          type: string
        order:
          type: integer
          format: int32
        type:
          type: string
          enum:
            - EMPTY_LEG
        uuid:
          type: string
    TagBasicDto:
      title: TagBasicDto
      type: object
      properties:
        color:
          type: string
        deleted:
          type: boolean
        id:
          type: integer
          format: int64
        name:
          type: string
        order:
          type: integer
          format: int32
    TargetedInfoDto:
      title: TargetedInfoDto
      type: object
      properties:
        catering:
          type: string
        fuelCurrency:
          type: string
        fuelPrice:
          type: number
        fuelPriceIndex:
          type: number
        fuelPriceIndexCommercial:
          type: number
        gndTrs:
          type: integer
          format: int32
        gndTrsService:
          type: string
        handlerName:
          type: string
        hotacService:
          type: string
        hotacs:
          type: integer
          format: int32
        numberOfCateringServices:
          type: integer
          format: int32
        numberOfCountries:
          type: integer
          format: int64
        numberOfOverFlightCountries:
          type: integer
          format: int64
        overalCountriesTodo:
          type: integer
          format: int64
        overalOverFlightCountriesTodo:
          type: integer
          format: int64
        ppr:
          type: string
        pprFromTime:
          type: string
          format: date-time
        pprToTime:
          type: string
          format: date-time
        slotFromTime:
          type: string
          format: date-time
        slotToTime:
          type: string
          format: date-time
    Task:
      title: Task
      type: object
      properties:
        choices:
          type: array
          items:
            $ref: '#/components/schemas/NamedEntity'
        colorCode:
          type: string
        defaultTranslation:
          type: string
        description:
          type: string
        id:
          type: integer
          format: int64
        name:
          type: string
        priority:
          type: integer
          format: int32
        taskid:
          type: integer
          format: int64
        type:
          type: string
          enum:
            - HOL
            - SCK
            - FDY
            - MED
            - 'OFF'
            - ODY
            - SBY
            - GND
            - TRG
            - HOT
            - HDY
            - AUD
            - CUC
            - TDP
            - MKT
            - POS
        userTasks:
          type: array
          items:
            $ref: '#/components/schemas/UserTask'
        uuid:
          type: string
    TemporalUnit_1:
      title: TemporalUnit_1
      type: object
      properties:
        dateBased:
          type: boolean
        duration:
          $ref: '#/components/schemas/Duration_1'
        durationEstimated:
          type: boolean
        timeBased:
          type: boolean
    TermsAndConditions:
      title: TermsAndConditions
      type: object
      properties:
        aoc:
          $ref: '#/components/schemas/AOC'
        defaultForAccountDiscountTypes:
          type: array
          items:
            type: string
            enum:
              - RETAIL
              - WHOLE_SALE
              - PREFERRED
        defaultForAircraftCategories:
          type: array
          items:
            type: string
            enum:
              - PISTON
              - TURBO_PROP
              - VERY_LIGHT_JET
              - LIGHT_JET
              - SUPER_LIGHT_JET
              - MIDSIZE_JET
              - SUPER_MIDSIZE_JET
              - HEAVY_JET
              - ULTRA_LONG_RANGE_JET
              - VIP_JET
              - AIRLINER
              - AMPHIBIAN
              - GYROCOPTER
              - HELICOPTER
              - SEA_PLANE
              - TILT_ROTOR
        defaultForPricingProgramIds:
          type: array
          items:
            type: string
        deleted:
          type: boolean
        id:
          type: integer
          format: int64
        name:
          type: string
        text:
          type: string
        uuid:
          type: string
    Ticket:
      title: Ticket
      type: object
      properties:
        blocksOffEstimated:
          type: string
          format: date-time
        blocksOnEstimated:
          type: string
          format: date-time
        checkInStatus:
          type: string
          enum:
            - NOT_CHECKED_IN
            - NEW_NOT_CHECKED_IN
            - NO_SHOW
            - CHECKED_IN
        comment:
          type: string
        created:
          type: string
          format: date-time
        creationDate:
          type: string
          format: date-time
        creationDatePropertyName:
          type: string
        creationDateZT:
          type: string
          format: date-time
        creationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        departureAddress:
          $ref: '#/components/schemas/Address'
        destinationAddress:
          $ref: '#/components/schemas/Address'
        disabled:
          type: boolean
        externalReference:
          type: string
        id:
          type: integer
          format: int64
        idCard:
          $ref: '#/components/schemas/Idcard'
        idCardArrival:
          $ref: '#/components/schemas/Idcard'
        leg:
          $ref: '#/components/schemas/Leg'
        luggageWeight:
          type: number
          format: float
        main:
          type: boolean
        modificationDate:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        okForBoarding:
          type: boolean
        patient:
          type: boolean
        paxType:
          type: string
          enum:
            - NONE
            - MALE
            - FEMALE
            - CHILD
            - INFANT
            - OTHER
        paxUser:
          $ref: '#/components/schemas/User'
        paxWeight:
          type: number
          format: float
        sanctionList:
          type: string
          enum:
            - GRAY
            - GREEN
            - RED
            - LIGHT_RED
            - YELLOW
            - BLACK
            - WHITE
            - COLORLESS
            - MAINT_COLOR
            - BLUE
            - PURPLE
        sanctionListNote:
          type: string
        sanctionListSource:
          type: string
          enum:
            - WEB
            - API
        seatOnLap:
          type: boolean
        sifl:
          type: string
          enum:
            - BUSINESS
            - PERSONAL_NON_ENTERTAINMENT
            - UNKNOWN
            - BUSINESS_ENTERTAINMENT
            - MX_TRAINING
            - PERSONAL_ENTERTAINMENT
            - TIMESHARE
        source:
          type: string
          enum:
            - WEBAPP
            - CREW
        status:
          type: string
          enum:
            - CANCELED
            - PENDING
            - OK
            - FAILED
            - MANUAL
            - DISABLED
        ticketNumber:
          type: string
        ticketid:
          type: integer
          format: int64
        tsaClearedBy:
          $ref: '#/components/schemas/User'
        tsaClearedDate:
          type: string
          format: date-time
        tsaClearedEntryTypes:
          type: integer
          format: int32
        tsaDate:
          type: string
          format: date-time
        tsaNote:
          type: string
        tsaStatus:
          type: string
          enum:
            - GRAY
            - GREEN
            - RED
            - LIGHT_RED
            - YELLOW
            - BLACK
            - WHITE
            - COLORLESS
            - MAINT_COLOR
            - BLUE
            - PURPLE
        type:
          type: string
          enum:
            - PAX
            - PATIENT
        user:
          $ref: '#/components/schemas/User'
        uuid:
          type: string
        valid:
          type: boolean
        visa:
          type: string
          enum:
            - GRAY
            - GREEN
            - RED
            - LIGHT_RED
            - YELLOW
            - BLACK
            - WHITE
            - COLORLESS
            - MAINT_COLOR
            - BLUE
            - PURPLE
        visaNote:
          type: string
        visaSource:
          type: string
          enum:
            - WEB
            - API
    TicketDto:
      title: TicketDto
      type: object
      properties:
        comment:
          type: string
        documentExternalReference:
          type: string
        externalReference:
          type: string
        internalId:
          type: integer
          format: int64
        isMain:
          type: boolean
        links:
          $ref: '#/components/schemas/Links'
        paxExternalReference:
          type: string
        paxType:
          type: string
          enum:
            - NONE
            - MALE
            - FEMALE
            - CHILD
            - INFANT
            - OTHER
    TicketDto_1:
      title: TicketDto_1
      type: object
      properties:
        blocksOffEstimated:
          type: string
          format: date-time
        blocksOnEstimated:
          type: string
          format: date-time
        checkInStatus:
          type: string
          enum:
            - NOT_CHECKED_IN
            - NEW_NOT_CHECKED_IN
            - NO_SHOW
            - CHECKED_IN
        comment:
          type: string
        created:
          type: string
          format: date-time
        departureAddress:
          $ref: '#/components/schemas/AddressDto_1'
        destinationAddress:
          $ref: '#/components/schemas/AddressDto_1'
        externalReference:
          type: string
        id:
          type: integer
          format: int64
        idCard:
          $ref: '#/components/schemas/IdcardDto'
        idCardArrival:
          $ref: '#/components/schemas/IdcardDto'
        luggageWeight:
          type: number
          format: float
        main:
          type: boolean
        noDOBwarning:
          type: boolean
        okForBoarding:
          type: boolean
        patient:
          type: boolean
        paxType:
          type: string
          enum:
            - NONE
            - MALE
            - FEMALE
            - CHILD
            - INFANT
            - OTHER
        paxUser:
          $ref: '#/components/schemas/ExtendedUserSearchDto'
        sanctionList:
          type: string
          enum:
            - GRAY
            - GREEN
            - RED
            - LIGHT_RED
            - YELLOW
            - BLACK
            - WHITE
            - COLORLESS
            - MAINT_COLOR
            - BLUE
            - PURPLE
        sanctionListNote:
          type: string
        seatOnLap:
          type: boolean
        sifl:
          type: string
          enum:
            - BUSINESS
            - PERSONAL_NON_ENTERTAINMENT
            - UNKNOWN
            - BUSINESS_ENTERTAINMENT
            - MX_TRAINING
            - PERSONAL_ENTERTAINMENT
            - TIMESHARE
        source:
          type: string
          enum:
            - WEBAPP
            - CREW
        status:
          type: string
          enum:
            - CANCELED
            - PENDING
            - OK
            - FAILED
            - MANUAL
            - DISABLED
        ticketNumber:
          type: string
        ticketid:
          type: integer
          format: int64
        tsaCleared:
          type: boolean
        tsaClearedBy:
          $ref: '#/components/schemas/UserSearchDto'
        tsaClearedDate:
          type: string
          format: date-time
        tsaDate:
          type: string
          format: date-time
        tsaListMatches:
          type: object
          additionalProperties:
            type: array
            items:
              $ref: '#/components/schemas/NoFlyUserMatchDto'
        tsaNote:
          type: string
        tsaPendingResponse:
          type: boolean
        tsaSendDate:
          type: string
          format: date-time
        tsaStatus:
          type: string
          enum:
            - GRAY
            - GREEN
            - RED
            - LIGHT_RED
            - YELLOW
            - BLACK
            - WHITE
            - COLORLESS
            - MAINT_COLOR
            - BLUE
            - PURPLE
        type:
          type: string
          enum:
            - PAX
            - PATIENT
        visa:
          type: string
          enum:
            - GRAY
            - GREEN
            - RED
            - LIGHT_RED
            - YELLOW
            - BLACK
            - WHITE
            - COLORLESS
            - MAINT_COLOR
            - BLUE
            - PURPLE
        visaNote:
          type: string
    TicketDto_2:
      title: TicketDto_2
      type: object
      properties:
        blocksOffEstimated:
          type: string
          format: date-time
        blocksOnEstimated:
          type: string
          format: date-time
        checkInStatus:
          type: string
          enum:
            - NOT_CHECKED_IN
            - NEW_NOT_CHECKED_IN
            - NO_SHOW
            - CHECKED_IN
        comment:
          type: string
        created:
          type: string
          format: date-time
        departureAddress:
          $ref: '#/components/schemas/AddressDto_1'
        destinationAddress:
          $ref: '#/components/schemas/AddressDto_1'
        externalReference:
          type: string
        id:
          type: integer
          format: int64
        idCard:
          $ref: '#/components/schemas/IdcardDto'
        idCardArrival:
          $ref: '#/components/schemas/IdcardDto'
        luggageWeight:
          type: number
          format: float
        main:
          type: boolean
        noDOBwarning:
          type: boolean
        okForBoarding:
          type: boolean
        patient:
          type: boolean
        paxType:
          type: string
          enum:
            - NONE
            - MALE
            - FEMALE
            - CHILD
            - INFANT
            - OTHER
        paxUser:
          $ref: '#/components/schemas/ExtendedUserSearchDto_1'
        sanctionList:
          type: string
          enum:
            - GRAY
            - GREEN
            - RED
            - LIGHT_RED
            - YELLOW
            - BLACK
            - WHITE
            - COLORLESS
            - MAINT_COLOR
            - BLUE
            - PURPLE
        sanctionListNote:
          type: string
        seatOnLap:
          type: boolean
        sifl:
          type: string
          enum:
            - BUSINESS
            - PERSONAL_NON_ENTERTAINMENT
            - UNKNOWN
            - BUSINESS_ENTERTAINMENT
            - MX_TRAINING
            - PERSONAL_ENTERTAINMENT
            - TIMESHARE
        source:
          type: string
          enum:
            - WEBAPP
            - CREW
        status:
          type: string
          enum:
            - CANCELED
            - PENDING
            - OK
            - FAILED
            - MANUAL
            - DISABLED
        ticketNumber:
          type: string
        ticketid:
          type: integer
          format: int64
        tsaCleared:
          type: boolean
        tsaClearedBy:
          $ref: '#/components/schemas/UserSearchDto'
        tsaClearedDate:
          type: string
          format: date-time
        tsaDate:
          type: string
          format: date-time
        tsaListMatches:
          type: object
          additionalProperties:
            type: array
            items:
              $ref: '#/components/schemas/NoFlyUserMatchDto'
        tsaNote:
          type: string
        tsaPendingResponse:
          type: boolean
        tsaSendDate:
          type: string
          format: date-time
        tsaStatus:
          type: string
          enum:
            - GRAY
            - GREEN
            - RED
            - LIGHT_RED
            - YELLOW
            - BLACK
            - WHITE
            - COLORLESS
            - MAINT_COLOR
            - BLUE
            - PURPLE
        type:
          type: string
          enum:
            - PAX
            - PATIENT
        visa:
          type: string
          enum:
            - GRAY
            - GREEN
            - RED
            - LIGHT_RED
            - YELLOW
            - BLACK
            - WHITE
            - COLORLESS
            - MAINT_COLOR
            - BLUE
            - PURPLE
        visaNote:
          type: string
    TicketDto_3:
      title: TicketDto_3
      type: object
      properties:
        comment:
          type: string
        documentExternalReference:
          type: string
        externalReference:
          type: string
        internalId:
          type: integer
          format: int64
        isMain:
          type: boolean
        links:
          type: array
          items:
            $ref: '#/components/schemas/Link'
        paxExternalReference:
          type: string
        paxType:
          type: string
          enum:
            - NONE
            - MALE
            - FEMALE
            - CHILD
            - INFANT
            - OTHER
    TimeZone:
      title: TimeZone
      type: object
      properties:
        displayName:
          type: string
        dstsavings:
          type: integer
          format: int32
        id:
          type: string
        rawOffset:
          type: integer
          format: int32
    TrafficReportPanelDto:
      title: TrafficReportPanelDto
      type: object
      properties:
        dossierNumber:
          type: string
        flightType:
          type: string
          enum:
            - CARGO
            - TRAINING
            - CHECK_FLIGHT
            - MAINTENANCE_FLIGHT
            - FERRY_CREW_CHANGE
            - FERRY_CARGO
            - FERRY_RETURN_BASE
            - FERRY_TECHNICAL_PROBLEM
            - PAX_FLIGHT
            - FERRY_CREW_CHANGE_PAX
            - FERRY_PAX
            - FERRY_RETURN_BASE_PAX
        referenceNumber:
          type: string
    TsaDataChanges:
      title: TsaDataChanges
      type: object
      properties:
        flightDataChanged:
          type: boolean
        flightDoesNotApply:
          type: boolean
        paxChanges:
          $ref: '#/components/schemas/ChangeSet'
    TsaDataChanges_1:
      title: TsaDataChanges_1
      type: object
      properties:
        flightDataChanged:
          type: boolean
        flightDoesNotApply:
          type: boolean
        paxChanges:
          $ref: '#/components/schemas/ChangeSet_1'
    TsaFlightDetails:
      title: TsaFlightDetails
      type: object
      properties:
        blockedUntil:
          type: integer
          format: int64
        changes:
          $ref: '#/components/schemas/TsaDataChanges'
        date:
          type: string
          format: date-time
        disabledReason:
          type: string
          enum:
            - NOT_TSA_APPLICABLE
            - TOO_EARLY
            - NO_PAX
            - PAST_FLIGHT
            - CANCELLED
            - WAITING_TSA_REPLY
            - DISABLED_91
            - INVALID_FLIGHT_NUMBER
        enabledForFlight:
          type: boolean
        hasChanges:
          type: boolean
        lastMessageType:
          type: string
        note:
          type: string
        tsaPendingResponse:
          type: boolean
        tsaSendDate:
          type: string
          format: date-time
    TsaFlightDetails_1:
      title: TsaFlightDetails_1
      type: object
      properties:
        blockedUntil:
          type: integer
          format: int64
        changes:
          $ref: '#/components/schemas/TsaDataChanges_1'
        date:
          type: string
          format: date-time
        disabledReason:
          type: string
          enum:
            - NOT_TSA_APPLICABLE
            - TOO_EARLY
            - NO_PAX
            - PAST_FLIGHT
            - CANCELLED
            - WAITING_TSA_REPLY
            - DISABLED_91
            - INVALID_FLIGHT_NUMBER
        enabledForFlight:
          type: boolean
        hasChanges:
          type: boolean
        lastMessageType:
          type: string
        note:
          type: string
        tsaPendingResponse:
          type: boolean
        tsaSendDate:
          type: string
          format: date-time
    User:
      title: User
      type: object
      properties:
        accessRight:
          type: string
        accountExpires:
          type: string
          format: date-time
        accounts:
          type: array
          items:
            $ref: '#/components/schemas/Account'
        age:
          type: integer
          format: int32
        aircrafts:
          type: array
          items:
            $ref: '#/components/schemas/Aircraft'
        allowance:
          type: number
        allowanceDomestic:
          type: number
        allowancePaymentSchema:
          type: string
          enum:
            - PER_HOUR
            - PER_LANDING
            - PER_DAY
        assignedNicknameOrDefault:
          type: string
        assignments:
          type: array
          items:
            $ref: '#/components/schemas/Assignment'
        backgroundColor:
          type: integer
          format: int32
        baseSalary:
          type: number
        birthCountry:
          $ref: '#/components/schemas/Country_1'
        birthDate:
          type: string
          format: date-time
        birthPlace:
          type: string
        birthState:
          type: string
        contacts:
          type: array
          items:
            $ref: '#/components/schemas/UserContact'
        creationDate:
          type: string
          format: date-time
        creationDatePropertyName:
          type: string
        creationDateZT:
          type: string
          format: date-time
        creationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        dca:
          type: boolean
        defaultAccount:
          $ref: '#/components/schemas/Account'
        deleteable:
          type: boolean
        disableDpCalculation:
          type: boolean
        disableFtFdpCalculation:
          type: boolean
        displayCurrencyCode:
          type: string
        dontFlyWith:
          type: array
          items:
            $ref: '#/components/schemas/User'
        drugAlc:
          type: boolean
        dynamicSalary:
          type: number
        employedSince:
          type: string
          format: date-time
        employedUntil:
          type: string
          format: date-time
        employeeNotPilot:
          type: boolean
        employeeNumber:
          type: string
        employmentEnd:
          type: string
          format: date-time
        employmentStart:
          type: string
          format: date-time
        employmentType:
          type: string
          enum:
            - FULL_TIME
            - DEDICATED_CONTRACT
            - PART_TIME
            - CONTRACT
        externalReference:
          type: string
        familyName:
          type: string
        feedbackSummary:
          type: string
        firstAndMiddleName:
          type: string
        firstName:
          type: string
        firstOfficer:
          type: boolean
        flightAttendant:
          type: boolean
        fullName:
          type: string
        fuzzySearch:
          type: boolean
        gender:
          type: string
          enum:
            - FEMALE
            - MALE
            - OTHER
        hasAccidents:
          type: boolean
        hasIncidents:
          type: boolean
        height:
          type: number
          format: float
        homeAirport:
          $ref: '#/components/schemas/Airport'
        id:
          type: integer
          format: int64
        idcards:
          type: array
          items:
            $ref: '#/components/schemas/Idcard'
        importId:
          type: string
        integration:
          type: string
        jobTitle:
          type: string
        language:
          type: string
        lastSanctionsDate:
          type: string
          format: date-time
        locale:
          $ref: '#/components/schemas/Locale'
        logname:
          type: string
        maidenName:
          type: string
        maintenanceController:
          type: string
        masterCrewList:
          type: boolean
        maxBlockHoursPerMonth:
          type: integer
          format: int32
        middleName:
          type: string
        modificationDate:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        multiCrewLimitation:
          type: boolean
        nationality:
          $ref: '#/components/schemas/Country_1'
        nickname:
          type: string
        notes:
          type: string
        operatorAOCs:
          type: array
          items:
            $ref: '#/components/schemas/AOC'
        password:
          type: string
        paxAaccount:
          type: array
          items:
            $ref: '#/components/schemas/Account'
        paymentCurrencyCode:
          type: string
        personalBufferTime:
          type: integer
          format: int32
        personalCheckinTime:
          type: integer
          format: int32
        personnelNumber:
          type: string
        phoneticFirst:
          type: string
        phoneticLast:
          type: string
        picture:
          $ref: '#/components/schemas/BinaryReference_1'
        pilot:
          type: boolean
        pilotExtended:
          type: boolean
        postalAddress:
          $ref: '#/components/schemas/Address'
        postalAddresses:
          type: array
          items:
            $ref: '#/components/schemas/Address'
        postalIsAccountAddress:
          type: boolean
        preferenceShowQuickLegEntry:
          type: boolean
        preferences:
          type: array
          items:
            $ref: '#/components/schemas/UserPreference'
        preferredAirportCodeFormat:
          type: string
          enum:
            - IATA
            - ICAO
        preferredAirportNameFormat:
          type: string
          enum:
            - IATA
            - ICAO
        qualifications:
          type: array
          items:
            $ref: '#/components/schemas/Qualification'
        radiationProtectionRegistryId:
          type: string
        reportTo:
          $ref: '#/components/schemas/User'
        residency:
          $ref: '#/components/schemas/Country_1'
        roles:
          type: array
          items:
            $ref: '#/components/schemas/Role'
        salaryUnit:
          type: string
        salesTeams:
          type: array
          items:
            $ref: '#/components/schemas/SalesTeam'
        salutation:
          type: string
          enum:
            - Mr
            - Mrs
            - Miss
            - Ms
            - unDef
            - Dr
            - Ing
            - Prof
            - Mag
            - Captain
            - Prince
            - Princess
            - Shaikh
            - Shaikhah
            - HRH
            - HE
            - Sir
            - Lady
            - Mx
            - HM
            - Sr
            - Fr
            - Br
            - Rev
            - Dr_Med
            - Prof_Dr
            - Lord
        selectedWelcomePanel:
          type: string
        siflType:
          type: string
          enum:
            - CONTROL
            - NON_CONTROL
            - SECURITY
        signature:
          $ref: '#/components/schemas/BinaryReference_1'
        staffingPlan:
          type: string
        status:
          type: string
          enum:
            - ACTIVE
            - DELETED
            - INACTIVE
            - MIGRATED_US
        templateId:
          type: string
        tryDelete:
          type: boolean
        uploadToArgus:
          type: boolean
        uploadToWywern:
          type: boolean
        useCustomFooter:
          type: boolean
        userCards:
          type: array
          items:
            $ref: '#/components/schemas/UserCard'
        userCharacteristics:
          $ref: '#/components/schemas/UserCharacteristics'
        userPositionings:
          type: array
          items:
            $ref: '#/components/schemas/UserPositioning'
        userQualifications:
          type: array
          items:
            $ref: '#/components/schemas/UserQualification'
        userTasks:
          type: array
          items:
            $ref: '#/components/schemas/UserTask'
        userid:
          type: integer
          format: int64
        uuid:
          type: string
        vacationDays:
          type: integer
          format: int32
        vaccinations:
          type: array
          items:
            $ref: '#/components/schemas/Vaccination'
        validContacts:
          type: array
          items:
            $ref: '#/components/schemas/UserContact'
        weddingDate:
          type: string
          format: date-time
        weight:
          type: number
          format: float
        workingScheme:
          $ref: '#/components/schemas/WorkingSchemeBase'
    UserCard:
      title: UserCard
      type: object
      properties:
        bizflightReference:
          type: string
        copy:
          $ref: '#/components/schemas/BinaryReference_1'
        expirationDate:
          type: string
          format: date-time
        holder:
          type: string
        id:
          type: integer
          format: int64
        issuer:
          type: string
        number:
          type: string
        securityCode:
          type: string
        type:
          $ref: '#/components/schemas/CardType'
        user:
          $ref: '#/components/schemas/User'
        usercardid:
          type: integer
          format: int64
        uuid:
          type: string
    UserCharacteristics:
      title: UserCharacteristics
      type: object
      properties:
        defaultLuggageWeight:
          type: number
          format: float
        eyeColor:
          type: string
        hairColor:
          type: string
    UserCharacteristicsDto:
      title: UserCharacteristicsDto
      type: object
      properties:
        defaultLuggageWeight:
          type: number
          format: double
        eyeColor:
          type: string
        hairColor:
          type: string
    UserContact:
      title: UserContact
      type: object
      properties:
        data:
          type: string
        deleted:
          type: boolean
        id:
          type: integer
          format: int64
        main:
          type: boolean
        notDeleted:
          type: boolean
        type:
          type: string
          enum:
            - PHONE
            - EMAIL
            - SKYPE
            - URL
            - MOBILE
            - FAX
            - PHONE_PRIVATE
            - EMAIL_PRIVATE
            - EMERGENCY
            - MOBILE_PRIVATE
        user:
          $ref: '#/components/schemas/User'
        uuid:
          type: string
    UserDto:
      title: UserDto
      type: object
      properties:
        internalId:
          type: integer
          format: int64
          description: Internal ID
          example: 485949
          readOnly: true
        externalReference:
          type: string
          description: External reference
          example: '665321646'
        firstName:
          type: string
          description: First Name
          example: Luke
        lastName:
          type: string
          example: Joe
          description: Last name
        gender:
          type: string
          description: Gender
          example: MALE
          enum:
            - FEMALE
            - MALE
            - OTHER
        birthDate:
          type: string
          format: date
          description: Date of birth
          example: '1988-03-18'
        birthPlace:
          type: string
          description: Place of birth
          example: Conroe
        acronym:
          type: string
          description: Acronym
          example: LJ
        birthCountry:
          type: string
          description: Country of birth
          example: US
        account:
          $ref: '#/components/schemas/AccountDto'
        address:
          $ref: '#/components/schemas/AddressDto'
        email:
          type: string
          description: Email address
          example: myemail@fl3xx.com
        documentExpiration:
          type: string
          format: date
          example: '2030-04-03'
          description: Expiration date
        documentExternalReference:
          type: integer
          format: int64
          example: 69905
          description: Document reference
        documentNumber:
          type: string
          description: Document number
          example: CC4AA3390294NJ
        documentType:
          type: string
          description: Type of document
          example: PASSPORT
          enum:
            - PASSPORT
            - IDCARD
            - VISA
            - OTHER
            - CREWID
            - AIRPORT_ID
            - DRIVING_LICENSE
            - US_GLOBAL
            - GREEN_CARD
            - PILOT_LICENSE
            - ALIEN_REGISTRATION_CARD
            - PERMANENT_RESIDENCE_CARD
            - FACILITATION_DOCUMENT
            - MILITARY_CARD
            - NEXUS_CARD
            - REFUGEE_TRAVEL_DOCUMENT
            - EXEMPT_FROM_IRPA_DOCUMENT
            - REDRESS_NUMBER
        issueCountry:
          type: string
          example: USA
          description: Country of issue
        issueDate:
          type: string
          format: date
          description: Issuance date
          example: '2020-04-02'
        links:
          $ref: '#/components/schemas/Links'
        logName:
          type: string
        mobile:
          type: string
          description: Mobile phone number
          example: 1111111111
        nationality:
          type: string
          description: Nationality
          example: US
        personnelNumber:
          type: string
          description: Personnel number
          example: 996659598
        phone:
          type: string
          description: Phone number
          example: 11111111111
        radiationProtectionRegistryId:
          type: string
          description: Radiation projection registry id
          example: 1112221112221
        salutation:
          type: string
          example: Mr
          enum:
            - Mr
            - Mrs
            - Miss
            - Ms
            - unDef
            - Dr
            - Ing
            - Prof
            - Mag
            - Captain
            - Prince
            - Princess
            - Shaikh
            - Shaikhah
            - HRH
            - HE
            - Sir
            - Lady
            - Mx
            - HM
            - Sr
            - Fr
            - Br
            - Rev
            - Dr_Med
            - Prof_Dr
            - Lord
        siflType:
          type: string
          example: CONTROL
          enum:
            - CONTROL
            - NON_CONTROL
            - SECURITY
        status:
          type: string
          example: ACTIVE
          description: Record status
          enum:
            - ACTIVE
            - DELETED
            - INACTIVE
            - MIGRATED_US
        weight:
          type: number
          format: float
          example: 80.5
          description: Weight
        accessRight:
          type: string
          description: User access right. (This is customizable by the operator)
          example: External API
    UserMinimal:
      title: UserMinimal
      type: object
      properties:
        firstName:
          type: string
        lastName:
          type: string
        middleName:
          type: string
        userId:
          type: integer
          format: int64
    UserOnFlightStatusableDetails:
      title: UserOnFlightStatusableDetails
      type: object
      properties:
        id:
          type: integer
          format: int64
          description: Passenger ID
          example: 111111
        note:
          type: string
          description: >-
            Description. This value will be shown in the UI when hovering over
            the Status object.
          deprecated: true
        source:
          $ref: '#/components/schemas/ActionSourceOld'
        status:
          $ref: '#/components/schemas/VisaStatusColorOld'
        travelAuthorizationDeparture:
          $ref: '#/components/schemas/DirectionStatus'
        travelAuthorizationArrival:
          $ref: '#/components/schemas/DirectionStatus'
    DirectionStatus:
      type: object
      properties:
        status:
          $ref: '#/components/schemas/VisaStatusColor'
        note:
          type: string
          description: >-
            Description. This value will be shown in the UI when hovering over
            the Status object.
        source:
          $ref: '#/components/schemas/ActionSource'
    VisaStatusColorOld:
      type: string
      deprecated: true
      enum:
        - GRAY
        - GREEN
        - RED
        - LIGHT_RED
        - YELLOW
        - BLACK
        - WHITE
        - COLORLESS
        - MAINT_COLOR
        - BLUE
        - PURPLE
    ActionSourceOld:
      type: string
      readOnly: true
      deprecated: true
      description: >-
        Describes the channel used to update the value. When updating via the
        API, the value must always be set to API.
      enum:
        - WEB
        - API
    VisaStatusColor:
      type: string
      enum:
        - GRAY
        - GREEN
        - RED
        - LIGHT_RED
        - YELLOW
        - BLACK
        - WHITE
        - COLORLESS
        - MAINT_COLOR
        - BLUE
        - PURPLE
    ActionSource:
      type: string
      readOnly: true
      description: >-
        Describes the channel used to update the value. When updating via the
        API, the value must always be set to API.
      enum:
        - WEB
        - API
    UserOnFlightStatusableDetails_1:
      title: UserOnFlightStatusableDetails_1
      type: object
      properties:
        id:
          type: integer
          format: int64
        status:
          type: string
          enum:
            - GRAY
            - GREEN
            - RED
            - LIGHT_RED
            - YELLOW
            - BLACK
            - WHITE
            - COLORLESS
            - MAINT_COLOR
            - BLUE
            - PURPLE
        note:
          type: string
        source:
          type: string
          enum:
            - WEB
            - API
    UserPositioning:
      title: UserPositioning
      type: object
      properties:
        airport:
          $ref: '#/components/schemas/Airport'
        cost:
          type: integer
          format: int32
        id:
          type: integer
          format: int64
        time:
          type: integer
          format: int64
        user:
          $ref: '#/components/schemas/User'
        userPositioningid:
          type: integer
          format: int64
        uuid:
          type: string
    UserPreference:
      title: UserPreference
      type: object
      properties:
        description:
          type: string
        id:
          $ref: '#/components/schemas/Key_2'
        template:
          $ref: '#/components/schemas/UserPreferenceTemplate'
        user:
          $ref: '#/components/schemas/User'
    UserPreferenceDto:
      title: UserPreferenceDto
      type: object
      properties:
        description:
          type: string
        template:
          $ref: '#/components/schemas/UserPreferenceTemplateDto'
    UserPreferenceDto_1:
      title: UserPreferenceDto_1
      type: object
      properties:
        template:
          $ref: '#/components/schemas/UserPreferenceTemplateDto_1'
        description:
          type: string
    UserPreferenceTemplate:
      title: UserPreferenceTemplate
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
        order:
          type: integer
          format: int32
        showAsImportant:
          type: boolean
        showInCatering:
          type: boolean
        showInPax:
          type: boolean
        showInSales:
          type: boolean
        uuid:
          type: string
    UserPreferenceTemplateDto:
      title: UserPreferenceTemplateDto
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
        order:
          type: integer
          format: int32
        showAsImportant:
          type: boolean
        showInCatering:
          type: boolean
        showInPax:
          type: boolean
        showInSales:
          type: boolean
    UserPreferenceTemplateDto_1:
      title: UserPreferenceTemplateDto_1
      type: object
      properties:
        id:
          type: integer
          format: int64
        order:
          type: integer
          format: int32
        name:
          type: string
        showInPax:
          type: boolean
        showInCatering:
          type: boolean
        showInSales:
          type: boolean
        showAsImportant:
          type: boolean
    UserQualification:
      title: UserQualification
      type: object
      properties:
        aircraftModelIcao:
          type: string
        aircraftVariant:
          type: string
        airport:
          $ref: '#/components/schemas/Airport'
        baseDelta:
          type: string
          enum:
            - BASE
            - EARLY
            - LATE
            - LATE2
            - LATE3
            - LATE4
            - LATE5
        baseItem:
          $ref: '#/components/schemas/Qualification'
        baseMonth:
          type: integer
          format: int32
        calculatedBaseMonth:
          type: integer
          format: int32
        calculatedExpirationDate:
          type: string
          format: date-time
        commander:
          type: boolean
        courseType:
          type: string
          enum:
            - RECURRENT
            - DIFFERENCES
            - INH_A
            - INH_B
            - INH_C
            - INITIAL
            - REQUALIFICATION
            - TRANSITION
        creationDate:
          type: string
          format: date-time
        creationDatePropertyName:
          type: string
        creationDateZT:
          type: string
          format: date-time
        creationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        description:
          type: string
        document:
          $ref: '#/components/schemas/BinaryReference_1'
        empty:
          type: boolean
        expirationDate:
          type: string
          format: date-time
        id:
          type: integer
          format: int64
        initialDate:
          type: string
          format: date-time
        issueAuthority:
          type: string
        issueCountry:
          $ref: '#/components/schemas/Country_1'
        issueCountryId:
          type: integer
          format: int64
        issueDate:
          type: string
          format: date-time
        licenceNumber:
          type: string
        minFlightHours:
          type: integer
          format: int32
        minSectors:
          type: integer
          format: int32
        modificationDate:
          type: string
          format: date-time
        modificationDatePropertyName:
          type: string
        modificationDateZT:
          type: string
          format: date-time
        modificationUser:
          $ref: '#/components/schemas/User'
        modificationUserPropertyName:
          type: string
        modificationZoneId:
          $ref: '#/components/schemas/ZoneId_1'
        neverExpires:
          type: boolean
        notificationRedSent:
          type: boolean
        notificationYellowSent:
          type: boolean
        proficiency:
          type: string
        qualification:
          $ref: '#/components/schemas/Qualification'
        source:
          type: string
          enum:
            - CENTRIK
            - MINT
            - TRAINING_PORT
            - FLYCO
            - INFOWERK
        user:
          $ref: '#/components/schemas/User'
        uuid:
          type: string
    UserQualificationDto:
      title: UserQualificationDto
      type: object
      properties:
        aircraftModelIcao:
          type: string
        aircraftVariant:
          type: string
        airport:
          $ref: '#/components/schemas/AirportMinSearchDto'
        commander:
          type: boolean
        description:
          type: string
        document:
          $ref: '#/components/schemas/BinaryReferenceSharedDto'
        expirationDate:
          type: string
          format: date-time
        group:
          type: string
        id:
          type: integer
          format: int64
        initialDate:
          type: string
          format: date-time
        issueAuthority:
          type: string
        issueDate:
          type: string
          format: date-time
        licenceNumber:
          type: string
        minFlightHours:
          type: integer
          format: int32
        minSectors:
          type: integer
          format: int32
        name:
          type: string
        neverExpires:
          type: boolean
        proficiency:
          type: string
    UserSearchDto:
      title: UserSearchDto
      type: object
      properties:
        accountName:
          type: string
        firstName:
          type: string
        gender:
          type: string
          enum:
            - FEMALE
            - MALE
            - OTHER
        height:
          type: number
          format: float
        id:
          type: integer
          format: int64
        jobTitle:
          type: string
        lastName:
          type: string
        middleName:
          type: string
        nationalityCountryName:
          type: string
        nickname:
          type: string
        personnelNumber:
          type: string
        pilot:
          type: boolean
        status:
          type: string
          enum:
            - ACTIVE
            - DELETED
            - INACTIVE
            - MIGRATED_US
        userCharacteristics:
          $ref: '#/components/schemas/UserCharacteristicsDto'
        weight:
          type: number
          format: float
    UserTask:
      title: UserTask
      type: object
      properties:
        autoGenerated:
          type: boolean
        comment:
          type: string
        conditionallyAvailable:
          type: boolean
        extension:
          $ref: '#/components/schemas/UserTaskExtension'
        from:
          type: string
          format: date-time
        id:
          type: integer
          format: int64
        interval:
          $ref: '#/components/schemas/Interval'
        suserTaskid:
          type: integer
          format: int64
        task:
          $ref: '#/components/schemas/Task'
        to:
          type: string
          format: date-time
        user:
          $ref: '#/components/schemas/User'
        uuid:
          type: string
    UserTaskExtension:
      title: UserTaskExtension
      type: object
      properties:
        carFrom:
          type: string
        carFromPlace:
          type: string
        carFromTime:
          type: integer
          format: int32
        carNr:
          type: string
        carTo:
          type: string
        carToPlace:
          type: string
        carToTime:
          type: integer
          format: int32
        carType:
          type: string
        flightBookingNr:
          type: string
        flightFromPlace:
          type: string
        flightFromTime:
          type: integer
          format: int32
        flightNr:
          type: string
        flightToPlace:
          type: string
        flightToTime:
          type: integer
          format: int32
        fromApt:
          $ref: '#/components/schemas/Airport'
        id:
          type: integer
          format: int64
        reservationNr:
          type: string
        sUserTaskExtensionId:
          type: integer
          format: int64
        seat:
          type: string
        status:
          type: string
          enum:
            - NOT_DONE
            - AWAITING_RESPONSE
            - FULLY_ORGANIZED
        ticket:
          type: string
        toApt:
          $ref: '#/components/schemas/Airport'
        trainBookingNr:
          type: string
        trainFrom:
          type: string
        trainFromPlace:
          type: string
        trainFromTime:
          type: integer
          format: int32
        trainNr:
          type: string
        trainTo:
          type: string
        trainToPlace:
          type: string
        trainToTime:
          type: integer
          format: int32
        uuid:
          type: string
    Vaccination:
      title: Vaccination
      type: object
      properties:
        copy:
          $ref: '#/components/schemas/BinaryReference_1'
        deleted:
          type: boolean
        id:
          type: integer
          format: int64
        protectedUntil:
          type: string
          format: date-time
        type:
          type: string
          enum:
            - CHOLERA
            - DENGUE
            - DIPHTHERIA
            - HAEMOPHILUS_INFLUENZAE
            - HEPATITIS_A
            - HEPATITIS_B
            - HFRS
            - HUMAN_PAPILLOMAVIRUS
            - INFLUENZA
            - JAPANESE_ENCEPHALITIS
            - MALARIA
            - MEASLES
            - MENINGOCOCCAL_MENINGITIS
            - MUMPS
            - PERTUSSIS
            - PNEUMOCOCCUS
            - POLIOMYELITIS
            - RABIES
            - RIFT_VALLEY_FEVER
            - ROTAVIRUS
            - RUBELLA
            - SMALLPOX
            - TETANUS
            - TICK_BORNE_ENCEPHALITIS
            - TUBERCULOSIS
            - TYPHUS
            - VARICELLA
            - YELLOW_FEVER
            - COVID19
            - COVID19_PCR_TEST
            - COVID19_ANTIGEN_TEST
            - VACCINATION_RECORD
            - COVID19_BOOSTER
        user:
          $ref: '#/components/schemas/User'
        userId:
          type: integer
          format: int64
        uuid:
          type: string
        vaccinationDate:
          type: string
          format: date-time
    VaccinationDto:
      title: VaccinationDto
      type: object
      properties:
        copy:
          $ref: '#/components/schemas/BinaryReferenceDto'
        deleted:
          type: boolean
        id:
          type: integer
          format: int64
        protectedUntil:
          type: string
          format: date-time
        type:
          type: string
          enum:
            - CHOLERA
            - DENGUE
            - DIPHTHERIA
            - HAEMOPHILUS_INFLUENZAE
            - HEPATITIS_A
            - HEPATITIS_B
            - HFRS
            - HUMAN_PAPILLOMAVIRUS
            - INFLUENZA
            - JAPANESE_ENCEPHALITIS
            - MALARIA
            - MEASLES
            - MENINGOCOCCAL_MENINGITIS
            - MUMPS
            - PERTUSSIS
            - PNEUMOCOCCUS
            - POLIOMYELITIS
            - RABIES
            - RIFT_VALLEY_FEVER
            - ROTAVIRUS
            - RUBELLA
            - SMALLPOX
            - TETANUS
            - TICK_BORNE_ENCEPHALITIS
            - TUBERCULOSIS
            - TYPHUS
            - VARICELLA
            - YELLOW_FEVER
            - COVID19
            - COVID19_PCR_TEST
            - COVID19_ANTIGEN_TEST
            - VACCINATION_RECORD
            - COVID19_BOOSTER
        userId:
          type: integer
          format: int64
        vaccinationDate:
          type: string
          format: date-time
    Value:
      title: Value
      type: object
      properties:
        actual:
          type: integer
          format: int64
        ignoreExceedance:
          type: boolean
        max:
          type: integer
          format: int64
        min:
          type: integer
          format: int64
        type:
          type: string
          enum:
            - HOUR
            - DAY
            - MONTH
            - QUARTER
            - CONSECUTIVE_HOURS
            - CONSECUTIVE_DAYS
            - CALENDAR_DAY
    VorCheckDto:
      title: VorCheckDto
      type: object
      properties:
        bearing1:
          type: number
        bearing1Error:
          type: number
        bearing2:
          type: number
        bearing2Error:
          type: number
        completed:
          type: string
          format: date-time
        location:
          type: string
        next:
          type: string
          format: date-time
    VorCheckDto_1:
      title: VorCheckDto_1
      type: object
      properties:
        completed:
          type: string
          format: date-time
        next:
          type: string
          format: date-time
        location:
          type: string
        bearing1:
          type: number
        bearing1Error:
          type: number
        bearing2:
          type: number
        bearing2Error:
          type: number
    WarningDto:
      title: WarningDto
      type: object
      properties:
        type:
          type: string
          enum:
            - OK
            - TOO_MANY_PAX
            - PAX_NOT_SET
            - RESCUE_CAT_NOT_SET
            - RESCUE_CAT_INVALID
            - RESCUE_HELI_CAT_NOT_SET
            - RESCUE_HELI_CAT_INVALID
            - FUEL_STOP
            - RUNWAY_TOO_SHORT
            - SCHEDULE_OVERLAP
            - SCHEDULE_OVERLAP_POS
            - SCHEDULE_OVERLAP_TASK
            - EXTENDED_RESCUE_CAT_INVALID
            - EXTENDED_RESCUE_HELI_CAT_INVALID
            - AIRPORT_AOC_CATEGORY_NOT_A
            - OPTION_OVERLAP
            - OPTION_OVERLAP_POS
            - OPERATIONAL_NOTE
            - AIRPORT_AOC_CATEGORY_C
            - OPERATIONAL_NOTE_ALERT
            - AIRPORT_OPENING_HOURS_CLOSED
            - AIRPORT_OPENING_HOURS_RESTRICTED
            - UNCORRECTED_HOLD_ITEM
            - OVERDUE_HOLD_ITEM
            - FTL_YELLOW
            - FTL_RED
            - FTL_FLIGHT_TIME_YELLOW
            - FTL_FLIGHT_TIME_RED
            - RUNWAY_TOO_NARROW
            - RUNWAY_TOO_HIGH
            - FBO_DISCONNECT_PREV_LEG
            - FBO_DISCONNECT_NEXT_LEG
            - CREW_OVERLAP
    Workflow:
      title: Workflow
      type: object
      properties:
        id:
          type: integer
          format: int64
        state:
          $ref: '#/components/schemas/WorkflowState'
        uuid:
          type: string
    WorkflowState:
      title: WorkflowState
      type: object
      properties:
        comment:
          type: string
        created:
          type: string
          format: date-time
        id:
          type: integer
          format: int64
        type:
          type: string
          enum:
            - INIT
            - QUOTE_SENT
            - OPTION_SENT
            - BOOKING_SENT
            - BOOKING_SIGNED
            - BOOKING_SIGNED_DEEP_LINK
            - INVOICE_SENT
            - MAJOR_CHANGES
            - MAJOR_CHANGES_QUOTE_SENT
            - FLIGHT_CHANGES_INVOICE_SENT
            - MAJOR_CHANGES_SIGNED
            - RESEND_QUOTE
            - RESEND_INVOICE
            - LAST_INVOICE_SENT
            - QUOTE_ACCEPTED
            - OWNER_APPROVED
            - CONTRACT_SIGNED
            - OWNER_DECLINED
        uuid:
          type: string
        workflow:
          $ref: '#/components/schemas/Workflow'
    WorkingSchemeBase:
      title: WorkingSchemeBase
      type: object
      properties:
        endDate:
          type: string
          format: date-time
        id:
          type: integer
          format: int64
        startDate:
          type: string
          format: date-time
        task:
          $ref: '#/components/schemas/Task'
        workingSchemeid:
          type: integer
          format: int64
    ZoneId_1:
      title: ZoneId_1
      type: object
      properties:
        id:
          type: string
        rules:
          $ref: '#/components/schemas/ZoneRules_1'
    ZoneOffsetTransitionRule_1:
      title: ZoneOffsetTransitionRule_1
      type: object
      properties:
        dayOfMonthIndicator:
          type: integer
          format: int32
        dayOfWeek:
          type: string
          enum:
            - MONDAY
            - TUESDAY
            - WEDNESDAY
            - THURSDAY
            - FRIDAY
            - SATURDAY
            - SUNDAY
        localTime:
          $ref: '#/components/schemas/LocalTime'
        midnightEndOfDay:
          type: boolean
        month:
          type: string
          enum:
            - JANUARY
            - FEBRUARY
            - MARCH
            - APRIL
            - MAY
            - JUNE
            - JULY
            - AUGUST
            - SEPTEMBER
            - OCTOBER
            - NOVEMBER
            - DECEMBER
        offsetAfter:
          $ref: '#/components/schemas/ZoneOffset_1'
        offsetBefore:
          $ref: '#/components/schemas/ZoneOffset_1'
        standardOffset:
          $ref: '#/components/schemas/ZoneOffset_1'
        timeDefinition:
          type: string
          enum:
            - UTC
            - WALL
            - STANDARD
    ZoneOffsetTransition_1:
      title: ZoneOffsetTransition_1
      type: object
      properties:
        dateTimeAfter:
          type: string
          format: date-time
        dateTimeBefore:
          type: string
          format: date-time
        duration:
          $ref: '#/components/schemas/Duration_1'
        gap:
          type: boolean
        instant:
          type: string
          format: date-time
        offsetAfter:
          $ref: '#/components/schemas/ZoneOffset_1'
        offsetBefore:
          $ref: '#/components/schemas/ZoneOffset_1'
        overlap:
          type: boolean
    ZoneOffset_1:
      title: ZoneOffset_1
      type: object
      properties:
        id:
          type: string
        rules:
          $ref: '#/components/schemas/ZoneRules_1'
        totalSeconds:
          type: integer
          format: int32
    ZoneRules_1:
      title: ZoneRules_1
      type: object
      properties:
        fixedOffset:
          type: boolean
        transitionRules:
          type: array
          items:
            $ref: '#/components/schemas/ZoneOffsetTransitionRule_1'
        transitions:
          type: array
          items:
            $ref: '#/components/schemas/ZoneOffsetTransition_1'
    B2CPaymentDTO:
      type: object
      properties:
        id:
          type: integer
          format: int64
          title: Payment ID
          description: Payment ID
          example: 225636
        status:
          type: string
          title: Payment status
          description: Indicates if the quote/invoice has been paid in full or not
          example: NOT_PAID
          enum:
            - PAID
            - NOT_PAID
        quoteId:
          type: integer
          format: int64
          title: Quote ID
          description: Quote ID
          example: 5563201
        invoiceIds:
          uniqueItems: true
          type: array
          title: Invoice IDs
          description: The IDs of the invoices associated with the payment
          items:
            type: integer
            format: int64
            example: 66542554
        amount:
          type: number
          title: Payment amount
          description: Payment amount
          example: 56.36
        currency:
          type: string
          title: Payment currency
          description: Payment currency
          example: EUR
          enum:
            - AED
            - AFN
            - ALL
            - AMD
            - ANG
            - AOA
            - ARS
            - AUD
            - AWG
            - AZN
            - BAM
            - BBD
            - BDT
            - BGN
            - BHD
            - BIF
            - BMD
            - BND
            - BOB
            - BRL
            - BSD
            - BTN
            - BWP
            - BYN
            - BZD
            - CAD
            - CDF
            - CHF
            - CLP
            - CNY
            - COP
            - CRC
            - CUC
            - CUP
            - CVE
            - CZK
            - DJF
            - DKK
            - DOP
            - DZD
            - EGP
            - ERN
            - ETB
            - EUR
            - FJD
            - FKP
            - GBP
            - GEL
            - GHS
            - GIP
            - GMD
            - GNF
            - GTQ
            - GYD
            - HKD
            - HNL
            - HRK
            - HTG
            - HUF
            - IDR
            - ILS
            - INR
            - IQD
            - IRR
            - ISK
            - JMD
            - JOD
            - JPY
            - KES
            - KGS
            - KHR
            - KMF
            - KPW
            - KRW
            - KWD
            - KYD
            - KZT
            - LAK
            - LBP
            - LKR
            - LRD
            - LSL
            - LYD
            - MAD
            - MDL
            - MGA
            - MKD
            - MMK
            - MNT
            - MOP
            - MRO
            - MUR
            - MVR
            - MWK
            - MXN
            - MYR
            - MZN
            - NAD
            - NGN
            - NIO
            - NOK
            - NPR
            - NZD
            - OMR
            - PAB
            - PEN
            - PGK
            - PHP
            - PKR
            - PLN
            - PYG
            - QAR
            - RON
            - RSD
            - RUB
            - RWF
            - SAR
            - SBD
            - SCR
            - SDG
            - SEK
            - SGD
            - SHP
            - SLL
            - SOS
            - SRD
            - SSP
            - STD
            - SVC
            - SYP
            - SZL
            - THB
            - TJS
            - TMT
            - TND
            - TOP
            - TRY
            - TTD
            - TWD
            - TZS
            - UAH
            - UGX
            - USD
            - UYU
            - UZS
            - VEF
            - VND
            - VUV
            - WST
            - XAF
            - XAG
            - XAU
            - XBA
            - XBB
            - XBC
            - XBD
            - XCD
            - XDR
            - XOF
            - XPD
            - XPF
            - XPT
            - XSU
            - XTS
            - XUA
            - XXX
            - YER
            - ZAR
            - ZMW
            - ZWL
            - BTC
        documents:
          uniqueItems: true
          type: array
          title: Payment document
          description: Payment document (PDF, PNG, JPG, JPEG)
          items:
            $ref: '#/components/schemas/B2CBinaryReferenceDTO'
        remarks:
          type: string
        date:
          type: string
          example: '2023-12-24'
    B2CBinaryReferenceDTO:
      type: object
      properties:
        id:
          type: integer
          format: int64
          title: ID
          description: Document ID
          example: 66325
        uuid:
          type: string
          title: UUID
          description: Document UUID
          example: 2342343423423423423ASS32
        originalName:
          type: string
          title: Original name
          description: Original name of the document
          example: fil3.pdf
        fileSize:
          type: integer
          format: int64
          title: File size
          description: File size
          example: 652154
        creationDate:
          type: string
          title: Original name
          description: Date created
          example: '2024-11-27T16:56:40Z'
    CrewExpenseDto:
      type: object
      description: Details of a crew expense
      properties:
        id:
          type: integer
          description: Unique identifier of the crew expense
          example: 1195
        expenseDate:
          type: string
          format: date
          description: Date of the expense
          example: '2024-12-24'
        flightId:
          type: integer
          description: ID of the flight associated with the expense
          example: 0
        flightNumber:
          type: string
          nullable: true
          description: Flight number associated with the expense
          example: null
        aircraftId:
          type: integer
          description: ID of the aircraft associated with the expense
          example: 0
        aircraftRegistration:
          type: string
          nullable: true
          description: Registration of the aircraft associated with the expense
          example: null
        bookingId:
          type: integer
          description: ID of the booking associated with the expense
          example: 0
        bookingIdentifier:
          type: string
          nullable: true
          description: Identifier of the booking associated with the expense
          example: null
        crewId:
          type: integer
          description: ID of the crew member
          example: 108569
        crewAcronym:
          type: string
          description: Acronym of the crew member
          example: PPP
        costCenterPaxName:
          type: string
          nullable: true
          description: Name of the cost center or passenger
          example: null
        costType:
          type: string
          description: Type of cost
          example: DUTY
          enum:
            - DEPARTURE_HANDLING
            - ARRIVAL_HANDLING
            - LANDING
            - PARKING
            - FUEL
            - DEPARTURE_HOTAC
            - PAX_FEE
            - DE_ICING
            - NAVIGATION_FE
            - PERMIT
            - DEPARTURE_CATERING
            - DEPARTURE_GROUND_TRANSPORTATION
            - VIP_LOUNGE
            - PER_DIEMS
            - AIRCRAFT
            - CREW
            - ARRIVAL_HOTAC
            - ARRIVAL_CATERING
            - ARRIVAL_GROUND_TRANSPORTATION
            - AIRCRAFT_TASK
            - DUTY
            - STAFF
            - AIRCRAFT_GENERAL
        supplierName:
          type: string
          description: Name of the supplier
          example: angola
        isTaxable:
          type: boolean
          description: Indicates if the expense is taxable
          example: false
        isBillable:
          type: boolean
          description: Indicates if the expense is billable
          example: false
        paymentMethod:
          type: string
          description: Method of payment
          example: CREW_CREDIT_CARD
          enum:
            - CREW_CREDIT_CARD
            - AIRCRAFT_CREDIT_CARD
            - CASH
            - ON_ACCOUNT
            - INVOICE
        invoiceNumber:
          type: string
          description: Invoice number
          example: asdfasdf
        costCenterReference:
          type: string
          description: Reference of the cost center
          example: asdfasdfas
        currencyCode:
          type: string
          description: Currency code
          example: USD
          enum:
            - USD
            - EUR
        netPrice:
          type: number
          format: double
          description: Net price of the expense
          example: 45
        vat:
          type: number
          format: double
          description: VAT amount
          example: 4
        grossPrice:
          type: number
          format: double
          description: Gross price of the expense
          example: 45
        reimbursementStatus:
          type: string
          description: Reimbursement status
          example: PENDING
          enum:
            - PENDING
            - REIMBURSED
        comment:
          type: string
          nullable: true
          description: Additional comments
          example: adfasdf
        document:
          $ref: '#/components/schemas/AttachmentDocument'
        priceItems:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
                description: Name of the price item
                example: asdfasdfasfd
              total:
                type: number
                format: double
                description: Total amount of the price item
                example: 30
        projectIdentifier:
          type: string
          nullable: true
          description: Identifier of the project
          example: null
        projectId:
          type: integer
          description: ID of the project
          example: 0
        createdByUserId:
          type: integer
          description: ID of the user who created the expense
          example: 568
        createdByUserPersonnelNumber:
          type: string
          description: Personnel number of the user who created the expense
          example: AAAEE
    PaginatedCrewExpenseDto:
      type: object
      description: Paginated list of crew expenses
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/CrewExpenseDto'
        pagination:
          $ref: '#/components/schemas/Pagination'
    AccountingProjectUpdateDto:
      type: object
      properties:
        externalReference:
          type: string
          description: External Identifier of the project
          example: PRO1
        name:
          type: string
          description: Project label/name
          example: Project 1
        isActive:
          type: boolean
          description: Indicates whether the project is active and usable within FL3XX
    AccountingProjectCreateDto:
      type: object
      properties:
        externalReference:
          type: string
          description: External Identifier of the project
          example: PRO1
        name:
          type: string
          description: Project label/name
          example: Project 1
        isActive:
          type: boolean
          description: Indicates whether the project is active and usable within FL3XX
    AccountingProjectDto:
      type: object
      properties:
        id:
          type: integer
          format: int64
          readOnly: true
          description: Identifier of the project (FL3XX)
          example: 112233
        externalReference:
          type: string
          description: External Identifier of the project
          example: PRO1
        name:
          type: string
          description: Project label/name
          example: Project 1
        isActive:
          type: boolean
          description: Indicates whether the project is active and usable within FL3XX
    PageResultAccountingProjectDto:
      type: object
      description: Paginated list of projects
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/AccountingProjectDto'
        pagination:
          $ref: '#/components/schemas/Pagination'
    Pagination:
      type: object
      description: Pagination details
      properties:
        offset:
          type: integer
          description: Number of records skipped
          example: 0
        limit:
          type: integer
          description: Maximum number of records returned
          example: 10
        totalItems:
          type: integer
          description: Total number of items available
          example: 3
        sortItems:
          type: array
          items:
            type: string
          description: List of fields used for sorting
          example: []
        filters:
          type: array
          items:
            type: object
            properties:
              field:
                type: string
                description: Field name to filter by
                example: expenseDate
              operator:
                type: string
                description: Filter operator
                example: BTW
              value:
                type: string
                description: Filter value
                example: 2024-08-28/2025-02-24
    AttachmentDocument:
      type: object
      description: Attachment document info
      properties:
        id:
          type: integer
          description: Unique identifier of the document
          example: 95192
        uuid:
          type: string
          description: UUID of the document
          example: 8abce832-af34-453a-ad27-667f87d65c31
        originalName:
          type: string
          description: Original name of the document
          example: dummy-pdf_2.pdf
        fileSize:
          type: number
          format: double
          description: Size of the document file
          example: 7478
        createdAtDateTime:
          type: string
          format: date-time
          description: Date and time when the document was created
          example: '2025-02-07T00:00:00.000Z'
        customName:
          type: string
          description: Custom name of the document
          example: 20250207-235248-618-dummy-pdf_2.pdf
        imageSizeX:
          type: number
          format: double
          description: Width of the image in the document
          example: 0
        imageSizeY:
          type: number
          format: double
          description: Height of the image in the document
          example: 0
        isThumbnail:
          type: boolean
          description: Indicates if the document is a thumbnail
          example: false
    CrewQualificationDto:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the crew qualification
          example: qual-12345
        crewId:
          type: string
          description: Unique identifier of the crew member
          example: crew-67890
        qualificationId:
          type: string
          description: Unique identifier of the qualification type
          example: qual-type-12345
        licenseNumber:
          type: string
          description: License or certificate number
          example: ATP-123456
        issuingAuthority:
          type: string
          description: Authority that issued the license or certificate
          example: FAA
        country:
          type: string
          description: Country where the license was issued (ISO 3166-1 alpha-3)
          example: AUT
        issueDate:
          type: string
          format: date
          description: Date when the license was issued
          example: '2023-01-15'
        expiryDate:
          type: string
          format: date
          description: Date when the license expires
          example: '2025-01-15'
        trainingStartDate:
          type: string
          format: date
          description: Date when training for this qualification started
          example: '2022-12-01'
        notes:
          type: string
          description: Additional notes or comments about the qualification
          example: Completed simulator training
        isPilotInCommand:
          type: boolean
          description: Whether this qualification allows pilot-in-command privileges
          example: true
        baseMonth:
          type: string
          enum:
            - JANUARY
            - FEBRUARY
            - MARCH
            - APRIL
            - MAY
            - JUNE
            - JULY
            - AUGUST
            - SEPTEMBER
            - OCTOBER
            - NOVEMBER
            - DECEMBER
          description: Base month for qualification calculations
          example: JANUARY
        document:
          $ref: '#/components/schemas/B2CBinaryReferenceDTO'
        createdAtDateTime:
          type: string
          format: date-time
          description: Date and time when the qualification was created
          example: '2024-01-15T10:30:00.000Z'
        updatedAtDateTime:
          type: string
          format: date-time
          description: Date and time when the qualification was last updated
          example: '2024-01-15T10:30:00.000Z'
    CrewQualificationSimplifiedDto:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the crew qualification
          example: qual-12345
        crewId:
          type: string
          description: Unique identifier of the crew member
          example: crew-67890
        qualificationId:
          type: string
          description: Unique identifier of the qualification type
          example: qual-type-12345
        licenseNumber:
          type: string
          description: License or certificate number
          example: ATP-123456
        issuingAuthority:
          type: string
          description: Authority that issued the license or certificate
          example: FAA
        country:
          type: string
          description: Country where the license was issued
          example: US
        issueDate:
          type: string
          format: date
          description: Date when the license was issued
          example: '2023-01-15'
        expiryDate:
          type: string
          format: date
          description: Date when the license expires
          example: '2025-01-15'
        trainingStartDate:
          type: string
          format: date
          description: Date when training for this qualification started
          example: '2022-12-01'
        notes:
          type: string
          description: Additional notes or comments about the qualification
          example: Completed simulator training
        isPilotInCommand:
          type: boolean
          description: Whether this qualification allows pilot-in-command privileges
          example: true
        baseMonth:
          type: string
          enum:
            - JANUARY
            - FEBRUARY
            - MARCH
            - APRIL
            - MAY
            - JUNE
            - JULY
            - AUGUST
            - SEPTEMBER
            - OCTOBER
            - NOVEMBER
            - DECEMBER
          description: Base month for qualification calculations
          example: JANUARY
        createdAtDateTime:
          type: string
          format: date-time
          description: Date and time when the qualification was created
          example: '2024-01-15T10:30:00.000Z'
        updatedAtDateTime:
          type: string
          format: date-time
          description: Date and time when the qualification was last updated
          example: '2024-01-15T10:30:00.000Z'
    CrewQualificationCreateDto:
      type: object
      required:
        - crewId
        - qualificationId
      properties:
        crewId:
          type: string
          description: Unique identifier of the crew member
          example: crew-67890
        qualificationId:
          type: string
          description: Unique identifier of the qualification type
          example: qual-type-12345
        licenseNumber:
          type: string
          description: License or certificate number
          example: ATP-123456
        issuingAuthority:
          type: string
          description: Authority that issued the license or certificate
          example: FAA
        country:
          type: string
          description: Country where the license was issued (ISO 3166-1 alpha-3)
          example: AUT
        issueDate:
          type: string
          format: date
          description: Date when the license was issued
          example: '2023-01-15'
        expiryDate:
          type: string
          format: date
          description: Date when the license expires
          example: '2025-01-15'
        trainingStartDate:
          type: string
          format: date
          description: Date when training for this qualification started
          example: '2022-12-01'
        notes:
          type: string
          description: Additional notes or comments about the qualification
          example: Completed simulator training
        isPilotInCommand:
          type: boolean
          description: Whether this qualification allows pilot-in-command privileges
          example: true
        baseMonth:
          type: string
          enum:
            - JANUARY
            - FEBRUARY
            - MARCH
            - APRIL
            - MAY
            - JUNE
            - JULY
            - AUGUST
            - SEPTEMBER
            - OCTOBER
            - NOVEMBER
            - DECEMBER
          description: Base month for qualification calculations
          example: JANUARY
    CrewQualificationPatchDto:
      type: object
      properties:
        qualificationId:
          type: string
          description: Unique identifier of the qualification type
          example: qual-type-12345
        licenseNumber:
          type: string
          description: License or certificate number
          example: ATP-123456
        issuingAuthority:
          type: string
          description: Authority that issued the license or certificate
          example: FAA
        country:
          type: string
          description: Country where the license was issued (ISO 3166-1 alpha-3)
          example: AUT
        issueDate:
          type: string
          format: date
          description: Date when the license was issued
          example: '2023-01-15'
        expiryDate:
          type: string
          format: date
          description: Date when the license expires
          example: '2025-01-15'
        trainingStartDate:
          type: string
          format: date
          description: Date when training for this qualification started
          example: '2022-12-01'
        notes:
          type: string
          description: Additional notes or comments about the qualification
          example: Completed simulator training
        isPilotInCommand:
          type: boolean
          description: Whether this qualification allows pilot-in-command privileges
          example: true
        baseMonth:
          type: string
          enum:
            - JANUARY
            - FEBRUARY
            - MARCH
            - APRIL
            - MAY
            - JUNE
            - JULY
            - AUGUST
            - SEPTEMBER
            - OCTOBER
            - NOVEMBER
            - DECEMBER
          description: Base month for qualification calculations
          example: JANUARY
    B2CBinaryReferenceDto:
      type: object
      properties:
        id:
          type: integer
          format: int64
          description: Unique identifier for the document
          example: 12345
        uuid:
          type: string
          description: Unique identifier for the document file
          example: doc-uuid-67890
        originalName:
          type: string
          description: Original filename of the uploaded document
          example: pilot_license.pdf
        fileSize:
          type: integer
          format: int64
          description: Size of the document file in bytes
          example: 1024000
        creationDate:
          type: string
          format: date-time
          description: Date and time when the document was uploaded
          example: '2024-01-15T10:30:00.000Z'
        customName:
          type: string
          description: Custom name assigned to the document
          example: Captain License
        imageSizeX:
          type: integer
          description: Width of the image in pixels (if applicable)
          example: 1920
        imageSizeY:
          type: integer
          description: Height of the image in pixels (if applicable)
          example: 1080
        isThumbnail:
          type: boolean
          description: Whether this is a thumbnail version of the document
          example: false
    QualificationDto:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the qualification type
          example: qual-type-12345
        name:
          type: string
          description: Name of the qualification type
          example: Airline Transport Pilot License
        abbreviation:
          type: string
          description: Abbreviated name of the qualification
          example: ATPL
        warning:
          type: string
          description: Warning message associated with the qualification
          example: Requires medical certificate
        notes:
          type: string
          description: Additional notes about the qualification
          example: Valid for commercial operations
        parentId:
          type: string
          description: Identifier of the parent qualification (if applicable)
          example: parent-qual-123
        appliesTo:
          type: string
          enum:
            - FLIGHT_DECK
            - PIC
            - SIC
            - CREW_CABIN
            - CREW_POSITIONS_AND_ROLES
          description: Specifies which crew positions this qualification applies to
          example: FLIGHT_DECK
        type:
          type: string
          enum:
            - LICENSE
            - CERTIFICATE
            - RATING
            - ENDORSEMENT
            - TRAINING
            - MEDICAL
            - OTHER
          description: Type of qualification
          example: LICENSE
        trainingType:
          type: string
          enum:
            - INITIAL
            - RECURRENT
            - REFRESHER
            - CONVERSION
            - OTHER
          description: Type of training required for this qualification
          example: INITIAL
        isActive:
          type: boolean
          description: Whether this qualification type is currently active
          example: true
        validity:
          $ref: '#/components/schemas/ValidityDto'
        gracePeriod:
          $ref: '#/components/schemas/GracePeriodDto'
        relations:
          type: array
          items:
            $ref: '#/components/schemas/QualificationRelationDto'
          description: Relations to other entities (aircraft, airports, etc.)
        alternativeQualificationIds:
          type: array
          items:
            type: string
          description: List of alternative qualification IDs
          example:
            - alt-qual-1
            - alt-qual-2
        createdAtDateTime:
          type: string
          format: date-time
          description: Date and time when the qualification type was created
          example: '2024-01-15T10:30:00.000Z'
        updatedAtDateTime:
          type: string
          format: date-time
          description: Date and time when the qualification type was last updated
          example: '2024-01-15T10:30:00.000Z'
    ValidityDto:
      type: object
      properties:
        unit:
          type: string
          enum:
            - DAYS
            - MONTHS
            - YEARS
          description: Unit of time for validity period
          example: MONTHS
        value:
          type: integer
          description: Value of the validity period
          example: 24
    GracePeriodDto:
      type: object
      properties:
        start:
          $ref: '#/components/schemas/GracePeriodItemDto'
        end:
          $ref: '#/components/schemas/GracePeriodItemDto'
    GracePeriodItemDto:
      type: object
      properties:
        type:
          type: string
          enum:
            - DAYS_BEFORE
            - DAYS_AFTER
            - MONTHS_BEFORE
            - MONTHS_AFTER
            - YEARS_BEFORE
            - YEARS_AFTER
          description: Type of grace period adjustment
          example: DAYS_BEFORE
        value:
          type: integer
          description: Value of the grace period
          example: 30
    QualificationRelationDto:
      type: object
      properties:
        type:
          type: string
          enum:
            - AIRCRAFT
            - AIRPORT
            - AIRPORT_C
            - PILOT_AND_AIRCRAFT
          description: Type of relation
          example: AIRCRAFT
        value:
          type: string
          description: Value of the relation
          example: Boeing 737
    PaginatedCrewQualificationDto:
      type: object
      description: Paginated list of crew qualifications
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/CrewQualificationDto'
          description: |
            The list of crew qualifications for the current page.
        pagination:
          $ref: '#/components/schemas/Pagination'
    PaginatedQualificationDto:
      type: object
      description: Paginated list of qualifications
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/QualificationDto'
          description: |
            The list of qualifications for the current page.
        pagination:
          $ref: '#/components/schemas/Pagination'
  securitySchemes:
    API_AUTHENTICATION:
      type: apiKey
      name: X-Auth-Token
      in: header
x-original-swagger-version: '2.0'
