openapi: 3.1.0 info: title: Direction version: 2.0.0 description: Schema definition for the Direction entity in the Beckn Mobility domain. license: name: CC-BY-NC-SA 4.0 International url: https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en contact: name: Beckn Labs url: https://beckn.io components: schemas: Direction: type: object title: Direction description: The direction of travel of a transport service along a route, typically expressed as inbound or outbound. x-tags: - mobility - schema-org - ride-hailing properties: directionId: description: Binary direction identifier (0 for one direction, 1 for the other) type: string directionCode: description: Named direction code (e.g. INBOUND, OUTBOUND, CLOCKWISE) type: string name: description: Short display name of the entity type: string short_desc: description: Brief textual description type: string long_desc: description: Detailed or long-form description type: string media: description: Media resource URLs (images, audio, video) type: string format: uri images: description: Image URLs for visual display type: string format: uri additionalProperties: false