Add advanced Decodal example

This commit is contained in:
2026-06-16 10:04:44 +09:00
parent bd3da1aeee
commit 6316939438
4 changed files with 104 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# Shared service schema.
# Top-level fields are recursive, so SecurePort can refer to Port.
Port = Int & >= 1 & <= 65535;
SecurePort = Port & > 443;
Service = {
name = String;
env = String default "dev";
host = String default "localhost";
port = SecurePort default 8443;
feature = {
enable = Bool default true;
limit = Int & >= 0 default 10;
};
};