# `NodeShard` [interface-NodeShard] | Name | Type | Description | | - | - | - | | `allocation_id` | Record |   | | `index` | [IndexName](./IndexName.md) |   | | `node` | [NodeName](./NodeName.md) |   | | `primary` | boolean |   | | `recovery_source` | Record |   | | `relocating_node` | [NodeId](./NodeId.md) | null |   | | `relocation_failure_info` | [RelocationFailureInfo](./RelocationFailureInfo.md) |   | | `shard` | [integer](./integer.md) |   | | `state` | [IndicesStatsShardRoutingState](./IndicesStatsShardRoutingState.md) |   | | `unassigned_info` | [ClusterAllocationExplainUnassignedInformation](./ClusterAllocationExplainUnassignedInformation.md) |   |