convert forksCombos to array

This commit is contained in:
Collin M. Barrett 2016-12-11 15:26:38 -06:00
parent 3b9f3ad58a
commit 541a4916ff
2 changed files with 20 additions and 45 deletions

View file

@ -58,7 +58,9 @@
"viewUrl": "https://web.archive.org/web/20110212174029/http://abp-corset.googlecode.com/hg/corset.txt",
"homeUrl": "http://corset.tistory.com/",
"email": "corset@tistory.com",
"forksCombos1": "List-KR"
"forksCombos": [
"List-KR"
]
},
{
"list": "Czech Filters for AdBlock",
@ -75,7 +77,9 @@
"viewUrl": "https://fanboy.co.nz/israelilist/IsraelList.txt",
"homeUrl": "https://fanboy.co.nz/",
"email": "fanboyadblock@googlegroups.com",
"forksCombos1": "EasyList Hebrew"
"forksCombos": [
"EasyList Hebrew"
]
},
{
"list": "Filtros Nauscopicos",
@ -172,7 +176,9 @@
"viewUrl": "http://www.niecko.pl/adblock/adblock.txt",
"homeUrl": "http://niecko.pl/adblock/",
"changelogUrl": "http://niecko.pl/adblock/zmiany.txt",
"forksCombos1": "Adblock & uBlock Polish Filters"
"forksCombos": [
"Adblock & uBlock Polish Filters"
]
},
{
"list": "SA-Blacklist",

View file

@ -1,9 +1,9 @@
{
"description": "Schema for a stale list (Lists that are no longer actively maintained. Archived for posterity.) object.",
"description": "Schema for a stale list (Lists that are no longer actively maintained. Archived for posterity.) object. Sorted alphabetically by \"list\" property by convention.",
"type": "object",
"required": [
"list",
"description",
"descr",
"viewUrl"
],
"properties": {
@ -16,7 +16,7 @@
"type": "string"
},
"descr": {
"description": "A brief description of the list's functionality. Preferably, this is quoted from the list's documentation or composed by a maintainer of the list. If neither are available, a generic description should be composed by the FilterLists contributer.",
"description": "A brief description of the list's functionality. Preferably, this is quoted (includes translation to English via translator or Google Translate) from the list's documentation or composed by a maintainer of the list. If neither are available, a generic description should be composed by the FilterLists contributer.",
"type": "string"
},
"descrSourceUrl": {
@ -64,45 +64,14 @@
"type": "string",
"format": "uri"
},
"forksCombos1": {
"description": "The title of a list that is a fork or combo of the current list object.",
"type": "string"
},
"forksCombos2": {
"description": "The title of a list that is a fork or combo of the current list object.",
"type": "string"
},
"forksCombos3": {
"description": "The title of a list that is a fork or combo of the current list object.",
"type": "string"
},
"forksCombos4": {
"description": "The title of a list that is a fork or combo of the current list object.",
"type": "string"
},
"forksCombos5": {
"description": "The title of a list that is a fork or combo of the current list object.",
"type": "string"
},
"forksCombos6": {
"description": "The title of a list that is a fork or combo of the current list object.",
"type": "string"
},
"forksCombos7": {
"description": "The title of a list that is a fork or combo of the current list object.",
"type": "string"
},
"forksCombos8": {
"description": "The title of a list that is a fork or combo of the current list object.",
"type": "string"
},
"forksCombos9": {
"description": "The title of a list that is a fork or combo of the current list object.",
"type": "string"
},
"forksCombos10": {
"description": "The title of a list that is a fork or combo of the current list object.",
"type": "string"
"forksCombos": {
"description": "The titles of lists that are either a fork or a combo of the current list object. Sorted alphabetically by convention.",
"type": "array",
"maxItems": 10,
"items": {
"type": "string"
},
"uniqueItems": true
}
}
}