public function getInputSpecification()
    {
        $spec = [
            'name' => $this->getName(),
            'required' => false,
        ];

        if ($validator = $this->getValidator()) {
            $spec['validators'] = [
                $validator,
            ];
        }

        return $spec;
    }