changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "category": {
+ "description": "Category searched",
+ "type": "string"
+ },
+ "jokes": {
+ "description": "Array of matching jokes",
+ "items": {
+ "properties": {
+ "category": {
+ "description": "Joke category",
+ "type": "string"
+ },
+ "delivery": {
+ "description": "Punchline for two-part jokes",
+ "type": "string"
+ },
+ "joke": {
+ "description": "Full joke text for single-part jokes",
+ "type": "string"
+ },
+ "safe": {
+ "description": "Whether joke is flagged as safe",
+ "type": "boolean"
+ },
+ "setup": {
+ "description": "Setup text for two-part jokes",
+ "type": "string"
+ },
+ "type": {
+ "description": "Joke type",
+ "enum": [
+ "single",
+ "twopart"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "category",
+ "safe"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "query": {
+ "description": "Search query used",
+ "type": "string"
+ },
+ "total": {
+ "description": "Total number of matching jokes",
+ "type": "number"
+ }
+ },
+ "required": [
+ "total",
+ "query",
+ "category",
+ "jokes"
+ ],
+ "type": "object"
+}