regenerate bootstrap files without arch-native
[cabal.git] / doc / json-schemas / build-info.schema.json
blobae3be7e5310480ab03c320a7ae1f168ae3fc0a0f
2   "$schema": "https://json-schema.org/draft/2019-09/schema",
3   "$comment": "When you change this, make sure to update the code in 'ShowBuildInfo.hs'",
4   "type": "object",
5   "properties": {
6     "cabal-lib-version": {
7       "type": "string"
8     },
9     "compiler": {
10       "type": "object",
11       "properties": {
12         "flavour": {
13           "type": "string"
14         },
15         "compiler-id": {
16           "type": "string"
17         },
18         "path": {
19           "type": "string"
20         }
21       },
22       "required": ["flavour", "compiler-id", "path"]
23     },
24     "components": {
25       "type": "array",
26       "items": {
27         "type": "object",
28         "properties": {
29           "type": {
30             "type": "string"
31           },
32           "name": {
33             "type": "string"
34           },
35           "unit-id": {
36             "type": "string"
37           },
38           "compiler-args": {
39             "type": "array",
40             "items": {
41               "type": "string"
42             }
43           },
44           "modules": {
45             "type": "array",
46             "items": {
47               "type": "string"
48             }
49           },
50           "src-files": {
51             "type": "array",
52             "items": {
53               "type": "string"
54             }
55           },
56           "hs-src-dirs": {
57             "type": "array",
58             "items": {
59               "type": "string"
60             }
61           },
62           "src-dir": {
63             "type": "string"
64           },
65           "cabal-file": {
66             "type": "string"
67           }
68         },
69         "required": [
70           "type",
71           "name",
72           "unit-id",
73           "compiler-args",
74           "modules",
75           "src-files",
76           "hs-src-dirs",
77           "src-dir",
78           "cabal-file"
79         ]
80       }
81     }
82   },
83   "required": ["cabal-lib-version", "compiler", "components"]