ドキュメントプロジェクトの入出力フォーマットを説明します。

各フォーマット内のattributes部分については共通フォーマットをご参照ください。

矩形

[
    {
        "id": "85c10517-28ec-4fa3-8d51-bfee5c53039e",
        "name": "chosaku_riyou.pdf",
        "status": "registered",
        "externalStatus": "registered",
        "url": "Signed URL of your image"
        "width": 0,
        "height": 0,
        "secondsToAnnotate": 0,
        "annotations": [
            {
                "id": "d6fd04bc-842a-4ccb-ba7c-67f83bd5df49",
                "type": "bbox",
                "title": "テキスト",
                "value": "text",
                "color": "#c681ae",
                "attributes": [
                    {
                        "type": "text",
                        "name": "文字列",
                        "key": "string",
                        "value": "著作物利用許諾契約書"
                    }
                ],
                "points": {
                    "1": [       // page number 
                        214, // top-left x point
                            384, // top-left y point
                            309, // bottom-right x point
                            439  // bottom-right y point
                    ]
                },
                "rotation": 0,
                "keypoints": [],  // pose estimation project's points
                "confidenceScore": -1 // scored by auto annotation ("-1" means you manually annotated)
            },
            {
                "id": "ba157985-e332-43fa-8b39-07ed99e8e2cb",
                "type": "bbox",
                "title": "テキスト",
                "value": "text",
                "color": "#c681ae",
                "attributes": [
                    {
                        "type": "text",
                        "name": "文字列",
                        "key": "string",
                        "value": "第 11 条(権利義務譲渡等禁止)"
                    }
                ],
                "points": {
                    "2": [
                        75.19,
                        468.94,
                        233.48,
                        501.79
                    ]
                },
                "rotation": 0,
                "keypoints": [],
                "confidenceScore": -1
            }
        ],
        "relations": [],
        "tags": [
            "tag"
        ],
        "assignee": "",
        "reviewer": "",
        "approver": "",
        "externalAssignee": "",
        "externalReviewer": "",
        "externalApprover": "",
        "groupId": "",
        "createdAt": "2022-06-24T11:44:52.526764",
        "updatedAt": "2022-06-24T11:44:52.526764"
    }
]