ontoref/reflection/schemas/connections.ncl

29 lines
583 B
Plaintext
Raw Normal View History

2026-03-13 00:21:04 +00:00
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,
}