TripGain · JSON-LD Context

Tripgain Com Context

JSON-LD context defining the semantic vocabulary for Tripgain Com from TripGain.

12 Classes 70 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
tripgain: https://tripgain.com/schema#

Classes

FlightSearch FlightSearchRequest FlightSearchResponse GwODSummary GwRequestSummary GwResponseInsightRequest HTTPValidationError HotelSearchResult LoginIn LookaheadCreate SectorCreate ValidationError

Properties

Property Type Container
searchdatetime dateTime
origin string
destination string
jdate date
flightnumber string
airlinecode string
deptime string
arrtime string
bookingclass string
faretype string
price decimal
searchuuid
source
resultid string
leg_number integer
basefare decimal
tax decimal
numseats integer
duration integer
arr_date date
trace_id string
sreq_id string
c_id string
ori string
dest string
o_date date
r_date
c_class string
adults integer
children integer
infants integer
j_type string
api_name string
ingestion_time dateTime
sres_id
req_time dateTime
res_time dateTime
duration_ms integer
status_code integer
message string
owcount1 integer
rtcount2 integer
start_date string
end_date string
client_id
detail list
hotel_id string
name string
address string
city string
country string
latitude decimal
longitude decimal
checkin_date date
checkout_date date
currency string
hotelmappingid
mappingprovider
thumbnail
rating
normalized_rating
rating_count
tags list
userid string
password string
lookahead_days integer
is_active boolean
loc list
msg string
type string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://tripgain.com/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "tripgain": "https://tripgain.com/schema#",
    "FlightSearch": "tripgain:FlightSearch",
    "searchdatetime": {
      "@id": "tripgain:searchdatetime",
      "@type": "xsd:dateTime"
    },
    "origin": {
      "@id": "tripgain:origin",
      "@type": "xsd:string"
    },
    "destination": {
      "@id": "tripgain:destination",
      "@type": "xsd:string"
    },
    "jdate": {
      "@id": "tripgain:jdate",
      "@type": "xsd:date"
    },
    "flightnumber": {
      "@id": "tripgain:flightnumber",
      "@type": "xsd:string"
    },
    "airlinecode": {
      "@id": "tripgain:airlinecode",
      "@type": "xsd:string"
    },
    "deptime": {
      "@id": "tripgain:deptime",
      "@type": "xsd:string"
    },
    "arrtime": {
      "@id": "tripgain:arrtime",
      "@type": "xsd:string"
    },
    "bookingclass": {
      "@id": "tripgain:bookingclass",
      "@type": "xsd:string"
    },
    "faretype": {
      "@id": "tripgain:faretype",
      "@type": "xsd:string"
    },
    "price": {
      "@id": "tripgain:price",
      "@type": "xsd:decimal"
    },
    "searchuuid": {
      "@id": "tripgain:searchuuid"
    },
    "source": {
      "@id": "tripgain:source"
    },
    "resultid": {
      "@id": "tripgain:resultid",
      "@type": "xsd:string"
    },
    "leg_number": {
      "@id": "tripgain:leg_number",
      "@type": "xsd:integer"
    },
    "basefare": {
      "@id": "tripgain:basefare",
      "@type": "xsd:decimal"
    },
    "tax": {
      "@id": "tripgain:tax",
      "@type": "xsd:decimal"
    },
    "numseats": {
      "@id": "tripgain:numseats",
      "@type": "xsd:integer"
    },
    "duration": {
      "@id": "tripgain:duration",
      "@type": "xsd:integer"
    },
    "arr_date": {
      "@id": "tripgain:arr_date",
      "@type": "xsd:date"
    },
    "FlightSearchRequest": "tripgain:FlightSearchRequest",
    "trace_id": {
      "@id": "tripgain:trace_id",
      "@type": "xsd:string"
    },
    "sreq_id": {
      "@id": "tripgain:sreq_id",
      "@type": "xsd:string"
    },
    "c_id": {
      "@id": "tripgain:c_id",
      "@type": "xsd:string"
    },
    "ori": {
      "@id": "tripgain:ori",
      "@type": "xsd:string"
    },
    "dest": {
      "@id": "tripgain:dest",
      "@type": "xsd:string"
    },
    "o_date": {
      "@id": "tripgain:o_date",
      "@type": "xsd:date"
    },
    "r_date": {
      "@id": "tripgain:r_date"
    },
    "c_class": {
      "@id": "tripgain:c_class",
      "@type": "xsd:string"
    },
    "adults": {
      "@id": "tripgain:adults",
      "@type": "xsd:integer"
    },
    "children": {
      "@id": "tripgain:children",
      "@type": "xsd:integer"
    },
    "infants": {
      "@id": "tripgain:infants",
      "@type": "xsd:integer"
    },
    "j_type": {
      "@id": "tripgain:j_type",
      "@type": "xsd:string"
    },
    "api_name": {
      "@id": "tripgain:api_name",
      "@type": "xsd:string"
    },
    "ingestion_time": {
      "@id": "tripgain:ingestion_time",
      "@type": "xsd:dateTime"
    },
    "FlightSearchResponse": "tripgain:FlightSearchResponse",
    "sres_id": {
      "@id": "tripgain:sres_id"
    },
    "req_time": {
      "@id": "tripgain:req_time",
      "@type": "xsd:dateTime"
    },
    "res_time": {
      "@id": "tripgain:res_time",
      "@type": "xsd:dateTime"
    },
    "duration_ms": {
      "@id": "tripgain:duration_ms",
      "@type": "xsd:integer"
    },
    "status_code": {
      "@id": "tripgain:status_code",
      "@type": "xsd:integer"
    },
    "message": {
      "@id": "tripgain:message",
      "@type": "xsd:string"
    },
    "owcount1": {
      "@id": "tripgain:owcount1",
      "@type": "xsd:integer"
    },
    "rtcount2": {
      "@id": "tripgain:rtcount2",
      "@type": "xsd:integer"
    },
    "GwODSummary": "tripgain:GwODSummary",
    "start_date": {
      "@id": "tripgain:start_date",
      "@type": "xsd:string"
    },
    "end_date": {
      "@id": "tripgain:end_date",
      "@type": "xsd:string"
    },
    "client_id": {
      "@id": "tripgain:client_id"
    },
    "GwRequestSummary": "tripgain:GwRequestSummary",
    "GwResponseInsightRequest": "tripgain:GwResponseInsightRequest",
    "HTTPValidationError": "tripgain:HTTPValidationError",
    "detail": {
      "@id": "tripgain:detail",
      "@container": "@list"
    },
    "HotelSearchResult": "tripgain:HotelSearchResult",
    "hotel_id": {
      "@id": "tripgain:hotel_id",
      "@type": "xsd:string"
    },
    "name": {
      "@id": "tripgain:name",
      "@type": "xsd:string"
    },
    "address": {
      "@id": "tripgain:address",
      "@type": "xsd:string"
    },
    "city": {
      "@id": "tripgain:city",
      "@type": "xsd:string"
    },
    "country": {
      "@id": "tripgain:country",
      "@type": "xsd:string"
    },
    "latitude": {
      "@id": "tripgain:latitude",
      "@type": "xsd:decimal"
    },
    "longitude": {
      "@id": "tripgain:longitude",
      "@type": "xsd:decimal"
    },
    "checkin_date": {
      "@id": "tripgain:checkin_date",
      "@type": "xsd:date"
    },
    "checkout_date": {
      "@id": "tripgain:checkout_date",
      "@type": "xsd:date"
    },
    "currency": {
      "@id": "tripgain:currency",
      "@type": "xsd:string"
    },
    "hotelmappingid": {
      "@id": "tripgain:hotelmappingid"
    },
    "mappingprovider": {
      "@id": "tripgain:mappingprovider"
    },
    "thumbnail": {
      "@id": "tripgain:thumbnail"
    },
    "rating": {
      "@id": "tripgain:rating"
    },
    "normalized_rating": {
      "@id": "tripgain:normalized_rating"
    },
    "rating_count": {
      "@id": "tripgain:rating_count"
    },
    "tags": {
      "@id": "tripgain:tags",
      "@container": "@list"
    },
    "LoginIn": "tripgain:LoginIn",
    "userid": {
      "@id": "tripgain:userid",
      "@type": "xsd:string"
    },
    "password": {
      "@id": "tripgain:password",
      "@type": "xsd:string"
    },
    "LookaheadCreate": "tripgain:LookaheadCreate",
    "lookahead_days": {
      "@id": "tripgain:lookahead_days",
      "@type": "xsd:integer"
    },
    "is_active": {
      "@id": "tripgain:is_active",
      "@type": "xsd:boolean"
    },
    "SectorCreate": "tripgain:SectorCreate",
    "ValidationError": "tripgain:ValidationError",
    "loc": {
      "@id": "tripgain:loc",
      "@container": "@list"
    },
    "msg": {
      "@id": "tripgain:msg",
      "@type": "xsd:string"
    },
    "type": {
      "@id": "tripgain:type",
      "@type": "xsd:string"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "TripGain API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects TripGain's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-27) from openapi/tripgain-com-openapi.json.",
  "dcterms:created": "2026-11-27",
  "dcterms:source": [
    "openapi/tripgain-com-openapi.json"
  ]
}