How to specify type of script I need to specify the type of script in my theme.info
I add the script in my theme.info like this scripts[] = js/file.js
In the head it look like this

&lt;script type="text/javascript" src="..."&gt;&lt;/script&gt; 

but i need to change the type to 

type="application/ld+json"

Can someone help me please
Drupal core adds the text/javascript as default type.

You may include the file using drupal_add_js

drupal_add_js('file.js', array('attributes' =&gt; array('id' =&gt; 'my-template', 'type' =&gt; 'application/ld+json')));