repo/rest-api/specs/global/schema-parts.json
{
"Sitelinks": {
"type": "object",
"additionalProperties": {
"$ref": "./schemas.json#/Sitelink"
}
},
"PropertyValuePair": {
"type": "object",
"properties": {
"property": {
"type": "object",
"properties": {
"id": {
"description": "The ID of the Property",
"type": "string"
},
"data_type": {
"description": "The data type of the Property",
"type": "string",
"readOnly": true,
"nullable": true
}
}
},
"value": {
"type": "object",
"properties": {
"content": {
"description": "The value, if type == \"value\", otherwise omitted"
},
"type": {
"description": "The value type",
"type": "string",
"enum": [ "value", "somevalue", "novalue" ]
}
}
}
}
}
}