mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +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#",
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||||
|
|
||||||
"title": "avalon-core:config-1.1",
|
"title": "pype:config-1.1",
|
||||||
"description": "A project configuration.",
|
"description": "A project configuration.",
|
||||||
|
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [
|
"required": [
|
||||||
"template",
|
|
||||||
"tasks",
|
"tasks",
|
||||||
"apps"
|
"apps"
|
||||||
],
|
],
|
||||||
|
|
@ -29,13 +28,18 @@
|
||||||
},
|
},
|
||||||
"tasks": {
|
"tasks": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"items": {
|
||||||
"short_name": {"type": "string"},
|
"type": "object",
|
||||||
"icon": {"type": "string"},
|
"properties": {
|
||||||
"group": {"type": "string"},
|
"name": {"type": "string"},
|
||||||
"label": {"type": "string"}
|
"icon": {"type": "string"},
|
||||||
},
|
"group": {"type": "string"},
|
||||||
"required": ["short_name"]
|
"label": {"type": "string"}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"short_name"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"apps": {
|
"apps": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||||
|
|
||||||
"title": "avalon-core:config-1.1",
|
"title": "pype:config-1.1",
|
||||||
"description": "A project configuration.",
|
"description": "A project configuration.",
|
||||||
|
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||||
|
|
||||||
"title": "avalon-core:project-2.1",
|
"title": "pype:project-2.1",
|
||||||
"description": "A unit of data",
|
"description": "A unit of data",
|
||||||
|
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
"schema": {
|
"schema": {
|
||||||
"description": "Schema identifier for payload",
|
"description": "Schema identifier for payload",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["avalon-core:project-2.1"],
|
"enum": ["avalon-core:project-2.1", "pype:project-2.1"],
|
||||||
"example": "avalon-core:project-2.1"
|
"example": "avalon-core:project-2.1"
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
|
|
@ -52,7 +52,7 @@
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Document metadata",
|
"description": "Document metadata",
|
||||||
"example": {
|
"example": {
|
||||||
"schema": "avalon-core:config-1.1",
|
"schema": "pype:config-1.1",
|
||||||
"apps": [
|
"apps": [
|
||||||
{
|
{
|
||||||
"name": "maya2016",
|
"name": "maya2016",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue