Code Review
/
cps.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Merge branch 'cps_poc' of /home/jwagantall/linuxfoundation/onap/IT-20983/origin
[cps.git]
/
cps-service
/
src
/
test
/
resources
/
bookstore.yang
1
module bookstore {
2
yang-version 1.1;
3
4
namespace "org:onap:ccsdk:sample";
5
6
prefix book-store;
7
8
revision "2020-09-15" {
9
description
10
"Sample Model";
11
}
12
13
typedef year {
14
type uint16 {
15
range "1000..9999";
16
}
17
}
18
19
container bookstore {
20
21
list categories {
22
23
key name;
24
25
leaf name {
26
type string;
27
}
28
29
list books {
30
key title;
31
32
leaf title {
33
type string;
34
}
35
leaf lang {
36
type string;
37
}
38
leaf-list authors {
39
type string;
40
}
41
leaf pub_year {
42
type year;
43
}
44
leaf price {
45
type uint64;
46
}
47
}
48
}
49
}
50
}