mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2024-12-04 19:15:37 +00:00
d74caace0a
Incomplete, just pushing this before feature freeze, much fixing left
66 lines
1.5 KiB
JSON
66 lines
1.5 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "https://schemas.kicad.org/jobs.v1.json",
|
|
"title": "KiCad Jobs Schema",
|
|
"description": "KiCad Jobs",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"$schema": {
|
|
"type": "string",
|
|
"description": "JSON schema reference"
|
|
},
|
|
"meta": {
|
|
"type": "object",
|
|
"$ref": "#/definitions/Meta"
|
|
},
|
|
"jobs": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/Job"
|
|
}
|
|
},
|
|
},
|
|
"required": [
|
|
"meta",
|
|
"jobs"
|
|
],
|
|
"definitions": {
|
|
"Job": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"type": {
|
|
"type": "string",
|
|
"description": "Job type",
|
|
"enum": ["pcb_drill"]
|
|
},
|
|
"meta": {
|
|
"type": "object",
|
|
"$ref": "#/definitions/Meta"
|
|
},
|
|
"settings": {
|
|
"type": "object"
|
|
},
|
|
},
|
|
"required": [
|
|
"meta",
|
|
"type",
|
|
"settings"
|
|
]
|
|
},
|
|
"Meta": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"version": {
|
|
"type": "integer",
|
|
"description": "File format version"
|
|
}
|
|
},
|
|
"required": [
|
|
"version"
|
|
]
|
|
},
|
|
}
|
|
} |