diff --git a/src/pages/schema.image.line/example.mdx b/src/pages/schema.image.line/example.mdx index 06b44ece..a5202f95 100644 --- a/src/pages/schema.image.line/example.mdx +++ b/src/pages/schema.image.line/example.mdx @@ -14,7 +14,7 @@ import CodePreview from '../../components/code-preview'; "toolName": "lineTool", "result": [ { - "pointList": [ + "points": [ { "x": 346.88414634146346, "y": 229.8300304878049, @@ -43,7 +43,7 @@ import CodePreview from '../../components/code-preview'; "label": "noneAttribute" }, { - "pointList": [ + "points": [ { "x": 684.9192073170732, "y": 127.18064024390246, @@ -97,7 +97,7 @@ import CodePreview from '../../components/code-preview'; ], "order": 1, "attribute": "label-1", - "pointList": [ + "points": [ { "id": "74aede72-8b5e-4f28-978e-04f2827b95ae", "x": 55.683673469387756, diff --git a/src/pages/schema.image.line/schema.json b/src/pages/schema.image.line/schema.json index 72e49d9d..a38faec2 100644 --- a/src/pages/schema.image.line/schema.json +++ b/src/pages/schema.image.line/schema.json @@ -30,7 +30,7 @@ "required": ["x", "y"] } }, - "pointList": { + "points": { "type": "array", "description": "标注点列表", "items": { @@ -76,5 +76,5 @@ "description": "标注类别" } }, - "required": ["lineType", "pointList", "id", "", "order", "label"] + "required": ["lineType", "points", "id", "", "order", "label"] } diff --git a/src/pages/schema.image.polygon/example.mdx b/src/pages/schema.image.polygon/example.mdx index 1f5619ca..4f49416a 100644 --- a/src/pages/schema.image.polygon/example.mdx +++ b/src/pages/schema.image.polygon/example.mdx @@ -16,7 +16,7 @@ import CodePreview from '../../components/code-preview'; { "id": "FuzuAJ4q", "visible": true, - "pointList": [ + "points": [ { "x": 803.4969512195122, "y": 605.0312499999999 @@ -96,7 +96,7 @@ import CodePreview from '../../components/code-preview'; ], "order": 1, "attribute": "label-1", - "pointList": [ + "points": [ { "id": "5adf5d04-f49d-47b9-abba-2f2e95714b40", "x": 203.68877551020407, diff --git a/src/pages/schema.image.polygon/schema.json b/src/pages/schema.image.polygon/schema.json index 9f240ab6..b91f3a5f 100644 --- a/src/pages/schema.image.polygon/schema.json +++ b/src/pages/schema.image.polygon/schema.json @@ -29,7 +29,7 @@ "required": ["x", "y"] } }, - "pointList": { + "points": { "type": "array", "description": "标注点列表", "items": { @@ -74,5 +74,5 @@ "default": "none" } }, - "required": ["lineType", "pointList", "x", "y", "width", "height", "id", "order", "label"] + "required": ["lineType", "points", "x", "y", "width", "height", "id", "order", "label"] }