How to structure an array of entries in

by Johan Dahl   Last Updated August 13, 2019 11:04 AM - source

I'm implementing schemas for financial information (using JSON-LD), in this case mortgage loans.

The example on bottom the site shows how to implement this for a specific loan, however I'm not quite sure of how to modify the graph when I have several mortgage loans, each with a different loanTerm and interestRate. Should I just repeat this whole block for each loan? Or can I nest each mortgage loan under this @type somehow?

The information I want to convey is that a loan can have different loan terms, which will have different interest rates.

I could put the different rates and terms as nested objects under each label, but then there is seems to be no relation between the two.

How should I do this? This is some example code of what I have.

<script type="application/ld+json">
    "@context": "",
    "@type": "MortgageLoan",
    "name": "A name of this loan...",
    "loantype": "A type of loan...",
    "description": "A description...",
    "interestRate": [
        "value": "3",
        "unitCode": "P1"
    "loanTerm": {
        "@type": "QuantitativeValue",
        "name": "Binding period",
        "value": 12,
        "uniTtext": "months"

Related Questions LD+JSON Image Width Validation warning

Updated June 29, 2016 08:01 AM

JSON-LD GTM Tag for BlogPosting

Updated July 19, 2018 09:04 AM

Writing for brand websites

Updated October 01, 2018 21:04 PM

Schema for a Comprehensive TV Show Page

Updated March 18, 2019 18:04 PM

Should Website and Organization be linked?

Updated April 15, 2019 01:04 AM