naftiko: 1.0.0-alpha2 info: label: United Airlines NDC API — Status description: 'United Airlines NDC API — Status. 2 operations. Lead operation: Get Flight Schedules. Self-contained Naftiko capability covering one United Airlines business surface.' tags: - United Airlines - Status created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: UNITED_AIRLINES_API_KEY: UNITED_AIRLINES_API_KEY capability: consumes: - type: http namespace: ndc-status baseUri: https://api.united.com/v1 description: United Airlines NDC API — Status business capability. Self-contained, no shared references. resources: - name: flights-schedules path: /flights/schedules operations: - name: getflightschedules method: GET description: Get Flight Schedules outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: origin in: query type: string description: IATA airport code for origin (e.g., ORD) required: true - name: destination in: query type: string description: IATA airport code for destination (e.g., LAX) required: true - name: startDate in: query type: string description: Start date for schedule query (YYYY-MM-DD) required: true - name: endDate in: query type: string description: End date for schedule query (YYYY-MM-DD) - name: flights-status path: /flights/status operations: - name: getflightstatus method: GET description: Get Flight Status outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: flightNumber in: query type: string description: United Airlines flight number (e.g., UA123) required: true - name: date in: query type: string description: Flight date (YYYY-MM-DD) required: true authentication: type: bearer token: '{{env.UNITED_AIRLINES_API_KEY}}' exposes: - type: rest namespace: ndc-status-rest port: 8080 description: REST adapter for United Airlines NDC API — Status. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/flights/schedules name: flights-schedules description: REST surface for flights-schedules. operations: - method: GET name: getflightschedules description: Get Flight Schedules call: ndc-status.getflightschedules with: origin: rest.origin destination: rest.destination startDate: rest.startDate endDate: rest.endDate outputParameters: - type: object mapping: $. - path: /v1/flights/status name: flights-status description: REST surface for flights-status. operations: - method: GET name: getflightstatus description: Get Flight Status call: ndc-status.getflightstatus with: flightNumber: rest.flightNumber date: rest.date outputParameters: - type: object mapping: $. - type: mcp namespace: ndc-status-mcp port: 9090 transport: http description: MCP adapter for United Airlines NDC API — Status. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-flight-schedules description: Get Flight Schedules hints: readOnly: true destructive: false idempotent: true call: ndc-status.getflightschedules with: origin: tools.origin destination: tools.destination startDate: tools.startDate endDate: tools.endDate outputParameters: - type: object mapping: $. - name: get-flight-status description: Get Flight Status hints: readOnly: true destructive: false idempotent: true call: ndc-status.getflightstatus with: flightNumber: tools.flightNumber date: tools.date outputParameters: - type: object mapping: $.