{"slug":"detect-halowerk-com-v1-f-td2000-documents-09-dita13-keyscope-808d86","title":"Resolve DITA lexical key scopes, first definitions, aliases and conkeyref target","host":"detect.halowerk.com","method":"POST","resource":"https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-09/dita13-keyscope-first-definition-inheritance-alias-and-conkeyref-resolution","category":"other","description":"Resolve DITA lexical key scopes, first definitions, aliases and conkeyref targets. Reconstruct the fully typed result and compare its complete canonical SHA256 claim.","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":1191,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"artifact":{"ditaKeys":{"claim":null,"data":{"references":[{"keyref":"k","kind":"keyref","scope":"r"}],"scopes":[{"definitions":[{"base_uri":"https://example.org/docs/","format":"dita","href":"a.dita#topic","keyref":null,"keys":["k"],"linktext":"Root","root_topic_id":"topic"}],"id":"r","name":"","parent":null},{"definitions":[],"id":"s","name":"foo","parent":"r"}]}}}},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"artifact":{"$defs":{"s0":{"maxLength":64,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"},"s1":{"anyOf":[{"type":"null"},{"$ref":"#/properties/input/properties/body/properties/artifact/%24defs/s0"}]},"s2":{"anyOf":[{"type":"null"},{"maxLength":1024,"minLength":0,"type":"string"}]}},"additionalProperties":false,"properties":{"ditaKeys":{"additionalProperties":false,"properties":{"claim":{"anyOf":[{"type":"null"},{"maxLength":64,"minLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"}]},"data":{"additionalProperties":false,"properties":{"references":{"items":{"additionalProperties":false,"properties":{"keyref":{"maxLength":128,"minLength":1,"type":"string"},"kind":{"enum":["keyref","conkeyref"]},"scope":{"$ref":"#/properties/input/properties/body/properties/artifact/%24defs/s0"}},"required":["scope","keyref","kind"],"type":"object"},"maxItems":64,"minItems":0,"type":"array"},"scopes":{"items":{"additionalProperties":false,"properties":{"definitions":{"items":{"additionalProperties":false,"properties":{"base_uri":{"maxLength":1024,"minLength":1,"type":"string"},"format":{"anyOf":[{"type":"null"},{"maxLength":64,"minLength":1,"type":"string"}]},"href":{"$ref":"#/properties/input/properties/body/properties/artifact/%24defs/s2"},"keyref":{"anyOf":[{"type":"null"},{"maxLength":128,"minLength":1,"type":"string"}]},"keys":{"items":{"$ref":"#/properties/input/properties/body/properties/artifact/%24defs/s0"},"maxItems":16,"minItems":1,"type":"array"},"linktext":{"$ref":"#/properties/input/properties/body/properties/artifact/%24defs/s2"},"root_topic_id":{"$ref":"#/properties/input/properties/body/properties/artifact/%24defs/s1"}},"required":["keys","href","keyref","base_uri","format","linktext","root_topic_id"],"type":"object"},"maxItems":32,"minItems":0,"type":"array"},"id":{"$ref":"#/properties/input/properties/body/properties/artifact/%24defs/s0"},"name":{"maxLength":64,"minLength":0,"type":"string"},"parent":{"$ref":"#/properties/input/properties/body/properties/artifact/%24defs/s1"}},"required":["id","parent","name","definitions"],"type":"object"},"maxItems":16,"minItems":1,"type":"array"}},"required":["scopes","references"],"type":"object"}},"required":["data","claim"],"type":"object"}},"required":["ditaKeys"],"type":"object"}},"required":["artifact"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"billable":{"const":true},"findings":{"items":{"$defs":{"s0":{"maxLength":64,"minLength":1,"pattern":"^[A-Za-z_][A-Za-z0-9_.-]*$","type":"string"}},"additionalProperties":false,"allOf":[{"else":{"properties":{"confidence":{"const":1},"evidence":{"minItems":1},"value":{"type":"object"},"warnings":{"maxItems":0}}},"if":{"properties":{"state":{"const":"unknown"}},"required":["state"]},"then":{"properties":{"confidence":{"const":0},"evidence":{"maxItems":0},"value":{"type":"null"},"warnings":{"minItems":1}}}}],"properties":{"confidence":{"maximum":1,"minimum":0,"type":"number"},"evidence":{"items":{"additionalProperties":false,"properties":{"page_indices":{"items":{"type":"integer"},"maxItems":0,"type":"array"},"page_url":{"type":"null"},"pattern":{"const":"dita13-keyscope-first-definition-inheritance-alias-and-conkeyref-resolution_scoped_evidence"},"type":{"const":"artifact"}},"required":["type","page_url","pattern","page_indices"],"type":"object"},"maxItems":1,"type":"array"},"limits":{"items":{"maxLength":300,"type":"string"},"maxItems":1,"type":"array"},"module":{"const":"dita13-keyscope-first-definition-inheritance-alias-and-conkeyref-resolution"},"state":{"enum":["observed","not_observed","unknown"]},"value":{"anyOf":[{"type":"null"},{"additionalProperties":false,"properties":{"claim_matches":{"type":"boolean"},"computed":{"additionalProperties":false,"properties":{"references":{"items":{"additionalProperties":false,"properties":{"definition_chain":{"items":{"maxLength":256,"minLength":0,"type":"string"},"maxItems":32,"minItems":0,"type":"array"},"definition_scope":{"anyOf":[{"type":"null"},{"$ref":"#/properties/output/properties/example/properties/findings/items/%24defs/s0"}]},"diagnostic":{"anyOf":[{"type":"null"},{"maxLength":128,"minLength":0,"type":"string"}]},"format":{"anyOf":[{"type":"null"},{"maxLength":64,"minLength":1,"type":"string"}]},"href":{"anyOf":[{"type":"null"},{"maxLength":2048,"minLength":0,"type":"string"}]},"keyref":{"maxLength":128,"minLength":1,"type":"string"},"kind":{"enum":["keyref","conkeyref"]},"linktext":{"anyOf":[{"type":"null"},{"maxLength":1024,"minLength":0,"type":"string"}]},"resolved":{"type":"boolean"},"scope":{"$ref":"#/properties/output/properties/example/properties/findings/items/%24defs/s0"}},"required":["scope","keyref","kind","resolved","href","format","linktext","definition_scope","definition_chain","diagnostic"],"type":"object"},"maxItems":64,"minItems":0,"type":"array"}},"required":["references"],"type":"object"},"computed_sha256":{"maxLength":64,"minLength":64,"pattern":"^[0-9a-f]{64}$","type":"string"}},"required":["computed","computed_sha256","claim_matches"],"type":"object"}]},"warnings":{"items":{"maxLength":150,"type":"string"},"maxItems":1,"type":"array"}},"required":["module","state","value","confidence","evidence","warnings","limits"],"type":"object"},"maxItems":1,"minItems":1,"type":"array"},"known_count":{"const":1},"scope":{"type":"object"},"warnings":{"type":"array"}},"required":["findings","known_count","billable","warnings","scope"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1230,"error":null},{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1214,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1220,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1191,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1189,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1161,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1152,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1216,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1177,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1159,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1141,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1147,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1174,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1169,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1292,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1143,"error":null},{"day":"2026-11-12","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1142,"error":null},{"day":"2026-11-11","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1130,"error":null},{"day":"2026-11-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1190,"error":null},{"day":"2026-11-09","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1157,"error":null},{"day":"2026-11-08","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1202,"error":null},{"day":"2026-11-07","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1311,"error":null},{"day":"2026-11-06","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1308,"error":null},{"day":"2026-11-05","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1307,"error":null},{"day":"2026-11-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1155,"error":null},{"day":"2026-11-03","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1168,"error":null},{"day":"2026-11-02","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1197,"error":null}],"description_full":"Resolve DITA lexical key scopes, first definitions, aliases and conkeyref targets. Reconstruct the fully typed result and compare its complete canonical SHA256 claim.","last_updated":"2026-11-02T16:28:16.661Z","schemes":["exact"]}