a2cac3224d
Signed-off-by: Archana <archana.madhavan@silabs.com> Signed-off-by: Asfandyar Orakzai <asfandyar.orakzai@silabs.com>
71 lines
1.5 KiB
JSON
71 lines
1.5 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"type": "object",
|
|
"properties": {
|
|
"_comment": {
|
|
"type": "string"
|
|
},
|
|
"prefix": {
|
|
"type": "string",
|
|
"pattern": "^[A-Z_a-z][0-9A-Z_a-z]*$"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": ["opaque"]
|
|
},
|
|
"location": {
|
|
"type": ["integer","string"],
|
|
"pattern": "^(0x|0X)?[a-fA-F0-9]+$"
|
|
},
|
|
"mbedtls/h_condition": {
|
|
"type": "string"
|
|
},
|
|
"headers": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"default": []
|
|
},
|
|
"capabilities": {
|
|
"type": "array",
|
|
"items": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"_comment": {
|
|
"type": "string"
|
|
},
|
|
"mbedtls/c_condition": {
|
|
"type": "string"
|
|
},
|
|
"entry_points": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"names": {
|
|
"type": "object",
|
|
"patternProperties": {
|
|
"^[A-Z_a-z][0-9A-Z_a-z]*$": {
|
|
"type": "string",
|
|
"pattern": "^[A-Z_a-z][0-9A-Z_a-z]*$"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"entry_points"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"prefix",
|
|
"type",
|
|
"location",
|
|
"capabilities"
|
|
]
|
|
}
|