I am using structured data for my breadcrumbs trail. I'm refering to this documentation:
https://developers.google.com/structured-data/breadcrumbs
I have built up a breadcrumbs list. I also display the last item that refers to the current page but this is not a link but just plain text. This is what my HTML markup looks like:
<ol class="breadcrumb">
     <li><a href="http://www.example.com/">Home</a></li>
     <li><a href="http://www.example.com/brands">Brands</a></li>
     <li class="active">My Brand</li>
</ol>
I have opted to use JSON-LD to markup my breadcrumbs trail. I'm not sure how to markup the last item in my breadcrumbs list seeing that it is not a link? Am I supposed to leave it out? This is what I currently have:
<script type="application/ld+json">
{
     "@context": "http://schema.org",
     "@type": "BreadcrumbList",
     "itemListElement": [{
          "@type": "ListItem",
          "position": 1,
          "item": {
               "@id": "http://www.example.com/",
               "name": "Home"
          }
     }, {
          "@type": "ListItem",
          "position": 2,
          "item": {
               "@id": "http://www.example.com/brands",
               "name": "Brands"
          }
     }]
}
</script>
Do I need to add the last item like I did with the other 2 items, or do I need to leave it? Is it just for the items that have links to it?
 
     
     
     
    