blob: 4074172a25751520f755687fc1dfd4faa2b82f4a [file] [log] [blame]
Václav Kubernát73109382018-09-14 19:52:03 +02001module example-schema {
2 prefix aha;
3 namespace "http://example.com";
4
5 leaf leafInt {
6 type int32;
7 }
8
9 leaf leafString {
10 type string;
11 }
12
13 leaf leafEnum {
14 type enumeration {
15 enum lol;
16 enum data;
17 enum coze;
18 }
19 }
20
21 leaf leafDecimal {
22 type decimal64 {
23 fraction-digits 9;
24 }
25 }
26
27 container pContainer {
28 presence true;
29 }
30
31}