Wikipedia / MediaWiki · JSON Structure

Rest V1 Listing Structure

The result format for listings

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

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

Properties

items _links

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-listing-structure.json",
  "name": "listing",
  "description": "The result format for listings",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "_links": {
      "type": "object",
      "properties": {
        "next": {
          "type": "object",
          "properties": {
            "href": {
              "type": "string",
              "description": "Relative link to next result page."
            }
          }
        }
      }
    }
  },
  "required": [
    "items"
  ]
}