@nju33/json-schema
Version:
[](https://www.npmjs.com/package/@nju33/json-schema)
28 lines (27 loc) • 571 B
JSON
{
"$schema": "http://json-schema.org/draft-07/schema",
"title": "JSON schema for .circleci/config.yml",
"type": "object",
"properties": {
"version": {
"anyOf": [
{
"type": "number",
"default": 2,
"enum": [2, 2.1]
},
{
"type": "string",
"default": "2",
"enum": ["2", "2.1"]
}
]
},
"jobs": {
"$ref": "./extends/jobs.json#/definitions/default"
},
"workflows": {
"$ref": "./extends/workflows.json#/definitions/default"
}
}
}