<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "USDKit",
  "identifier" : "/documentation/USDKit/USDPrim/Relationship/Spec/init(owner:name:variability:isCustom:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "USDKit"
    ],
    "preciseIdentifier" : "s:6USDKit7USDPrimV12RelationshipV4SpecV5owner4name11variability8isCustomAGSgAcFV_AA8USDTokenVAC8PropertyV11VariabilityOSbtcfc"
  },
  "title" : "init(owner:name:variability:isCustom:)"
}
-->

# init(owner:name:variability:isCustom:)

Creates a new relationship spec under the given prim spec.

```
init?(owner: USDPrim.Spec, name: USDToken, variability: USDPrim.Property.Variability = .varying, isCustom: Bool = true)
```

## Parameters

`owner`

The prim spec that owns the new relationship.

`name`

The relationship’s name.

`variability`

The relationship’s variability.

`isCustom`

Whether the relationship is authored as `custom`.

---

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)