changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "count": {
+ "description": "Number of events found",
+ "type": "number"
+ },
+ "date": {
+ "description": "The date string from the API response",
+ "type": "string"
+ },
+ "events": {
+ "description": "Array of historical events",
+ "items": {
+ "properties": {
+ "description": {
+ "description": "Event description",
+ "type": "string"
+ },
+ "wikipedia": {
+ "description": "Wikipedia references for the event",
+ "items": {
+ "properties": {
+ "title": {
+ "description": "Wikipedia article title",
+ "type": "string"
+ },
+ "url": {
+ "description": "Wikipedia article URL",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "year": {
+ "description": "Year the event occurred",
+ "type": "string"
+ }
+ },
+ "required": [
+ "year",
+ "description",
+ "wikipedia"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "type": {
+ "description": "The type of entries returned",
+ "enum": [
+ "events"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "date",
+ "type",
+ "count",
+ "events"
+ ],
+ "type": "object"
+}