{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Brief de campagne Funl",
  "type": "object",
  "properties": {
    "version": {
      "const": 1
    },
    "type": {
      "const": "campaign_brief"
    },
    "inputs": {
      "type": "object",
      "properties": {
        "goal": {
          "type": "string",
          "minLength": 1,
          "maxLength": 3000
        },
        "audience": {
          "type": "string",
          "minLength": 1,
          "maxLength": 3000
        },
        "offer": {
          "type": "string",
          "minLength": 1,
          "maxLength": 3000
        },
        "proof": {
          "type": "string",
          "minLength": 1,
          "maxLength": 3000
        },
        "formats": {
          "type": "string",
          "minLength": 1,
          "maxLength": 3000
        },
        "action": {
          "type": "string",
          "minLength": 1,
          "maxLength": 3000
        },
        "metric": {
          "type": "string",
          "minLength": 1,
          "maxLength": 3000
        },
        "constraints": {
          "type": "string",
          "minLength": 1,
          "maxLength": 3000
        }
      },
      "required": [
        "goal",
        "audience",
        "offer",
        "proof",
        "formats",
        "action",
        "metric",
        "constraints"
      ],
      "additionalProperties": false
    },
    "review_required": {
      "const": true
    }
  },
  "required": [
    "version",
    "type",
    "inputs",
    "review_required"
  ],
  "additionalProperties": false
}