UpsellGuru · Schema

BasicExtraType

CompanyHospitalitySoftware-as-a-ServiceRevenueUpselling

Properties

Name Type Description
status object
code string
pmsTransactionCode string
otherPmsCodes array
billingRule object
salesType object
category object
names object
descriptions object
position integer
price object
strikePrice object
taxes object
serviceFee object
pointOfSale object
cutOffDays integer
cutOffHour integer
excludedDates array
availableDates array
losFrom integer
losTo integer
excludedRatePlans array
allowedRatePlans array
excludedMarketSegments array
allowedMarketSegments array
excludedReservationSources array
allowedReservationSources array
excludedMembershipLevels array
allowedMembershipLevels array
offeredDays object
offeredDaysType object
dayTimeConfirmation object
dayTimeConfirmationSchedule object
customQuestion string
isPurchasingMultipleVariationsAllowed boolean
View JSON Schema on GitHub

JSON Schema

upsellguru-basic-extra-type-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/upsellguru/json-schema/upsellguru-basic-extra-type-schema.json",
  "title": "BasicExtraType",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/upsellguru-openapi.yml#/components/schemas/BasicExtraType",
  "type": "object",
  "properties": {
    "status": {
      "$ref": "#/$defs/ExtraTypeStatus"
    },
    "code": {
      "type": "string"
    },
    "pmsTransactionCode": {
      "type": "string"
    },
    "otherPmsCodes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "billingRule": {
      "$ref": "#/$defs/ExtraTypeBillingRule"
    },
    "salesType": {
      "$ref": "#/$defs/ExtraTypeSalesType"
    },
    "category": {
      "$ref": "#/$defs/ExtraTypeCategory"
    },
    "names": {
      "$ref": "#/$defs/LocalizedStringsMap"
    },
    "descriptions": {
      "$ref": "#/$defs/LocalizedStringsMap"
    },
    "position": {
      "type": "integer"
    },
    "price": {
      "$ref": "#/$defs/Money"
    },
    "strikePrice": {
      "$ref": "#/$defs/Money"
    },
    "taxes": {
      "$ref": "#/$defs/Money"
    },
    "serviceFee": {
      "$ref": "#/$defs/Money"
    },
    "pointOfSale": {
      "$ref": "#/$defs/ExtraTypePointOfSale"
    },
    "cutOffDays": {
      "type": "integer"
    },
    "cutOffHour": {
      "type": "integer",
      "minimum": 0,
      "maximum": 23
    },
    "excludedDates": {
      "type": "array",
      "items": {
        "format": "date"
      }
    },
    "availableDates": {
      "type": "array",
      "items": {
        "format": "date"
      }
    },
    "losFrom": {
      "type": "integer"
    },
    "losTo": {
      "type": "integer"
    },
    "excludedRatePlans": {
      "type": "array",
      "items": {
        "format": "string"
      }
    },
    "allowedRatePlans": {
      "type": "array",
      "items": {
        "format": "string"
      }
    },
    "excludedMarketSegments": {
      "type": "array",
      "items": {
        "format": "string"
      }
    },
    "allowedMarketSegments": {
      "type": "array",
      "items": {
        "format": "string"
      }
    },
    "excludedReservationSources": {
      "type": "array",
      "items": {
        "format": "string"
      }
    },
    "allowedReservationSources": {
      "type": "array",
      "items": {
        "format": "string"
      }
    },
    "excludedMembershipLevels": {
      "type": "array",
      "items": {
        "format": "string"
      }
    },
    "allowedMembershipLevels": {
      "type": "array",
      "items": {
        "format": "string"
      }
    },
    "offeredDays": {
      "$ref": "#/$defs/ExtraTypeOfferedDays"
    },
    "offeredDaysType": {
      "$ref": "#/$defs/ExtraTypeOfferedDaysType"
    },
    "dayTimeConfirmation": {
      "$ref": "#/$defs/ExtraTypeDayTimeConfirmation"
    },
    "dayTimeConfirmationSchedule": {
      "$ref": "#/$defs/ExtraTypeDayTimeConfirmationSchedule"
    },
    "customQuestion": {
      "type": "string"
    },
    "isPurchasingMultipleVariationsAllowed": {
      "type": "boolean"
    }
  },
  "$defs": {
    "ExtraTypeBillingRule": {
      "type": "string",
      "enum": [
        "PERSON",
        "DAY_PERSON",
        "DAY",
        "UNIT",
        "RESERVATION"
      ]
    },
    "ExtraTypeCategory": {
      "type": "string",
      "enum": [
        "F_AND_B",
        "F_AND_B_BREAKFAST",
        "F_AND_B_DINNER",
        "EXTENDED_STAY",
        "EXTENDED_STAY_ECI",
        "EXTENDED_STAY_LCO",
        "SPA",
        "ACTIVITIES",
        "TRANSPORTATION",
        "ROOM_AMENITIES",
        "PACKAGES",
        "CLUB_BENEFITS",
        "LOYALTY"
      ]
    },
    "ExtraTypeDayTimeConfirmation": {
      "type": "string",
      "enum": [
        "NOT_REQUIRED",
        "ANY_TIME",
        "SPECIFIC_HOURS"
      ]
    },
    "ExtraTypeDayTimeConfirmationSchedule": {
      "type": "object",
      "properties": {
        "hoursFrom": {
          "type": "integer"
        },
        "hoursTo": {
          "type": "integer"
        },
        "minutesFrom": {
          "type": "integer"
        },
        "minutesTo": {
          "type": "integer"
        }
      }
    },
    "ExtraTypeOfferedDays": {
      "type": "object",
      "properties": {
        "mon": {
          "type": "boolean"
        },
        "tue": {
          "type": "boolean"
        },
        "wed": {
          "type": "boolean"
        },
        "thu": {
          "type": "boolean"
        },
        "fri": {
          "type": "boolean"
        },
        "sat": {
          "type": "boolean"
        },
        "sun": {
          "type": "boolean"
        }
      }
    },
    "ExtraTypeOfferedDaysType": {
      "type": "string",
      "enum": [
        "CHECKIN",
        "STAY",
        "CHECKOUT"
      ]
    },
    "ExtraTypePointOfSale": {
      "type": "string",
      "enum": [
        "ALL",
        "PRESTAY_ONLY",
        "INHOUSE_ONLY"
      ]
    },
    "ExtraTypeSalesType": {
      "type": "string",
      "enum": [
        "INSTANT_CONFIRMATION",
        "BIDDING",
        "ON_REQUEST"
      ]
    },
    "ExtraTypeStatus": {
      "type": "string",
      "description": "This enum describes all possible status an extra type can be in UpsellGuru",
      "enum": [
        "ONLINE",
        "OFFLINE",
        "DELETED"
      ]
    },
    "LocalizedStringsMap": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "Money": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "number",
          "format": "float"
        },
        "currency": {
          "type": "string"
        }
      },
      "required": [
        "amount",
        "currency"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/upsellguru-basic-extra-type"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.