{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/marginedge/refs/heads/main/json-schema/public-api-get-available-restaurant-units-response-model-schema.json", "title": "GetAvailableRestaurantUnitsResponseModel", "description": "GetAvailableRestaurantUnitsResponseModel schema from MarginEdge Public API", "type": "object", "properties": { "restaurants": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "description": "Name of the restaurant in MarginEdge", "example": "Sample Name" }, "id": { "type": "number", "description": "Unique identifier of this restaurant that will be used in the request to all other API endpoints", "example": 12345 } } } } } }