mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
55 lines
1.3 KiB
JSON
55 lines
1.3 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
|
"title": "openpype:asset-2.0",
|
|
"description": "A unit of data",
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": true,
|
|
|
|
"required": [
|
|
"schema",
|
|
"type",
|
|
"name",
|
|
"silo",
|
|
"data"
|
|
],
|
|
|
|
"properties": {
|
|
"schema": {
|
|
"description": "Schema identifier for payload",
|
|
"type": "string",
|
|
"enum": ["openpype:asset-2.0"],
|
|
"example": "openpype:asset-2.0"
|
|
},
|
|
"type": {
|
|
"description": "The type of document",
|
|
"type": "string",
|
|
"enum": ["asset"],
|
|
"example": "asset"
|
|
},
|
|
"parent": {
|
|
"description": "Unique identifier to parent document",
|
|
"example": "592c33475f8c1b064c4d1696"
|
|
},
|
|
"name": {
|
|
"description": "Name of asset",
|
|
"type": "string",
|
|
"pattern": "^[a-zA-Z0-9_.]*$",
|
|
"example": "Bruce"
|
|
},
|
|
"silo": {
|
|
"description": "Group or container of asset",
|
|
"type": "string",
|
|
"example": "assets"
|
|
},
|
|
"data": {
|
|
"description": "Document metadata",
|
|
"type": "object",
|
|
"example": {"key": "value"}
|
|
}
|
|
},
|
|
|
|
"definitions": {}
|
|
}
|