Wikidata · JSON Structure

Wikidata Data Value Structure

DataValue schema from Wikidata REST API & MediaWiki API

Type: object Properties: 2
Knowledge GraphLinked DataOpen DataSemantic WebSPARQLWikipedia

DataValue is a JSON Structure definition published by Wikidata, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

type content

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/wikidata/refs/heads/main/json-structure/wikidata-data--value-structure.json",
  "description": "DataValue schema from Wikidata REST API & MediaWiki API",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "value",
        "somevalue",
        "novalue"
      ]
    },
    "content": {
      "description": "Value content \u2014 depends on property datatype",
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "double"
        },
        {
          "type": "object"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "name": "DataValue"
}