SEO markup for News article

I implemented the following SEO markup on news article pages (around article text): <div class="articleBody" itemscope="" itemtype="https://schema.org/NewsArticle">

is it enough to implement / is this good for SEO?

on other sites I see <html lang="it" itemscope itemtype="http://schema.org/NewsArticle"> or <script type="application/ld+json"> with "@context": "https://schema.org", "@type": "NewsArticle"

so I am not sure if my implementation is correct or needs to be changed.

Thanks