changedOutput schema / properties / hostTrust / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "alsoListedOn": {
- "description": "Other platforms this home is listed on",
- "items": {
- "additionalProperties": false,
- "properties": {
- "site": {
- "description": "airbnb, vrbo or booking",
- "type": "string"
- },
- "source": {
- "description": "'checked' when CielStay matched the link, or the home is claimed; 'host' when the host added it and CielStay has not checked it",
- "type": "string"
- }
- },
- "required": [
- "site",
- "source"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "bookingSite": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "domain": {
- "type": "string"
- },
- "registeredYear": {
- "type": "number"
- }
- },
- "required": [
- "domain",
- "registeredYear"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "The host's booking-site domain and the year it was registered, from public domain records"
- },
- "fromHost": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "cancellation": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "hostWords": {
- "description": "The host's own policy, or their notes alongside the standard one",
- "type": [
- "string",
- "null"
- ]
- },
- "preset": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "summary": {
- "description": "The standard CielStay policy the host chose, in one sentence (refund by days before check-in)",
- "type": "string"
- }
- },
- "required": [
- "code",
- "label",
- "summary"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "null when the host wrote their own policy"
- }
- },
- "required": [
- "preset",
- "hostWords"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "The cancellation policy the host set; refunds come from the host, not CielStay"
- },
- "cancellationPolicy": {
- "type": [
- "string",
- "null"
- ]
- },
- "company": {
- "type": [
- "string",
- "null"
- ]
- },
- "displayName": {
- "type": [
- "string",
- "null"
- ]
- },
- "howBookingWorks": {
- "type": [
- "string",
- "null"
- ]
- },
- "licenceNo": {
- "type": [
- "string",
- "null"
- ]
- },
- "paymentMethods": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "paymentNote": {
- "type": [
- "string",
- "null"
- ]
- },
- "source": {
- "type": "string"
- },
- "updatedAt": {
- "type": [
- "string",
- "null"
- ]
- },
- "yearsHosting": {
- "type": [
- "number",
- "null"
- ]
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Statements in the host's own words: not checked by CielStay"
- },
- "note": {
- "type": "string"
- },
- "onCielStaySince": {
- "description": "YYYY-MM: when the home was added to CielStay, not how long the host has hosted",
- "type": [
- "string",
- "null"
- ]
- },
- "verified": {
- "description": "verified_owner, verified_in_person or verified_via_listing; null when CielStay has not verified the host",
- "type": [
- "string",
- "null"
- ]
- },
- "verifiedHow": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "verified",
- "verifiedHow",
- "onCielStaySince",
- "bookingSite",
- "alsoListedOn",
- "fromHost",
- "note"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "alsoListedOn": {
+ "description": "Other platforms this home is listed on",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "site": {
+ "description": "airbnb, vrbo or booking",
+ "type": "string"
+ },
+ "source": {
+ "description": "'checked' when CielStay matched the link, or the home is claimed; 'host' when the host added it and CielStay has not checked it",
+ "type": "string"
+ }
+ },
+ "required": [
+ "site",
+ "source"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "bookingSite": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "domain": {
+ "type": "string"
+ },
+ "registeredYear": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "domain",
+ "registeredYear"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The host's booking-site domain and the year it was registered, from public domain records"
+ },
+ "fromHost": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "cancellation": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "hostWords": {
+ "description": "The host's own policy, or their notes alongside the standard one",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "preset": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "summary": {
+ "description": "The standard CielStay policy the host chose, in one sentence (refund by days before check-in)",
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "label",
+ "summary"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "null when the host wrote their own policy"
+ }
+ },
+ "required": [
+ "preset",
+ "hostWords"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The cancellation policy the host set; refunds come from the host, not CielStay"
+ },
+ "cancellationPolicy": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "company": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "displayName": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "howBookingWorks": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "licenceNo": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "paymentMethods": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "paymentNote": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "type": "string"
+ },
+ "updatedAt": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "yearsHosting": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "source"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Statements in the host's own words: not checked by CielStay"
+ },
+ "note": {
+ "type": "string"
+ },
+ "onCielStaySince": {
+ "description": "YYYY-MM: when the home was added to CielStay, not how long the host has hosted",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "verified": {
+ "description": "verified_owner, verified_in_person or verified_via_listing; host_listed_unverified when the host listed the home on CielStay but has not proved ownership yet (not a verification); null when CielStay has not verified the host",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "verifiedHow": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "verified",
+ "verifiedHow",
+ "onCielStaySince",
+ "bookingSite",
+ "alsoListedOn",
+ "fromHost",
+ "note"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]