mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
78 lines
2.2 KiB
JSON
78 lines
2.2 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
|
"title": "openpype:representation-2.0",
|
|
"description": "The inverse of an instance",
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": true,
|
|
|
|
"required": [
|
|
"schema",
|
|
"type",
|
|
"parent",
|
|
"name",
|
|
"data"
|
|
],
|
|
|
|
"properties": {
|
|
"schema": {
|
|
"description": "Schema identifier for payload",
|
|
"type": "string",
|
|
"enum": ["openpype:representation-2.0"],
|
|
"example": "openpype:representation-2.0"
|
|
},
|
|
"type": {
|
|
"description": "The type of document",
|
|
"type": "string",
|
|
"enum": ["representation"],
|
|
"example": "representation"
|
|
},
|
|
"parent": {
|
|
"description": "Unique identifier to parent document",
|
|
"example": "592c33475f8c1b064c4d1696"
|
|
},
|
|
"name": {
|
|
"description": "Name of representation",
|
|
"type": "string",
|
|
"pattern": "^[a-zA-Z0-9_.]*$",
|
|
"example": "abc"
|
|
},
|
|
"data": {
|
|
"description": "Document metadata",
|
|
"type": "object",
|
|
"example": {
|
|
"label": "Alembic"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"description": "Other representation that this representation depends on",
|
|
"type": "array",
|
|
"items": {"type": "string"},
|
|
"example": [
|
|
"592d547a5f8c1b388093c145"
|
|
]
|
|
},
|
|
"context": {
|
|
"description": "Summary of the context to which this representation belong.",
|
|
"type": "object",
|
|
"properties": {
|
|
"project": {"type": "object"},
|
|
"asset": {"type": "string"},
|
|
"silo": {"type": ["string", "null"]},
|
|
"subset": {"type": "string"},
|
|
"version": {"type": "number"},
|
|
"representation": {"type": "string"}
|
|
},
|
|
"example": {
|
|
"project": "hulk",
|
|
"asset": "Bruce",
|
|
"silo": "assets",
|
|
"subset": "rigDefault",
|
|
"version": 12,
|
|
"representation": "ma"
|
|
}
|
|
}
|
|
}
|
|
}
|