chore: add whole number schema
This commit is contained in:
5
packages/json-schemas/schemas/whole_number_schema.json
Normal file
5
packages/json-schemas/schemas/whole_number_schema.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"id": "/wholeNumberSchema",
|
||||
"type": "string",
|
||||
"pattern": "^\\d+$"
|
||||
}
|
||||
@@ -34,6 +34,7 @@ import * as signedOrderSchema from '../schemas/signed_order_schema.json';
|
||||
import * as signedOrdersSchema from '../schemas/signed_orders_schema.json';
|
||||
import * as tokenSchema from '../schemas/token_schema.json';
|
||||
import * as txDataSchema from '../schemas/tx_data_schema.json';
|
||||
import * as wholeNumberSchema from '../schemas/whole_number_schema.json';
|
||||
import * as zeroExTransactionSchema from '../schemas/zero_ex_transaction_schema.json';
|
||||
|
||||
export const schemas = {
|
||||
@@ -74,4 +75,5 @@ export const schemas = {
|
||||
relayerApiOrdersResponseSchema,
|
||||
relayerApiAssetDataPairsSchema,
|
||||
zeroExTransactionSchema,
|
||||
wholeNumberSchema,
|
||||
};
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
"./schemas/js_number.json",
|
||||
"./schemas/zero_ex_transaction_schema.json",
|
||||
"./schemas/tx_data_schema.json",
|
||||
"./schemas/index_filter_values_schema.json"
|
||||
"./schemas/index_filter_values_schema.json",
|
||||
"./schemas/wholeNumberSchema.json"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user