{"openapi":"3.1.0","info":{"title":"PropFixly Resolution API","version":"0.3.0-controlled-pilot","description":"Goal-oriented property resolution API with OAuth/MCP, explicit bounded service commitments, durable operations handoff, signed callback infrastructure, and same-resolution remediation. Physical execution remains human-operated; no autonomous dispatch, payment, or independent media verification is claimed."},"servers":[{"url":"https://api.propfixly.com"}],"paths":{"/health":{"get":{"operationId":"health","security":[],"responses":{"200":{"description":"Process health only; not proof of database access","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/v1/readiness":{"get":{"operationId":"readiness","security":[{"operatorAuth":[]}],"responses":{"200":{"description":"Authenticated database and lifecycle RPC readiness","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Missing or invalid bearer credential","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Not authorized for this action or property","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found or not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"409":{"description":"Version, idempotency, commitment, budget, or lifecycle conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Invalid references or unsupported request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Dependency unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}}}}},"/v1/properties":{"get":{"operationId":"listProperties","security":[{"bearerAuth":[]}],"parameters":[{"in":"query","name":"limit","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"in":"query","name":"offset","schema":{"type":"integer","minimum":0,"maximum":10000,"default":0}}],"responses":{"200":{"description":"Only properties authorized for this connection","content":{"application/json":{"schema":{"type":"object","properties":{"properties":{"type":"array","items":{"type":"object"}},"next_offset":{"type":["integer","null"]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Missing or invalid bearer credential","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Not authorized for this action or property","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found or not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"409":{"description":"Version, idempotency, commitment, budget, or lifecycle conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Invalid references or unsupported request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Dependency unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}}}}},"/v1/resolve":{"post":{"operationId":"resolve","security":[{"bearerAuth":[]}],"description":"Goal-oriented submission. Provide a reported problem or desired property condition and constraints; PropFixly owns internal planning. Submission is not automatically an accepted commitment, dispatch, or charge.","parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":1,"maxLength":200},"description":"Stable ASCII key for this action. Retry the same normalized request/key; changed payloads return 409."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"property_id":{"type":"string","format":"uuid"},"unit_id":{"type":"string","format":"uuid"},"problem":{"oneOf":[{"type":"string","minLength":1,"maxLength":4000},{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":4000},"category":{"type":"string","minLength":1,"maxLength":80},"subcategory":{"type":"string","minLength":1,"maxLength":80},"symptoms":{"type":"object"}},"required":["description"],"additionalProperties":false}]},"desired_condition":{"type":"string","minLength":1,"maxLength":4000},"urgency":{"type":"string","enum":["low","medium","high","emergency"],"default":"medium"},"constraints":{"type":"object","properties":{"max_spend_cents":{"type":"integer","minimum":0,"maximum":2147483647,"description":"Requested cumulative hard cap across recorded execution attempts; not itself authority to spend."},"access_window":{"type":"string","minLength":1,"maxLength":500},"deadline_at":{"type":"string","format":"date-time","description":"Requested latest completion time; not accepted until PropFixly explicitly commits to it."},"replacement_requires_approval":{"type":"boolean"}},"required":[],"additionalProperties":false},"source":{"type":"object","properties":{"system":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":200}},"required":[],"additionalProperties":false},"test_mode":{"type":"boolean","default":false}},"required":["property_id"],"additionalProperties":false}}}},"responses":{"200":{"description":"Idempotent replay","content":{"application/json":{"schema":{"type":"object","properties":{"resolution":{"$ref":"#/components/schemas/Resolution"},"request_id":{"type":"string"},"replayed":{"type":"boolean"}},"required":["resolution"]}}}},"201":{"description":"Submitted","content":{"application/json":{"schema":{"type":"object","properties":{"resolution":{"$ref":"#/components/schemas/Resolution"},"request_id":{"type":"string"},"replayed":{"type":"boolean"}},"required":["resolution"]}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Missing or invalid bearer credential","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Not authorized for this action or property","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found or not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"409":{"description":"Version, idempotency, commitment, budget, or lifecycle conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Invalid references or unsupported request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Dependency unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}}}}},"/v1/resolutions":{"post":{"operationId":"createResolution","security":[{"bearerAuth":[]}],"description":"Lower-level normalized request submission. No contractor dispatch, spending, or accepted SLA occurs on create.","parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":1,"maxLength":200},"description":"Stable ASCII key for this action. Retry the same normalized request/key; changed payloads return 409."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"property_id":{"type":"string","format":"uuid"},"owner_id":{"type":["string","null"],"format":"uuid"},"unit_id":{"type":["string","null"],"format":"uuid"},"tenant_contact_id":{"type":["string","null"],"format":"uuid"},"problem":{"oneOf":[{"type":"string","minLength":1,"maxLength":4000},{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":4000},"category":{"type":"string","minLength":1,"maxLength":80},"subcategory":{"type":"string","minLength":1,"maxLength":80},"symptoms":{"type":"object"}},"required":["description"],"additionalProperties":false}]},"urgency":{"type":"string","enum":["low","medium","high","emergency"],"default":"medium"},"constraints":{"type":"object","properties":{"max_spend_cents":{"type":"integer","minimum":0,"maximum":2147483647,"description":"Requested cumulative hard cap across recorded execution attempts; not itself authority to spend."},"access_window":{"type":"string","minLength":1,"maxLength":500},"deadline_at":{"type":"string","format":"date-time","description":"Requested latest completion time; not accepted until PropFixly explicitly commits to it."},"replacement_requires_approval":{"type":"boolean"}},"required":[],"additionalProperties":false},"authorization_policy":{"type":"object","properties":{"approval_required_above_cents":{"type":"integer","minimum":0,"maximum":2147483647,"description":"USD cents."}},"required":[],"additionalProperties":false},"sla":{"type":"object","properties":{"target_resolution_at":{"type":"string","format":"date-time"}},"required":[],"additionalProperties":false},"source":{"type":"object","properties":{"system":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":200}},"required":[],"additionalProperties":false},"test_mode":{"type":"boolean","default":false}},"required":["property_id","problem"],"additionalProperties":false}}}},"responses":{"200":{"description":"Idempotent replay with current resolution snapshot","content":{"application/json":{"schema":{"type":"object","properties":{"resolution":{"$ref":"#/components/schemas/Resolution"},"request_id":{"type":"string"},"replayed":{"type":"boolean"}},"required":["resolution"]}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"type":"object","properties":{"resolution":{"$ref":"#/components/schemas/Resolution"},"request_id":{"type":"string"},"replayed":{"type":"boolean"}},"required":["resolution"]}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Missing or invalid bearer credential","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Not authorized for this action or property","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found or not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"409":{"description":"Version, idempotency, commitment, budget, or lifecycle conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Invalid references or unsupported request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Dependency unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}}}},"get":{"operationId":"listResolutions","security":[{"bearerAuth":[]}],"parameters":[{"in":"query","name":"limit","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"in":"query","name":"offset","schema":{"type":"integer","minimum":0,"maximum":10000,"default":0}},{"in":"query","name":"test_mode","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Scoped queue; synthetic tests excluded by default","content":{"application/json":{"schema":{"type":"object","properties":{"resolutions":{"type":"array","items":{"type":"object"}},"next_offset":{"type":["integer","null"]}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Missing or invalid bearer credential","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Not authorized for this action or property","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found or not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"409":{"description":"Version, idempotency, commitment, budget, or lifecycle conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Invalid references or unsupported request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Dependency unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}}}}},"/v1/resolutions/{resolution_id}":{"get":{"operationId":"getResolution","security":[{"bearerAuth":[]}],"parameters":[{"in":"path","name":"resolution_id","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Current resolution snapshot","content":{"application/json":{"schema":{"type":"object","properties":{"resolution":{"$ref":"#/components/schemas/Resolution"},"request_id":{"type":"string"},"replayed":{"type":"boolean"}},"required":["resolution"]}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Missing or invalid bearer credential","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Not authorized for this action or property","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found or not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"409":{"description":"Version, idempotency, commitment, budget, or lifecycle conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Invalid references or unsupported request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Dependency unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}}}}},"/v1/resolutions/{resolution_id}/events":{"get":{"operationId":"getResolutionEvents","security":[{"bearerAuth":[]}],"parameters":[{"in":"path","name":"resolution_id","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"query","name":"after_version","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"At most 100 ordered API events; use next_after_version to continue","content":{"application/json":{"schema":{"type":"object","properties":{"events":{"type":"array","items":{"type":"object"}},"next_after_version":{"type":"integer"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Missing or invalid bearer credential","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Not authorized for this action or property","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found or not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"409":{"description":"Version, idempotency, commitment, budget, or lifecycle conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Invalid references or unsupported request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Dependency unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}}}}},"/v1/resolutions/{resolution_id}/acknowledge":{"post":{"operationId":"acknowledgeResolution","security":[{"operatorAuth":[]}],"description":"Operator claims/acknowledges responsibility for reviewing this submitted resolution.","parameters":[{"in":"path","name":"resolution_id","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":1,"maxLength":200},"description":"Stable ASCII key for this action. Retry the same normalized request/key; changed payloads return 409."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expected_version":{"type":"integer","minimum":1},"operator_reference":{"type":"string","minLength":1,"maxLength":1000}},"required":["expected_version","operator_reference"],"additionalProperties":false}}}},"responses":{"200":{"description":"Recorded operation and current snapshot","content":{"application/json":{"schema":{"type":"object","properties":{"operation":{"type":"object"},"resolution":{"$ref":"#/components/schemas/Resolution"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Missing or invalid bearer credential","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Not authorized for this action or property","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found or not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"409":{"description":"Version, idempotency, commitment, budget, or lifecycle conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Invalid references or unsupported request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Dependency unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}}}}},"/v1/resolutions/{resolution_id}/commit":{"post":{"operationId":"commitResolution","security":[{"operatorAuth":[]}],"description":"Explicit admission decision: accept a bounded/testable outcome within requested constraints, decline it, or request a customer decision. Acceptance is separate from later quote approval and spending authority.","parameters":[{"in":"path","name":"resolution_id","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":1,"maxLength":200},"description":"Stable ASCII key for this action. Retry the same normalized request/key; changed payloads return 409."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expected_version":{"type":"integer","minimum":1},"decision":{"type":"string","enum":["accepted","declined","requires_decision"]},"decision_reference":{"type":"string","minLength":1,"maxLength":1000},"accepted_condition":{"type":"string","minLength":1,"maxLength":4000},"acceptance_criteria":{"type":"array","minItems":1,"maxItems":50,"items":{"type":"string","minLength":1,"maxLength":1000}},"exclusions":{"type":"array","maxItems":50,"items":{"type":"string","minLength":1,"maxLength":1000}},"accepted_max_spend_cents":{"type":"integer","minimum":0,"maximum":2147483647,"description":"USD cents."},"accepted_deadline_at":{"type":"string","format":"date-time"},"remediation_terms":{"type":"object"},"reason":{"type":"string","minLength":1,"maxLength":2000}},"required":["expected_version","decision","decision_reference"],"additionalProperties":false}}}},"responses":{"200":{"description":"Recorded operation and current snapshot","content":{"application/json":{"schema":{"type":"object","properties":{"operation":{"type":"object"},"resolution":{"$ref":"#/components/schemas/Resolution"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Missing or invalid bearer credential","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Not authorized for this action or property","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found or not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"409":{"description":"Version, idempotency, commitment, budget, or lifecycle conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Invalid references or unsupported request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Dependency unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}}}}},"/v1/resolutions/{resolution_id}/reopen":{"post":{"operationId":"reopenResolution","security":[{"operatorAuth":[]}],"description":"Open a remediation cycle under the same resolution_id after a previously verified completion.","parameters":[{"in":"path","name":"resolution_id","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":1,"maxLength":200},"description":"Stable ASCII key for this action. Retry the same normalized request/key; changed payloads return 409."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expected_version":{"type":"integer","minimum":1},"reason":{"type":"string","minLength":1,"maxLength":1000},"remediation_reference":{"type":"string","minLength":1,"maxLength":1000}},"required":["expected_version","reason","remediation_reference"],"additionalProperties":false}}}},"responses":{"200":{"description":"Recorded operation and current snapshot","content":{"application/json":{"schema":{"type":"object","properties":{"operation":{"type":"object"},"resolution":{"$ref":"#/components/schemas/Resolution"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Missing or invalid bearer credential","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Not authorized for this action or property","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found or not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"409":{"description":"Version, idempotency, commitment, budget, or lifecycle conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Invalid references or unsupported request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Dependency unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}}}}},"/v1/operations/handoffs":{"get":{"operationId":"listOperationsHandoffs","security":[{"operatorAuth":[]}],"parameters":[{"in":"query","name":"state","schema":{"type":"string","enum":["pending","overdue","acknowledged","all"],"default":"pending"}},{"in":"query","name":"limit","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}}],"responses":{"200":{"description":"Durable operations handoff queue","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Missing or invalid bearer credential","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Not authorized for this action or property","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found or not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"409":{"description":"Version, idempotency, commitment, budget, or lifecycle conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Invalid references or unsupported request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Dependency unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}}}}},"/v1/oauth/property-authorizations":{"post":{"operationId":"setOAuthPropertyAuthorizations","security":[{"operatorAuth":[]}],"description":"Pre-authorize exact properties for an authenticated PropFixly account. OAuth consent can only narrow this set, never expand it.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","format":"email"},"property_ids":{"type":"array","maxItems":1000,"items":{"type":"string","format":"uuid"}},"authorization_reference":{"type":"string","minLength":1,"maxLength":500},"expires_in_days":{"type":"integer","minimum":1,"maximum":365,"default":30}},"required":["email","property_ids","authorization_reference"],"additionalProperties":false}}}},"responses":{"200":{"description":"Account property authorization updated","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Missing or invalid bearer credential","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Not authorized for this action or property","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found or not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"409":{"description":"Version, idempotency, commitment, budget, or lifecycle conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Invalid references or unsupported request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Dependency unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}}}}},"/v1/clients":{"post":{"operationId":"createClient","security":[{"operatorAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"property_ids":{"type":"array","minItems":1,"maxItems":1000,"items":{"type":"string","format":"uuid"}},"expires_in_days":{"type":"integer","minimum":1,"maximum":90,"default":7}},"required":["name","property_ids"],"additionalProperties":false}}}},"responses":{"201":{"description":"Scoped client token returned once; do not log it","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Missing or invalid bearer credential","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Not authorized for this action or property","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found or not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"409":{"description":"Version, idempotency, commitment, budget, or lifecycle conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Invalid references or unsupported request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Dependency unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}}}}},"/v1/clients/{client_id}/revoke":{"post":{"operationId":"revokeClient","security":[{"operatorAuth":[]}],"parameters":[{"in":"path","name":"client_id","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Client revoked","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Missing or invalid bearer credential","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Not authorized for this action or property","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found or not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"409":{"description":"Version, idempotency, commitment, budget, or lifecycle conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Invalid references or unsupported request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Dependency unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}}}}},"/v1/resolutions/{resolution_id}/diagnose":{"post":{"operationId":"diagnose","description":"Operator records diagnosis. The customer agent does not orchestrate this step.","security":[{"operatorAuth":[]}],"parameters":[{"in":"path","name":"resolution_id","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":1,"maxLength":200},"description":"Stable ASCII key for this action. Retry the same normalized request/key; changed payloads return 409."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expected_version":{"type":"integer","minimum":1},"summary":{"type":"string","minLength":1,"maxLength":4000},"recommended_next_action":{"type":"string","minLength":1,"maxLength":4000},"confidence":{"type":"number","minimum":0,"maximum":1}},"required":["expected_version","summary","recommended_next_action"],"additionalProperties":false}}}},"responses":{"200":{"description":"Recorded operation and current snapshot","content":{"application/json":{"schema":{"type":"object","properties":{"operation":{"type":"object"},"resolution":{"$ref":"#/components/schemas/Resolution"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Missing or invalid bearer credential","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Not authorized for this action or property","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found or not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"409":{"description":"Version, idempotency, commitment, budget, or lifecycle conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Invalid references or unsupported request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Dependency unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}}}}},"/v1/resolutions/{resolution_id}/quote":{"post":{"operationId":"quote","description":"Operator records/selects a quote and requires fresh approval.","security":[{"operatorAuth":[]}],"parameters":[{"in":"path","name":"resolution_id","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":1,"maxLength":200},"description":"Stable ASCII key for this action. Retry the same normalized request/key; changed payloads return 409."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expected_version":{"type":"integer","minimum":1},"description":{"type":"string","minLength":1,"maxLength":4000},"amount_cents":{"type":"integer","minimum":0,"maximum":2147483647,"description":"USD cents."}},"required":["expected_version","description","amount_cents"],"additionalProperties":false}}}},"responses":{"200":{"description":"Recorded operation and current snapshot","content":{"application/json":{"schema":{"type":"object","properties":{"operation":{"type":"object"},"resolution":{"$ref":"#/components/schemas/Resolution"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Missing or invalid bearer credential","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Not authorized for this action or property","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found or not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"409":{"description":"Version, idempotency, commitment, budget, or lifecycle conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Invalid references or unsupported request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Dependency unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}}}}},"/v1/resolutions/{resolution_id}/approve":{"post":{"operationId":"approve","description":"Operator records actual human authorization within the remaining cumulative cap. No charge or automatic dispatch.","security":[{"operatorAuth":[]}],"parameters":[{"in":"path","name":"resolution_id","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":1,"maxLength":200},"description":"Stable ASCII key for this action. Retry the same normalized request/key; changed payloads return 409."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expected_version":{"type":"integer","minimum":1},"quote_id":{"type":"string","format":"uuid"},"amount_cents":{"type":"integer","minimum":0,"maximum":2147483647,"description":"USD cents."},"approval_reference":{"type":"string","minLength":1,"maxLength":1000}},"required":["expected_version","quote_id","amount_cents","approval_reference"],"additionalProperties":false}}}},"responses":{"200":{"description":"Recorded operation and current snapshot","content":{"application/json":{"schema":{"type":"object","properties":{"operation":{"type":"object"},"resolution":{"$ref":"#/components/schemas/Resolution"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Missing or invalid bearer credential","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Not authorized for this action or property","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found or not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"409":{"description":"Version, idempotency, commitment, budget, or lifecycle conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Invalid references or unsupported request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Dependency unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}}}}},"/v1/resolutions/{resolution_id}/record-execution":{"post":{"operationId":"record_execution","description":"Record externally arranged appointment/start/completion. A completion report is not a verified result.","security":[{"operatorAuth":[]}],"parameters":[{"in":"path","name":"resolution_id","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":1,"maxLength":200},"description":"Stable ASCII key for this action. Retry the same normalized request/key; changed payloads return 409."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expected_version":{"type":"integer","minimum":1},"status":{"type":"string","enum":["scheduled","in_progress","completed"]},"reference":{"type":"string","minLength":1,"maxLength":1000},"scheduled_start":{"type":"string","format":"date-time"}},"required":["expected_version","status","reference"],"additionalProperties":false}}}},"responses":{"200":{"description":"Recorded operation and current snapshot","content":{"application/json":{"schema":{"type":"object","properties":{"operation":{"type":"object"},"resolution":{"$ref":"#/components/schemas/Resolution"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Missing or invalid bearer credential","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Not authorized for this action or property","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found or not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"409":{"description":"Version, idempotency, commitment, budget, or lifecycle conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Invalid references or unsupported request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Dependency unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}}}}},"/v1/resolutions/{resolution_id}/evidence":{"post":{"operationId":"evidence","description":"Register a consented HTTPS evidence reference. The API does not fetch or authenticate arbitrary caller URLs.","security":[{"operatorAuth":[]}],"parameters":[{"in":"path","name":"resolution_id","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":1,"maxLength":200},"description":"Stable ASCII key for this action. Retry the same normalized request/key; changed payloads return 409."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expected_version":{"type":"integer","minimum":1},"media_type":{"type":"string","enum":["image","video","document"]},"media_url":{"type":"string","format":"uri","pattern":"^https://"},"stage":{"type":"string","enum":["before","diagnosis","during","after","invoice","other"]},"description":{"type":"string","minLength":1,"maxLength":4000},"consent_status":{"type":"string","const":"granted"},"final_test":{"type":"boolean"}},"required":["expected_version","media_type","media_url","stage","description","consent_status"],"additionalProperties":false}}}},"responses":{"200":{"description":"Recorded operation and current snapshot","content":{"application/json":{"schema":{"type":"object","properties":{"operation":{"type":"object"},"resolution":{"$ref":"#/components/schemas/Resolution"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Missing or invalid bearer credential","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Not authorized for this action or property","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found or not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"409":{"description":"Version, idempotency, commitment, budget, or lifecycle conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Invalid references or unsupported request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Dependency unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}}}}},"/v1/resolutions/{resolution_id}/verify":{"post":{"operationId":"verify","description":"Operator records functional verification after reported work completion. Requires same-resolution final-test evidence.","security":[{"operatorAuth":[]}],"parameters":[{"in":"path","name":"resolution_id","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":1,"maxLength":200},"description":"Stable ASCII key for this action. Retry the same normalized request/key; changed payloads return 409."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expected_version":{"type":"integer","minimum":1},"resolved":{"type":"boolean"},"root_cause":{"type":"string","minLength":1,"maxLength":4000},"repair_performed":{"type":"string","minLength":1,"maxLength":4000},"verification_reference":{"type":"string","minLength":1,"maxLength":1000},"evidence_ids":{"type":"array","minItems":1,"maxItems":20,"items":{"type":"string","format":"uuid"}}},"required":["expected_version","resolved","root_cause","repair_performed","verification_reference","evidence_ids"],"additionalProperties":false}}}},"responses":{"200":{"description":"Recorded operation and current snapshot","content":{"application/json":{"schema":{"type":"object","properties":{"operation":{"type":"object"},"resolution":{"$ref":"#/components/schemas/Resolution"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Missing or invalid bearer credential","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Not authorized for this action or property","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found or not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"409":{"description":"Version, idempotency, commitment, budget, or lifecycle conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Invalid references or unsupported request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Dependency unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}}}}},"/v1/resolutions/{resolution_id}/cancel":{"post":{"operationId":"cancel","description":"Cancel before execution, otherwise request cancellation follow-up. Available to the scoped client; no refund is implied.","security":[{"bearerAuth":[]}],"parameters":[{"in":"path","name":"resolution_id","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":1,"maxLength":200},"description":"Stable ASCII key for this action. Retry the same normalized request/key; changed payloads return 409."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expected_version":{"type":"integer","minimum":1},"reason":{"type":"string","minLength":1,"maxLength":1000}},"required":["expected_version","reason"],"additionalProperties":false}}}},"responses":{"200":{"description":"Recorded operation and current snapshot","content":{"application/json":{"schema":{"type":"object","properties":{"operation":{"type":"object"},"resolution":{"$ref":"#/components/schemas/Resolution"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Missing or invalid bearer credential","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Not authorized for this action or property","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found or not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"409":{"description":"Version, idempotency, commitment, budget, or lifecycle conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Invalid references or unsupported request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Dependency unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}}}}},"/v1/resolutions/{resolution_id}/confirm-cancel":{"post":{"operationId":"confirm_cancel","description":"Operator records confirmation that external work was stopped.","security":[{"operatorAuth":[]}],"parameters":[{"in":"path","name":"resolution_id","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":1,"maxLength":200},"description":"Stable ASCII key for this action. Retry the same normalized request/key; changed payloads return 409."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expected_version":{"type":"integer","minimum":1},"confirmation_reference":{"type":"string","minLength":1,"maxLength":1000}},"required":["expected_version","confirmation_reference"],"additionalProperties":false}}}},"responses":{"200":{"description":"Recorded operation and current snapshot","content":{"application/json":{"schema":{"type":"object","properties":{"operation":{"type":"object"},"resolution":{"$ref":"#/components/schemas/Resolution"}}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Missing or invalid bearer credential","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Not authorized for this action or property","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found or not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"409":{"description":"Version, idempotency, commitment, budget, or lifecycle conflict","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"422":{"description":"Invalid references or unsupported request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}},"503":{"description":"Dependency unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"A property-scoped client token or OAuth access token with a live server-side property grant."},"operatorAuth":{"type":"http","scheme":"bearer","description":"Server-side PropFixly operator credential. Never place it in an agent or browser."}},"schemas":{"Resolution":{"type":"object","required":["resolution_id","status","version","test_mode","property","issue","constraints","diagnosis","scope","estimate","authorization","commitment","sla","execution","evidence","verified_result"],"properties":{"resolution_id":{"type":"string","format":"uuid"},"status":{"type":"string","minLength":1,"maxLength":80},"version":{"type":"integer","minimum":1},"test_mode":{"type":"boolean"},"property":{"type":["object","null"]},"requested_outcome":{"type":["string","null"]},"issue":{"type":"object"},"constraints":{"type":"object"},"diagnosis":{"type":"object"},"scope":{"type":"object"},"estimate":{"type":["object","null"]},"authorization":{"type":"object","description":"Requested policy plus operator-recorded decision; OAuth property scope is separate from spending authority."},"commitment":{"type":"object","required":["status"],"properties":{"status":{"type":"string","enum":["submitted","evaluating","accepted","declined","requires_decision"]},"accepted_condition":{"type":["string","null"]},"acceptance_criteria":{"type":"array","items":{"type":"string"}},"exclusions":{"type":"array","items":{"type":"string"}},"accepted_max_spend_cents":{"type":["integer","null"],"minimum":0},"accepted_deadline_at":{"type":["string","null"],"format":"date-time"},"remediation_terms":{"type":"object"},"decision_reason":{"type":["string","null"]},"accepted_at":{"type":["string","null"],"format":"date-time"},"decided_at":{"type":["string","null"],"format":"date-time"}}},"sla":{"type":"object","description":"Requested SLA plus any explicitly accepted bounded commitment. guaranteed remains false unless a future product explicitly offers a guarantee."},"execution":{"type":["object","null"],"description":"Recorded external execution attempts; not proof of dispatch by this API."},"handoff":{"type":["object","null"],"description":"Durable PropFixly operations handoff and acknowledgement status."},"evidence":{"type":"array","items":{"type":"object"}},"verified_result":{"type":["object","null"],"description":"Operator-recorded verification attestation. Not independent media authentication."},"remediation":{"type":["object","null"],"description":"Latest same-resolution remediation cycle, if the previously verified outcome is reopened."}}},"Commitment":{"type":"object","required":["status"],"properties":{"status":{"type":"string","enum":["submitted","evaluating","accepted","declined","requires_decision"]},"accepted_condition":{"type":["string","null"]},"acceptance_criteria":{"type":"array","items":{"type":"string"}},"exclusions":{"type":"array","items":{"type":"string"}},"accepted_max_spend_cents":{"type":["integer","null"],"minimum":0},"accepted_deadline_at":{"type":["string","null"],"format":"date-time"},"remediation_terms":{"type":"object"},"decision_reason":{"type":["string","null"]},"accepted_at":{"type":["string","null"],"format":"date-time"},"decided_at":{"type":["string","null"],"format":"date-time"}}},"CreateResolution":{"type":"object","properties":{"property_id":{"type":"string","format":"uuid"},"owner_id":{"type":["string","null"],"format":"uuid"},"unit_id":{"type":["string","null"],"format":"uuid"},"tenant_contact_id":{"type":["string","null"],"format":"uuid"},"problem":{"oneOf":[{"type":"string","minLength":1,"maxLength":4000},{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":4000},"category":{"type":"string","minLength":1,"maxLength":80},"subcategory":{"type":"string","minLength":1,"maxLength":80},"symptoms":{"type":"object"}},"required":["description"],"additionalProperties":false}]},"urgency":{"type":"string","enum":["low","medium","high","emergency"],"default":"medium"},"constraints":{"type":"object","properties":{"max_spend_cents":{"type":"integer","minimum":0,"maximum":2147483647,"description":"Requested cumulative hard cap across recorded execution attempts; not itself authority to spend."},"access_window":{"type":"string","minLength":1,"maxLength":500},"deadline_at":{"type":"string","format":"date-time","description":"Requested latest completion time; not accepted until PropFixly explicitly commits to it."},"replacement_requires_approval":{"type":"boolean"}},"required":[],"additionalProperties":false},"authorization_policy":{"type":"object","properties":{"approval_required_above_cents":{"type":"integer","minimum":0,"maximum":2147483647,"description":"USD cents."}},"required":[],"additionalProperties":false},"sla":{"type":"object","properties":{"target_resolution_at":{"type":"string","format":"date-time"}},"required":[],"additionalProperties":false},"source":{"type":"object","properties":{"system":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":200}},"required":[],"additionalProperties":false},"test_mode":{"type":"boolean","default":false}},"required":["property_id","problem"],"additionalProperties":false},"GoalResolution":{"type":"object","properties":{"property_id":{"type":"string","format":"uuid"},"unit_id":{"type":"string","format":"uuid"},"problem":{"oneOf":[{"type":"string","minLength":1,"maxLength":4000},{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":4000},"category":{"type":"string","minLength":1,"maxLength":80},"subcategory":{"type":"string","minLength":1,"maxLength":80},"symptoms":{"type":"object"}},"required":["description"],"additionalProperties":false}]},"desired_condition":{"type":"string","minLength":1,"maxLength":4000},"urgency":{"type":"string","enum":["low","medium","high","emergency"],"default":"medium"},"constraints":{"type":"object","properties":{"max_spend_cents":{"type":"integer","minimum":0,"maximum":2147483647,"description":"Requested cumulative hard cap across recorded execution attempts; not itself authority to spend."},"access_window":{"type":"string","minLength":1,"maxLength":500},"deadline_at":{"type":"string","format":"date-time","description":"Requested latest completion time; not accepted until PropFixly explicitly commits to it."},"replacement_requires_approval":{"type":"boolean"}},"required":[],"additionalProperties":false},"source":{"type":"object","properties":{"system":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":200}},"required":[],"additionalProperties":false},"test_mode":{"type":"boolean","default":false}},"required":["property_id"],"additionalProperties":false},"Error":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"},"request_id":{"type":"string"}},"required":["error"]}}}}