I am successfully using https://api.lucid.app/documents to create basic shapes using this json
{
"version": 1,
"rules": [],
"collections": [],
"title": "TEST003",
"pages": [
{
"id": "page1",
"title": "page1",
"shapes": [
{"id":"block0","type":"database","customData":[],"boundingBox":{"x":100,"y":100,"w":100,"h":100},"text":"Block"}
]
}
]
}
but when I tried:
{
"version": 1,
"rules": [],
"collections": [],
"title": "TEST003",
"pages": [
{
"id": "page1",
"title": "page1",
"shapes": [
{"id":"block0","type":"ArchiMate3ServiceBoxBlock","customData":[],"boundingBox":{"x":100,"y":100,"w":100,"h":100},"text":"Block"}
]
}
]
}
I got an error:
"details":{"error":"Count: 1, message: Invalid shape type","import_error_code":"invalid_file"}}
Is there a list of valid attributes? How do I make it working with ArchiMate3ServiceBoxBlock.
ArchiMate3ServiceBoxBlock is a shape from standard shape library called “Enterprise Architecture”.