addRule('format', [ 'type' => self::TYPE_STRING, 'description' => 'String format.', 'default' => 'url', 'example' => 'url', 'array' => false, 'required' => true, ]) ; } /** * Get Name * * @return string */ public function getName():string { return 'URL'; } /** * Get Collection * * @return string */ public function getType():string { return Response::MODEL_URL; } }