SRC-X.5

v1.5.1
io.github.r-a-elu-architecture/srcx5 Checked 1 hour ago Published 5 days ago

Open 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).

ParameterTypeDescription
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.

ParameterTypeDescription
idstring
recordobject

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.

ParameterTypeDescription
record *object

srcx5_ld

Return a record as JSON-LD in the W3C PROV vocabulary, for linked-data and provenance tools.

ParameterTypeDescription
id *string