addedOutput schema / properties / availability / properties / freeStays / items / properties / priceBasis
Added value: +{
+ "description": "Where the price comes from; none = no price for these dates: say price on request and offer a quote, never a price.",
+ "enum": [
+ "quoted",
+ "weekly-rates",
+ "none"
+ ],
+ "type": "string"
+}
addedOutput schema / properties / availability / properties / freeStays / items / properties / priceNote
Added value: +{
+ "description": "With priceBasis none: what to tell the person instead of a price.",
+ "type": "string"
+}
addedOutput schema / properties / availability / properties / nearestFree / items / properties / priceBasis
Added value: +{
+ "description": "Where the price comes from; none = no price for these dates: say price on request and offer a quote, never a price.",
+ "enum": [
+ "quoted",
+ "weekly-rates",
+ "none"
+ ],
+ "type": "string"
+}
addedOutput schema / properties / availability / properties / nearestFree / items / properties / priceNote
Added value: +{
+ "description": "With priceBasis none: what to tell the person instead of a price.",
+ "type": "string"
+}
addedOutput schema / properties / availability / properties / nearestPriced
Added value: +{
+ "description": "When the stay is free but has no price: the nearest free stay that has one.",
+ "properties": {
+ "aiDiscount": {
+ "description": "The AI booking discount: book through this assistant and this is the price. Show it with the price struck through.",
+ "properties": {
+ "percent": {
+ "description": "The discount, percent.",
+ "type": "number"
+ },
+ "price": {
+ "description": "The price after the discount.",
+ "properties": {
+ "amount": {
+ "description": "In major units (euros, not cents).",
+ "type": "number"
+ },
+ "currency": {
+ "description": "ISO 4217.",
+ "type": "string"
+ },
+ "text": {
+ "description": "The amount written out, to quote to the person.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "checkIn": {
+ "description": "YYYY-MM-DD.",
+ "type": "string"
+ },
+ "checkOut": {
+ "description": "YYYY-MM-DD.",
+ "type": "string"
+ },
+ "checkedAt": {
+ "description": "When the source was read, ISO time.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "deposit": {
+ "description": "The deposit held.",
+ "properties": {
+ "amount": {
+ "description": "In major units (euros, not cents).",
+ "type": "number"
+ },
+ "currency": {
+ "description": "ISO 4217.",
+ "type": "string"
+ },
+ "text": {
+ "description": "The amount written out, to quote to the person.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "discountPct": {
+ "description": "The discount the source states.",
+ "type": "number"
+ },
+ "listPrice": {
+ "description": "The source's list price above price, when discounted.",
+ "properties": {
+ "amount": {
+ "description": "In major units (euros, not cents).",
+ "type": "number"
+ },
+ "currency": {
+ "description": "ISO 4217.",
+ "type": "string"
+ },
+ "text": {
+ "description": "The amount written out, to quote to the person.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "mandatoryExtras": {
+ "description": "What the source says is payable on top, whatever the person picks.",
+ "properties": {
+ "amount": {
+ "description": "In major units (euros, not cents).",
+ "type": "number"
+ },
+ "currency": {
+ "description": "ISO 4217.",
+ "type": "string"
+ },
+ "text": {
+ "description": "The amount written out, to quote to the person.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "nights": {
+ "description": "Nights.",
+ "type": "number"
+ },
+ "price": {
+ "description": "The stay's price.",
+ "properties": {
+ "amount": {
+ "description": "In major units (euros, not cents).",
+ "type": "number"
+ },
+ "currency": {
+ "description": "ISO 4217.",
+ "type": "string"
+ },
+ "text": {
+ "description": "The amount written out, to quote to the person.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "priceBasis": {
+ "description": "Where the price comes from; none = no price for these dates: say price on request and offer a quote, never a price.",
+ "enum": [
+ "quoted",
+ "weekly-rates",
+ "none"
+ ],
+ "type": "string"
+ },
+ "priceNote": {
+ "description": "With priceBasis none: what to tell the person instead of a price.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Whether it can be booked.",
+ "enum": [
+ "free",
+ "booked",
+ "not-a-check-in-day",
+ "not-whole-blocks",
+ "outside-calendar",
+ "not-known"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+}
addedOutput schema / properties / availability / properties / stay / properties / priceBasis
Added value: +{
+ "description": "Where the price comes from; none = no price for these dates: say price on request and offer a quote, never a price.",
+ "enum": [
+ "quoted",
+ "weekly-rates",
+ "none"
+ ],
+ "type": "string"
+}
addedOutput schema / properties / availability / properties / stay / properties / priceNote
Added value: +{
+ "description": "With priceBasis none: what to tell the person instead of a price.",
+ "type": "string"
+}
addedOutput schema / properties / nearest / properties / priceBasis
Added value: +{
+ "description": "Where the price comes from; none = no price for these dates: say price on request and offer a quote, never a price.",
+ "enum": [
+ "quoted",
+ "weekly-rates",
+ "none"
+ ],
+ "type": "string"
+}
addedOutput schema / properties / nearest / properties / priceNote
Added value: +{
+ "description": "With priceBasis none: what to tell the person instead of a price.",
+ "type": "string"
+}
addedOutput schema / properties / nearestPriced
Added value: +{
+ "description": "When the stay asked for is free but has no price: the nearest free stay of the same length that has one, with its price and AI price.",
+ "properties": {
+ "aiDiscount": {
+ "description": "The AI booking discount: book through this assistant and this is the price. Show it with the price struck through.",
+ "properties": {
+ "percent": {
+ "description": "The discount, percent.",
+ "type": "number"
+ },
+ "price": {
+ "description": "The price after the discount.",
+ "properties": {
+ "amount": {
+ "description": "In major units (euros, not cents).",
+ "type": "number"
+ },
+ "currency": {
+ "description": "ISO 4217.",
+ "type": "string"
+ },
+ "text": {
+ "description": "The amount written out, to quote to the person.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "checkIn": {
+ "description": "YYYY-MM-DD.",
+ "type": "string"
+ },
+ "checkOut": {
+ "description": "YYYY-MM-DD.",
+ "type": "string"
+ },
+ "checkedAt": {
+ "description": "When the source was read, ISO time.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "deposit": {
+ "description": "The deposit held.",
+ "properties": {
+ "amount": {
+ "description": "In major units (euros, not cents).",
+ "type": "number"
+ },
+ "currency": {
+ "description": "ISO 4217.",
+ "type": "string"
+ },
+ "text": {
+ "description": "The amount written out, to quote to the person.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "discountPct": {
+ "description": "The discount the source states.",
+ "type": "number"
+ },
+ "listPrice": {
+ "description": "The source's list price above price, when discounted.",
+ "properties": {
+ "amount": {
+ "description": "In major units (euros, not cents).",
+ "type": "number"
+ },
+ "currency": {
+ "description": "ISO 4217.",
+ "type": "string"
+ },
+ "text": {
+ "description": "The amount written out, to quote to the person.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "mandatoryExtras": {
+ "description": "What the source says is payable on top, whatever the person picks.",
+ "properties": {
+ "amount": {
+ "description": "In major units (euros, not cents).",
+ "type": "number"
+ },
+ "currency": {
+ "description": "ISO 4217.",
+ "type": "string"
+ },
+ "text": {
+ "description": "The amount written out, to quote to the person.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "nights": {
+ "description": "Nights.",
+ "type": "number"
+ },
+ "price": {
+ "description": "The stay's price.",
+ "properties": {
+ "amount": {
+ "description": "In major units (euros, not cents).",
+ "type": "number"
+ },
+ "currency": {
+ "description": "ISO 4217.",
+ "type": "string"
+ },
+ "text": {
+ "description": "The amount written out, to quote to the person.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "priceBasis": {
+ "description": "Where the price comes from; none = no price for these dates: say price on request and offer a quote, never a price.",
+ "enum": [
+ "quoted",
+ "weekly-rates",
+ "none"
+ ],
+ "type": "string"
+ },
+ "priceNote": {
+ "description": "With priceBasis none: what to tell the person instead of a price.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Whether it can be booked.",
+ "enum": [
+ "free",
+ "booked",
+ "not-a-check-in-day",
+ "not-whole-blocks",
+ "outside-calendar",
+ "not-known"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+}
addedOutput schema / properties / stay / properties / priceBasis
Added value: +{
+ "description": "Where the price comes from; none = no price for these dates: say price on request and offer a quote, never a price.",
+ "enum": [
+ "quoted",
+ "weekly-rates",
+ "none"
+ ],
+ "type": "string"
+}
addedOutput schema / properties / stay / properties / priceNote
Added value: +{
+ "description": "With priceBasis none: what to tell the person instead of a price.",
+ "type": "string"
+}