7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2024-12-04 19:15:37 +00:00
kicad/resources/schemas/jobs.v1.json
Marek Roszko d74caace0a Initial jobset creation and running within the CLI and GUI.
Incomplete, just pushing this before feature freeze, much fixing left
2024-09-30 20:04:53 -04:00

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"
]
},
}
}