---
title: USDPrim.Property.Spec
framework: usdkit
role: symbol
role_heading: Structure
path: usdkit/usdprim/property/spec
---

# USDPrim.Property.Spec

A handle to a property definition (attribute or relationship) stored in a layer.

## Declaration

```swift
struct Spec
```

## Overview

Overview USDPrim.Property.Spec is the untyped base for USDPrim.Attribute.Spec and USDPrim.Relationship.Spec. It acts as a handle into data owned by a USDLayer and mutations write through to the layer.

## Topics

### Protocols

- [USDPrim.Property.Spec.SymmetryCollection](usdkit/usdprim/property/spec/symmetrycollection.md)
- [USDPrim.Property.Spec.ValueCollection](usdkit/usdprim/property/spec/valuecollection.md)

### Initializers

- [init()](usdkit/usdprim/property/spec/init().md)
- [init(_:)](usdkit/usdprim/property/spec/init(_:).md)

### Instance Properties

- [comment](usdkit/usdprim/property/spec/comment.md)
- [customData](usdkit/usdprim/property/spec/customdata.md)
- [documentation](usdkit/usdprim/property/spec/documentation.md)
- [isCustom](usdkit/usdprim/property/spec/iscustom.md)
- [name](usdkit/usdprim/property/spec/name.md)
- [owner](usdkit/usdprim/property/spec/owner.md)
- [permission](usdkit/usdprim/property/spec/permission.md)

### Instance Methods

- [clearAssetInfo(_:)](usdkit/usdprim/property/spec/clearassetinfo(_:).md)
- [clearCustomData(_:)](usdkit/usdprim/property/spec/clearcustomdata(_:).md)
- [rename(to:)](usdkit/usdprim/property/spec/rename(to:).md)
- [setAssetInfo(_:to:)](usdkit/usdprim/property/spec/setassetinfo(_:to:).md)
- [setCustomData(_:to:)](usdkit/usdprim/property/spec/setcustomdata(_:to:).md)

### Type Methods

- [isValidName(_:)](usdkit/usdprim/property/spec/isvalidname(_:).md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [USDLayer.Spec.FieldCollection](usdkit/usdlayer/spec/fieldcollection.md)
- [USDLayer.Spec.MetadataCollection](usdkit/usdlayer/spec/metadatacollection.md)
- [USDPrim.Property.Spec.SymmetryCollection](usdkit/usdprim/property/spec/symmetrycollection.md)
- [USDPrim.Property.Spec.ValueCollection](usdkit/usdprim/property/spec/valuecollection.md)
