2022-01-09 08:58:28 +01:00
|
|
|
{
|
|
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-02-27 01:08:55 +01:00
|
|
|
"_comment": {
|
2022-01-09 08:58:28 +01:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-02-27 01:08:55 +01:00
|
|
|
"prefix": {
|
|
|
|
"type": "string",
|
|
|
|
"pattern": "^[A-Z_a-z][0-9A-Z_a-z]*$"
|
|
|
|
},
|
2022-01-09 08:58:28 +01:00
|
|
|
"type": {
|
2022-02-27 01:08:55 +01:00
|
|
|
"type": "string",
|
|
|
|
"const": ["opaque"]
|
2022-01-09 08:58:28 +01:00
|
|
|
},
|
|
|
|
"location": {
|
2022-02-27 01:08:55 +01:00
|
|
|
"type": ["integer","string"],
|
|
|
|
"pattern": "^(0x|0X)?[a-fA-F0-9]+$"
|
2022-01-09 08:58:28 +01:00
|
|
|
},
|
2022-04-14 06:01:28 +02:00
|
|
|
"mbedtls/h_condition": {
|
2022-01-09 08:58:28 +01:00
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"headers": {
|
|
|
|
"type": "array",
|
2022-02-27 01:08:55 +01:00
|
|
|
"items": {
|
2022-01-09 08:58:28 +01:00
|
|
|
"type": "string"
|
2022-02-27 01:08:55 +01:00
|
|
|
},
|
2022-04-11 06:42:08 +02:00
|
|
|
"default": []
|
2022-01-09 08:58:28 +01:00
|
|
|
},
|
|
|
|
"capabilities": {
|
|
|
|
"type": "array",
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"_comment": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-04-14 06:01:28 +02:00
|
|
|
"mbedtls/c_condition": {
|
2022-01-09 08:58:28 +01:00
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"entry_points": {
|
|
|
|
"type": "array",
|
2022-02-27 01:08:55 +01:00
|
|
|
"items": {
|
2022-04-11 06:42:08 +02:00
|
|
|
"type": "string"
|
|
|
|
}
|
2022-01-09 08:58:28 +01:00
|
|
|
},
|
2022-04-11 06:42:08 +02:00
|
|
|
"names": {
|
2022-01-09 08:58:28 +01:00
|
|
|
"type": "object",
|
2022-02-27 01:08:55 +01:00
|
|
|
"patternProperties": {
|
|
|
|
"^[A-Z_a-z][0-9A-Z_a-z]*$": {
|
|
|
|
"type": "string",
|
|
|
|
"pattern": "^[A-Z_a-z][0-9A-Z_a-z]*$"
|
2022-01-09 08:58:28 +01:00
|
|
|
}
|
2022-04-11 06:42:08 +02:00
|
|
|
}
|
2022-01-09 08:58:28 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2022-02-27 01:08:55 +01:00
|
|
|
"entry_points"
|
2022-01-09 08:58:28 +01:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"prefix",
|
|
|
|
"type",
|
|
|
|
"location",
|
|
|
|
"capabilities"
|
|
|
|
]
|
|
|
|
}
|