{
  "type": "object",
  "required": [],
  "additionalProperties": true,
  "properties": {
    "local_name": {
      "type": "string"
    },
    "old_name": {
      "type": "string"
    },
    "short_name": {
      "type": "string"
    },
    "wikipedia": {
      "type": "string"
    },
    "wikidata": {
      "type": "string"
    },
    "addr:city": {
      "type": "string"
    },
    "contact:phone": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "contact:mobile": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "mobile": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "contact:website": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "contact:email": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "contact:facebook": {
      "type": "string"
    },
    "contact:instagram": {
      "type": "string"
    },
    "uic_ref": {
      "type": "string"
    },
    "ref:FR:CRTA": {
      "type": "string"
    },
    "ref:INSEE": {
      "type": "string"
    },
    "ref:FR:NAF": {
      "type": "string"
    },
    "ref:FR:SIREN": {
      "type": "string"
    },
    "ref:FR:SIRET": {
      "type": "string"
    },
    "seasonal": {
      "type": "array",
      "items": {
        "enum": [
          "yes",
          "no",
          "spring",
          "summer",
          "autumn",
          "winter"
        ]
      }
    },
    "collection_times": {
      "type": "string"
    },
    "opening_hours:url": {
      "type": "string"
    },
    "produced_on_site": {
      "enum": [
        "yes",
        "no"
      ]
    },
    "second_hand": {
      "enum": [
        "yes",
        "only"
      ]
    },
    "produce": {
      "type": "array",
      "items": {
        "enum": [
          "apple",
          "aromatic plants",
          "asparagus",
          "baby food",
          "beef",
          "beer",
          "berries",
          "canned food",
          "cereal",
          "cheese",
          "chicken",
          "chocolate",
          "dairy",
          "duck",
          "eggs",
          "fish",
          "flour",
          "fruit",
          "fruits",
          "goose",
          "grape",
          "herbs",
          "honey",
          "jam",
          "juice",
          "kiwi",
          "live_animal",
          "meat",
          "milk",
          "mushroom",
          "oil",
          "oysters",
          "peanut",
          "perennials",
          "plants",
          "raspberry",
          "spice",
          "strawberries",
          "trees",
          "vegetables",
          "wine"
        ]
      }
    },
    "product": {
      "type": "array",
      "items": {
        "enum": [
          "apple",
          "aromatic plants",
          "asparagus",
          "baby food",
          "beef",
          "beer",
          "berries",
          "canned food",
          "cereal",
          "cheese",
          "chicken",
          "chocolate",
          "dairy",
          "duck",
          "eggs",
          "fish",
          "flour",
          "fruit",
          "fruits",
          "goose",
          "grape",
          "herbs",
          "honey",
          "jam",
          "juice",
          "kiwi",
          "live_animal",
          "meat",
          "milk",
          "mushroom",
          "oil",
          "oysters",
          "peanut",
          "perennials",
          "plants",
          "raspberry",
          "spice",
          "strawberries",
          "trees",
          "vegetables",
          "wine"
        ]
      }
    },
    "crop": {
      "type": "array",
      "items": {
        "enum": [
          "apple",
          "aromatic plants",
          "asparagus",
          "baby food",
          "beef",
          "beer",
          "berries",
          "canned food",
          "cereal",
          "cheese",
          "chicken",
          "chocolate",
          "dairy",
          "duck",
          "eggs",
          "fish",
          "flour",
          "fruit",
          "fruits",
          "goose",
          "grape",
          "herbs",
          "honey",
          "jam",
          "juice",
          "kiwi",
          "live_animal",
          "meat",
          "milk",
          "mushroom",
          "oil",
          "oysters",
          "peanut",
          "perennials",
          "plants",
          "raspberry",
          "spice",
          "strawberries",
          "trees",
          "vegetable",
          "wine"
        ]
      }
    },
    "bulk_purchase": {
      "enum": [
        "yes",
        "no",
        "only"
      ]
    },
    "vegetables": {
      "type": "array",
      "items": {
        "enum": [
          "artichoke",
          "asparagus",
          "beans",
          "beetroot",
          "bell pepper",
          "broccoli",
          "cabbage",
          "carrot",
          "cauliflower",
          "celery",
          "cucumber",
          "eggplant",
          "garlic",
          "leek",
          "lettuce",
          "onion",
          "peas",
          "potato",
          "pumpkin",
          "radish",
          "spinach",
          "sugar_beet",
          "sweet potato",
          "tomato",
          "turnip",
          "zucchini"
        ]
      }
    },
    "berries": {
      "type": "array",
      "items": {
        "enum": [
          "blackberry",
          "blueberry",
          "cherry",
          "raspberry",
          "strawberry"
        ]
      }
    },
    "self_service": {
      "enum": [
        "yes",
        "no"
      ]
    },
    "delivery": {
      "enum": [
        "yes",
        "no",
        "only"
      ]
    },
    "takeaway": {
      "enum": [
        "yes",
        "no",
        "only"
      ]
    },
    "drive_through": {
      "enum": [
        "yes",
        "no"
      ]
    },
    "vending": {
      "type": "array",
      "items": {
        "enum": [
          "excrement_bags",
          "fuel",
          "gas",
          "water",
          "drings",
          "food"
        ]
      }
    },
    "tobacco": {
      "enum": [
        "yes"
      ]
    },
    "internet_access:fee": {
      "enum": [
        "yes",
        "no",
        "customers"
      ]
    },
    "ref": {
      "type": "object",
      "additionalProperties": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "integer"
          }
        ]
      }
    },
    "source": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "name": {
      "$ref": "#/$defs/multilingual"
    },
    "alt_name": {
      "$ref": "#/$defs/multilingual"
    },
    "loc_name": {
      "$ref": "#/$defs/multilingual"
    },
    "official_name": {
      "$ref": "#/$defs/multilingual"
    },
    "description": {
      "$ref": "#/$defs/multilingual"
    },
    "website:details": {
      "$ref": "#/$defs/multilingual-uri"
    },
    "twitter": {
      "type": "string",
      "format": "uri"
    },
    "linkedin": {
      "type": "string",
      "format": "uri"
    },
    "pinterest": {
      "type": "string",
      "format": "uri"
    },
    "addr": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "properties": {
        "street": {
          "type": "string"
        },
        "hamlet": {
          "type": "string"
        },
        "postcode": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "country": {
          "type": "string"
        }
      }
    },
    "start_date": {
      "type": "string",
      "format": "date"
    },
    "end_date": {
      "type": "string",
      "format": "date"
    },
    "wheelchair": {
      "enum": [
        "yes",
        "no",
        "limited"
      ]
    },
    "brand": {
      "type": "string"
    },
    "stars": {
      "type": "string",
      "enum": [
        "1",
        "1S",
        "1.5",
        "2",
        "2S",
        "2.5",
        "3",
        "3S",
        "3.5",
        "4",
        "4S",
        "4.5",
        "5",
        "5S"
      ],
      "contentMediaType": "text/vnd.osm.stars"
    },
    "award:tournesol": {
      "title": "Non OSM",
      "type": "integer",
      "minimum": 1,
      "maximum": 3,
      "xContentRole": "rating-scale"
    },
    "award:soleil_camping": {
      "title": "Non OSM",
      "type": "integer",
      "minimum": 1,
      "maximum": 3,
      "xContentRole": "rating-scale"
    },
    "award:soleil_locatif": {
      "title": "Non OSM",
      "type": "integer",
      "minimum": 1,
      "maximum": 4,
      "xContentRole": "rating-scale"
    },
    "award:epi_camping": {
      "title": "Non OSM",
      "type": "integer",
      "minimum": 1,
      "maximum": 4,
      "xContentRole": "rating-scale"
    },
    "award:epi_locatif": {
      "title": "Non OSM",
      "type": "integer",
      "minimum": 1,
      "maximum": 5,
      "xContentRole": "rating-scale"
    },
    "award:epi_gite": {
      "title": "Non OSM",
      "type": "integer",
      "minimum": 1,
      "maximum": 5,
      "xContentRole": "rating-scale"
    },
    "award:cle": {
      "title": "Non OSM",
      "type": "integer",
      "minimum": 1,
      "maximum": 5,
      "xContentRole": "rating-scale"
    },
    "award:toque": {
      "title": "Non OSM",
      "type": "integer",
      "minimum": 0,
      "maximum": 5,
      "xContentRole": "rating-scale"
    },
    "award:fleurs_locatif": {
      "title": "Non OSM",
      "type": "integer",
      "minimum": 1,
      "maximum": 5,
      "xContentRole": "rating-scale"
    },
    "award:cheminee": {
      "title": "Non OSM",
      "type": "integer",
      "minimum": 1,
      "maximum": 3,
      "xContentRole": "rating-scale"
    },
    "award:lutin_bleu": {
      "title": "Non OSM",
      "type": "integer",
      "minimum": 1,
      "maximum": 3,
      "xContentRole": "rating-scale"
    },
    "award:lutin_blanc": {
      "title": "Non OSM",
      "type": "integer",
      "minimum": 1,
      "maximum": 3,
      "xContentRole": "rating-scale"
    },
    "award:lutin_rouge": {
      "title": "Non OSM",
      "type": "integer",
      "minimum": 1,
      "maximum": 3,
      "xContentRole": "rating-scale"
    },
    "capacity": {
      "type": "integer"
    },
    "capacity:beds": {
      "type": "integer"
    },
    "capacity:rooms": {
      "type": "integer"
    },
    "capacity:persons": {
      "type": "integer"
    },
    "capacity:caravans": {
      "type": "integer"
    },
    "capacity:cabins": {
      "type": "integer"
    },
    "capacity:pitches": {
      "type": "integer"
    },
    "fast_food": {
      "enum": [
        "cafeteria"
      ]
    },
    "diet:vegan": {
      "enum": [
        "yes",
        "no",
        "only",
        "limited"
      ]
    },
    "diet:vegetarian": {
      "enum": [
        "yes",
        "no",
        "only",
        "limited"
      ]
    },
    "diet:kosher": {
      "enum": [
        "yes",
        "no",
        "only"
      ]
    },
    "diet:gluten_free": {
      "enum": [
        "yes",
        "no",
        "only",
        "limited"
      ]
    },
    "cuisine": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "african",
          "american",
          "asian",
          "bistronomique",
          "burger",
          "caribbean",
          "european",
          "fine_dining",
          "fish",
          "french",
          "indian",
          "japanese",
          "local",
          "meat",
          "mediterranean",
          "new_french",
          "pie",
          "pizza",
          "regional",
          "salad",
          "sandwich",
          "seafood",
          "south_american",
          "sushi",
          "tapas",
          "italian",
          "ice_cream",
          "spanish",
          "crepe",
          "international",
          "steak_house",
          "western",
          "arab",
          "latin_american",
          "chicken",
          "friture",
          "waffle",
          "greek",
          "kebab",
          "thai",
          "vietnamese",
          "fish_and_chips",
          "chinese",
          "argentinian",
          "coffee_shop",
          "hawaiian",
          "portuguese",
          "tex-mex",
          "barbecue",
          "brunch",
          "breakfast",
          "indonesian",
          "pasta",
          "oriental",
          "tea",
          "bistro",
          "brasserie",
          "gastronomique",
          "grill",
          "rotisserie",
          "tunisian",
          "cake"
        ]
      }
    },
    "boundary": {
      "enum": [
        "protected_area"
      ]
    },
    "leisure": {
      "enum": [
        "nature_reserve"
      ]
    },
    "water": {
      "enum": [
        "lake"
      ]
    },
    "protect_class": {
      "enum": [
        "4"
      ]
    },
    "information": {
      "enum": [
        "office"
      ]
    },
    "natural": {
      "enum": [
        "bay",
        "mountain_range",
        "water"
      ]
    },
    "religion": {
      "enum": [
        "buddhist",
        "christian",
        "hindu",
        "muslim",
        "taoist"
      ]
    },
    "craft": {
      "enum": [
        "bakery",
        "beekeeper",
        "winery"
      ]
    },
    "healthcare": {
      "enum": [
        "pharmacy",
        "doctor"
      ]
    },
    "capacity:disabled": {
      "type": "integer"
    },
    "tourism": {
      "enum": [
        "hotel",
        "viewpoint",
        "information"
      ]
    },
    "amenity": {
      "enum": [
        "cafe",
        "fast_food",
        "ice_cream",
        "restaurant",
        "fuel",
        "church",
        "camping",
        "picnic_site"
      ]
    },
    "shop": {
      "enum": [
        "farm",
        "cheese",
        "pastry",
        "chemist",
        "gas"
      ]
    },
    "mapillary": {
      "type": "integer"
    },
    "panoramax": {
      "type": "string",
      "format": "uuid"
    },
    "image": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri",
        "xContentRole": "image"
      }
    },
    "phone": {
      "type": "array",
      "items": {
        "type": "string",
        "contentMediaType": "text/vnd.phone-number",
        "xContentRole": "phone"
      }
    },
    "website": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    },
    "email": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "email"
      }
    },
    "facebook": {
      "type": "string",
      "format": "uri"
    },
    "instagram": {
      "type": "string",
      "format": "uri"
    },
    "opening_hours": {
      "type": "string",
      "contentMediaType": "text/vnd.osm.opening_hours",
      "xContentRole": "opening_hours"
    },
    "organic": {
      "enum": [
        "yes",
        "no",
        "only",
        "limited"
      ]
    },
    "internet_access": {
      "enum": [
        "yes",
        "wlan",
        "no"
      ]
    }
  },
  "$defs": {
    "multilingual": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "multilingual-uri": {
      "type": "object",
      "additionalProperties": {
        "type": "string",
        "format": "uri"
      }
    }
  }
}