File structure#

This document describes a recommended approach for organizing files for a Digital Twin. While not mandatory, this structure improves discoverability, consistency, and interoperability across tools and teams.

The example below shows a typical hierarchy:

  • asset.usda

  • metadata.json

  • readme.md

  • resources/

    • layers/

      • geometry.usd

      • materials.usd

    • mdl/

      • artwork.mdl

      • flakes.mdl

      • mod_base.mdl

      • utilities.mdl

    • textures/

      • artwork_gs1.png

      • artwork_clean.png

      • shader1_diffuse.exr

      • shader1_alpha.exr

      • shader1_metalness.exr

      • shader2_diffuse.exr

asset.usda#

The main entry point for a Digital Twin. The defaultPrim defined in this file MUST resolve to the Xformable that contains the Digital Twin.

metadata.json#

A JSON-encoded file containing structured information about the Digital Twin.

readme.md#

An optional human-readable document providing a brief description of the asset and any relevant operational or production context.

resources/ folder#

All files required by the OpenUSD Digital Twin should live under this directory. The subfolder structure may vary, but it is strongly recommended to organize files by purpose and type. In the example above, the layers folder contains the OpenUSD files composed into asset.usda, the mdl directory holds Material Definition Language (MDL) shader files, and the textures folder stores image inputs for textures and shader values.

metadata.json#

This file contains information about the Digital Twin for automated processes, such as ingestion into GRIP.

The purpose is to define a common metadata structure that can be extended over time and reused for non-OpenUSD digital twins as well.

data section#

  • tenant: The tenant name for the asset.

  • product

    • name: Display name of the product.

    • code: Client product code for easy reference.

    • unit: The primary unit used for the product, such as ml.

    • unit_count: The quantity of units represented by the product.

    • dimensions_in_cm

      • height: Product height in centimeters along the y-axis.

      • width: Product width in centimeters along the x-axis.

      • depth: Product depth in centimeters along the z-axis.

  • digital_twin

    • type: The type of Digital Twin payload, for example usd.

    • specification

      • version: The Digital Twin specification version in use.

      • provider: The provider or source of the specification.

Example metadata.json

{
  "data": {
    "tenant": "GRIP",
    "product": {
      "name": "Super cool thing",
      "code": "1237283",
      "unit": "ml",
      "unit_count": 120,
      "dimensions_in_cm": {
        "height": 10.2,
        "width": 7.5,
        "depth": 5.0
      }
    },
    "digital_twin": {
      "type": "usd",
      "specification": {
        "version": "1.0.0",
        "provider": "grip"
      }
    }
  }
}