@stoplight/spectral
Version:
A flexible object linter with out of the box support for OpenAPI v2 and v3.
23 lines (22 loc) • 498 B
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://stoplight.io/schemas/ruleset.schema.json",
"type": "object",
"properties": {
"rules": {
"type": "object",
"additionalProperties": {
"$ref": "rule.schema.json"
}
},
"extends": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"rules"
]
}