{
  "id": "accommodation_star_rating",
  "kind": "datatype",
  "status": "draft",
  "name": "Star rating of a tourist accommodation",
  "doc": "Official category of a hotel or another tourist accommodation in stars, as registers of tourist accommodation give it: 1 ESTRELLA to 5 ESTRELLAS, Sin categorizar in Argentina and Spain, 3 étoiles in France, 4 Sterne Superior in Germany, 4 stars or *** in English, with Superior or S for the upper level of a category. A count of rooms or a review score is not a rating; the class of the establishment is accommodation_type.",
  "parent": "category",
  "is_pii": false,
  "categories": [
    "common",
    "realestate"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "examples": [
    {
      "value": "3 ESTRELLAS",
      "description": "categoria of the register of tourist accommodation of Mendoza",
      "valid": true
    },
    {
      "value": "1 ESTRELLA",
      "valid": true
    },
    {
      "value": "4 étoiles",
      "valid": true
    },
    {
      "value": "****",
      "valid": true
    },
    {
      "value": "4.5",
      "description": "a review score",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Hotel_rating"
    },
    {
      "type": "doc",
      "url": "https://datosabiertos.mendoza.gov.ar/dataset/alojamientos-turisticos-habilitados"
    }
  ],
  "translations": {
    "es": {
      "name": "Categoría en estrellas de un alojamiento turístico"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "accommodationstarsbyname",
        "type": "field",
        "match": "regex",
        "file": "common/tourism.yaml"
      },
      {
        "rule": "accommodationstarsvalue",
        "type": "data",
        "match": "func",
        "file": "common/tourism.yaml"
      }
    ]
  },
  "quality": {
    "score": 70,
    "missing": [
      "regexp",
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/common/accommodation_star_rating.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/common/accommodation_star_rating.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/common/accommodation_star_rating.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/accommodation_star_rating",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/accommodation_star_rating.json"
  }
}