KeiSeiKit-1.0/_schemas/fragments/edge.json
Parfii-bot 0be354a920 KeiSeiKit-public — clean state
Single-commit clean baseline after security scrub of niche-tells,
project codenames, internal jargon, and contributor-email leaks.

Contents:
- 100 Rust crates (_primitives/_rust/)
- 37 agent manifests (_manifests/) + generated specs (_generated/)
- 67 user-invocable skills (skills/)
- 33 hooks (hooks/)
- Composition blocks (_blocks/)
- Documentation (docs/, README.md)
- TS adapter packages (_ts_packages/)
- Assembler (_assembler/)
- Roles (_roles/)
- Templates (_templates/)
- Forgejo CI (.forgejo/)

Author: Denis Parfionovich <info@greendragon.info>

License: see LICENSE.
2026-05-01 12:09:03 +08:00

30 lines
840 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "_schemas/fragments/edge.json",
"title": "Edge input",
"description": "Input mixin — one directed edge in a graph entity. Consumed by `link` / `rank` verbs in kei-entity-store.",
"type": "object",
"required": ["from", "to"],
"properties": {
"from": {
"type": "integer",
"minimum": 1,
"description": "Source entity id"
},
"to": {
"type": "integer",
"minimum": 1,
"description": "Target entity id"
},
"edge_type": {
"type": "string",
"default": "links",
"description": "Semantic label for the edge (e.g. 'blocks', 'depends_on', 'links')"
},
"weight": {
"type": "number",
"minimum": 0,
"description": "Optional edge weight (defaults to 1.0 if absent)"
}
}
}