openapi: 3.1.0 info: title: Shape version: 2.0.0 description: Schema definition for the Shape 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: Shape: type: object title: Shape description: The geographic path traced by a vehicle along a route, represented as an ordered sequence of geographic coordinates. x-tags: - mobility - geosparql - ride-hailing properties: shapeId: description: Unique identifier for the shape type: string distanceTraveled: description: Distance along the shape in metres up to this point type: number type: description: GeoJSON geometry type (Point, Polygon, LineString, etc.) type: string coordinates: description: Coordinate array per RFC 7946 type: array additionalProperties: false