API Design · Junior · Question 40 of 75

What is JSON Schema used for in APIs?

Explanation

OpenAPI uses JSON Schema for its data models. Many frameworks validate requests directly against schemas.

Further reading

Problem with a question

API Design · Junior · question 40

Test yourself

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

Take this quiz