aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas/schemas/basic_type_schemas.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/json-schemas/schemas/basic_type_schemas.ts')
-rw-r--r--packages/json-schemas/schemas/basic_type_schemas.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/json-schemas/schemas/basic_type_schemas.ts b/packages/json-schemas/schemas/basic_type_schemas.ts
index 031383a11..a59afaef8 100644
--- a/packages/json-schemas/schemas/basic_type_schemas.ts
+++ b/packages/json-schemas/schemas/basic_type_schemas.ts
@@ -7,7 +7,7 @@ export const addressSchema = {
export const hexSchema = {
id: '/hexSchema',
type: 'string',
- pattern: '^0x([0-9a-f][0-9a-f])+$',
+ pattern: '^0x(([0-9a-f][0-9a-f])+)?$',
};
export const numberSchema = {