From 0b02703fa3f40aa399f1d98b2a5fb6baeaa26a62 Mon Sep 17 00:00:00 2001 From: Weiwu Zhang Date: Fri, 7 Aug 2020 19:31:34 +1000 Subject: [PATCH 1/4] introducing distinct as per previous ts meeting --- schema/tokenscript.xsd | 1 + 1 file changed, 1 insertion(+) diff --git a/schema/tokenscript.xsd b/schema/tokenscript.xsd index 2ce229b1..3a95b22d 100644 --- a/schema/tokenscript.xsd +++ b/schema/tokenscript.xsd @@ -267,6 +267,7 @@ + From c4ca79ff4afcfd330958021eb0273ad987fd5724 Mon Sep 17 00:00:00 2001 From: darakhbharat Date: Sun, 6 Sep 2020 19:29:40 +0530 Subject: [PATCH 2/4] distinct attribute is not allowed for attributes in , only if it is directly in (the global element ). The changes are XSD 1.0 compatible --- schema/tokenscript.xsd | 47 +++++++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 21 deletions(-) diff --git a/schema/tokenscript.xsd b/schema/tokenscript.xsd index 3a95b22d..59dc1aa0 100644 --- a/schema/tokenscript.xsd +++ b/schema/tokenscript.xsd @@ -47,10 +47,11 @@ - + + @@ -89,7 +90,7 @@ - + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + From 73020c6ef586f19896ebbb43dad4f30266260c70 Mon Sep 17 00:00:00 2001 From: darakhbharat Date: Thu, 17 Sep 2020 10:45:22 +0530 Subject: [PATCH 3/4] Completed: 1. all attribute element under the token can have only one attribute distinct with value true. 2. TokenScript that did not define under , require at least one of the has distinct. --- schema/tokenscript.xsd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/schema/tokenscript.xsd b/schema/tokenscript.xsd index 59dc1aa0..356e094c 100644 --- a/schema/tokenscript.xsd +++ b/schema/tokenscript.xsd @@ -51,7 +51,8 @@ - + + From 1faec4784bd50c17908527bc7858bfd78b2531d5 Mon Sep 17 00:00:00 2001 From: darakhbharat Date: Sat, 19 Sep 2020 13:52:55 +0530 Subject: [PATCH 4/4] formatting changes --- schema/tokenscript.xsd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schema/tokenscript.xsd b/schema/tokenscript.xsd index a8f21636..842e01b1 100644 --- a/schema/tokenscript.xsd +++ b/schema/tokenscript.xsd @@ -52,8 +52,8 @@ - - + +