changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "description": "A full wage-to-billed-rate estimate, or an unknown/missing trade error — never a fabricated number.",
+ "oneOf": [
+ {
+ "properties": {
+ "basis": {
+ "const": "wage_to_billed_rate_transform",
+ "type": "string"
+ },
+ "billed_estimate": {
+ "additionalProperties": true,
+ "description": "What a buyer pays — every component of the arithmetic, re-derivable via formula.",
+ "properties": {
+ "billed_hourly_rate_cents": {
+ "type": "integer"
+ },
+ "billed_hourly_rate_routine_cents": {
+ "type": "integer"
+ },
+ "currency": {
+ "const": "USD",
+ "type": "string"
+ },
+ "formula": {
+ "type": "string"
+ },
+ "labor_burden_multiplier": {
+ "type": "number"
+ },
+ "minimum_billable_hours": {
+ "type": "number"
+ },
+ "total_cents": {
+ "type": "integer"
+ },
+ "total_usd": {
+ "type": "number"
+ },
+ "trip_fee_cents": {
+ "type": "integer"
+ },
+ "urgency_multiplier": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "disclosure": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "estimated": {
+ "const": true,
+ "type": "boolean"
+ },
+ "estimated_cost_cents": {
+ "description": "Alias of billed_estimate.total_cents.",
+ "type": "integer"
+ },
+ "location_resolution": {
+ "additionalProperties": true,
+ "properties": {
+ "location_sensitive": {
+ "type": "boolean"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "resolved_metro": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "resolved_metro_label": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "scope": {
+ "enum": [
+ "metro_cited",
+ "national_baseline",
+ "mena_coverage_beta"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "rate_card": {
+ "properties": {
+ "median_dollars": {
+ "type": "number"
+ },
+ "p25_dollars": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "p75_dollars": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "rate_model_version": {
+ "type": "string"
+ },
+ "source": {
+ "const": "public_rate_card",
+ "type": "string"
+ },
+ "trade": {
+ "type": "string"
+ },
+ "urgency": {
+ "enum": [
+ "emergency",
+ "urgent",
+ "routine",
+ "scheduled"
+ ],
+ "type": "string"
+ },
+ "wage_basis": {
+ "additionalProperties": true,
+ "description": "The cited hourly WAGE input — NOT the price.",
+ "properties": {
+ "bls_occ_code": {
+ "type": "string"
+ },
+ "kind": {
+ "const": "hourly_wage",
+ "type": "string"
+ },
+ "median_cents": {
+ "type": "integer"
+ },
+ "note": {
+ "type": "string"
+ },
+ "p25_cents": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "p75_cents": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "scope_label": {
+ "type": "string"
+ },
+ "source_url": {
+ "type": "string"
+ },
+ "trade_label": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "estimated",
+ "source",
+ "basis",
+ "rate_model_version",
+ "trade",
+ "urgency",
+ "location_resolution",
+ "wage_basis",
+ "billed_estimate",
+ "estimated_cost_cents",
+ "rate_card",
+ "disclosure"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "Trade was missing or not recognized. No number is fabricated.",
+ "properties": {
+ "error": {
+ "enum": [
+ "unknown_trade",
+ "trade_required"
+ ],
+ "type": "string"
+ },
+ "estimated": {
+ "const": false,
+ "type": "boolean"
+ },
+ "known_trades": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "source": {
+ "const": "public_rate_card",
+ "type": "string"
+ },
+ "trade": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "valid_trades": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "estimated",
+ "source",
+ "error",
+ "trade",
+ "valid_trades",
+ "known_trades"
+ ],
+ "type": "object"
+ }
+ ],
+ "type": "object"
+}