{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/novu/json-schema/novu-create-translation-request-dto-schema.json",
  "title": "CreateTranslationRequestDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/novu-translations-api-openapi.yml#/components/schemas/CreateTranslationRequestDto",
  "type": "object",
  "properties": {
    "resourceId": {
      "type": "string",
      "description": "The resource ID to associate translation with. Accepts identifier or slug format"
    },
    "resourceType": {
      "type": "string",
      "description": "The resource type to associate translation with",
      "enum": [
        "workflow",
        "layout"
      ]
    },
    "locale": {
      "type": "string",
      "description": "Locale code (e.g., en_US, es_ES)"
    },
    "content": {
      "type": "object",
      "description": "Translation content as JSON object",
      "additionalProperties": true
    }
  },
  "required": [
    "resourceId",
    "resourceType",
    "locale",
    "content"
  ]
}