Wikimedia · Schema

titles_set

a good example of the differences can be seen in https://en.wikipedia.org/api/rest_v1/page/summary/IOS_13

WikipediaWikimediaEncyclopediaOpen KnowledgeContentSearchReference

Properties

Name Type Description
canonical string the DB key (non-prefixed), e.g. may have _ instead of spaces, best for making request URIs, still requires Percent-encoding
normalized string the normalized title (https://www.mediawiki.org/wiki/API:Query#Example_2:_Title_normalization), e.g. may have spaces instead of _
display string the title as it should be displayed to the user
View JSON Schema on GitHub

JSON Schema

titles_set.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wikimedia/refs/heads/main/json-schema/titles_set.json",
  "title": "titles_set",
  "description": "a good example of the differences can be seen in https://en.wikipedia.org/api/rest_v1/page/summary/IOS_13",
  "type": "object",
  "properties": {
    "canonical": {
      "type": "string",
      "description": "the DB key (non-prefixed), e.g. may have _ instead of spaces, best for making request URIs, still requires Percent-encoding"
    },
    "normalized": {
      "type": "string",
      "description": "the normalized title (https://www.mediawiki.org/wiki/API:Query#Example_2:_Title_normalization), e.g. may have spaces instead of _"
    },
    "display": {
      "type": "string",
      "description": "the title as it should be displayed to the user"
    }
  },
  "required": [
    "canonical",
    "normalized",
    "display"
  ]
}