Wikidata · JSON Structure

Wikidata Property Structure

Property schema from Wikidata REST API & MediaWiki API

Type: object Properties: 5
Knowledge GraphLinked DataOpen DataSemantic WebSPARQLWikipedia

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

Properties

id type datatype labels descriptions

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-property-structure.json",
  "description": "Property schema from Wikidata REST API & MediaWiki API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^P\\d+$",
      "example": "P31"
    },
    "type": {
      "type": "string",
      "enum": [
        "property"
      ]
    },
    "datatype": {
      "type": "string",
      "enum": [
        "wikibase-item",
        "wikibase-property",
        "string",
        "monolingualtext",
        "multilingual-text",
        "quantity",
        "time",
        "globe-coordinate",
        "url",
        "commonsMedia",
        "external-id",
        "math",
        "geo-shape",
        "tabular-data",
        "musical-notation",
        "lexeme",
        "sense",
        "form"
      ]
    },
    "labels": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "descriptions": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "name": "Property"
}