MuleSoft
MCD-LEVEL-1 · Question #231
Refer to the exhibit. This RAML fragment defines a Book data type that is used in a RAML API specification. An API implementation is created for this RAML API specification. What is valid JSON input…
The correct answer is A. { "ISBN": "0471767840", "year": 2007, "title": "Shakespeare", "author": "Encyclopedia Britannica" }. You've hit your limit · resets 5:20am (America/New_York)
Designing APIs
Question
Refer to the exhibit. This RAML fragment defines a Book data type that is used in a RAML API specification. An API implementation is created for this RAML API specification. What is valid JSON input for a request from a web client to an implementation of this RAML API specification? A. B. C. D.
Exhibit
Options
- A{ "ISBN": "0471767840", "year": 2007, "title": "Shakespeare", "author": "Encyclopedia Britannica" }
- B{ "ID": 101, "title": "Shakespeare", "author": "Encyclopedia Britannica", "publisher": "Dunwich House Publishing", "year": 2007, "ISBN": "0471767840" }
- C{ "ISBN": "0471767840" }
- D{ "ID": 101, "publisher": "Dunwich House Publishing", "ISBN": "0471767840" }
How the community answered
(51 responses)- A84% (43)
- B10% (5)
- C4% (2)
- D2% (1)
Explanation
You've hit your limit · resets 5:20am (America/New_York)
Topics
#RAML data types#JSON validation#API specification#required fields
Community Discussion
No community discussion yet for this question.
