Code Review
/
cps.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Merge "Remove "isTagged" mapping method"
[cps.git]
/
integration-test
/
src
/
test
/
resources
/
data
/
bookstore
/
bookstore.yang
1
module stores {
2
yang-version 1.1;
3
namespace "org:onap:ccsdk:sample";
4
5
prefix book-store;
6
7
revision "2020-09-15" {
8
description
9
"Sample Model";
10
}
11
12
typedef year {
13
type uint16 {
14
range "1000..9999";
15
}
16
}
17
18
container bookstore {
19
20
leaf bookstore-name {
21
type string;
22
}
23
24
container premises {
25
list addresses {
26
key "house-number street";
27
28
leaf house-number {
29
type uint16;
30
}
31
leaf street {
32
type string;
33
}
34
leaf town {
35
type string;
36
}
37
leaf county {
38
type string;
39
}
40
}
41
}
42
43
list categories {
44
45
key "code";
46
47
leaf code {
48
type string;
49
}
50
51
leaf name {
52
type string;
53
}
54
55
list books {
56
key title;
57
58
leaf title {
59
type string;
60
}
61
leaf lang {
62
type string;
63
}
64
leaf-list authors {
65
type string;
66
}
67
leaf-list editions {
68
type year;
69
}
70
leaf price {
71
type uint64;
72
}
73
}
74
}
75
}
76
}