Skip to content

Commit cb56c25

Browse files
committed
feat(validate-image): update validate task properties
1 parent b457106 commit cb56c25

File tree

2 files changed

+268
-103
lines changed

2 files changed

+268
-103
lines changed

functions/definition/models.yaml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,9 +498,32 @@ FbMappingTaskValidateImageCreateOnlyInput:
498498
fields:
499499
taskId:
500500
type: string
501-
question:
501+
url:
502+
type: string
503+
fileName:
504+
type: string
505+
width:
506+
type: int
507+
optional: true
508+
height:
509+
type: int
510+
optional: true
511+
annotationId:
512+
# NOTE: using string to handle large integers
502513
type: string
503514
optional: true
515+
bbox:
516+
type:
517+
type: list
518+
elementType: double
519+
optional: true
520+
segmentation:
521+
type:
522+
type: list
523+
elementType:
524+
type: list
525+
elementType: double
526+
optional: true
504527

505528
FbMappingTaskCompareCreateOnlyInput:
506529
model: alias

0 commit comments

Comments
 (0)