{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/coderpad/json-schema/coderpad-campaigns-result-schema.json",
  "title": "CampaignsResult",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coderpad-campaigns-api-openapi.yml#/components/schemas/CampaignsResult",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "the campaign id",
      "format": "int32"
    },
    "name": {
      "type": "string",
      "description": "the campaign name"
    },
    "languages": {
      "type": "array",
      "description": "the languages allowed for the campaign",
      "items": {
        "type": "string",
        "description": "the languages allowed for the campaign"
      }
    },
    "pinned": {
      "type": "boolean",
      "description": "true is the campaign is pinned, false otherwise"
    },
    "archived": {
      "type": "boolean",
      "description": "true is the campaign is archived, false otherwise"
    }
  }
}