# The purpose of UsdObject's Documentation metadata

**URL:** https://forum.aousd.org/t/the-purpose-of-usdobjects-documentation-metadata/1403
**Category:** USD
**Created:** [April 1, 2024, 4:34pm UTC](https://forum.aousd.org/t/the-purpose-of-usdobjects-documentation-metadata/1403 "2024-04-01T16:34:35Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![mati-nvidia](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/mati-nvidia/32/18_2.png) [@mati-nvidia](https://forum.aousd.org/u/mati-nvidia)
#### Post date: [April 1, 2024, 4:34pm UTC](https://forum.aousd.org/t/the-purpose-of-usdobjects-documentation-metadata/1403/1 "2024-04-01T16:34:35Z")

</div>

Hi. I’m looking at the documentation metadata on UsdObject relation to this function: [Universal Scene Description: UsdObject Class Reference](https://openusd.org/release/api/class_usd_object.html#afbeb96db494ea5fa795d937e532083c9). I’ve seen it used to document the prims and properties in `schema.usda` files. Is this metadata reserved only for that purpose or is also appropriate for runtime end-user documentation of an asset? Any other useful cases that we can add to the API docs? Thanks!

---

<div class="post-metadata">

### Author: ![dsyu](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/dsyu/32/35_2.png) [@dsyu](https://forum.aousd.org/u/dsyu)
#### Post date: [April 2, 2024, 9:33pm UTC](https://forum.aousd.org/t/the-purpose-of-usdobjects-documentation-metadata/1403/2 "2024-04-02T21:33:50Z")

</div>

Hi Matias! Currently the documentation metadata field is initially set from the schema.usda as you mention. It can, however, be used for “scene documentation” authored by users through the UsdObject APIs.

We’re currently working on making this more distinct, so that the documentation field is solely for scene documentation for end-users, and new additional metadata will be added to have “brief doc”, authored in schema.usda, and accessed by UsdPrimDefinition. This “brief doc” will be similar to the API doc currently in schema.usda, but authored as reference doc for users of the schema classes.

---

<div class="post-metadata">

### Author: ![mati-nvidia](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/mati-nvidia/32/18_2.png) [@mati-nvidia](https://forum.aousd.org/u/mati-nvidia)
#### Post date: [April 3, 2024, 3:31pm UTC](https://forum.aousd.org/t/the-purpose-of-usdobjects-documentation-metadata/1403/3 "2024-04-03T15:31:25Z")

</div>

Thanks Dan! That helps. Would you like a contribution to add more explanation to `UsdObject.GetDocumentation()` or will that be covered in the “brief doc” update?

---

<div class="post-metadata">

### Author: ![dsyu](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/dsyu/32/35_2.png) [@dsyu](https://forum.aousd.org/u/dsyu)
#### Post date: [April 3, 2024, 5:33pm UTC](https://forum.aousd.org/t/the-purpose-of-usdobjects-documentation-metadata/1403/4 "2024-04-03T17:33:19Z")

</div>

We’ll likely be updating the docs for UsdObject.GetDocumentation() based on the change, but any contributions you wanted to add are welcome.

---

<div class="post-metadata">

### Author: ![nvmkuruc](https://avatars.discourse-cdn.com/v4/letter/n/76d3ee/32.png) [@nvmkuruc](https://forum.aousd.org/u/nvmkuruc)
#### Post date: [July 29, 2025, 7:24pm UTC](https://forum.aousd.org/t/the-purpose-of-usdobjects-documentation-metadata/1403/5 "2025-07-29T19:24:42Z")

</div>

@dsyu With this change, is there a preferred way to query an attribute’s brief doc (for example, to surface a schema documentation as a tooltip)?

---

<div class="post-metadata">

### Author: ![dsyu](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/dsyu/32/35_2.png) [@dsyu](https://forum.aousd.org/u/dsyu)
#### Post date: [July 29, 2025, 11:49pm UTC](https://forum.aousd.org/t/the-purpose-of-usdobjects-documentation-metadata/1403/6 "2025-07-29T23:49:28Z")

</div>

If the attribute is defined in a typed schema, currently the most straight-forward approach is to use GetPropertyDocumentation() on the prim’s primDef (retreived via GetPrimDefinition()). If the attribute is coming from an API schema, you’d need to get the list of applied schemas and look each one up in the schema registry. We’re planning on adding APIs (e.g., “GetUserDocumentationBrief()”) to retrieve the brief user doc(s) for prims and properties.
