changedOutput schema / properties / place / anyOf
Previous value: -[
- {
- "additionalProperties": {},
- "properties": {
- "answer": {
- "description": "The one-line answer; while a seasonal rule applies today it leads with it (see today)",
- "type": "string"
- },
- "citation": {
- "description": "Copy-ready citation: answer, source, date checked, record URL, license",
- "type": "string"
- },
- "closed_now": {
- "additionalProperties": {},
- "description": "Present only when Caltrans reports this rest area fully closed now. Live feed data, not a verified rule: check quickmap.dot.ca.gov",
- "properties": {
- "fetched_at": {
- "description": "When the conditions loop read the feed",
- "type": "string"
- },
- "reason": {
- "description": "Caltrans' own reason, as published",
- "type": "string"
- },
- "source": {
- "const": "Caltrans",
- "type": "string"
- },
- "until": {
- "description": "Caltrans' end time (ISO); null when no end is set",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "reason",
- "until",
- "source",
- "fetched_at"
- ],
- "type": "object"
- },
- "confidence": {
- "description": "stated: the place's own source says it; inferred_from_agency: an agency-wide rule; inherited_brand: the chain's policy, not confirmed by this hotel",
- "enum": [
- "stated",
- "inferred_from_agency",
- "inherited_brand",
- "unstated"
- ],
- "type": "string"
- },
- "confirmed_by": {
- "anyOf": [
- {
- "enum": [
- "business",
- "agency"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "freshness": {
- "description": "fresh: inside its review interval; due: past it; stale: past twice it, confirm before you go; unreadable: the last check could not read the source",
- "enum": [
- "fresh",
- "due",
- "stale",
- "unreadable"
- ],
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "record_license": {
- "type": "string"
- },
- "source_urls": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "status": {
- "enum": [
- "yes",
- "yes_restricted",
- "no",
- "varies",
- "unknown"
- ],
- "type": "string"
- },
- "today": {
- "additionalProperties": {},
- "description": "Only for a place with seasonal dog rules (plover nesting season, summer beach hours): which applies on the server's date, until when, and which starts next, with the source. Repeat sentence with the answer.",
- "properties": {
- "date": {
- "description": "The date this was computed for: the server's date",
- "type": "string"
- },
- "in_effect": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "access": {
- "anyOf": [
- {
- "enum": [
- "yes",
- "yes_restricted",
- "no"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "area": {
- "type": [
- "string",
- "null"
- ]
- },
- "days_left": {
- "type": "number"
- },
- "ends": {
- "description": "Last day of this run (YYYY-MM-DD)",
- "type": "string"
- },
- "leash": {
- "type": [
- "string",
- "null"
- ]
- },
- "rule": {
- "description": "The seasonal rule in plain words",
- "type": "string"
- },
- "season": {
- "description": "When it runs, in the source's dates: \"July 1 to May 15\"",
- "type": "string"
- },
- "starts": {
- "description": "First day of this run (YYYY-MM-DD)",
- "type": "string"
- }
- },
- "required": [
- "rule",
- "season",
- "area",
- "access",
- "leash",
- "starts",
- "ends",
- "days_left"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "in_season": {
- "description": "true: a seasonal rule is in effect on that date; null: the source gives a season without dates",
- "type": [
- "boolean",
- "null"
- ]
- },
- "next": {
- "anyOf": [
- {
- "additionalProperties": {},
- "properties": {
- "access": {
- "anyOf": [
- {
- "enum": [
- "yes",
- "yes_restricted",
- "no"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "area": {
- "type": [
- "string",
- "null"
- ]
- },
- "ends": {
- "description": "Last day of this run (YYYY-MM-DD)",
- "type": "string"
- },
- "in_days": {
- "type": "number"
- },
- "leash": {
- "type": [
- "string",
- "null"
- ]
- },
- "rule": {
- "description": "The seasonal rule in plain words",
- "type": "string"
- },
- "season": {
- "description": "When it runs, in the source's dates: \"July 1 to May 15\"",
- "type": "string"
- },
- "starts": {
- "description": "First day of this run (YYYY-MM-DD)",
- "type": "string"
- }
- },
- "required": [
- "rule",
- "season",
- "area",
- "access",
- "leash",
- "starts",
- "ends",
- "in_days"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "publisher": {
- "type": [
- "string",
- "null"
- ]
- },
- "quote": {
- "type": [
- "string",
- "null"
- ]
- },
- "sentence": {
- "description": "Leads answer and citation while a seasonal rule applies or starts within 14 days; null otherwise",
- "type": [
- "string",
- "null"
- ]
- },
- "source_url": {
- "type": [
- "string",
- "null"
- ]
- },
- "starts_soon": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "access": {
- "anyOf": [
- {
- "enum": [
- "yes",
- "yes_restricted",
- "no"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "area": {
- "type": [
- "string",
- "null"
- ]
- },
- "ends": {
- "description": "Last day of this run (YYYY-MM-DD)",
- "type": "string"
- },
- "in_days": {
- "type": "number"
- },
- "leash": {
- "type": [
- "string",
- "null"
- ]
- },
- "rule": {
- "description": "The seasonal rule in plain words",
- "type": "string"
- },
- "season": {
- "description": "When it runs, in the source's dates: \"July 1 to May 15\"",
- "type": "string"
- },
- "starts": {
- "description": "First day of this run (YYYY-MM-DD)",
- "type": "string"
- }
- },
- "required": [
- "rule",
- "season",
- "area",
- "access",
- "leash",
- "starts",
- "ends",
- "in_days"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "undated": {
- "description": "Seasons the source states without dates: not known to apply",
- "items": {
- "additionalProperties": {},
- "properties": {
- "access": {
- "anyOf": [
- {
- "enum": [
- "yes",
- "yes_restricted",
- "no"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "area": {
- "type": [
- "string",
- "null"
- ]
- },
- "leash": {
- "type": [
- "string",
- "null"
- ]
- },
- "rule": {
- "description": "The seasonal rule in plain words",
- "type": "string"
- },
- "season": {
- "description": "When it runs, in the source's dates: \"July 1 to May 15\"",
- "type": "string"
- }
- },
- "required": [
- "rule",
- "season",
- "area",
- "access",
- "leash"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "verified_at": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "date",
- "in_season",
- "sentence",
- "in_effect",
- "starts_soon",
- "next",
- "undated",
- "source_url",
- "publisher",
- "quote",
- "verified_at"
- ],
- "type": "object"
- },
- "type": {
- "type": "string"
- },
- "uid": {
- "description": "Stable id that survives a rename",
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "verified_at": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "uid",
- "name",
- "type",
- "status",
- "answer",
- "citation",
- "confidence",
- "confirmed_by",
- "freshness",
- "verified_at",
- "url",
- "source_urls",
- "record_license"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": {},
+ "properties": {
+ "answer": {
+ "description": "The one-line answer; while a seasonal rule applies today it leads with it (see today)",
+ "type": "string"
+ },
+ "citation": {
+ "description": "Copy-ready citation: answer, source, date checked, record URL, license",
+ "type": "string"
+ },
+ "closed_now": {
+ "additionalProperties": {},
+ "description": "Present only when Caltrans reports this rest area fully closed now. Live feed data, not a verified rule: check quickmap.dot.ca.gov",
+ "properties": {
+ "fetched_at": {
+ "description": "When the conditions loop read the feed",
+ "type": "string"
+ },
+ "reason": {
+ "description": "Caltrans' own reason, as published",
+ "type": "string"
+ },
+ "source": {
+ "const": "Caltrans",
+ "type": "string"
+ },
+ "until": {
+ "description": "Caltrans' end time (ISO); null when no end is set",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "reason",
+ "until",
+ "source",
+ "fetched_at"
+ ],
+ "type": "object"
+ },
+ "confidence": {
+ "description": "stated: the place's own source says it; inferred_from_agency: an agency-wide rule; inherited_brand: the chain's policy, not confirmed by this hotel",
+ "enum": [
+ "stated",
+ "inferred_from_agency",
+ "inherited_brand",
+ "unstated"
+ ],
+ "type": "string"
+ },
+ "confirmed_by": {
+ "anyOf": [
+ {
+ "enum": [
+ "business",
+ "agency"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "freshness": {
+ "description": "fresh: inside its review interval; due: past it; stale: past twice it, confirm before you go; unreadable: the last check could not read the source",
+ "enum": [
+ "fresh",
+ "due",
+ "stale",
+ "unreadable"
+ ],
+ "type": "string"
+ },
+ "holiday_hours": {
+ "description": "Hours the business publishes for a named day that has not passed",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "date": {
+ "description": "The day the hours are for (YYYY-MM-DD)",
+ "type": "string"
+ },
+ "holiday": {
+ "description": "The day's name as published",
+ "type": "string"
+ },
+ "hours": {
+ "description": "The hours as published",
+ "type": "string"
+ },
+ "open": {
+ "description": "false: the business or hospital says it is closed that day",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "date",
+ "open"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "id": {
+ "type": "string"
+ },
+ "meals": {
+ "description": "Meals a restaurant or cafe says it serves",
+ "items": {
+ "enum": [
+ "breakfast",
+ "brunch",
+ "lunch",
+ "dinner"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "name": {
+ "type": "string"
+ },
+ "record_license": {
+ "type": "string"
+ },
+ "source_urls": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "yes",
+ "yes_restricted",
+ "no",
+ "varies",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "today": {
+ "additionalProperties": {},
+ "description": "Only for a place with seasonal dog rules (plover nesting season, summer beach hours): which applies on the server's date, until when, and which starts next, with the source. Repeat sentence with the answer.",
+ "properties": {
+ "date": {
+ "description": "The date this was computed for: the server's date",
+ "type": "string"
+ },
+ "in_effect": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "access": {
+ "anyOf": [
+ {
+ "enum": [
+ "yes",
+ "yes_restricted",
+ "no"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "area": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "days_left": {
+ "type": "number"
+ },
+ "ends": {
+ "description": "Last day of this run (YYYY-MM-DD)",
+ "type": "string"
+ },
+ "leash": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "rule": {
+ "description": "The seasonal rule in plain words",
+ "type": "string"
+ },
+ "season": {
+ "description": "When it runs, in the source's dates: \"July 1 to May 15\"",
+ "type": "string"
+ },
+ "starts": {
+ "description": "First day of this run (YYYY-MM-DD)",
+ "type": "string"
+ }
+ },
+ "required": [
+ "rule",
+ "season",
+ "area",
+ "access",
+ "leash",
+ "starts",
+ "ends",
+ "days_left"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "in_season": {
+ "description": "true: a seasonal rule is in effect on that date; null: the source gives a season without dates",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "next": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "access": {
+ "anyOf": [
+ {
+ "enum": [
+ "yes",
+ "yes_restricted",
+ "no"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "area": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "ends": {
+ "description": "Last day of this run (YYYY-MM-DD)",
+ "type": "string"
+ },
+ "in_days": {
+ "type": "number"
+ },
+ "leash": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "rule": {
+ "description": "The seasonal rule in plain words",
+ "type": "string"
+ },
+ "season": {
+ "description": "When it runs, in the source's dates: \"July 1 to May 15\"",
+ "type": "string"
+ },
+ "starts": {
+ "description": "First day of this run (YYYY-MM-DD)",
+ "type": "string"
+ }
+ },
+ "required": [
+ "rule",
+ "season",
+ "area",
+ "access",
+ "leash",
+ "starts",
+ "ends",
+ "in_days"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "publisher": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "quote": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "sentence": {
+ "description": "Leads answer and citation while a seasonal rule applies or starts within 14 days; null otherwise",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "starts_soon": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "access": {
+ "anyOf": [
+ {
+ "enum": [
+ "yes",
+ "yes_restricted",
+ "no"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "area": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "ends": {
+ "description": "Last day of this run (YYYY-MM-DD)",
+ "type": "string"
+ },
+ "in_days": {
+ "type": "number"
+ },
+ "leash": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "rule": {
+ "description": "The seasonal rule in plain words",
+ "type": "string"
+ },
+ "season": {
+ "description": "When it runs, in the source's dates: \"July 1 to May 15\"",
+ "type": "string"
+ },
+ "starts": {
+ "description": "First day of this run (YYYY-MM-DD)",
+ "type": "string"
+ }
+ },
+ "required": [
+ "rule",
+ "season",
+ "area",
+ "access",
+ "leash",
+ "starts",
+ "ends",
+ "in_days"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "undated": {
+ "description": "Seasons the source states without dates: not known to apply",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "access": {
+ "anyOf": [
+ {
+ "enum": [
+ "yes",
+ "yes_restricted",
+ "no"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "area": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "leash": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "rule": {
+ "description": "The seasonal rule in plain words",
+ "type": "string"
+ },
+ "season": {
+ "description": "When it runs, in the source's dates: \"July 1 to May 15\"",
+ "type": "string"
+ }
+ },
+ "required": [
+ "rule",
+ "season",
+ "area",
+ "access",
+ "leash"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "verified_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "date",
+ "in_season",
+ "sentence",
+ "in_effect",
+ "starts_soon",
+ "next",
+ "undated",
+ "source_url",
+ "publisher",
+ "quote",
+ "verified_at"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "type": "string"
+ },
+ "uid": {
+ "description": "Stable id that survives a rename",
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "verified_at": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "uid",
+ "name",
+ "type",
+ "status",
+ "answer",
+ "citation",
+ "confidence",
+ "confirmed_by",
+ "freshness",
+ "verified_at",
+ "url",
+ "source_urls",
+ "record_license"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]