mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
✨ add IntendedUse trait
This commit is contained in:
parent
920f917f94
commit
423277580c
1 changed files with 16 additions and 1 deletions
|
|
@ -93,8 +93,8 @@ class KeepOriginalName(TraitBase):
|
|||
|
||||
Note:
|
||||
This is not a persistent trait.
|
||||
|
||||
"""
|
||||
|
||||
name: ClassVar[str] = "KeepOriginalName"
|
||||
description: ClassVar[str] = "Keep Original Name Trait Model"
|
||||
id: ClassVar[str] = "ayon.meta.KeepOriginalName.v1"
|
||||
|
|
@ -111,3 +111,18 @@ class SourceApplication(TraitBase):
|
|||
variant: str = Field(..., title="Application Variant (e.g. Pro)")
|
||||
version: str = Field(..., title="Application Version")
|
||||
platform: str = Field(..., title="Platform Name")
|
||||
|
||||
|
||||
class IntendedUse(TraitBase):
|
||||
"""Intended use of the representation.
|
||||
|
||||
This trait describes the intended use of the representation. It
|
||||
can be used in cases, where the other traits are not enough to
|
||||
describe the intended use. For example txt file with tracking
|
||||
points can be used as corner pin in After Effect but not in Nuke.
|
||||
"""
|
||||
|
||||
name: ClassVar[str] = "IntendedUse"
|
||||
description: ClassVar[str] = "Intended Use Trait Model"
|
||||
id: ClassVar[str] = "ayon.meta.IntendedUse.v1"
|
||||
use: str = Field(..., title="Intended Use")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue