mbedtls/scripts/data_files/driver_jsons/driver_transparent_schema.json

107 lines
2.1 KiB
JSON
Raw Normal View History

{
"$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"
]
}