graph-citation-extract/module.yaml
flemming-it 4daa043ddb
All checks were successful
CI / Linux x86_64 (Forgejo) (push) Successful in 1m41s
fix(naming): dash capability ID (chain catalog charset [a-z0-9-])
provides.capability _ -> - so it passes `chain validate` and the hub
store name-match. No behaviour change (capability validation is lint-only;
the WASM is unchanged).

Signed-off-by: flemming-it <sf@flemming.it>
2026-06-20 00:12:04 +02:00

36 lines
965 B
YAML

schema_version: 3
provider: chain
name: graph-citation-extract
version: 0.1.0
# Extracts typed citations from German legal text. Edges are
# tagged (`cites`, `verweist_iVm`, …) per Studie §6.2 / Coupette
# 2021 schema.
#
# Reuse-lens: citation graphs are useful for scientific papers,
# patents, court cases, technical specs — anywhere structured
# cross-references matter.
provides:
- capability: graph.citation-extract
version: 0.1.0
inputs:
norm:
type: json
description:
en: NormalizedNorm (output of text.akoma_normalize).
de: NormalizedNorm (Output von text.akoma_normalize).
outputs:
citations:
type: json
description:
en: |
{ from: eli, citations: [{to, type, raw}] }.
type ∈ { cites, verweist_iVm, transposes (if detected),
amends }. raw preserves the matched source text for
diagnostics.
de: |
{ from: eli, citations: [{to, type, raw}] }.
permissions: []