asyncapi: 2.0.0 info: title: Bitflyer on Ably Hub version: 1.0.0 contact: name: Ably url: 'https://www.ably.io/contact' email: support@ably.io description: | GTFS-R data on Bitflyer's Bitcoin pricing license: name: Bitflyer License Agreement url: 'https://bitflyer.com/en-eu/api' servers: ably: url: 'ws://realtime.ably.io' description: Endpoint used by Ably's Realtime client libraries protocol: ws security: - apiKey: [] - jwt: [] - httpBearerToken: [] mqtt: url: 'mqtt://mqtt.ably.io:{port}' description: Ably's MQTT endpoint variables: port: description: Secure connection (TLS) is available through port 8883. default: '8883' enum: - '1883' - '8883' security: - mqttApiKey: [] - mqttJwt: [] protocol: mqtt protocolVersion: 3.1.1 rest: url: 'https://rest.ably.io' description: Ably REST API protocol: https defaultContentType: application/json channels: '[product:ably-bitflyer/bitcoin]bitcoin:jpy': subscribe: summary: Bitflyer bitcoin prices message: payload: type: object properties: id: type: integer description: The transaction ID side: type: string description: Whether the transaction is a buy or sell enum: - SELL - BUY price: type: integer description: Price of transaction size: type: number description: Size of transaction exec_date: type: string format: dateTime description: Date and time of transaction buy_child_order_acceptance_id: type: string description: Buy acceptance id sell_child_order_acceptance_id: type: string description: Sell acceptance id components: securitySchemes: mqttApiKey: type: apiKey in: user description: >- Provide your API key's public part as the user and the API key's secret part as the password. Only usable over a secure connection. apiKey: type: apiKey in: user description: Provide your API key jwt: type: http scheme: bearer bearerFormat: JWT description: >- JWT generated matching the [Ably JWT requirements](https://www.ably.io/documentation/core-features/authentication#ably-jwt) mqttJwt: type: http scheme: bearer bearerFormat: JWT description: >- JWT generated matching the [Ably JWT requirements](https://www.ably.io/documentation/core-features/authentication#ably-jwt). Use the token as your user, and keep the password blank httpBearerToken: type: http scheme: bearer