changedOutput schema / properties / place / properties / booking / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "disclosure": {
- "additionalProperties": false,
- "description": "Always present, so a consumer never has to tell 'not required' from 'missing'.",
- "properties": {
- "must_be_shown_with_link": {
- "type": "boolean"
- },
- "required": {
- "description": "True for affiliate links. When true, `text` must be shown wherever `url` is.",
- "type": "boolean"
- },
- "text": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "The exact wording to show. Null when not required."
- }
- },
- "required": [
- "required",
- "text",
- "must_be_shown_with_link"
- ],
- "type": "object"
- },
- "kind": {
- "description": "What is on sale: ticket, tour, buy, hotel, …",
- "type": "string"
- },
- "label": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "The seller's own call to action, if we have one."
- },
- "link_rel": {
- "description": "The rel attribute to use if the link is rendered as HTML.",
- "type": "string"
- },
- "mode": {
- "description": "affiliate = we earn a commission if the reader books through `url`, and `disclosure` must be shown with the link. direct = a plain link to the seller, we earn nothing, no disclosure needed.",
- "enum": [
- "affiliate",
- "direct"
- ],
- "type": "string"
- },
- "price": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "as_of": {
- "description": "When this price was last verified with the seller (ISO 8601). A price older than 24 hours is omitted entirely rather than shown stale.",
- "type": "string"
- },
- "currency": {
- "description": "ISO 4217 code.",
- "type": "string"
- },
- "from": {
- "description": "Lowest price we have seen, in `currency`.",
- "type": "number"
- }
- },
- "required": [
- "from",
- "currency",
- "as_of"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Null when we have no price or cannot vouch for its age."
- },
- "provider": {
- "description": "Who sells it.",
- "type": "string"
- },
- "url": {
- "description": "Where to book. For mode=affiliate this is a redirect on our domain that forwards to the seller; link to it as given rather than resolving it.",
- "type": "string"
- }
- },
- "required": [
- "mode",
- "url",
- "kind",
- "provider",
- "label",
- "price",
- "disclosure",
- "link_rel"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "disclosure": {
+ "additionalProperties": false,
+ "description": "Always present, so a consumer never has to tell 'not required' from 'missing'.",
+ "properties": {
+ "must_be_shown_with_link": {
+ "type": "boolean"
+ },
+ "required": {
+ "description": "True for affiliate links. When true, `text` must be shown wherever `url` is.",
+ "type": "boolean"
+ },
+ "text": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The exact wording to show. Null when not required."
+ }
+ },
+ "required": [
+ "required",
+ "text",
+ "must_be_shown_with_link"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "description": "What is on sale: ticket, tour, buy, hotel, …",
+ "type": "string"
+ },
+ "label": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The seller's own call to action, if we have one."
+ },
+ "link_rel": {
+ "description": "The rel attribute to use if the link is rendered as HTML.",
+ "type": "string"
+ },
+ "mode": {
+ "description": "affiliate = we earn a commission if the reader books through `url`, and `disclosure` must be shown with the link. direct = a plain link to the seller, we earn nothing, no disclosure needed. own = the seller is a service this publisher also operates, which is a commercial interest of a different kind, and `disclosure` must be shown with the link.",
+ "enum": [
+ "affiliate",
+ "direct",
+ "own"
+ ],
+ "type": "string"
+ },
+ "price": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "as_of": {
+ "description": "When this price was last verified with the seller (ISO 8601). A price older than 24 hours is omitted entirely rather than shown stale.",
+ "type": "string"
+ },
+ "currency": {
+ "description": "ISO 4217 code.",
+ "type": "string"
+ },
+ "from": {
+ "description": "Lowest price we have seen, in `currency`.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "from",
+ "currency",
+ "as_of"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Null when we have no price or cannot vouch for its age."
+ },
+ "provider": {
+ "description": "Who sells it.",
+ "type": "string"
+ },
+ "url": {
+ "description": "Where to book. For mode=affiliate this is a redirect on our domain that forwards to the seller; link to it as given rather than resolving it.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "mode",
+ "url",
+ "kind",
+ "provider",
+ "label",
+ "price",
+ "disclosure",
+ "link_rel"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]