{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gojinko-com/json-schema/gojinko-com-post-v1-trip-response-schema.json",
  "title": "PostV1TripResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/gojinko-com-openapi-generated.yml#/components/schemas/PostV1TripResponse",
  "type": "object",
  "properties": {
    "200": {
      "type": "string",
      "description": "The trip"
    },
    "400": {
      "type": "string",
      "description": "The request was refused. Invalid traveller names at `upsert_travelers` are refused with `BAD_REQUEST` and `error.field` naming the traveller."
    },
    "401": {
      "type": "string",
      "description": "Authentication required"
    },
    "402": {
      "type": "string",
      "description": "Payment required — organization balance exhausted"
    },
    "404": {
      "type": "string",
      "description": "Resource not found"
    },
    "409": {
      "type": "string",
      "description": "The trip refused the write, and nothing was changed — `updated_at` is untouched."
    },
    "410": {
      "type": "string",
      "description": "The offer named in the request is no longer available, or another resource the request names is gone."
    },
    "422": {
      "type": "string",
      "description": "The request failed validation."
    },
    "429": {
      "type": "string",
      "description": "Rate limit or quota exceeded"
    },
    "502": {
      "type": "string",
      "description": "The travel provider rejected the request, or an upstream call failed"
    },
    "503": {
      "type": "string",
      "description": "No travel provider can serve the request right now"
    },
    "504": {
      "type": "string",
      "description": "The travel provider did not answer in time"
    }
  }
}