Skip to content

Commit

Permalink
chore(schema): use uppercase for title (#1119)
Browse files Browse the repository at this point in the history
Because

- `title` property should be uppercase

This commit

- use uppercase for title
  • Loading branch information
heiruwu authored Sep 25, 2024
1 parent de073a2 commit 8f4ee7a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions schema/ai-tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@
"type": "object",
"properties": {
"data": {
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/62743c4/schema/schema.json#/$defs/instill-types/vision-input",
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/bdd0f35/schema/schema.json#/$defs/instill-types/vision-input",
"type": "object"
},
"parameter": {
Expand All @@ -1043,7 +1043,7 @@
"description": "Output data",
"instillShortDescription": "Output data",
"type": "object",
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/62743c4/schema/schema.json#/$defs/instill-types/classification"
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/bdd0f35/schema/schema.json#/$defs/instill-types/classification"
},
"metadata": {
"description": "Output metadata",
Expand Down Expand Up @@ -1076,7 +1076,7 @@
"type": "object",
"properties": {
"data": {
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/62743c4/schema/schema.json#/$defs/instill-types/vision-input",
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/bdd0f35/schema/schema.json#/$defs/instill-types/vision-input",
"type": "object"
},
"parameter": {
Expand All @@ -1101,7 +1101,7 @@
"description": "Output data",
"instillShortDescription": "Output data",
"type": "object",
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/62743c4/schema/schema.json#/$defs/instill-types/detection"
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/bdd0f35/schema/schema.json#/$defs/instill-types/detection"
},
"metadata": {
"description": "Output metadata",
Expand Down Expand Up @@ -1134,7 +1134,7 @@
"type": "object",
"properties": {
"data": {
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/62743c4/schema/schema.json#/$defs/instill-types/vision-input",
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/bdd0f35/schema/schema.json#/$defs/instill-types/vision-input",
"type": "object"
},
"parameter": {
Expand All @@ -1159,7 +1159,7 @@
"description": "Output data",
"instillShortDescription": "Output data",
"type": "object",
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/62743c4/schema/schema.json#/$defs/instill-types/keypoint"
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/bdd0f35/schema/schema.json#/$defs/instill-types/keypoint"
},
"metadata": {
"description": "Output metadata",
Expand Down Expand Up @@ -1192,7 +1192,7 @@
"type": "object",
"properties": {
"data": {
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/62743c4/schema/schema.json#/$defs/instill-types/vision-input",
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/bdd0f35/schema/schema.json#/$defs/instill-types/vision-input",
"type": "object"
},
"parameter": {
Expand All @@ -1217,7 +1217,7 @@
"description": "Output data",
"instillShortDescription": "Output data",
"type": "object",
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/62743c4/schema/schema.json#/$defs/instill-types/ocr"
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/bdd0f35/schema/schema.json#/$defs/instill-types/ocr"
},
"metadata": {
"description": "Output metadata",
Expand Down Expand Up @@ -1250,7 +1250,7 @@
"type": "object",
"properties": {
"data": {
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/62743c4/schema/schema.json#/$defs/instill-types/vision-input",
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/bdd0f35/schema/schema.json#/$defs/instill-types/vision-input",
"type": "object"
},
"parameter": {
Expand All @@ -1275,7 +1275,7 @@
"description": "Output data",
"instillShortDescription": "Output data",
"type": "object",
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/62743c4/schema/schema.json#/$defs/instill-types/semantic-segmentation"
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/bdd0f35/schema/schema.json#/$defs/instill-types/semantic-segmentation"
},
"metadata": {
"description": "Output metadata",
Expand Down Expand Up @@ -1308,7 +1308,7 @@
"type": "object",
"properties": {
"data": {
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/62743c4/schema/schema.json#/$defs/instill-types/vision-input",
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/bdd0f35/schema/schema.json#/$defs/instill-types/vision-input",
"type": "object"
},
"parameter": {
Expand All @@ -1333,7 +1333,7 @@
"description": "Output data",
"instillShortDescription": "Output data",
"type": "object",
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/62743c4/schema/schema.json#/$defs/instill-types/instance-segmentation"
"$ref": "https://raw.githubusercontent.com/instill-ai/instill-core/bdd0f35/schema/schema.json#/$defs/instill-types/instance-segmentation"
},
"metadata": {
"description": "Output metadata",
Expand Down
2 changes: 1 addition & 1 deletion schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"type": "string"
},
"type": {
"title": "file",
"title": "File",
"description": "Image base64 type.",
"instillShortDescription": "Image base64 type.",
"instillAcceptFormats": [
Expand Down

0 comments on commit 8f4ee7a

Please sign in to comment.