aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas/schemas
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-22 01:20:36 +0800
committerFabio Berger <me@fabioberger.com>2018-10-22 01:20:36 +0800
commitb9dccf9da340e276ddf6f6dd35118cc6fb77026f (patch)
tree221c90300ea8d231034b939a2befeb92fbab938d /packages/json-schemas/schemas
parent7e24c04c0bd45cae753aac818b1ec0a64bd85fa4 (diff)
downloaddexon-sol-tools-b9dccf9da340e276ddf6f6dd35118cc6fb77026f.tar.gz
dexon-sol-tools-b9dccf9da340e276ddf6f6dd35118cc6fb77026f.tar.zst
dexon-sol-tools-b9dccf9da340e276ddf6f6dd35118cc6fb77026f.zip
chore: add whole number schema
Diffstat (limited to 'packages/json-schemas/schemas')
-rw-r--r--packages/json-schemas/schemas/whole_number_schema.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/json-schemas/schemas/whole_number_schema.json b/packages/json-schemas/schemas/whole_number_schema.json
new file mode 100644
index 000000000..944ce820e
--- /dev/null
+++ b/packages/json-schemas/schemas/whole_number_schema.json
@@ -0,0 +1,5 @@
+{
+ "id": "/wholeNumberSchema",
+ "type": "string",
+ "pattern": "^\\d+$"
+}