SRC-X.5
v1.5.1Open record of sealed claims: list, read, verify and submit records whose id is their own SHA-256.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
srcx5_list
List the active records of the open log: id, type, title, outcome.
srcx5_get
Return one record by its id (the SHA-256 of its canonical form).
| Parameter | Type | Description |
|---|---|---|
id * | string |
srcx5_verify
Check a record against every rule (identity hash, disclosure, consent and privacy, harm bound, conformance, attribution, purpose). Give a record object, or the id of a record in the log. Returns the reasons; empty means valid.
| Parameter | Type | Description |
|---|---|---|
id | string | |
record | object |
srcx5_verify_log
Verify the whole hash chain of the log. Returns the entry count and any broken entries.
srcx5_submit
Submit a record. Valid records are appended to the log; others are quarantined with reasons, never deleted.
| Parameter | Type | Description |
|---|---|---|
record * | object |
srcx5_ld
Return a record as JSON-LD in the W3C PROV vocabulary, for linked-data and provenance tools.
| Parameter | Type | Description |
|---|---|---|
id * | string |