{
  "id": "url_slug",
  "kind": "datatype",
  "status": "draft",
  "name": "URL slug",
  "doc": "Readable part of a page URL that names an article, post or product, made from its title: lowercase letters and digits joined by hyphens, such as hello-world in example.com/2024/hello-world. WordPress and most CMS build slugs this way; Django also allows underscores and capital letters, and some sites keep non-Latin letters percent-encoded. The regexp accepts the usual form with at least one hyphen: a one-word slug such as about cannot be told apart from an ordinary word. Field names are slug, url_slug, post_name and permalink.",
  "is_pii": false,
  "categories": [
    "texts",
    "internet"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[a-z0-9]+(?:-[a-z0-9]+)+$",
  "examples": [
    {
      "value": "hello-world",
      "description": "Slug of the default first post of a WordPress site",
      "valid": true
    },
    {
      "value": "sample-page",
      "description": "Slug of the default page of a WordPress site",
      "valid": true
    },
    {
      "value": "Hello world!",
      "description": "A title, not a slug",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Clean_URL"
    },
    {
      "type": "doc",
      "url": "https://docs.djangoproject.com/en/stable/ref/models/fields/#slugfield"
    }
  ],
  "translations": {
    "ru": {
      "name": "Слаг (ЧПУ) страницы",
      "doc": "Человекочитаемая часть адреса страницы, образованная из заголовка статьи или товара, — строчные латинские буквы и цифры через дефис."
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/texts/url_slug.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/texts/url_slug.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/texts/url_slug.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/url_slug",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/url_slug.json"
  }
}