{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/equativ/main/json-schema/equativ-get-deals-dealid-response-schema.json",
  "title": "GetDealsDealidResponse",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/equativ-openapi-generated.yml#/components/schemas/GetDealsDealidResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The deal ID set by Equativ"
    },
    "dealId": {
      "type": "string",
      "description": "ID used to identify the deal across SSPs and DSPs"
    },
    "name": {
      "type": "string",
      "description": "Deal name"
    },
    "isActive": {
      "type": "boolean",
      "description": "Indicates if the deal is active"
    },
    "pricingModel": {
      "type": "integer",
      "description": "Pricing model identifier"
    },
    "price": {
      "type": "number",
      "description": "Deal price"
    },
    "currency": {
      "type": "string",
      "description": "Deal currency"
    },
    "countryCodes": {
      "type": "array",
      "description": "Targeted country codes"
    },
    "semanticSegmentsTargeting": {
      "type": "string",
      "description": "Semantic segment targeting expression"
    },
    "audienceSegmentsTargeting": {
      "type": "string",
      "description": "Audience segment targeting expression"
    }
  }
}