You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.0 KiB
55 lines
1.0 KiB
6 months ago
|
{
|
||
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||
|
"defs": {
|
||
|
"trash_id": {
|
||
|
"type": "string",
|
||
|
"pattern": "^([a-fA-F0-9]{32}|guide-only)$"
|
||
|
},
|
||
|
"trash_scores": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"default": {
|
||
|
"type": "integer",
|
||
|
"not": {
|
||
|
"const": 0
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"patternProperties": {
|
||
|
"^.+$": {
|
||
|
"type": "integer"
|
||
|
}
|
||
|
},
|
||
|
"additionalProperties": false,
|
||
|
"minProperties": 1
|
||
|
},
|
||
|
"trash_regex": {
|
||
|
"type": "string",
|
||
|
"format": "uri"
|
||
|
},
|
||
|
"trash_description": {
|
||
|
"type": "string",
|
||
|
"minLength": 1
|
||
|
},
|
||
|
"name": {
|
||
|
"type": "string",
|
||
|
"minLength": 1
|
||
|
},
|
||
|
"baseSpecification": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"name": {
|
||
|
"$ref": "#/defs/name"
|
||
|
},
|
||
|
"negate": {
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
"required": {
|
||
|
"type": "boolean"
|
||
|
}
|
||
|
},
|
||
|
"required": ["name", "negate", "required"]
|
||
|
}
|
||
|
}
|
||
|
}
|