Wikimedia · Schema

article

Schema for article from the Wikimedia Enterprise API

WikipediaWikimediaEncyclopediaOpen KnowledgeContentSearchReference

Properties

Name Type Description
event object
additional_entities array
article_body object
has_parts array
categories array
date_modified string
identifier integer
in_language object
is_part_of object
license array
main_entity object
name string
abstract string
namespace object
protection array
redirects array
templates array
url string
version object
visibility object
View JSON Schema on GitHub

JSON Schema

article.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wikimedia/refs/heads/main/json-schema/article.json",
  "title": "article",
  "description": "Schema for article from the Wikimedia Enterprise API",
  "properties": {
    "event": {
      "$ref": "#/components/schemas/event"
    },
    "additional_entities": {
      "items": {
        "$ref": "#/components/schemas/entity"
      },
      "type": "array"
    },
    "article_body": {
      "$ref": "#/components/schemas/article_body"
    },
    "has_parts": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/part"
      }
    },
    "categories": {
      "items": {
        "$ref": "#/components/schemas/category"
      },
      "type": "array"
    },
    "date_modified": {
      "type": "string"
    },
    "identifier": {
      "type": "integer"
    },
    "in_language": {
      "$ref": "#/components/schemas/language"
    },
    "is_part_of": {
      "$ref": "#/components/schemas/project"
    },
    "license": {
      "items": {
        "$ref": "#/components/schemas/license"
      },
      "type": "array"
    },
    "main_entity": {
      "$ref": "#/components/schemas/entity"
    },
    "name": {
      "type": "string"
    },
    "abstract": {
      "type": "string"
    },
    "namespace": {
      "$ref": "#/components/schemas/article_namespace"
    },
    "protection": {
      "items": {
        "$ref": "#/components/schemas/protection"
      },
      "type": "array"
    },
    "redirects": {
      "items": {
        "$ref": "#/components/schemas/redirect"
      },
      "type": "array"
    },
    "templates": {
      "items": {
        "$ref": "#/components/schemas/template"
      },
      "type": "array"
    },
    "url": {
      "type": "string"
    },
    "version": {
      "$ref": "#/components/schemas/version"
    },
    "visibility": {
      "$ref": "#/components/schemas/visibility"
    }
  },
  "type": "object"
}