---
title: "deals.flag-request@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/deals.flag-request"
updated: null
---

# deals.flag-request@1 · OpenVibe.Services

HTML: [deals.flag-request@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/deals.flag-request)

# DealsFlagRequest `deals.flag-request@1`

Generated at 2026-12-01 05:42:00 UTC from [`openvibe-contracts v0.454.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.454.0) and [`openvibe-sdk v0.193.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.193.0).

- Version: 1.0.0
- Owner: deals
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/deals/flag-request.v1.json`](/docs/contracts/deals.flag-request.json)

deals.flag-request@1: the body of POST /api/v1/offers/:id/flags on OpenVibe.Deals (deals.flag.create; a person): { kind, reason?, duplicate\_of? } — duplicate\_of (the other deal, id, slug or /d/ link) is required for kind duplicate. An open flag of the same kind by the same person is refreshed, not repeated.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `kind` | enum | yes |  | - `one of "expired", "price_wrong", "spam", "duplicate", "other"` |
| `reason` | string \| null |  |  | - `maxLength 500` |
| `duplicate_of` | string \| null |  |  |  |

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: duplicate

~~~~
{
  "kind": "duplicate",
  "duplicate_of": "https://openvibe.deals/d/usb-c-capture-card-79"
}
~~~~

Rejected: duplicate-without-target

~~~~
{
  "kind": "duplicate",
  "reason": "seen it"
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('deals.flag-request@1', value);   // { valid, errors: [{ path, message }] }
~~~~
