{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tempguru-co/json-schema/tempguru-co-pricing-response-schema.json",
  "title": "PricingResponse",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tempguru-co-openapi.json#/components/schemas/PricingResponse",
  "type": "object",
  "required": [
    "input",
    "role",
    "role_slug",
    "city",
    "state",
    "city_tier",
    "hourly_range_low",
    "hourly_range_high",
    "currency",
    "all_inclusive"
  ],
  "properties": {
    "input": {
      "type": "object"
    },
    "role": {
      "type": "string"
    },
    "role_slug": {
      "type": "string"
    },
    "city": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "city_tier": {
      "type": "string",
      "enum": [
        "hub",
        "mid",
        "small"
      ]
    },
    "hourly_range_low": {
      "type": "number"
    },
    "hourly_range_high": {
      "type": "number"
    },
    "currency": {
      "type": "string",
      "enum": [
        "USD",
        "CAD"
      ]
    },
    "all_inclusive": {
      "type": "string"
    },
    "tier_definition": {
      "type": "string"
    },
    "all_tiers_for_context": {
      "type": "object",
      "properties": {
        "small": {
          "$ref": "#/$defs/PriceBand"
        },
        "mid": {
          "$ref": "#/$defs/PriceBand"
        },
        "hub": {
          "$ref": "#/$defs/PriceBand"
        }
      }
    },
    "pricing_notes": {
      "type": "string"
    },
    "role_note": {
      "type": "string",
      "description": "Caveat emitted when the requested phrasing maps to a constrained service, for example security mapping to unarmed Crowd Control rather than licensed guards."
    }
  },
  "$defs": {
    "PriceBand": {
      "type": "object",
      "required": [
        "low",
        "high"
      ],
      "properties": {
        "low": {
          "type": "number",
          "description": "Lower end of the hourly rate range (USD)."
        },
        "high": {
          "type": "number",
          "description": "Upper end of the hourly rate range (USD)."
        }
      }
    }
  }
}