changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "count": {
+ "description": "Number of questions returned",
+ "type": "number"
+ },
+ "questions": {
+ "description": "Array of trivia questions",
+ "items": {
+ "properties": {
+ "category": {
+ "description": "Trivia category name",
+ "type": "string"
+ },
+ "correct_answer": {
+ "description": "The correct answer",
+ "type": "string"
+ },
+ "difficulty": {
+ "description": "Question difficulty level",
+ "type": "string"
+ },
+ "incorrect_answers": {
+ "description": "Array of incorrect answer options",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "question": {
+ "description": "The trivia question text",
+ "type": "string"
+ },
+ "type": {
+ "description": "Question type (multiple or boolean)",
+ "type": "string"
+ }
+ },
+ "required": [
+ "category",
+ "difficulty",
+ "type",
+ "question",
+ "correct_answer",
+ "incorrect_answers"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "count",
+ "questions"
+ ],
+ "type": "object"
+}