schemaorg-coda :: Example

eg-0234

From v29.4

JSON-LD

{
  "@context": "https://schema.org",
  "@type": "MortgageLoan",
  "name": "Agency 30 Year Fixed",
  "description": "Experience easier budgeting with predictable monthly payments. Relax knowing you’ll never have to worry about rising interest rates for the life of your loan.",
  "amount": {
    "@type": "MonetaryAmount",
    "value": "200000",
    "currency": "USD"
  },
  "loanTerm": {
    "@type": "QuantitativeValue",
    "value": "30",
    "unitCode": "ANN"
  },
  "interestRate": "3.625",
  "annualPercentageRate": "3.8047",
  "loanRepaymentForm": {
    "@type": "RepaymentSpecification",
    "loanPaymentAmount": {
      "@type": "MonetaryAmount",
      "value": "909.3",
      "currency": "USD"
    },
    "downPayment": "20",
    "numberOfLoanPayments": "360",
    "loanPaymentFrequency": "1"
  }
}

RDFa

<div vocab="https://schema.org/" typeof="MortgageLoan">
  <h1 property="name">Agency 30 Year Fixed</h1>
  <div property="loanTerm" typeof="QuantitativeValue">
    <meta property="value" content="30"/>
    <meta property="unitCode" content="ANN"/>
  </div>
  <p property="description">Experience easier budgeting with predictable monthly payments. Relax knowing you’ll never have to worry about rising interest rates for the life of your loan.</p>
  <div property="loanRepaymentForm" typeof="RepaymentSpecification" itemref="estPay payNum">
    <meta property="downPayment" content="20"/>
    <meta property="loanPaymentFrequency" content="1"/>
      <span>Estimated payment</span>
    <div id="estPay" property="loanPaymentAmount" typeof="MonetaryAmount">
    <span property="currency" content="USD">$</span><span property="value">912.11</span></div>
    <span>Months</span>
    <div id="payNum" property="numberOfLoanPayments">360</div>
  </div>

<table>
  <caption id="amount" property="amount" typeof="MonetaryAmount">Rates are based on a loan amount of <span property="currency" content="USD">$</span><span property="value" content="200000">200,000</span> and 20% down payment.</caption>
  <tr>
    <td>Interest rate</td>
    <td><span id="intRate" property="interestRate">3.625</span>%</td>
  </tr>
  <tr>
    <td>APR</td>
    <td><span id="apr" property="annualPercentageRate">3.8047</span>%</td>
  </tr>
</table>

</div>

Microdata

<div itemscope itemtype="https://schema.org/MortgageLoan">
  <h1 itemprop="name">Agency 30 Year Fixed</h1>
  <div itemprop="loanTerm" itemscope itemtype="https://schema.org/QuantitativeValue">
    <meta itemprop="value" content="30"/>
    <meta itemprop="unitCode" content="ANN"/>
  </div>
  <p itemprop="description">Experience easier budgeting with predictable monthly payments. Relax knowing you’ll never have to worry about rising interest rates for the life of your loan.</p>
  <div itemprop="loanRepaymentForm" itemscope itemtype="https://schema.org/RepaymentSpecification" itemref="estPay payNum">
    <meta itemprop="downPayment" content="20"/>
    <meta itemprop="loanPaymentFrequency" content="1"/>
      <span>Estimated payment</span>
    <div id="estPay" itemprop="loanPaymentAmount" itemscope itemtype="https://schema.org/MonetaryAmount">
    <span itemprop="currency" content="USD">$</span><span itemprop="value">912.11</span></div>
    <span>Months</span>
    <div id="payNum" itemprop="numberOfLoanPayments">360</div>
  </div>

<table>
  <caption id="amount" itemprop="amount" itemscope itemtype="https://schema.org/MonetaryAmount">Rates are based on a loan amount of <span itemprop="currency" content="USD">$</span><span itemprop="value" content="200000">200,000</span> and 20% down payment.</caption>
  <tr>
    <td>Interest rate</td>
    <td><span id="intRate" itemprop="interestRate">3.625</span>%</td>
  </tr>
  <tr>
    <td>APR</td>
    <td><span id="apr" itemprop="annualPercentageRate">3.8047</span>%</td>
  </tr>
</table>

</div>

Pre-Markup

<div>
  <h1>Agency 30 Year Fixed</h1>
  <p>Experience easier budgeting with predictable monthly payments. Relax knowing you’ll never have to worry about rising interest rates for the life of your loan.</p>
</div>
<table>
  <caption>Rates are based on a loan amount of $200,000 and 20% down payment.</caption>
  <tr>
    <td>Interest rate</td>
    <td>3.625%</td>
  </tr>
  <tr>
    <td>APR</td>
    <td>3.8047%</td>
  </tr>
  <tr>
    <td>Estimated payment</td>
    <td>$912.11</td>
  </tr>
  <tr>
    <td>Months</td>
    <td>360</td>
  </tr>
</table>