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.
TRaSH-Guides/schemas/specs/year-spec.json

30 lines
677 B

{
"$schema": "http://json-schema.org/draft-07/schema#",
"allOf": [
{ "$ref": "../base-cf.schema.json#/defs/baseSpecification" },
{
"properties": {
"implementation": {
"const": "SizeSpecification"
},
"fields": {
"type": "object",
"properties": {
"min": {
"type": "integer",
"minimum": 1
},
"max": {
"type": "integer",
"minimum": 1
}
},
"required": ["min", "max"],
"additionalProperties": false
}
},
"required": ["implementation", "fields"]
}
]
}