{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$anchor": "cdm.base.staticdata.party",
  "type": "object",
  "title": "LegalEntity",
  "description": "A class to specify a legal entity, with a required name and an optional entity identifier (such as the LEI).",
  "properties": {
    "entityId": {
      "description": "A legal entity identifier (e.g. RED entity code).",
      "type": "array",
      "items": {
        "$ref": "com-rosetta-model-metafields-FieldWithMetaString.schema.json"
      },
      "minItems": 0
    },
    "name": {
      "description": "The legal entity name.",
      "$ref": "com-rosetta-model-metafields-FieldWithMetaString.schema.json"
    }
  },
  "required": [
    "name"
  ]
}
