1{
2  "$schema": "http://json-schema.org/draft-04/schema#",
3  "type": "object",
4  "properties": {
5    "_comment": {
6      "type": "string"
7    },
8    "prefix": {
9      "type": "string",
10      "pattern": "^[A-Z_a-z][0-9A-Z_a-z]*$"
11    },
12    "type": {
13      "type": "string",
14      "const": ["transparent"]
15    },
16    "mbedtls/h_condition": {
17      "type": "string"
18    },
19    "headers": {
20      "type": "array",
21      "items": {
22          "type": "string"
23        },
24        "default": []
25    },
26    "capabilities": {
27      "type": "array",
28      "items": [
29        {
30          "type": "object",
31          "properties": {
32            "_comment": {
33              "type": "string"
34            },
35            "mbedtls/c_condition": {
36              "type": "string"
37            },
38            "entry_points": {
39              "type": "array",
40              "items": {
41                  "type": "string"
42                }
43            },
44            "names": {
45              "type": "object",
46              "patternProperties": {
47                "^[A-Z_a-z][0-9A-Z_a-z]*$": {
48                  "type": "string",
49                  "pattern": "^[A-Z_a-z][0-9A-Z_a-z]*$"
50                }
51              }
52            },
53            "fallback": {
54              "type": "boolean",
55              "default": "false"
56            }
57          },
58          "required": [
59            "entry_points"
60          ]
61        }
62      ]
63    }
64  },
65  "required": [
66    "prefix",
67    "type",
68    "capabilities"
69  ]
70}
71