{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$anchor": "cdm.event.common",
  "type": "object",
  "title": "TradeIdentifier",
  "description": "Defines a trade identifier as a special case of the generic identifier type, that also includes the trade identifier class.",
  "properties": {
    "issuerReference": {
      "description": "The identifier issuer, when specified by reference to a party specified as part of the transaction.",
      "$ref": "cdm-base-staticdata-party-metafields-ReferenceWithMetaParty.schema.json"
    },
    "issuer": {
      "description": "The identifier issuer, when specified explicitly alongside the identifier value (instead of being specified by reference to a party).",
      "$ref": "com-rosetta-model-metafields-FieldWithMetaString.schema.json"
    },
    "assignedIdentifier": {
      "description": "The identifier value. This level of indirection between the issuer and the identifier and its version provides the ability to associate multiple identifiers to one issuer, consistently with the FpML PartyTradeIdentifier.",
      "type": "array",
      "items": {
        "$ref": "cdm-base-staticdata-identifier-AssignedIdentifier.schema.json"
      },
      "minItems": 1
    },
    "identifierType": {
      "description": "The enumerated classification of the identifier. Optional as a trade identifier may be party-specific, in which case it may not correspond to any established classification.",
      "$ref": "cdm-base-staticdata-identifier-TradeIdentifierTypeEnum.schema.json"
    }
  }
}
