mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-01 09:10:03 +00:00
04cfe34639
(1) JSON file structure altered a bit. (2) JSON validated against schema. (3) Corresponding changes in the python script. Signed-off-by: Archana <archana.madhavan@silabs.com> Signed-off-by: Asfandyar Orakzai <asfandyar.orakzai@silabs.com>
107 lines
2.1 KiB
JSON
107 lines
2.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"type": "object",
|
|
"properties": {
|
|
"prefix": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"dependency": {
|
|
"type": "string"
|
|
},
|
|
"headers": {
|
|
"type": "array",
|
|
"items": [
|
|
{
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"capabilities": {
|
|
"type": "array",
|
|
"items": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"_comment": {
|
|
"type": "string"
|
|
},
|
|
"depend_on": {
|
|
"type": "string"
|
|
},
|
|
"entry_points": {
|
|
"type": "array",
|
|
"items": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"fallback": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"_comment",
|
|
"depend_on",
|
|
"entry_points",
|
|
"fallback"
|
|
]
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"_comment": {
|
|
"type": "string"
|
|
},
|
|
"depend_on": {
|
|
"type": "string"
|
|
},
|
|
"entry_points": {
|
|
"type": "array",
|
|
"items": [
|
|
{
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"fallback": {
|
|
"type": "boolean"
|
|
},
|
|
"name": {
|
|
"type": "object",
|
|
"properties": {
|
|
"export_public_key": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"export_public_key"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"_comment",
|
|
"depend_on",
|
|
"entry_points",
|
|
"fallback",
|
|
"name"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"prefix",
|
|
"type",
|
|
"dependency",
|
|
"headers",
|
|
"capabilities"
|
|
]
|
|
}
|