mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Fix schemas for correct creation from empty DB
This commit is contained in:
parent
89eb5e1347
commit
ef240a3879
3 changed files with 17 additions and 13 deletions
|
|
@ -1,14 +1,13 @@
|
|||
{
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
|
||||
"title": "avalon-core:config-1.1",
|
||||
"title": "pype:config-1.1",
|
||||
"description": "A project configuration.",
|
||||
|
||||
"type": "object",
|
||||
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"template",
|
||||
"tasks",
|
||||
"apps"
|
||||
],
|
||||
|
|
@ -29,13 +28,18 @@
|
|||
},
|
||||
"tasks": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"short_name": {"type": "string"},
|
||||
"icon": {"type": "string"},
|
||||
"group": {"type": "string"},
|
||||
"label": {"type": "string"}
|
||||
},
|
||||
"required": ["short_name"]
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {"type": "string"},
|
||||
"icon": {"type": "string"},
|
||||
"group": {"type": "string"},
|
||||
"label": {"type": "string"}
|
||||
},
|
||||
"required": [
|
||||
"short_name"
|
||||
]
|
||||
}
|
||||
},
|
||||
"apps": {
|
||||
"type": "array",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
|
||||
"title": "avalon-core:config-1.1",
|
||||
"title": "pype:config-1.1",
|
||||
"description": "A project configuration.",
|
||||
|
||||
"type": "object",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
|
||||
"title": "avalon-core:project-2.1",
|
||||
"title": "pype:project-2.1",
|
||||
"description": "A unit of data",
|
||||
|
||||
"type": "object",
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
"schema": {
|
||||
"description": "Schema identifier for payload",
|
||||
"type": "string",
|
||||
"enum": ["avalon-core:project-2.1"],
|
||||
"enum": ["avalon-core:project-2.1", "pype:project-2.1"],
|
||||
"example": "avalon-core:project-2.1"
|
||||
},
|
||||
"type": {
|
||||
|
|
@ -52,7 +52,7 @@
|
|||
"type": "object",
|
||||
"description": "Document metadata",
|
||||
"example": {
|
||||
"schema": "avalon-core:config-1.1",
|
||||
"schema": "pype:config-1.1",
|
||||
"apps": [
|
||||
{
|
||||
"name": "maya2016",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue