<?php

namespace Drupal\ai_automators\Plugin\AiAutomatorType;

use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\ai_automators\Attribute\AiAutomatorType;
use Drupal\ai_automators\PluginBaseClasses\TextToJsonField;
use Drupal\ai_automators\PluginInterfaces\AiAutomatorTypeInterface;

/**
 * The rules for an json_native field.
 */
#[AiAutomatorType(
  id: 'llm_json_native_field',
  label: new TranslatableMarkup('LLM: JSON Field'),
  field_rule: 'json_native',
  target: '',
)]
class LlmJsonNative extends TextToJsonField implements AiAutomatorTypeInterface {

  /**
   * The title of the automator.
   *
   * @var string
   */
  public $title = 'LLM: JSON Field';

}
