Merge "Replace sleep with PollingConditions"
[cps.git] / integration-test / src / test / resources / data / bookstore / bookstore.yang
index 6f60f19..2abde65 100644 (file)
@@ -1,18 +1,22 @@
 module stores {
     yang-version 1.1;
-    namespace "org:onap:ccsdk:sample";
+    namespace "org:onap:cps:sample";
 
     prefix book-store;
 
-    revision "2020-09-15" {
+    import bookstore-types {
+        prefix "types";
+        revision-date 2024-01-30;
+    }
+
+    revision "2024-01-30" {
         description
-        "Sample Model";
+            "Extracted bookstore types";
     }
 
-    typedef year {
-        type uint16 {
-            range "1000..9999";
-        }
+    revision "2020-09-15" {
+        description
+        "Sample Model";
     }
 
     list bookstore-address {
@@ -49,6 +53,17 @@ module stores {
             }
         }
 
+        container support-info {
+                    leaf support-office {
+                        type string;
+                    }
+                    container contact-emails {
+                        leaf email {
+                            type string;
+                        }
+                    }
+                }
+
         container container-without-leaves { }
 
         container premises {
@@ -95,7 +110,7 @@ module stores {
                     type string;
                 }
                 leaf-list editions {
-                    type year;
+                    type types:year;
                 }
                 leaf price {
                     type uint64;