se that hasn&#39;t been assigned an SPDX identifier, or if
you are using a custom license, use a string value like this one:</p>
<pre><code>{ &quot;license&quot; : &quot;SEE LICENSE IN &lt;filename&gt;&quot; }
</code></pre><p>Then include a file named <code>&lt;filename&gt;</code> at the top level of the package.</p>
<p>Some old packages used license objects or a &quot;licenses&quot; property containing an
array of license objects:</p>
<pre><code>// Not valid metadata
{ &quot;license&quot; :
  { &quot;type&