changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "answer": {
+ "type": "string"
+ },
+ "attribution": {
+ "type": "string"
+ },
+ "confidence": {
+ "enum": [
+ "high",
+ "medium",
+ "low"
+ ],
+ "type": "string"
+ },
+ "links": {
+ "additionalProperties": false,
+ "properties": {
+ "app": {
+ "format": "uri",
+ "type": "string"
+ },
+ "methodology": {
+ "format": "uri",
+ "type": "string"
+ },
+ "privacy": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "app",
+ "methodology",
+ "privacy"
+ ],
+ "type": "object"
+ },
+ "ok": {
+ "const": true,
+ "type": "boolean"
+ },
+ "operation": {
+ "type": "string"
+ },
+ "query": {
+ "additionalProperties": {},
+ "type": "object"
+ },
+ "results": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "canonicalUrl": {
+ "format": "uri",
+ "type": "string"
+ },
+ "category": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "conditionsUpdatedAt": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "confidence": {
+ "enum": [
+ "high",
+ "medium",
+ "low"
+ ],
+ "type": "string"
+ },
+ "distanceKm": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "downloadAppUrl": {
+ "format": "uri",
+ "type": "string"
+ },
+ "entityType": {
+ "enum": [
+ "beach",
+ "swim_spot",
+ "river_spot",
+ "van_spot",
+ "provider",
+ "guide"
+ ],
+ "type": "string"
+ },
+ "geo": {
+ "additionalProperties": false,
+ "properties": {
+ "lat": {
+ "type": "number"
+ },
+ "lng": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "lat",
+ "lng"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "type": "string"
+ },
+ "liveConditions": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "airTemperatureC": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "apparentTemperatureC": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "currentVelocityKmh": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "updatedAt": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "uvIndex": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "waterTemperatureC": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "waveHeightM": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "windGustKmh": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "windSpeedKmh": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "updatedAt",
+ "airTemperatureC",
+ "apparentTemperatureC",
+ "waterTemperatureC",
+ "windSpeedKmh",
+ "windGustKmh",
+ "uvIndex",
+ "waveHeightM",
+ "currentVelocityKmh"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "location": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "openUrl": {
+ "format": "uri",
+ "type": "string"
+ },
+ "sources": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "observedAt": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "stableFacts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "value": {}
+ },
+ "required": [
+ "label"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "verificationStatus": {
+ "enum": [
+ "owner_verified",
+ "source_backed",
+ "mapped"
+ ],
+ "type": "string"
+ },
+ "why": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "id",
+ "entityType",
+ "verificationStatus",
+ "name",
+ "location",
+ "distanceKm",
+ "canonicalUrl",
+ "openUrl",
+ "downloadAppUrl",
+ "why",
+ "stableFacts",
+ "liveConditions",
+ "conditionsUpdatedAt",
+ "sources",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "safetyNotice": {
+ "type": "string"
+ },
+ "updatedAt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "ok",
+ "operation",
+ "query",
+ "answer",
+ "updatedAt",
+ "confidence",
+ "results",
+ "safetyNotice",
+ "attribution",
+ "links"
+ ],
+ "type": "object"
+}