@nju33/json-schema
Version:
[](https://www.npmjs.com/package/@nju33/json-schema)
39 lines (38 loc) • 1.1 kB
JSON
{
"$schema": "http://json-schema.org/draft-07/schema",
"title": "JSON schema for .circleci/config.yml",
"definitions": {
"default": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "array",
"items": {
"type": "object",
"properties": {
"machine": {
"type": "object",
"properties": {
"enabled": {
"description": "This must be true in order to enable the `machine` executor. Is required if no other value is specified",
"type": "boolean"
},
"image": {
"description": "The image to use (default: circleci/classic:latest)",
"type": "string"
},
"docker_layer_caching": {
"description": "Set to true to enable Docker Layer Caching",
"type": "boolean"
}
}
}
}
}
}
]
}
}
}