Search test library by skills or roles
⌘ K

Adaface Sample JSON Questions

Here are some sample JSON questions from our premium questions library (10273 non-googleable questions).

Skills

🧐 Question

Easy

JSON Schema: Pick valid data
Solve
Consider the following JSON Schema specification:
            
            {
              "type": "object",
              "properties":
                { "ProductID": { "type":"string", "pattern":"Product*" },
                  "ProductName": { "type":"string" },
                  "Price": { "type":"integer", "minimum":20, "maximum":200 },
                  "Shippers": { "type":"array", "maxItems":4,
                               "items": { "type":"string" }},
                  "Favourites": { "type":"array",
                               "items":
                                  { "type": "object",
                                    "properties": {"User":
                                                   {"type": "string", "optional": true},
                                                   "Rating":
                                                   {"type": "integer", "minimum":1,
                                                    "maxiumum":10}}}},
                  "AvgScore": { "type":"number", "optional":true },
                  "FreeCancellation": {"type":"boolean" }
                }
            }
            
            Select, from the choices below, the JSON data that is valid according to the JSON Schema specification above.
OPTION A:
            { "ProductId": "Product123",
              "ProductName": "desk",
              "Price": "50",
              "Shippers": ["Amy","Pond"],
              "Favourites": [{"User":"Eleven", "Score":5}, {"Score":1},
                          {"User":"Mandosa", "Score":4}],
              "AvgScore": 3.33,
              "FreeCancellation": true }
OPTION B:
            { "ProductId": "Product123",
              "ProductName": "desk",
              "Price": 50,
              "Shippers": ["Amy","Pond"],
              "Favourites": [ ],
              "AvgScore": 3.33,
              "FreeCancellation": true }
OPTION C:
            { "ProductId": "Product123",
              "ProductName": "desk",
              "Price": 50,
              "Shippers": ["Amy Pond","Doctor Strange","Will","Clara Oswald", "Minnesota"],
              "Favourites": [{"User":"Eleven", "Score":5}, {"Score":1},
                          {"User":"Mandosa", "Score":4}],
              "AvgScore": 3.33,
              "FreeCancellation": true }
OPTION D:
            { "ProductId": "123",
              "ProductName": "desk",
              "Price": 50,
              "Shippers": ["Amy","Pond"],
              "Favourites": {"User":"Amy", "Score":5},
              "AvgScore": 3.33,
              "FreeCancellation": true }
🧐 Question🔧 Skill

Easy

JSON Schema: Pick valid data
4 mins
JSON
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
JSON Schema: Pick valid data
JSON
Easy4 mins
Solve

Adaface questions are trusted by enterprises globally

Amazon Morgan Stanley Vodafone United Nations HCL PayPal Bosch WeWork Optimum Solutions Deloitte Microsoft NCS Doubtnut Sokrati J&T Express Capegemini

We evaluated several of their competitors and found Adaface to be the most compelling. Great default library of questions that are designed to test for fit rather than memorization of algorithms.


Swayam Narain, CTO, Affable

hashtag image heart icon Swayam
Join 1200+ companies in 75+ countries.
Prova det mest kandidatvänliga utvärderingsverktyget idag.
Ready to streamline your recruitment efforts with Adaface?
Ready to streamline your recruitment efforts with Adaface?
chatta med oss
40 min tests.
No trick questions.
Accurate shortlisting.
Ada
Ada
● Online
Previous
Score: NA
Next
✖️