VCollab USD Core Schema
Codeless OpenUSD schema shared by the VCollab schema family: the label a user sees, kept apart from a prim's name, the descriptors that list and arrange what a stage holds for the user, and the contract for an override layer that renames, annotates, reorders, hides and moves them: schema source, generated plugin, synthetic fixtures and a validator
Overview
A VCollab stage holds what a producer computes and what a user is shown. This package defines the second, once, for every schema in the family.
What a stage shows the user is its navigator, and each prim shown is an entry in it.
VctNavigatorEntryAPI makes a prim an entry and gives it a label. A
prim's name is a step of its path, so it cannot hold arbitrary text,
cannot repeat among siblings, and cannot change without changing every
path that names the prim. A label can do all three.
VctDescriptor is an entry that describes other prims: a label,
free-form attr:* attributes, and the prims it describes. Its prim name is an
opaque identifier. A group lists its children in vct:children, and that
is the tree a user browses, free of the structure the content needs and of
the nesting of prims: an entry may describe several prims, describe none
and act as a folder, and content no entry describes is not shown.
An override layer holds what a user changes about what they are shown: a label, an attribute, an order, an entry taken off the list, an entry moved to another group. A move edits two lists of children, so the entry keeps its path. It is stacked over the producer's layer, which nothing edits. A translation is such a layer.
What may be rearranged is the producer's to say. VctGroupAPI makes
any prim, a plain scope included, a group that states the kind of thing it
holds and whether its order means something; an entry may be anchored to
its group. An override layer is held to them: it does not reorder an
ordered group, show a step under another run, or put a part among the
fields.
This package ships that schema as a codeless USD plugin, the declarations it is generated from, a fixture stage with two override layers, helpers to read and author navigator entries, and the validators for a stage and for an override layer.
Installation
pip install vcti-usd-schema-core
In requirements.txt
vcti-usd-schema-core>=0.7.2
In pyproject.toml dependencies
dependencies = [
"vcti-usd-schema-core>=0.7.2",
]
Quick Start
Read what a stage shows
from vcti.usd.schema.core import attributes, entries, label, open_fixture, subjects
stage = open_fixture("navigator")
parts = stage.GetPrimAtPath("/Example/navigator/parts")
for entry in entries(parts):
described = [str(subject.GetPath()) for subject in subjects(entry)]
print(entry.GetName(), label(entry), attributes(entry), described)
entries returns the children that are entries, in the order a client lists them.
The prim names (d1, d2) are opaque identifiers; the label is what a
user reads.
Compose override layers
from vcti.usd.schema.core import entries, label, open_fixture
# Strongest first: the user's own changes, then a translation.
stage = open_fixture("navigator", ["user", "labels_ja"])
parts = stage.GetPrimAtPath("/Example/navigator/parts")
print([label(entry) for entry in entries(parts)])
open_stage(path, overrides) does the same for any stage and any layers.
No file is written: the layers are stacked under a new root layer, which
keeps the stage's default prim, time codes and units.
Author descriptors
from pxr import Usd
from vcti.usd.schema.core import apply_group, define_descriptor, register_plugin, validate
register_plugin()
stage = Usd.Stage.CreateInMemory()
stage.DefinePrim("/Model/content/x1", "Xform")
stage.DefinePrim("/Model/content/x2", "Xform")
# The root of the tree: a scope that is not shown, listing the top level.
apply_group(stage.DefinePrim("/Model/navigator", "Scope"))
define_descriptor(stage, "/Model/navigator/parts", "Parts", parent="/Model/navigator")
define_descriptor(
stage,
"/Model/navigator/d1",
"Front axle – 前",
subjects=["/Model/content/x1", "/Model/content/x2"],
attributes={"material": "steel", "mass": 12.5},
parent="/Model/navigator/parts",
)
print(validate(stage))
The caller gives each prim its path. The descriptors sit side by side;
parent lists each in a group's vct:children, which is the tree. A
prim name is generated by the producer and never derived from the
label. An attribute holds one bool,
int, float or str, and keeps the type it was first given.
Write and check an override layer
from pxr import Sdf
from vcti.usd.schema.core import (
fixture_path,
open_stage,
override_attribute,
override_label,
override_move,
override_order,
validate,
validate_override_layer,
)
layer = Sdf.Layer.CreateAnonymous(".usda")
stage = open_stage(fixture_path("navigator"), [layer])
override_label(layer, "/Example/navigator/d1", "Gehäuse")
override_attribute(layer, "/Example/navigator/d1", "owner", "QA")
override_order(layer, "/Example/navigator/parts", ["/Example/navigator/d2", "/Example/navigator/d1"])
override_move(layer, stage, "/Example/navigator/d4", "/Example/navigator/results")
print(validate_override_layer(stage, layer), validate(stage))
validate_override_layer checks that the layer holds only what an
override layer may. validate checks the composed stage. A layer is
checked with both.
API at a glance
| Name | What it does |
|---|---|
register_plugin() |
Register the shipped codeless plugin, and every installed sibling schema's, with this process, once |
open_stage(path, overrides), open_fixture(name, overrides) |
Open with the plugin registered, under override layers |
is_entry(prim), label(prim), attributes(prim), is_listed(prim), is_withheld(prim) |
What a user is shown for a prim |
entries(group), subjects(prim) |
A group's children that are listed, in order; the prims a descriptor describes |
parent(entry), roots(stage), parents(stage) |
The group that lists an entry; where the trees start; the index of groups, to pass as parents= |
is_group(prim), category(prim), is_ordered(prim), is_anchored(prim) |
What the producer said may be rearranged |
define_descriptor(...), apply_label(prim, label), set_attributes(...) |
Author on a producer's stage |
apply_group(prim, category=, ordered=), set_children(group, paths) |
Make any prim a group, and state its children |
add_child(group, path, first=, after=, before=), remove_child(group, path), order_children(group, paths) |
Edit a group's children in the edit target, with no override rules |
override_label(...), override_attribute(...), override_order(...) |
Author in an override layer |
override_listed(...), override_move(...) |
Take an entry off the list, and move an entry to another group, in an override layer |
validate(stage), validate_file(path) |
Every contract of an entry and a descriptor, as a list of messages |
validate_override_layer(stage, layer) |
Whether a layer holds only what an override layer may |
ENTRY_API, GROUP_API, DESCRIPTOR, LABEL, LISTED, CHILDREN, CATEGORY, ORDERED, ANCHORED, … |
The names the schema fixes |
Using it from a sibling schema
A sibling makes a type of its own a navigator entry by naming the API in
that type's declaration and depending on this package. Its generated
plugin then names VctNavigatorEntryAPI and takes the property's definition from
here. register_plugin() registers every plugin in the vcti.usd.schema
entry point group, so the two are always registered together. The steps
are in docs/extending.md.
Dependencies
usd-core, which provides the USD runtime the plugin registers into.
Documentation
| If you want to… | Read |
|---|---|
| Get started using the package | Quick Start above |
| Build a list or a tree, or let a user rename, annotate, reorder, hide and move | docs/patterns.md |
| Understand the label, the descriptor and the override layer | docs/design.md |
| Navigate and understand the source | docs/source-guide.md |
| Make a sibling schema's type a navigator entry | docs/extending.md |
| See what changed | CHANGELOG.md |
Metadata
Release files for vcti-usd-schema-core 0.7.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vcti_usd_schema_core-0.7.2.tar.gz | 84.7 kB | With provenance | Details for vcti_usd_schema_core-0.7.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vcti_usd_schema_core-0.7.2-py3-none-any.whl | Python 3 | none | any | Details for vcti_usd_schema_core-0.7.2-py3-none-any.whl |
Total release size: 130.3 kB
Release files / vcti_usd_schema_core-0.7.2.tar.gz
| Download URL | vcti_usd_schema_core-0.7.2.tar.gz |
|---|---|
| Size | 84.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e971548d72bcdb1d4b7b0171938ecbf4849820f34e210d4253a3c382546f749e
|
|
BLAKE2b-256 checksum How to use checksums |
d6dfc2f6a28086414e8845b661f747b63988eb9539f6fcd2d0261ae350382d98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logRelease files / vcti_usd_schema_core-0.7.2-py3-none-any.whl
| Download URL | vcti_usd_schema_core-0.7.2-py3-none-any.whl |
|---|---|
| Size | 45.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3feaf7b3130f412d6342d03de315a22af808660c79913e8ab62a5b1ede624c7
|
|
BLAKE2b-256 checksum How to use checksums |
578dfa9e57d4237788268c4615cbaacc537c5ccc99f1113a00182d4fefed6f38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logSecurity for vcti-usd-schema-core 0.7.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for vcti_usd_schema_core-0.7.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.