UNPKG

@berlin-vegan/berlin-vegan-data-js

Version:

A library and stand-alone program that specifies the native open-source JSON format used by Berlin-Vegan and allows to convert data in this format to be converted to OpenStreetMap/Overpass and Schema.org JSON formats.

91 lines (90 loc) 1.87 kB
import { NativeLocation } from "./NativeLocation"; import { YesNoUnknown } from "./YesNoUnknown"; export interface NativeGastroLocation extends NativeLocation { /** * Address: district * * Non-empty */ district: string; /** * Pictures * * 0 to many items */ pictures: Picture[]; /** * Public transport description * * Non-empty */ publicTransport?: string; /** * WC/toilet is wheelchair-accessible. */ handicappedAccessibleWc: YesNoUnknown; /** * Dogs are allowed. */ dog: YesNoUnknown; /** * Child chair (high chair) is available. */ childChair: YesNoUnknown; /** * Catering service is offered. */ catering: YesNoUnknown; /** * Number of seats outdoor, or -1 = unknown */ seatsOutdoor: number; /** * Number of seats indoor, or -1 = unknown */ seatsIndoor: number; /** * Free WLAN (WiFi) is available, */ wlan: YesNoUnknown; /** * Gluten-free food is available. */ glutenFree: YesNoUnknown; /** * Breakfast is available. */ breakfast: YesNoUnknown; /** * Brunch is available. */ brunch: YesNoUnknown; /** * Delivery service is available. * * Can be an online shop or ordering by phone. */ delivery: YesNoUnknown; /** * Tags describing the type of the location * * 1 to 5 items */ tags: ("Bar" | "Cafe" | "Eiscafe" | "Imbiss" | "Restaurant")[]; /** * Email address * * Non-empty */ email?: string; } export interface Picture { /** * URL * * Non-empty */ url: string; width: number; height: number; }