{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://axlibiza.com/tool-contracts/trace_claim_evidence.json","oneOf":[{"$ref":"#/$defs/v1"},{"$ref":"#/$defs/v2"}],"$defs":{"id":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,31}:[A-Za-z0-9._~:/-]{1,480}$"},"v1":{"type":"object","properties":{"claim_id":{"$ref":"#/$defs/id"},"max_paths":{"type":"integer","minimum":1,"maximum":5}},"required":["claim_id"],"additionalProperties":false},"v2":{"type":"object","properties":{"schema_version":{"const":"2.0"},"target_id":{"$ref":"#/$defs/id"},"target_kind":{"enum":["claim","evidence","criterion"]}},"required":["schema_version","target_id","target_kind"],"additionalProperties":false},"error":{"type":"object","properties":{"code":{"enum":["INVALID_INPUT","INVALID_ID","NOT_FOUND","REVISION_CONFLICT","HUMAN_LOCKED","OUT_OF_SCOPE","ABORTED","RESULT_TOO_LARGE"]},"message":{"type":"string"},"currentRevision":{"type":"integer"}},"required":["code","message"],"additionalProperties":false},"result":{"oneOf":[{"type":"object","properties":{"ok":{"const":true},"schema_version":{"enum":["1.0","2.0"]},"data":{}},"required":["ok","schema_version","data"],"additionalProperties":false},{"type":"object","properties":{"ok":{"const":false},"schema_version":{"enum":["1.0","2.0"]},"error":{"$ref":"#/$defs/error"}},"required":["ok","schema_version","error"],"additionalProperties":false}]}},"x-result-order":"graph-id-asc; UTF-8 result maximum 16384 bytes","x-annotations":{"readOnlyHint":true,"untrustedContentHint":true,"protectedInputExclusions":["raw review and issue bodies"]}}