{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/atako-ai/json-schema/atako-ai-use-case-schema.json",
  "title": "UseCase",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/atako-ai-api-openapi.json#/components/schemas/UseCase",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "slug": {
      "type": "string"
    },
    "department": {
      "type": "string",
      "enum": [
        "sales",
        "marketing",
        "finance",
        "support",
        "hr",
        "it",
        "engineering",
        "product",
        "design"
      ]
    },
    "title": {
      "type": "object",
      "description": "A French base value plus optional translations. `fr` is always present; other IETF locale keys are present when translated.",
      "properties": {
        "fr": {
          "type": "string"
        },
        "en": {
          "type": "string"
        },
        "de": {
          "type": "string"
        },
        "es": {
          "type": "string"
        },
        "it": {
          "type": "string"
        },
        "pt-BR": {
          "type": "string"
        },
        "nl": {
          "type": "string"
        },
        "pl": {
          "type": "string"
        },
        "sv": {
          "type": "string"
        },
        "da": {
          "type": "string"
        },
        "tr": {
          "type": "string"
        },
        "ja": {
          "type": "string"
        },
        "ko": {
          "type": "string"
        }
      },
      "required": [
        "fr"
      ],
      "additionalProperties": {
        "type": "string"
      }
    },
    "description": {
      "type": "object",
      "description": "A French base value plus optional translations. `fr` is always present; other IETF locale keys are present when translated.",
      "properties": {
        "fr": {
          "type": "string"
        },
        "en": {
          "type": "string"
        },
        "de": {
          "type": "string"
        },
        "es": {
          "type": "string"
        },
        "it": {
          "type": "string"
        },
        "pt-BR": {
          "type": "string"
        },
        "nl": {
          "type": "string"
        },
        "pl": {
          "type": "string"
        },
        "sv": {
          "type": "string"
        },
        "da": {
          "type": "string"
        },
        "tr": {
          "type": "string"
        },
        "ja": {
          "type": "string"
        },
        "ko": {
          "type": "string"
        }
      },
      "required": [
        "fr"
      ],
      "additionalProperties": {
        "type": "string"
      }
    },
    "aeoQuestion": {
      "type": "object",
      "description": "A French base value plus optional translations. `fr` is always present; other IETF locale keys are present when translated.",
      "properties": {
        "fr": {
          "type": "string"
        },
        "en": {
          "type": "string"
        },
        "de": {
          "type": "string"
        },
        "es": {
          "type": "string"
        },
        "it": {
          "type": "string"
        },
        "pt-BR": {
          "type": "string"
        },
        "nl": {
          "type": "string"
        },
        "pl": {
          "type": "string"
        },
        "sv": {
          "type": "string"
        },
        "da": {
          "type": "string"
        },
        "tr": {
          "type": "string"
        },
        "ja": {
          "type": "string"
        },
        "ko": {
          "type": "string"
        }
      },
      "required": [
        "fr"
      ],
      "additionalProperties": {
        "type": "string"
      }
    },
    "aeoAnswer": {
      "type": "object",
      "description": "A French base value plus optional translations. `fr` is always present; other IETF locale keys are present when translated.",
      "properties": {
        "fr": {
          "type": "string"
        },
        "en": {
          "type": "string"
        },
        "de": {
          "type": "string"
        },
        "es": {
          "type": "string"
        },
        "it": {
          "type": "string"
        },
        "pt-BR": {
          "type": "string"
        },
        "nl": {
          "type": "string"
        },
        "pl": {
          "type": "string"
        },
        "sv": {
          "type": "string"
        },
        "da": {
          "type": "string"
        },
        "tr": {
          "type": "string"
        },
        "ja": {
          "type": "string"
        },
        "ko": {
          "type": "string"
        }
      },
      "required": [
        "fr"
      ],
      "additionalProperties": {
        "type": "string"
      }
    },
    "toolsV2": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "object",
            "description": "A French base value plus optional translations. `fr` is always present; other IETF locale keys are present when translated.",
            "properties": {
              "fr": {
                "type": "string"
              },
              "en": {
                "type": "string"
              },
              "de": {
                "type": "string"
              },
              "es": {
                "type": "string"
              },
              "it": {
                "type": "string"
              },
              "pt-BR": {
                "type": "string"
              },
              "nl": {
                "type": "string"
              },
              "pl": {
                "type": "string"
              },
              "sv": {
                "type": "string"
              },
              "da": {
                "type": "string"
              },
              "tr": {
                "type": "string"
              },
              "ja": {
                "type": "string"
              },
              "ko": {
                "type": "string"
              }
            },
            "required": [
              "fr"
            ],
            "additionalProperties": {
              "type": "string"
            }
          },
          "description": {
            "type": "object",
            "description": "A French base value plus optional translations. `fr` is always present; other IETF locale keys are present when translated.",
            "properties": {
              "fr": {
                "type": "string"
              },
              "en": {
                "type": "string"
              },
              "de": {
                "type": "string"
              },
              "es": {
                "type": "string"
              },
              "it": {
                "type": "string"
              },
              "pt-BR": {
                "type": "string"
              },
              "nl": {
                "type": "string"
              },
              "pl": {
                "type": "string"
              },
              "sv": {
                "type": "string"
              },
              "da": {
                "type": "string"
              },
              "tr": {
                "type": "string"
              },
              "ja": {
                "type": "string"
              },
              "ko": {
                "type": "string"
              }
            },
            "required": [
              "fr"
            ],
            "additionalProperties": {
              "type": "string"
            }
          },
          "integrationSlug": {
            "type": "string"
          }
        }
      }
    },
    "workflowAgentSteps": {
      "type": "object",
      "description": "Same shape as LocalizedText, but each locale holds a string array.",
      "properties": {
        "fr": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "fr"
      ],
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "string"
        }
      }
    },
    "workflowHumanSteps": {
      "type": "object",
      "description": "Same shape as LocalizedText, but each locale holds a string array.",
      "properties": {
        "fr": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "fr"
      ],
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "string"
        }
      }
    },
    "faqV2": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "question": {
            "type": "object",
            "description": "A French base value plus optional translations. `fr` is always present; other IETF locale keys are present when translated.",
            "properties": {
              "fr": {
                "type": "string"
              },
              "en": {
                "type": "string"
              },
              "de": {
                "type": "string"
              },
              "es": {
                "type": "string"
              },
              "it": {
                "type": "string"
              },
              "pt-BR": {
                "type": "string"
              },
              "nl": {
                "type": "string"
              },
              "pl": {
                "type": "string"
              },
              "sv": {
                "type": "string"
              },
              "da": {
                "type": "string"
              },
              "tr": {
                "type": "string"
              },
              "ja": {
                "type": "string"
              },
              "ko": {
                "type": "string"
              }
            },
            "required": [
              "fr"
            ],
            "additionalProperties": {
              "type": "string"
            }
          },
          "answer": {
            "type": "object",
            "description": "A French base value plus optional translations. `fr` is always present; other IETF locale keys are present when translated.",
            "properties": {
              "fr": {
                "type": "string"
              },
              "en": {
                "type": "string"
              },
              "de": {
                "type": "string"
              },
              "es": {
                "type": "string"
              },
              "it": {
                "type": "string"
              },
              "pt-BR": {
                "type": "string"
              },
              "nl": {
                "type": "string"
              },
              "pl": {
                "type": "string"
              },
              "sv": {
                "type": "string"
              },
              "da": {
                "type": "string"
              },
              "tr": {
                "type": "string"
              },
              "ja": {
                "type": "string"
              },
              "ko": {
                "type": "string"
              }
            },
            "required": [
              "fr"
            ],
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      }
    },
    "coverImage": {
      "type": [
        "string",
        "null"
      ]
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "publishedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "slug",
    "department",
    "title",
    "description"
  ]
}