blob: 172f78a2159c8cca71ff8a9b6be9dbe08f7e18cc [file] [log] [blame]
module example-schema {
prefix aha;
namespace "http://example.com";
leaf leafInt {
type int32;
}
leaf leafString {
type string;
}
leaf leafEnum {
type enumeration {
enum lol;
enum data;
enum coze;
}
}
leaf leafDecimal {
type decimal64 {
fraction-digits 9;
}
}
container pContainer {
presence true;
}
grouping upAndDown {
leaf up {
type boolean;
}
leaf down {
type boolean;
}
}
uses upAndDown;
container lol {
uses upAndDown;
}
}