Wikipedia / MediaWiki · JSON Structure

Rest V1 Titles Set Structure

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

Type: object Properties: 3 Required: 3
Open DataPublic APIsOpen KnowledgeEncyclopediaKnowledge GraphOpen SourceNon-Profit

titles_set is a JSON Structure definition published by Wikipedia / MediaWiki, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

canonical normalized display

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wikipedia/refs/heads/main/json-structure/rest-v1-titles-set-structure.json",
  "name": "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"
  ]
}