{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pairoa-com/json-schema/pairoa-com-publish-need-result-schema.json",
  "title": "PublishNeedResult",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pairoa-com-openapi.yml#/components/schemas/PublishNeedResult",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "need_id": {
      "type": "string",
      "format": "uuid"
    },
    "anonymous_token": {
      "type": "string",
      "description": "Only returned when a new anonymous token was created. CLIENT MUST persist this and pass it on every future call."
    },
    "status": {
      "type": "string",
      "enum": [
        "active"
      ]
    },
    "expires_at": {
      "type": "string",
      "format": "date-time"
    },
    "distilled_preview": {
      "type": "object",
      "properties": {
        "i_seek": {
          "type": "string"
        },
        "i_offer": {
          "type": "string"
        },
        "safe_tags": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "2-6 short tags. These will appear in match-notification emails sent to matched parties. Relay them back to the user."
        },
        "safe_tags_source": {
          "type": "string",
          "enum": [
            "ai_auto",
            "user_edited",
            "ai_fallback"
          ]
        }
      }
    },
    "assistant_message": {
      "type": "string"
    }
  }
}