{
  "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"
    },
    "tactile_paving": {
      "enum": [
        "yes",
        "no"
      ]
    },
    "ref:FR:FINESS": {
      "type": "string"
    },
    "healthcare:speciality": {
      "type": "array",
      "items": {
        "enum": [
          "dental_oral_maxillo_facial_surgery",
          "dentistry",
          "endodontics",
          "implantology",
          "orthodontics",
          "pediatric_dentistry",
          "periodontics",
          "stomatology",
          "allergology",
          "anaesthetics",
          "cardiology",
          "cardiothoracic_surgery",
          "child_psychiatry",
          "community",
          "dermatology",
          "dermatovenereology",
          "diagnostic_radiology",
          "emergency",
          "endocrinology",
          "gastroenterology",
          "general",
          "geriatrics",
          "gynaecology",
          "haematology",
          "hepatology",
          "infectious_diseases",
          "intensive",
          "internal",
          "dental_oral_maxillo_facial_surgery",
          "neonatology",
          "nephrology",
          "neurology",
          "neuropsychiatry",
          "neurosurgery",
          "nuclear",
          "occupational",
          "oncology",
          "ophthalmology",
          "orthopaedics",
          "otolaryngology",
          "paediatric_surgery",
          "paediatrics",
          "palliative",
          "pathology",
          "physiatry",
          "plastic_surgery",
          "podiatry",
          "proctology",
          "psychiatry",
          "pulmonology",
          "radiology",
          "radiotherapy",
          "rheumatology",
          "surgery",
          "transplant",
          "trauma",
          "tropical",
          "urology",
          "vascular_surgery",
          "venereology",
          "biology",
          "biochemistry",
          "blood_check",
          "clinical_pathology",
          "acupuncture",
          "anthroposophical",
          "applied_kinesiology",
          "aromatherapy",
          "ayurveda",
          "chiropractic",
          "herbalism",
          "homeopathy",
          "hydrotherapy",
          "hypnosis",
          "naturopathy",
          "osteopathy",
          "reflexology",
          "reiki",
          "shiatsu",
          "traditional_chinese_medicine",
          "tuina",
          "unani",
          "abortion",
          "fertility",
          "vaccination",
          "behavior",
          "body",
          "depth",
          "humanistic",
          "other",
          "systemic"
        ]
      }
    },
    "dispensing": {
      "enum": [
        "yes",
        "no"
      ]
    },
    "defibrillator:location": {
      "type": "string"
    },
    "emergency:phone": {
      "type": "string"
    },
    "opening_hours:lifeguard": {
      "type": "string"
    },
    "police:FR": {
      "enum": [
        "gendarmerie",
        "police",
        "police_municipale"
      ]
    },
    "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"
    },
    "internet_access": {
      "enum": [
        "wlan",
        "no"
      ]
    },
    "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"
      ]
    },
    "organic": {
      "enum": [
        "yes",
        "no",
        "only",
        "limited"
      ]
    },
    "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"
      ]
    },
    "tourism": {
      "enum": [
        "hotel",
        "viewpoint",
        "information"
      ]
    },
    "amenity": {
      "enum": [
        "cafe",
        "fast_food",
        "ice_cream",
        "restaurant",
        "fuel",
        "church",
        "camping",
        "picnic_site"
      ]
    },
    "shop": {
      "enum": [
        "cheese",
        "pastry",
        "chemist",
        "gas"
      ]
    },
    "healthcare": {
      "enum": [
        "podiatrist",
        "pharmacy",
        "doctor"
      ]
    },
    "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"
    },
    "wheelchair": {
      "enum": [
        "yes",
        "no",
        "limited",
        "designated"
      ]
    },
    "capacity:disabled": {
      "type": "integer"
    }
  },
  "$defs": {
    "multilingual": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "multilingual-uri": {
      "type": "object",
      "additionalProperties": {
        "type": "string",
        "format": "uri"
      }
    }
  }
}