ontoref/reflection/schemas/connections.ncl
Jesús Pérez 0396e4037b
Some checks failed
Nickel Type Check / Nickel Type Checking (push) Has been cancelled
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled
chore: add ontology and reflection
2026-03-13 00:21:04 +00:00

29 lines
583 B
Plaintext

let connection_kind_type = [|
'LibraryDependency,
'DeployedBy,
'CoDeveloped,
'DataSource,
'EventConsumer,
'EventProducer,
'Monitoring,
'Unknown,
|] in
let connection_type = {
project | String,
kind | connection_kind_type,
note | String | default = "",
url | String | default = "",
} in
let connections_type = {
upstream | Array connection_type | default = [],
downstream | Array connection_type | default = [],
peers | Array connection_type | default = [],
} in
{
Connection = connection_type,
Connections = connections_type,
}