2021-10-04 18:41:37 +02:00
|
|
|
{
|
2023-05-26 17:31:36 +02:00
|
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
2023-04-03 14:26:50 +02:00
|
|
|
"$id": "https://github.com/siemens/kas/blob/master/kas/schema-kas.json",
|
|
|
|
"title": "kas configuration",
|
|
|
|
"description": "kas, a setup tool for bitbake based projects",
|
2021-10-04 18:41:37 +02:00
|
|
|
"type": "object",
|
|
|
|
"required": [
|
|
|
|
"header"
|
|
|
|
],
|
|
|
|
"additionalProperties": false,
|
|
|
|
"properties": {
|
|
|
|
"header": {
|
|
|
|
"type": "object",
|
|
|
|
"required": [
|
|
|
|
"version"
|
|
|
|
],
|
|
|
|
"additionalProperties": false,
|
|
|
|
"properties": {
|
|
|
|
"version": {
|
|
|
|
"oneOf": [
|
|
|
|
{
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"0.10"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"includes": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"oneOf": [
|
|
|
|
{
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"required": [
|
|
|
|
"repo",
|
|
|
|
"file"
|
|
|
|
],
|
|
|
|
"additionalProperties": false,
|
|
|
|
"properties": {
|
|
|
|
"repo": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"file": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"build_system": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"openembedded",
|
|
|
|
"oe",
|
|
|
|
"isar"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"defaults": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"properties": {
|
|
|
|
"repos": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"properties": {
|
|
|
|
"refspec": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"patches": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"properties": {
|
|
|
|
"repo": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-04-23 11:42:25 +02:00
|
|
|
"overrides": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"properties": {
|
|
|
|
"repos": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"properties": {
|
|
|
|
"refspec" : {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2021-10-04 18:41:37 +02:00
|
|
|
"machine": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"distro": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": {
|
2022-11-10 13:46:45 +01:00
|
|
|
"type": ["string", "null"]
|
2021-10-04 18:41:37 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"target": {
|
|
|
|
"oneOf": [
|
|
|
|
{
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"task": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"repos": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": {
|
|
|
|
"oneOf": [
|
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url": {
|
2022-04-06 12:16:38 +02:00
|
|
|
"oneOf": [
|
|
|
|
{
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "null"
|
|
|
|
}
|
|
|
|
]
|
2021-10-04 18:41:37 +02:00
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"refspec": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"path": {
|
2022-04-06 12:16:38 +02:00
|
|
|
"oneOf": [
|
|
|
|
{
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "null"
|
|
|
|
}
|
|
|
|
]
|
2021-10-04 18:41:37 +02:00
|
|
|
},
|
|
|
|
"layers": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": {
|
|
|
|
"oneOf": [
|
|
|
|
{
|
|
|
|
"type": "null"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"patches": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": {
|
|
|
|
"oneOf": [
|
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"path"
|
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"repo": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"path": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "null"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "null"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"bblayers_conf_header": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"local_conf_header": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"proxy_config": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"properties": {
|
|
|
|
"http_proxy": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"https_proxy": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"ftp_proxy": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"no_proxy": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
2021-07-10 11:25:13 +02:00
|
|
|
},
|
|
|
|
"menu_configuration": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": {
|
|
|
|
"oneOf": [
|
|
|
|
{
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-10-04 18:41:37 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|