reference

reference schema from Wikimedia Enterprise API spec

Open DataPublic APIsOpen KnowledgeEncyclopediaKnowledge GraphOpen SourceNon-Profit

Properties

Name Type Description
identifier string
group string
type string
metadata object
text object
source object
parent_reference string
View JSON Schema on GitHub

JSON Schema

wikimedia-enterprise-reference-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wikipedia/refs/heads/main/json-schema/wikimedia-enterprise-reference-schema.json",
  "title": "reference",
  "description": "reference schema from Wikimedia Enterprise API spec",
  "type": "object",
  "properties": {
    "identifier": {
      "type": "string"
    },
    "group": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "text": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string"
        },
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/link"
          }
        }
      }
    },
    "source": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string"
        },
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/link"
          }
        }
      }
    },
    "parent_reference": {
      "type": "string"
    }
  }
}