blob: 91dc7631e948a370d01f76d4a052b85272c6baed [file] [log] [blame]
janani b4e53f9b2016-04-26 18:49:20 +05301module rock {
2 namespace "http://example.net/rock";
3 prefix "rock";
4
5 rpc rock-the-house {
6 description "description";
7 status current;
8 reference "reference";
9 input {
10 leaf zip-code {
11 type string;
12 }
13 grouping creative {
14 leaf carry {
15 type string;
16 }
17 }
18 }
19 output {
20 leaf status {
21 type string;
22 }
23 grouping creative {
24 list valid {
25 key invalid-interval;
26 leaf invalid-interval {
27 type "uint16";
28 }
29 }
30 }
31 typedef my-type {
32 status deprecated;
33 type int32;
34 }
35 uses creative;
36 }
37 }
38}