1 /**
2 * @schema CampaignResponse
3 * type: object
4 * description: The campaign's details.
5 * x-schemaName: CampaignResponse
6 * required:
7 * - id
8 * - name
9 * - description
10 * - currency
11 * - campaign_identifier
12 * - starts_at
13 * - ends_at
14 * - budget
15 * properties:
16 * id:
17 * type: string
18 * title: id
19 * description: The campaign's ID.
20 * name:
21 * type: string
22 * title: name
23 * description: The campaign's name.
24 * description:
25 * type: string
26 * title: description
27 * description: The campaign's description.
28 * currency:
29 * type: string
30 * title: currency
31 * description: The campaign's currency.
32 * campaign_identifier:
33 * type: string
34 * title: campaign_identifier
35 * description: The campaign's campaign identifier.
36 * starts_at:
37 * type: string
38 * title: starts_at
39 * description: The campaign's starts at.
40 * ends_at:
41 * type: string
42 * title: ends_at
43 * description: The campaign's ends at.
44 * budget:
45 * type: object
46 * description: The campaign's budget.
47 * required:
48 * - id
49 * - type
50 * - currency_code
51 * - limit
52 * - used
53 * properties:
54 * id:
55 * type: string
56 * title: id
57 * description: The budget's ID.
58 * type:
59 * type: string
60 * enum:
61 * - spend
62 * - usage
63 * currency_code:
64 * type: string
65 * title: currency_code
66 * description: The budget's currency code.
67 * limit:
68 * type: number
69 * title: limit
70 * description: The budget's limit.
71 * used:
72 * type: number
73 * title: used
74 * description: The budget's used.
75 *
76 */
77