Wikimedia · Schema

structured-content

Schema for structured-content from the Wikimedia Enterprise API

WikipediaWikimediaEncyclopediaOpen KnowledgeContentSearchReference

Properties

Name Type Description
name string
identifier integer
abstract string
description string
url string
date_created string
date_modified string
infoboxes array
sections array
main_entity object
additional_entities array
image object
version object
is_part_of object
in_language object
license object
references object
tables object
View JSON Schema on GitHub

JSON Schema

structured-content.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wikimedia/refs/heads/main/json-schema/structured-content.json",
  "title": "structured-content",
  "description": "Schema for structured-content from the Wikimedia Enterprise API",
  "properties": {
    "name": {
      "type": "string"
    },
    "identifier": {
      "type": "integer"
    },
    "abstract": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "date_created": {
      "type": "string"
    },
    "date_modified": {
      "type": "string"
    },
    "infoboxes": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/part"
      }
    },
    "sections": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/part"
      }
    },
    "main_entity": {
      "$ref": "#/components/schemas/entity"
    },
    "additional_entities": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/entity"
      }
    },
    "image": {
      "$ref": "#/components/schemas/image"
    },
    "version": {
      "$ref": "#/components/schemas/version"
    },
    "is_part_of": {
      "$ref": "#/components/schemas/project"
    },
    "in_language": {
      "$ref": "#/components/schemas/language"
    },
    "license": {
      "$ref": "#/components/schemas/license"
    },
    "references": {
      "$ref": "#/components/schemas/reference"
    },
    "tables": {
      "$ref": "#/components/schemas/table"
    }
  },
  "type": "object"
}