<!--
{
  "availability" : [
    "iOS: 11.3.0 -",
    "iPadOS: 11.3.0 -",
    "macCatalyst: 11.3.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ClassKit",
  "identifier" : "/documentation/ClassKit/CLSPredicateKeyPath",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "ClassKit"
    ],
    "preciseIdentifier" : "c:@T@CLSPredicateKeyPath"
  },
  "title" : "CLSPredicateKeyPath"
}
-->

# CLSPredicateKeyPath

The set of possible key paths you use to search for contexts.

```
struct CLSPredicateKeyPath
```

## Discussion

Use these predicate key paths when constructing a predicate to send to the [`contexts(matching:completion:)`](/documentation/ClassKit/CLSDataStore/contexts(matching:completion:)) method.

## Topics

### Predicate key paths

[`static let dateCreated: CLSPredicateKeyPath`](/documentation/ClassKit/CLSPredicateKeyPath/dateCreated)

The date on which the context was created.

[`static let identifier: CLSPredicateKeyPath`](/documentation/ClassKit/CLSPredicateKeyPath/identifier)

The context’s identifier.

[`static let parent: CLSPredicateKeyPath`](/documentation/ClassKit/CLSPredicateKeyPath/parent)

The context’s direct ancestor in the context hierarchy.

[`static let title: CLSPredicateKeyPath`](/documentation/ClassKit/CLSPredicateKeyPath/title)

The human readable name of the context.

[`static let topic: CLSPredicateKeyPath`](/documentation/ClassKit/CLSPredicateKeyPath/topic)

The context’s topic.

[`static let universalLinkURL: CLSPredicateKeyPath`](/documentation/ClassKit/CLSPredicateKeyPath/universalLinkURL)

The context’s universal URL link.

### Initializing a predicate key path

[`init(String)`](/documentation/ClassKit/CLSPredicateKeyPath/init(_:))

Initializes a predicate key path.

[`init(rawValue: String)`](/documentation/ClassKit/CLSPredicateKeyPath/init(rawValue:))

Initializes a predicate key path with the given value.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)