summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/resources/types/datatypes/exitingPropertyAtAncestor.yml
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-be/src/test/resources/types/datatypes/exitingPropertyAtAncestor.yml')
-rw-r--r--catalog-be/src/test/resources/types/datatypes/exitingPropertyAtAncestor.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/catalog-be/src/test/resources/types/datatypes/exitingPropertyAtAncestor.yml b/catalog-be/src/test/resources/types/datatypes/exitingPropertyAtAncestor.yml
new file mode 100644
index 0000000000..0e46cc2a98
--- /dev/null
+++ b/catalog-be/src/test/resources/types/datatypes/exitingPropertyAtAncestor.yml
@@ -0,0 +1,19 @@
+mytypes.phonenumber:
+ description: my phone number datatype
+ properties:
+ countrycode:
+ type: integer
+ areacode:
+ type: integer
+ number:
+ type: integer
+
+# define a new datatype that derives from existing type and extends it
+mytypes.phonenumber.extended:
+ derived_from: mytypes.phonenumber
+ description: custom phone number type that extends the basic phonenumber type
+ properties:
+ areacode:
+ type: integer
+
+