Code example of javascript object schema validation

已关闭 已发布的 1 年前 货到付款
已关闭 货到付款

I need something to help my validate an object data (required fields, valid values).

It will run in the browser using <script> tag, so cant use npm/typescript based validators.

E.g:

const myScheme = {

field1: "text",

obj : {

field2: "number"

}

}

const objExample : {}

Now code something that will validate that [login to view URL] is text, and [login to view URL] exists and numeric.

And if validation is false, tell me why..

I thought of using:

[login to view URL]

Buy i'm open to suggestions

JavaScript jQuery

项目ID: #35008488

关于项目

18个方案 远程项目 活跃的1 年前

有18名威客正在参与此工作的竞标,均价$23/小时

nursultansaudir2

Hi, Dear I`ve rich 10+years of experience and knowledge in pure Javascript and Jquery. If you hire me, I can start right now and I`ll provide you with the best results to your satisfaction. I would like to discuss more 更多

$20USD 在1天里
(22条评论)
5.3
BitLabs

Dear sir, I have gone through your outsourced requirement " Code example of javascript object schema validation " and have analyzed that I have right credentials ( JavaScript jQuery ) to execute your esteemed project. 更多

$20 USD 在7天内
(22条评论)
5.3
muhammadali33345

Hello Haggai G., I have checked your project description carefully and I think that I can help you to complete this project 100% perfectly sure to satisfy your requirement. I have rich experience in jQuery and JavaScri 更多

$10USD 在1天里
(19条评论)
5.0
MoShoeb

Hello i can do that I need to understand first how we will run this validation and which part on page Need to discuss more details on chat Thanks

$20USD 在1天里
(14条评论)
4.4
jpdestudio

Hi Dear client! I am ready for this job right now. I have rich experience developing Web Applications for 8 years so I am very familiar with JavaScript,JQuery. The best quality and accurate timeline is what I guarantee 更多

$20USD 在1天里
(11条评论)
3.6
moharoon1

Hello, This is Haroon from USA, have rich web development experience. I have read your requirements carefully and got a total understanding of the project . I have dedicated many years to web development and have many 更多

$50USD 在1天里
(6条评论)
3.0
Mobarmij

I am not sure but Joi JS might do what you want if it doesn't I can write you a code that validate the object based on your schema if you'd like

$15USD 在1天里
(6条评论)
3.0
lmhunhthanh91

I have more than 8 years of experience working with PHP, Prestashop, CodeIgniter, Laravel, Yii2, MySQL, PostgreSQL, API, HTML, Javascript, Node Js, Vue Js Css, Scss Git, C#, Selenium, Puppeteer, TLV, QR Code, BarCode, 更多

$25USD 在1天里
(8条评论)
2.8
ihorboryslavsky3

Very interesting job. Hi, nice to meet you. I read your job description and very interesting. I think it is possible. I have good experience in javascript and many javascript functions. Also, validation checking is ver 更多

$30USD 在1天里
(4条评论)
2.4
pashaborges

Hello. It's nice to meet you. Thanks for your posting. I am happy to send proposal on this project. ***Can i help you?*** I have seen your project's requirements carefully and understand what you want. As you can see 更多

$30 USD 在7天内
(3条评论)
1.5
praveend5

Hi, We can do this work for you. Pls connect with us to take it forward. Regards, Revathi R +91 8367562806

$20 USD 在7天内
(0条评论)
0.0