API Testing · Junior · Question 41 of 75

What is a JSON Schema used for in API testing?

Show the answer

Correct answer: Describing and checking the structure and types of JSON

Explanation

A schema states required fields, types and formats. Validating responses against it catches missing or renamed fields quickly.

Further reading

Problem with a question

API Testing · Junior · question 41

Test yourself

Take the API Testing · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz