---
title: Schema.Index
framework: swiftdata
role: symbol
role_heading: Class
path: swiftdata/schema/index
---

# Schema.Index

## Declaration

```swift
final class Index<T> where T : PersistentModel
```

## Topics

### Initializers

- [init(_:)](swiftdata/schema/index/init(_:)-4i37e.md)
- [init(_:)](swiftdata/schema/index/init(_:)-527in.md)

### Instance Properties

- [indices](swiftdata/schema/index/indices.md)

### Enumerations

- [Schema.Index.CodingKeys](swiftdata/schema/index/codingkeys.md)
- [Schema.Index.Types](swiftdata/schema/index/types.md)

## Relationships

### Conforms To

- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [SchemaProperty](swiftdata/schemaproperty.md)
