File size: 1,342 Bytes
a0c0ffa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33984e5
a0c0ffa
 
 
 
 
 
 
 
 
 
 
 
 
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
39
40
41
42
43
44
45
46
47
48
49
50
# Examples — How to use this Transparency Pack

These examples are **anonymized** and intended for **validation + audit workflow demos**.

This repository is a transparency standard pack:
- verification rules
- JSON schemas
- sample logs (demo)
- glossary + changelog

**Not betting tips. Not financial advice. No hype. Just logs.**

---

## Example files
- `sample_signal_log.json` — a minimal anonymized signal log example

---

## Validate a sample log against the schema

1) Locate the schema in this repo  
Typical path (example): `datasets/signal-log.schema.json`

Run from repo root (so the relative paths resolve).

2) Install a JSON schema validator (pick one)

 Python (jsonschema)
```bash
python -m pip install jsonschema
python - << 'PY'
import json
from jsonschema import validate

with open("datasets/schema/signal-log.schema.json","r",encoding="utf-8") as f:
    schema = json.load(f)

with open("examples/sample_signal_log.json","r",encoding="utf-8") as f:
    data = json.load(f)

validate(instance=data, schema=schema)
print("OK: sample log matches schema")
PY
```
If validation fails, your JSON does not match the required fields/types in the schema.
Check the `required` fields in the schema and update `sample_signal_log.json` accordingly.

(Windows users: run the Python snippet in a `.py` file instead of heredoc.)