{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$anchor": "cdm.base.staticdata.asset.common",
  "type": "object",
  "title": "Loan",
  "description": "Identifies a loan by referencing a product identifier and through an optional set of attributes.",
  "properties": {
    "borrower": {
      "description": "Specifies the borrower. There can be more than one borrower. It is meant to be used in the event that there is no Bloomberg Id or the Secured List isn't applicable.",
      "type": "array",
      "items": {
        "$ref": "cdm-base-staticdata-party-LegalEntity.schema.json"
      },
      "minItems": 0
    },
    "lien": {
      "description": "Specifies the seniority level of the lien.",
      "$ref": "com-rosetta-model-metafields-FieldWithMetaString.schema.json"
    },
    "facilityType": {
      "description": "Specifies the type of loan facility (letter of credit, revolving, ...).",
      "$ref": "com-rosetta-model-metafields-FieldWithMetaString.schema.json"
    },
    "creditAgreementDate": {
      "description": "Specifies the credit agreement date is the closing date (the date where the agreement has been signed) for the loans in the credit agreement. Funding of the facilities occurs on (or sometimes a little after) the Credit Agreement date. This underlier attribute is used to help identify which of the company's outstanding loans are being referenced by knowing to which credit agreement it belongs. ISDA Standards Terms Supplement term: Date of Original Credit Agreement.",
      "type": "string"
    },
    "tranche": {
      "description": "Denotes the loan tranche that is subject to the derivative transaction. It will typically be referenced as the Bloomberg tranche number. ISDA Standards Terms Supplement term: Bloomberg Tranche Number.",
      "$ref": "com-rosetta-model-metafields-FieldWithMetaString.schema.json"
    },
    "productTaxonomy": {
      "description": "Specifies the product taxonomy, which is composed of a taxonomy value and a taxonomy source.",
      "type": "array",
      "items": {
        "$ref": "cdm-base-staticdata-asset-common-ProductTaxonomy.schema.json"
      },
      "minItems": 0
    },
    "productIdentifier": {
      "description": "Comprises an identifier and a source. The associated metadata key denotes the ability to associate a hash value to the ProductIdentifier instantiations for the purpose of model cross-referencing, in support of functionality such as the event effect and the lineage.",
      "type": "array",
      "items": {
        "$ref": "cdm-base-staticdata-asset-common-metafields-ReferenceWithMetaProductIdentifier.schema.json"
      },
      "minItems": 0
    }
  }
}
