Page MenuHomePhabricator
Paste P2425

JSON Schema wikiproject.json
ActivePublic

Authored by Harej on Dec 15 2015, 5:21 AM.
{
"$schema": "http://json-schema.org/schema#",
"id": "https://en.wikipedia.org/wiki/Wikipedia:WikiProject_X/wikiproject.json",
"type": "object",
"properties": {
"description": {
"type": "string"
},
"schema": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"defaults": {
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
"projects": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"source": {
"type": "string"
},
"type": {
"type": "string"
},
"categories": {
"type": "array",
"items": {
"type": "string"
}
},
"quality_inheritance": {
"type": "boolean",
"default": true
},
"new_discussions": {
"type": "boolean",
"default": false
},
"suggestbot": {
"type": "boolean",
"default": false
},
"assessment_tools": {
"type": "boolean",
"default": false
},
"at_category": {
"type": "string"
},
"at_unknown_quality": {
"type": "string"
},
"at_unknown_priority": {
"type": "string"
},
"wikidata_missing_articles": {
"type": "string"
}
},
"required": [
"name"
],
"dependencies": {
"source": [
"type"
],
"assessment_tools": [
"at_category",
"at_unknown_quality",
"at_unknown_priority"
]
}
}
}
}
}

Event Timeline

Harej changed the title of this paste from untitled to JSON Schema wikiproject.json.Dec 15 2015, 5:21 AM
Harej updated the paste's language from autodetect to json.
Harej edited the content of this paste. (Show Details)
Harej added a project: WikiProject-X.
Harej added a subscriber: yuvipanda.