1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
use BTreeMap;
use ;
use Value;
/// [Lintel] provenance metadata (`x-lintel`).
///
/// Embedded by the Lintel catalog builder to record where a schema was
/// fetched from and its content hash, enabling cache validation and
/// source attribution.
///
/// Serialized as a single nested JSON object under the `x-lintel` key:
///
/// ```json
/// {
/// "x-lintel": {
/// "source": "https://json.schemastore.org/tsconfig.json",
/// "sourceSha256": "a1b2c3..."
/// }
/// }
/// ```
///
/// [Lintel]: https://github.com/lintel-rs/lintel