{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/everstage/json-schema/everstage-quote-status-response-model-schema.json",
  "title": "QuoteStatusResponseModel",
  "description": "Response body for POST /v1/cpq/quotes/{quote_id}/status.",
  "x-generated": "2026-12-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/everstage-openapi.json#/components/schemas/QuoteStatusResponseModel",
  "properties": {
    "quote_id": {
      "type": "string",
      "title": "Quote Id",
      "description": "Echoed from the path parameter."
    },
    "status": {
      "type": "string",
      "title": "Status",
      "description": "Always 'accepted' on success."
    },
    "message": {
      "type": "string",
      "title": "Message",
      "description": "Human-readable outcome summary."
    },
    "processed_at": {
      "type": "string",
      "format": "date-time",
      "title": "Processed At",
      "description": "UTC timestamp when the server processed the request."
    },
    "previous_quote_status": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Previous Quote Status",
      "description": "Quote status immediately before this transition."
    },
    "requested_action": {
      "type": "string",
      "title": "Requested Action",
      "description": "Echoed from the request action field."
    },
    "post_update_quote_status": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Post Update Quote Status",
      "description": "Quote status after the transition. For 'publish', this may be Pending Approval or Approved depending on approval rule evaluation."
    }
  },
  "type": "object",
  "required": [
    "quote_id",
    "status",
    "message",
    "processed_at",
    "requested_action"
  ]
}