Piloter Arkita avec l’API MCP
Un assistant IA ou un autre client externe peut consulter le dessin ouvert, modifier sa géométrie, gérer les matières et les composants ou piloter la caméra.
Se connecter à Arkita
Le compagnon Windows expose l’API MCP d’Arkita v1. Remplacez le chemin de l’exemple par celui de votre installation.
--attach-open [PID]- Se rattacher à une fenêtre ouverte par le lanceur Arkita. Précisez le PID si plusieurs fenêtres sont ouvertes. Le lanceur récupère l’autorisation locale.
--stdio- Démarrer un compagnon privé. Appelez
arkita_app_startpour ouvrir son instance de dessin. --http-localet--attach URL- Servir un compagnon sur la boucle locale avec un jeton
ARKITA_MCP_TOKEN, ou s’y rattacher par un proxy stdio. Réservez l’accès au poste et gardez le jeton dans l’environnement du client.
Lire le dessin actif en JavaScript
import { Client } from '@modelcontextprotocol/client';
import { StdioClientTransport } from '@modelcontextprotocol/client/stdio';
const client = new Client({ name: 'mon-client-arkita', version: '1.0.0' });
await client.connect(new StdioClientTransport({
command: 'C:/Arkita/ArkitaMcp.exe',
args: ['--attach-open']
}));
try {
const result = await client.callTool({
name: 'arkita_document_list', arguments: {}
});
if (result.isError) throw new Error(JSON.stringify(result.content));
console.log(result.structuredContent);
} finally {
await client.close();
}
Appelez tools/list en suivant nextCursor pour découvrir les commandes du compagnon installé. arkita_protocol_profiles indique les profils compatibles. arkita_capabilities et arkita_health identifient le périmètre et la version du compagnon.
Modifier un dessin
- Appelez
arkita_document_listpour obtenir l’epoch, lastateRevisionet l’identifiant du dessin. - Pour une commande d’écriture qui le demande, transmettez la révision dans
expectedStateRevisionet générez un UUIDrequestId. - Vérifiez
isErroret lisez le résultat dansstructuredContent. En cas de conflit de révision, relisez le dessin et réévaluez l’opération avant de la soumettre.
Les chemins de fichiers sont locaux au poste qui exécute Arkita. Vérifiez l’unité attendue dans le schéma de chaque commande. Les dimensions du modèle, les axes et les angles ont leur propre convention.
Les signalements utilisent le compte connecté dans la fenêtre. Depuis le site, le point d’accès MCP /mcp offre les quatre commandes de support via OAuth. Présentez le brouillon et les doublons avant de soumettre le ticket.
Appeler un outil d’extension
Connectez-vous au compagnon local de la fenêtre où l’extension est chargée. tools/list retourne ses outils arkita_ext_… et leurs schémas. Envoyez le nom retourné et ses arguments à tools/call. Une réponse réussie contient le résultat dans structuredContent.
Avec l’extension Pose de porte, appelez arkita_ext_example_door-placement__place_door. Fournissez l’identifiant de la définition, celui de l’occurrence du mur, un point sur sa face et la normale entrante. Les coordonnées et les dimensions sont en mètres dans le repère d’édition courant.
{
"name": "arkita_ext_example_door-placement__place_door",
"arguments": {
"definitionId": "definition_…",
"punchHostId": "instance_…",
"position": [
1,
0,
0
],
"punchNormal": [
0,
1,
0
],
"options": {
"DoorWidth": 1.1,
"DoorHeight": 2.15
}
}
}
Avec l’inspecteur chargé, appelez arkita_ext_example_component-inspector__inspect_components avec {}, puis utilisez arkita_ext_example_component-inspector__set_options. Copiez le context de la réponse et les identifiants des occurrences à modifier. La commande reçoit les unités de stockage des attributs. Par exemple, {"DoorWidth":1.1} correspond à 1 100 mm lorsque l’attribut déclare metre. Pour un attribut de taille dont l’unité est model, la valeur est en millimètres. Si la révision a changé, relisez les occurrences avant de soumettre à nouveau.
Avec le générateur chargé, appelez arkita_ext_example_shelf-builder__create_shelf avec {"width":0.9,"height":1.8,"depth":0.3,"shelves":4}. Les dimensions sont en mètres. L’outil arkita_ext_example_shelf-builder__inspect_model permet de lire la définition ou de retrouver l’occurrence créée.
Chaque fenêtre expose ses propres extensions actives. Actualisez la liste après leur chargement ou leur désactivation. Le point d’accès MCP du site web concerne les tickets de support. Déclarer un outil depuis une extension
Référence des commandes
85 commandes du compagnon, avec leurs schémas d’entrée et de sortie. Télécharger la référence JSON.
Les ressources MCP arkita://guide, arkita://diagnostics et arkita://catalogue/0 sont accessibles via resources/read. Le catalogue fournit le prochain décalage pour poursuivre la lecture.
Documents et géométrie
arkita_document_list
Read the single-window document session, epoch and stateRevision.
Entrée JSON
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_new
Create an empty Arkita document with stable IDs and display units, replacing the current document. Use current session epoch/stateRevision and a unique requestId.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"maxLength": 1024
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_close
Close the current document by exact document ID and session revision.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_save_work
Save a complete Arkita document at a direct local Windows path (240 characters, up to 64 MiB of document data). Use .arkt for lossless compression. Legacy JSON drawing paths are supported. A different existing file is rejected. Replace the active source atomically after verifying its last known SHA-256.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 240,
"pattern": "^[A-Za-z]:[\\\\/][^\\0]*$"
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"path"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_open_work
Open a validated local Arkita 0.1.0 document in compressed .arkt or legacy JSON, up to 64 MiB after decoding. The local SKP bridge imports supported SKP 2020 and newer ZIP-container models without updating the source. The optional skpImport receipt reports the source version and omitted features.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 240,
"pattern": "^[A-Za-z]:[\\\\/][^\\0]*$"
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"path"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_get_lighting
Read the active plan’s sunlight settings, solar angles and effective atmosphere.
Entrée JSON
{
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"documentId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"sunlight": {
"type": "object",
"properties": {
"elevation": {
"type": "integer",
"minimum": 0,
"maximum": 90,
"description": "Degrees above the horizon. 90 is the zenith."
},
"azimuth": {
"type": "integer",
"minimum": 0,
"maximum": 359,
"description": "Degrees clockwise from the defined north. 90 is east."
},
"intensity": {
"type": "integer",
"minimum": 0,
"maximum": 200,
"description": "Overall intensity as a percentage."
},
"cloudCover": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"description": "0 is clear sun, 100 is fully diffuse."
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"description": "RGB tint as #RRGGBB."
},
"northAngle": {
"type": "number",
"minimum": 0,
"exclusiveMaximum": 360,
"description": "Degrees clockwise from the green +Y axis to the defined north."
},
"weather": {
"description": "Derive the effective light from a sky preset and solar elevation. Omit for manual intensity, cloud cover and tint.",
"type": "string",
"enum": [
"clear",
"hazy",
"overcast"
]
},
"fixedElevation": {
"description": "Keep the manual elevation even when the azimuth is computed from the schedule.",
"type": "boolean"
},
"schedule": {
"description": "Compute the sun angles from this local date, time and position.",
"type": "object",
"properties": {
"date": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"time": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"timeZone": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "IANA time zone for the local date and time."
},
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180
}
},
"required": [
"date",
"time",
"timeZone",
"latitude",
"longitude"
],
"additionalProperties": false
}
},
"required": [
"elevation",
"azimuth",
"intensity",
"cloudCover",
"color",
"northAngle"
],
"additionalProperties": false
},
"sunAngles": {
"type": "object",
"properties": {
"elevation": {
"type": "number"
},
"azimuth": {
"type": "number"
}
},
"required": [
"elevation",
"azimuth"
],
"additionalProperties": false
},
"atmosphere": {
"type": "object",
"properties": {
"intensity": {
"type": "integer",
"minimum": 0,
"maximum": 200,
"description": "Overall intensity as a percentage."
},
"cloudCover": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"description": "0 is clear sun, 100 is fully diffuse."
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"description": "RGB tint as #RRGGBB."
}
},
"required": [
"intensity",
"cloudCover",
"color"
],
"additionalProperties": false
}
},
"required": [
"documentId",
"epoch",
"stateRevision",
"sunlight",
"sunAngles"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_set_lighting
Set the sunlight of the active plan. The change is undoable and is saved with the plan.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"sunlight": {
"type": "object",
"properties": {
"elevation": {
"type": "integer",
"minimum": 0,
"maximum": 90,
"description": "Degrees above the horizon. 90 is the zenith."
},
"azimuth": {
"type": "integer",
"minimum": 0,
"maximum": 359,
"description": "Degrees clockwise from the defined north. 90 is east."
},
"intensity": {
"type": "integer",
"minimum": 0,
"maximum": 200,
"description": "Overall intensity as a percentage."
},
"cloudCover": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"description": "0 is clear sun, 100 is fully diffuse."
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"description": "RGB tint as #RRGGBB."
},
"northAngle": {
"type": "number",
"minimum": 0,
"exclusiveMaximum": 360,
"description": "Degrees clockwise from the green +Y axis to the defined north."
},
"weather": {
"description": "Derive the effective light from a sky preset and solar elevation. Omit for manual intensity, cloud cover and tint.",
"type": "string",
"enum": [
"clear",
"hazy",
"overcast"
]
},
"fixedElevation": {
"description": "Keep the manual elevation even when the azimuth is computed from the schedule.",
"type": "boolean"
},
"schedule": {
"description": "Compute the sun angles from this local date, time and position.",
"type": "object",
"properties": {
"date": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"time": {
"type": "string",
"pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
},
"timeZone": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "IANA time zone for the local date and time."
},
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180
}
},
"required": [
"date",
"time",
"timeZone",
"latitude",
"longitude"
],
"additionalProperties": false
}
},
"required": [
"elevation",
"azimuth",
"intensity",
"cloudCover",
"color",
"northAngle"
],
"additionalProperties": false
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"sunlight"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_offset_face
Create a parallel contour of a face in the current editing context. The operation is undoable.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"faceId": {
"type": "string",
"pattern": "^face_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"distance": {
"type": "number",
"description": "Signed distance in metres. Positive is outward and negative is inward."
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"faceId",
"distance"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_thicken_faces
Thicken selected faces as one undoable operation, joining adjacent faces and keeping openings. Positive distance in metres is outward on closed shells and wall belts, or along the reference normal for open surfaces.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"faceIds": {
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"pattern": "^face_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"referenceFaceId": {
"type": "string",
"pattern": "^face_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"distance": {
"type": "number"
},
"rimAngleDegrees": {
"description": "Angle between the wall and its open rim. Defaults to 90 degrees.",
"type": "number",
"exclusiveMinimum": 0,
"exclusiveMaximum": 180
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"faceIds",
"referenceFaceId",
"distance"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_extrude
Extrude a face in the current editing context. Set copy to keep its original geometry and create a separate cap. The operation is undoable.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"faceId": {
"type": "string",
"pattern": "^face_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"height": {
"type": "number",
"description": "Signed distance in metres along the face normal."
},
"copy": {
"type": "boolean"
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"faceId",
"height"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_move
Translate the chosen geometry or instances in the current editing context. The change is undoable.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"entityIds": {
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"delta": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3,
"description": "Translation in metres in the current editing context."
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"entityIds",
"delta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_merge_aligned_edges
Merge compatible collinear edges selected by ID in the current editing context, preserving face boundaries. The batch is undoable as one edit.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"entityIds": {
"minItems": 2,
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"entityIds"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
},
"mergedJunctions": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents",
"mergedJunctions"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_move_junction
Move the vertex shared by two collinear edges in the current editing context. Move it onto an adjacent endpoint to merge a compatible pair. The change is undoable.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"vertexId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"delta": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"vertexId",
"delta"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_scale
Scale the chosen geometry or instances around a fixed point. Instance definitions are preserved.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"entityIds": {
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"pivot": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3,
"description": "Fixed anchor in metres in the current editing context."
},
"factors": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3,
"description": "Multipliers along the three axes. Use 1 for an unchanged axis."
},
"axes": {
"description": "Orthonormal frame. Defaults to model X, Y and Z.",
"type": "array",
"prefixItems": [
{
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
{
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
{
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
}
],
"items": false,
"minItems": 3,
"maxItems": 3
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"entityIds",
"pivot",
"factors"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_solid_operation
Apply an undoable Boolean operation to closed solid instances and return the resulting group IDs.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"operation": {
"type": "string",
"enum": [
"union",
"intersection",
"subtract",
"trim",
"split",
"outerShell"
]
},
"operandIds": {
"minItems": 2,
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"description": "Sibling solid groups or component instances. Subtract and trim use the first solid as the cutter and the second as the target."
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"operation",
"operandIds"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
},
"solidResults": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents",
"solidResults"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_follow_me
Sweep a profile face along a connected open or closed edge path in the same editing context. The profile is consumed, and the path remains.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"profileId": {
"type": "string",
"pattern": "^face_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"edgeIds": {
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"profileId",
"edgeIds"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
},
"sweptFaces": {
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"pattern": "^face_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents",
"sweptFaces"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_components_list
List reusable component definitions and direct occurrences in the active edit context. Pass entityId to read an occurrence’s dynamic attributes, effective values and dimensions in millimetres.
Entrée JSON
{
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"entityId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"documentId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"epoch": {
"type": "string"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"editPath": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"definitions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"definitionId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"attributes": {
"maxItems": 64,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,39}$"
},
"label": {
"type": "string",
"maxLength": 80
},
"value": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 1024
},
{
"type": "boolean"
}
]
},
"dataType": {
"type": "string",
"enum": [
"text",
"number",
"boolean"
]
},
"unit": {
"description": "The model length unit uses millimetres in MCP. Other numeric values use the stated unit.",
"type": "string",
"enum": [
"model",
"metre",
"celsius",
"radian",
"degree",
"percent",
"euro",
"dollar",
"yen",
"kilogram",
"pound"
]
},
"visible": {
"description": "Whether the attribute is shown in occurrence options.",
"type": "boolean"
},
"editable": {
"type": "boolean"
},
"formula": {
"type": "string",
"maxLength": 512
},
"choices": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"value": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 1024
},
{
"type": "boolean"
}
]
}
},
"required": [
"label",
"value"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"value"
],
"additionalProperties": false
}
}
},
"required": [
"definitionId",
"name",
"description",
"attributes"
],
"additionalProperties": false
}
},
"occurrences": {
"type": "array",
"items": {
"type": "object",
"properties": {
"entityId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"definitionId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"hidden": {
"type": "boolean"
},
"locked": {
"type": "boolean"
}
},
"required": [
"entityId",
"definitionId",
"hidden",
"locked"
],
"additionalProperties": false
}
},
"component": {
"type": "object",
"properties": {
"definitionId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"entityId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"attributes": {
"maxItems": 64,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,39}$"
},
"label": {
"type": "string",
"maxLength": 80
},
"value": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 1024
},
{
"type": "boolean"
}
]
},
"dataType": {
"type": "string",
"enum": [
"text",
"number",
"boolean"
]
},
"unit": {
"description": "The model length unit uses millimetres in MCP. Other numeric values use the stated unit.",
"type": "string",
"enum": [
"model",
"metre",
"celsius",
"radian",
"degree",
"percent",
"euro",
"dollar",
"yen",
"kilogram",
"pound"
]
},
"visible": {
"description": "Whether the attribute is shown in occurrence options.",
"type": "boolean"
},
"editable": {
"type": "boolean"
},
"formula": {
"type": "string",
"maxLength": 512
},
"choices": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"value": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 1024
},
{
"type": "boolean"
}
]
}
},
"required": [
"label",
"value"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"value"
],
"additionalProperties": false
}
},
"options": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,39}$"
},
"additionalProperties": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 1024
},
{
"type": "boolean"
}
]
}
},
"values": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,39}$"
},
"additionalProperties": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 1024
},
{
"type": "boolean"
}
]
}
},
"dimensionsMm": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
}
},
"required": [
"definitionId",
"entityId",
"name",
"attributes",
"options",
"values",
"dimensionsMm"
],
"additionalProperties": false
}
},
"required": [
"documentId",
"epoch",
"stateRevision",
"editPath",
"definitions",
"occurrences"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_component_create
Create a reusable component from the selected geometry, guides or instances in the active edit context. Replaces the selection by default. With replace=false, saves only the definition and returns a null entityId. An optional custom origin is in metres. An optional dynamic profile uses millimetres for LenX, LenY and LenZ.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"entityIds": {
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"description": {
"type": "string",
"maxLength": 16384
},
"replace": {
"type": "boolean"
},
"origin": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"attributes": {
"maxItems": 64,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,39}$"
},
"label": {
"type": "string",
"maxLength": 80
},
"value": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 1024
},
{
"type": "boolean"
}
]
},
"dataType": {
"type": "string",
"enum": [
"text",
"number",
"boolean"
]
},
"unit": {
"description": "The model length unit uses millimetres in MCP. Other numeric values use the stated unit.",
"type": "string",
"enum": [
"model",
"metre",
"celsius",
"radian",
"degree",
"percent",
"euro",
"dollar",
"yen",
"kilogram",
"pound"
]
},
"visible": {
"description": "Whether the attribute is shown in occurrence options.",
"type": "boolean"
},
"editable": {
"type": "boolean"
},
"formula": {
"type": "string",
"maxLength": 512
},
"choices": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"value": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 1024
},
{
"type": "boolean"
}
]
}
},
"required": [
"label",
"value"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"value"
],
"additionalProperties": false
}
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"entityIds",
"name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
},
"entityId": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
{
"type": "null"
}
]
},
"definitionId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents",
"entityId",
"definitionId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_component_place
Place an occurrence at the given origin in metres. A PunchHoleAxis component requires the target wall occurrence and an inward surface normal. Pass punchOccurrenceId to relocate an existing opening.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"definitionId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"position": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"punchHostId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"punchNormal": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"punchOccurrenceId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"definitionId",
"position"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
},
"entityId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"definitionId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents",
"entityId",
"definitionId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_component_set_attributes
Replace the shared dynamic profile of a component definition. LenX, LenY and LenZ control local dimensions in millimetres. Hidden uses 0 for visible and any other value for hidden. Formula references are case-insensitive and may use arithmetic, comparisons, IF, MIN, MAX, ABS, SQRT and ROUND.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"entityId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"attributes": {
"maxItems": 64,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,39}$"
},
"label": {
"type": "string",
"maxLength": 80
},
"value": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 1024
},
{
"type": "boolean"
}
]
},
"dataType": {
"type": "string",
"enum": [
"text",
"number",
"boolean"
]
},
"unit": {
"description": "The model length unit uses millimetres in MCP. Other numeric values use the stated unit.",
"type": "string",
"enum": [
"model",
"metre",
"celsius",
"radian",
"degree",
"percent",
"euro",
"dollar",
"yen",
"kilogram",
"pound"
]
},
"visible": {
"description": "Whether the attribute is shown in occurrence options.",
"type": "boolean"
},
"editable": {
"type": "boolean"
},
"formula": {
"type": "string",
"maxLength": 512
},
"choices": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"value": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 1024
},
{
"type": "boolean"
}
]
}
},
"required": [
"label",
"value"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"value"
],
"additionalProperties": false
}
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"entityId",
"attributes"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
},
"entityId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"definitionId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents",
"entityId",
"definitionId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_component_set_options
Change editable values on one occurrence. A null value resets the option to its definition default. An update is atomic and undoable.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"entityId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"options": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,39}$"
},
"additionalProperties": {
"anyOf": [
{
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 1024
},
{
"type": "boolean"
}
]
},
{
"type": "null"
}
]
}
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"entityId",
"options"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
},
"entityId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"definitionId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents",
"entityId",
"definitionId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_component_enter
Enter a component occurrence for editing. Changes to geometry inside it affect every occurrence of the same definition.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"entityId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"entityId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_component_leave
Leave the current component editing context.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_component_make_unique
Detach an occurrence to its own component definition. Its geometry and dynamic settings are kept.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"entityId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"entityId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_draw_line
Draw a line between two points in metres in the current editing context. Coplanar closed contours can form or restore faces.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"first": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"opposite": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"first",
"opposite"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
},
"existingLine": {
"type": "boolean",
"const": true
},
"rebuiltFace": {
"type": "boolean",
"const": true
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_draw_rectangle
Draw a rectangle from opposite corners in metres. Use XY coordinates for the ground plane, or two 3D points and a plane normal.
Entrée JSON
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"anyOf": [
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"first": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 2,
"maxItems": 2
},
"opposite": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 2,
"maxItems": 2
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"first",
"opposite"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"first": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"opposite": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"normal": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"first",
"opposite",
"normal"
],
"additionalProperties": false
}
]
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_rotate
Rotate the specified geometry or instances about a pivot in metres in the current editing context.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"entityIds": {
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"pivot": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"axis": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3,
"description": "Rotation axis vector in the current editing context. It need not be normalized."
},
"angle": {
"type": "number",
"description": "Signed angle in degrees. Positive follows the right-hand rule."
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"entityIds",
"pivot",
"axis",
"angle"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_add_guide_point
Add a persistent snap guide point at a position in metres in the current editing context.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"position": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"position"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_add_guide_line
Add a persistent snap guide line from a position in metres and a direction vector in the current editing context.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"position": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"direction": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"position",
"direction"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_delete_guides
Delete all persistent guides in the document. The edit can be undone.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_delete_selection
Delete the specified visible entities in the current editing context. Coplanar faces can merge across deleted edges.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"entityIds": {
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"entityIds"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_undo
Undo the latest committed edit to the current drawing.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_document_redo
Redo the latest undone edit to the current drawing.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_tag_set_cutaway
Set whether this tag may be opened in the camera-only work cutaway, and optionally set the maximum wall thickness in millimetres. Saved with the plan.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"tagId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"allowed": {
"type": "boolean"
},
"toleranceMillimetres": {
"type": "number",
"minimum": 0,
"maximum": 1000000
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"tagId",
"allowed"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_group_set_cutaway_protection
Set whether a group in the current editing context and its descendants always remain visible in the work cutaway. Saved with the plan.
Entrée JSON
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"groupId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"protected": {
"type": "boolean"
}
},
"required": [
"epoch",
"expectedStateRevision",
"requestId",
"documentId",
"groupId",
"protected"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}Matières et lumières
arkita_material_list
List the colors, textures and lights in the active plan. Materials with emission belong to the Lights category.
Entrée JSON
{
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"documentId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"materials": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "color"
},
"id": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"used": {
"type": "boolean"
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"description": "Opaque RGB color, #RRGGBB."
},
"opacity": {
"description": "Opacity from 0 (clear) to 1 (opaque), independent of emission.",
"type": "number",
"minimum": 0,
"maximum": 1
},
"emission": {
"anyOf": [
{
"type": "object",
"properties": {
"intensity": {
"type": "number",
"minimum": 0,
"maximum": 1000000,
"description": "Emitted luminance in cd/m²."
},
"beam": {
"type": "object",
"properties": {
"angleDegrees": {
"type": "number",
"minimum": 1,
"maximum": 179,
"description": "Full beam opening in degrees."
},
"softness": {
"type": "number",
"minimum": 0.1,
"maximum": 1,
"description": "Fraction of the beam half-angle used for the gradual edge."
},
"side": {
"type": "string",
"enum": [
"front",
"back",
"both"
]
}
},
"required": [
"angleDegrees",
"softness",
"side"
],
"additionalProperties": false
},
"temperatureKelvin": {
"type": "integer",
"minimum": 1700,
"maximum": 25000
},
"hasImage": {
"type": "boolean"
},
"useSurfaceTexture": {
"description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
"type": "boolean"
}
},
"required": [
"intensity",
"temperatureKelvin",
"hasImage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"intensity": {
"type": "number",
"minimum": 0,
"maximum": 1000000,
"description": "Emitted luminance in cd/m²."
},
"beam": {
"type": "object",
"properties": {
"angleDegrees": {
"type": "number",
"minimum": 1,
"maximum": 179,
"description": "Full beam opening in degrees."
},
"softness": {
"type": "number",
"minimum": 0.1,
"maximum": 1,
"description": "Fraction of the beam half-angle used for the gradual edge."
},
"side": {
"type": "string",
"enum": [
"front",
"back",
"both"
]
}
},
"required": [
"angleDegrees",
"softness",
"side"
],
"additionalProperties": false
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"description": "Opaque RGB color, #RRGGBB."
},
"hasImage": {
"type": "boolean"
},
"useSurfaceTexture": {
"description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
"type": "boolean"
}
},
"required": [
"intensity",
"color",
"hasImage"
],
"additionalProperties": false
}
]
},
"reflection": {
"type": "object",
"properties": {
"strength": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Reflection strength from 0 (matte) to 1 (mirror)."
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Reflection roughness from 0 (sharp) to 1 (diffuse)."
}
},
"required": [
"strength",
"roughness"
],
"additionalProperties": false
}
},
"required": [
"kind",
"id",
"name",
"used",
"color"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "texture"
},
"id": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"used": {
"type": "boolean"
},
"width": {
"type": "number",
"minimum": 0.000001,
"maximum": 1000000,
"description": "Length of one repeat in metres."
},
"height": {
"type": "number",
"minimum": 0.000001,
"maximum": 1000000,
"description": "Length of one repeat in metres."
},
"rotationDegrees": {
"type": "number",
"minimum": -360,
"maximum": 360,
"description": "Orientation of the repeat in degrees. Defaults to 0."
},
"pixelWidth": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"pixelHeight": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"sha256": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"opacity": {
"description": "Opacity from 0 (clear) to 1 (opaque), independent of emission.",
"type": "number",
"minimum": 0,
"maximum": 1
},
"emission": {
"anyOf": [
{
"type": "object",
"properties": {
"intensity": {
"type": "number",
"minimum": 0,
"maximum": 1000000,
"description": "Emitted luminance in cd/m²."
},
"beam": {
"type": "object",
"properties": {
"angleDegrees": {
"type": "number",
"minimum": 1,
"maximum": 179,
"description": "Full beam opening in degrees."
},
"softness": {
"type": "number",
"minimum": 0.1,
"maximum": 1,
"description": "Fraction of the beam half-angle used for the gradual edge."
},
"side": {
"type": "string",
"enum": [
"front",
"back",
"both"
]
}
},
"required": [
"angleDegrees",
"softness",
"side"
],
"additionalProperties": false
},
"temperatureKelvin": {
"type": "integer",
"minimum": 1700,
"maximum": 25000
},
"hasImage": {
"type": "boolean"
},
"useSurfaceTexture": {
"description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
"type": "boolean"
}
},
"required": [
"intensity",
"temperatureKelvin",
"hasImage"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"intensity": {
"type": "number",
"minimum": 0,
"maximum": 1000000,
"description": "Emitted luminance in cd/m²."
},
"beam": {
"type": "object",
"properties": {
"angleDegrees": {
"type": "number",
"minimum": 1,
"maximum": 179,
"description": "Full beam opening in degrees."
},
"softness": {
"type": "number",
"minimum": 0.1,
"maximum": 1,
"description": "Fraction of the beam half-angle used for the gradual edge."
},
"side": {
"type": "string",
"enum": [
"front",
"back",
"both"
]
}
},
"required": [
"angleDegrees",
"softness",
"side"
],
"additionalProperties": false
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"description": "Opaque RGB color, #RRGGBB."
},
"hasImage": {
"type": "boolean"
},
"useSurfaceTexture": {
"description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
"type": "boolean"
}
},
"required": [
"intensity",
"color",
"hasImage"
],
"additionalProperties": false
}
]
},
"reflection": {
"type": "object",
"properties": {
"strength": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Reflection strength from 0 (matte) to 1 (mirror)."
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Reflection roughness from 0 (sharp) to 1 (diffuse)."
}
},
"required": [
"strength",
"roughness"
],
"additionalProperties": false
}
},
"required": [
"kind",
"id",
"name",
"used",
"width",
"height",
"pixelWidth",
"pixelHeight",
"sha256"
],
"additionalProperties": false
}
]
}
}
},
"required": [
"documentId",
"epoch",
"stateRevision",
"materials"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_material_add
Add a color, a texture or a light. A light can reuse a stored material or library texture without editing it.
Entrée JSON
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"oneOf": [
{
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"type": "string",
"const": "color"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"description": "Opaque RGB color, #RRGGBB."
},
"opacity": {
"description": "Opacity from 0 (clear) to 1 (opaque), independent of emission.",
"type": "number",
"minimum": 0,
"maximum": 1
},
"emission": {
"anyOf": [
{
"type": "object",
"properties": {
"intensity": {
"type": "number",
"minimum": 0,
"maximum": 1000000,
"description": "Emitted luminance in cd/m²."
},
"beam": {
"type": "object",
"properties": {
"angleDegrees": {
"type": "number",
"minimum": 1,
"maximum": 179,
"description": "Full beam opening in degrees."
},
"softness": {
"type": "number",
"minimum": 0.1,
"maximum": 1,
"description": "Fraction of the beam half-angle used for the gradual edge."
},
"side": {
"type": "string",
"enum": [
"front",
"back",
"both"
]
}
},
"required": [
"angleDegrees",
"softness",
"side"
],
"additionalProperties": false
},
"temperatureKelvin": {
"type": "integer",
"minimum": 1700,
"maximum": 25000
},
"imagePath": {
"type": "string",
"maxLength": 240,
"pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
"description": "Absolute local Windows path to a JPEG, PNG or BMP."
},
"materialSource": {
"description": "Use the chosen material's texture as the emission map.",
"anyOf": [
{
"type": "object",
"properties": {
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"materialId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"libraryMaterial": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"libraryMaterial"
],
"additionalProperties": false
}
]
},
"useSurfaceTexture": {
"description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
"type": "boolean"
}
},
"required": [
"intensity",
"temperatureKelvin"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"intensity": {
"type": "number",
"minimum": 0,
"maximum": 1000000,
"description": "Emitted luminance in cd/m²."
},
"beam": {
"type": "object",
"properties": {
"angleDegrees": {
"type": "number",
"minimum": 1,
"maximum": 179,
"description": "Full beam opening in degrees."
},
"softness": {
"type": "number",
"minimum": 0.1,
"maximum": 1,
"description": "Fraction of the beam half-angle used for the gradual edge."
},
"side": {
"type": "string",
"enum": [
"front",
"back",
"both"
]
}
},
"required": [
"angleDegrees",
"softness",
"side"
],
"additionalProperties": false
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"description": "Opaque RGB color, #RRGGBB."
},
"imagePath": {
"type": "string",
"maxLength": 240,
"pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
"description": "Absolute local Windows path to a JPEG, PNG or BMP."
},
"materialSource": {
"description": "Use the chosen material's texture as the emission map.",
"anyOf": [
{
"type": "object",
"properties": {
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"materialId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"libraryMaterial": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"libraryMaterial"
],
"additionalProperties": false
}
]
},
"useSurfaceTexture": {
"description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
"type": "boolean"
}
},
"required": [
"intensity",
"color"
],
"additionalProperties": false
}
]
},
"reflection": {
"type": "object",
"properties": {
"strength": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Reflection strength from 0 (matte) to 1 (mirror)."
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Reflection roughness from 0 (sharp) to 1 (diffuse)."
}
},
"required": [
"strength",
"roughness"
],
"additionalProperties": false
}
},
"required": [
"documentId",
"epoch",
"expectedStateRevision",
"requestId",
"kind",
"name",
"color"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"type": "string",
"const": "texture"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"imagePath": {
"type": "string",
"maxLength": 240,
"pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
"description": "Absolute local Windows path to a JPEG, PNG or BMP."
},
"width": {
"type": "number",
"minimum": 0.000001,
"maximum": 1000000,
"description": "Length of one repeat in metres."
},
"height": {
"type": "number",
"minimum": 0.000001,
"maximum": 1000000,
"description": "Length of one repeat in metres."
},
"opacity": {
"description": "Opacity from 0 (clear) to 1 (opaque), independent of emission.",
"type": "number",
"minimum": 0,
"maximum": 1
},
"emission": {
"anyOf": [
{
"type": "object",
"properties": {
"intensity": {
"type": "number",
"minimum": 0,
"maximum": 1000000,
"description": "Emitted luminance in cd/m²."
},
"beam": {
"type": "object",
"properties": {
"angleDegrees": {
"type": "number",
"minimum": 1,
"maximum": 179,
"description": "Full beam opening in degrees."
},
"softness": {
"type": "number",
"minimum": 0.1,
"maximum": 1,
"description": "Fraction of the beam half-angle used for the gradual edge."
},
"side": {
"type": "string",
"enum": [
"front",
"back",
"both"
]
}
},
"required": [
"angleDegrees",
"softness",
"side"
],
"additionalProperties": false
},
"temperatureKelvin": {
"type": "integer",
"minimum": 1700,
"maximum": 25000
},
"imagePath": {
"type": "string",
"maxLength": 240,
"pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
"description": "Absolute local Windows path to a JPEG, PNG or BMP."
},
"materialSource": {
"description": "Use the chosen material's texture as the emission map.",
"anyOf": [
{
"type": "object",
"properties": {
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"materialId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"libraryMaterial": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"libraryMaterial"
],
"additionalProperties": false
}
]
},
"useSurfaceTexture": {
"description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
"type": "boolean"
}
},
"required": [
"intensity",
"temperatureKelvin"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"intensity": {
"type": "number",
"minimum": 0,
"maximum": 1000000,
"description": "Emitted luminance in cd/m²."
},
"beam": {
"type": "object",
"properties": {
"angleDegrees": {
"type": "number",
"minimum": 1,
"maximum": 179,
"description": "Full beam opening in degrees."
},
"softness": {
"type": "number",
"minimum": 0.1,
"maximum": 1,
"description": "Fraction of the beam half-angle used for the gradual edge."
},
"side": {
"type": "string",
"enum": [
"front",
"back",
"both"
]
}
},
"required": [
"angleDegrees",
"softness",
"side"
],
"additionalProperties": false
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"description": "Opaque RGB color, #RRGGBB."
},
"imagePath": {
"type": "string",
"maxLength": 240,
"pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
"description": "Absolute local Windows path to a JPEG, PNG or BMP."
},
"materialSource": {
"description": "Use the chosen material's texture as the emission map.",
"anyOf": [
{
"type": "object",
"properties": {
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"materialId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"libraryMaterial": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"libraryMaterial"
],
"additionalProperties": false
}
]
},
"useSurfaceTexture": {
"description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
"type": "boolean"
}
},
"required": [
"intensity",
"color"
],
"additionalProperties": false
}
]
},
"reflection": {
"type": "object",
"properties": {
"strength": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Reflection strength from 0 (matte) to 1 (mirror)."
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Reflection roughness from 0 (sharp) to 1 (diffuse)."
}
},
"required": [
"strength",
"roughness"
],
"additionalProperties": false
}
},
"required": [
"documentId",
"epoch",
"expectedStateRevision",
"requestId",
"kind",
"name",
"imagePath",
"width",
"height"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"type": "string",
"const": "light"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"base": {
"anyOf": [
{
"type": "object",
"properties": {
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"materialId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"libraryMaterial": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"libraryMaterial"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"description": "Opaque RGB color, #RRGGBB."
}
},
"required": [
"name",
"color"
],
"additionalProperties": false
}
]
},
"opacity": {
"description": "Opacity from 0 (clear) to 1 (opaque), independent of emission.",
"type": "number",
"minimum": 0,
"maximum": 1
},
"emission": {
"anyOf": [
{
"type": "object",
"properties": {
"intensity": {
"type": "number",
"minimum": 0,
"maximum": 1000000,
"description": "Emitted luminance in cd/m²."
},
"beam": {
"type": "object",
"properties": {
"angleDegrees": {
"type": "number",
"minimum": 1,
"maximum": 179,
"description": "Full beam opening in degrees."
},
"softness": {
"type": "number",
"minimum": 0.1,
"maximum": 1,
"description": "Fraction of the beam half-angle used for the gradual edge."
},
"side": {
"type": "string",
"enum": [
"front",
"back",
"both"
]
}
},
"required": [
"angleDegrees",
"softness",
"side"
],
"additionalProperties": false
},
"temperatureKelvin": {
"type": "integer",
"minimum": 1700,
"maximum": 25000
},
"imagePath": {
"type": "string",
"maxLength": 240,
"pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
"description": "Absolute local Windows path to a JPEG, PNG or BMP."
},
"materialSource": {
"description": "Use the chosen material's texture as the emission map.",
"anyOf": [
{
"type": "object",
"properties": {
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"materialId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"libraryMaterial": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"libraryMaterial"
],
"additionalProperties": false
}
]
},
"useSurfaceTexture": {
"description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
"type": "boolean"
}
},
"required": [
"intensity",
"temperatureKelvin"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"intensity": {
"type": "number",
"minimum": 0,
"maximum": 1000000,
"description": "Emitted luminance in cd/m²."
},
"beam": {
"type": "object",
"properties": {
"angleDegrees": {
"type": "number",
"minimum": 1,
"maximum": 179,
"description": "Full beam opening in degrees."
},
"softness": {
"type": "number",
"minimum": 0.1,
"maximum": 1,
"description": "Fraction of the beam half-angle used for the gradual edge."
},
"side": {
"type": "string",
"enum": [
"front",
"back",
"both"
]
}
},
"required": [
"angleDegrees",
"softness",
"side"
],
"additionalProperties": false
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"description": "Opaque RGB color, #RRGGBB."
},
"imagePath": {
"type": "string",
"maxLength": 240,
"pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
"description": "Absolute local Windows path to a JPEG, PNG or BMP."
},
"materialSource": {
"description": "Use the chosen material's texture as the emission map.",
"anyOf": [
{
"type": "object",
"properties": {
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"materialId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"libraryMaterial": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"libraryMaterial"
],
"additionalProperties": false
}
]
},
"useSurfaceTexture": {
"description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
"type": "boolean"
}
},
"required": [
"intensity",
"color"
],
"additionalProperties": false
}
]
}
},
"required": [
"documentId",
"epoch",
"expectedStateRevision",
"requestId",
"kind",
"name",
"base",
"emission"
],
"additionalProperties": false
}
]
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
},
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents",
"materialId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_material_update
Edit a color, texture or light while preserving assignments. Opacity, emission and reflection can be edited independently.
Entrée JSON
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"oneOf": [
{
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"kind": {
"type": "string",
"const": "color"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"description": "Opaque RGB color, #RRGGBB."
},
"opacity": {
"description": "Opacity from 0 (clear) to 1 (opaque), independent of emission.",
"type": "number",
"minimum": 0,
"maximum": 1
},
"emission": {
"description": "Configure emission or clear it with null. Omit beam to preserve it or set beam to null for diffuse light.",
"anyOf": [
{
"type": "object",
"properties": {
"intensity": {
"type": "number",
"minimum": 0,
"maximum": 1000000,
"description": "Emitted luminance in cd/m²."
},
"beam": {
"anyOf": [
{
"type": "object",
"properties": {
"angleDegrees": {
"type": "number",
"minimum": 1,
"maximum": 179,
"description": "Full beam opening in degrees."
},
"softness": {
"type": "number",
"minimum": 0.1,
"maximum": 1,
"description": "Fraction of the beam half-angle used for the gradual edge."
},
"side": {
"type": "string",
"enum": [
"front",
"back",
"both"
]
}
},
"required": [
"angleDegrees",
"softness",
"side"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"temperatureKelvin": {
"type": "integer",
"minimum": 1700,
"maximum": 25000
},
"imagePath": {
"type": "string",
"maxLength": 240,
"pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
"description": "Absolute local Windows path to a JPEG, PNG or BMP."
},
"removeImage": {
"type": "boolean"
},
"materialSource": {
"description": "Use the chosen material's texture as the emission map.",
"anyOf": [
{
"type": "object",
"properties": {
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"materialId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"libraryMaterial": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"libraryMaterial"
],
"additionalProperties": false
}
]
},
"useSurfaceTexture": {
"description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
"type": "boolean"
}
},
"required": [
"intensity",
"temperatureKelvin"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"intensity": {
"type": "number",
"minimum": 0,
"maximum": 1000000,
"description": "Emitted luminance in cd/m²."
},
"beam": {
"anyOf": [
{
"type": "object",
"properties": {
"angleDegrees": {
"type": "number",
"minimum": 1,
"maximum": 179,
"description": "Full beam opening in degrees."
},
"softness": {
"type": "number",
"minimum": 0.1,
"maximum": 1,
"description": "Fraction of the beam half-angle used for the gradual edge."
},
"side": {
"type": "string",
"enum": [
"front",
"back",
"both"
]
}
},
"required": [
"angleDegrees",
"softness",
"side"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"description": "Opaque RGB color, #RRGGBB."
},
"imagePath": {
"type": "string",
"maxLength": 240,
"pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
"description": "Absolute local Windows path to a JPEG, PNG or BMP."
},
"removeImage": {
"type": "boolean"
},
"materialSource": {
"description": "Use the chosen material's texture as the emission map.",
"anyOf": [
{
"type": "object",
"properties": {
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"materialId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"libraryMaterial": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"libraryMaterial"
],
"additionalProperties": false
}
]
},
"useSurfaceTexture": {
"description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
"type": "boolean"
}
},
"required": [
"intensity",
"color"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"reflection": {
"type": "object",
"properties": {
"strength": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Reflection strength from 0 (matte) to 1 (mirror)."
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Reflection roughness from 0 (sharp) to 1 (diffuse)."
}
},
"required": [
"strength",
"roughness"
],
"additionalProperties": false
}
},
"required": [
"documentId",
"epoch",
"expectedStateRevision",
"requestId",
"materialId",
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"kind": {
"type": "string",
"const": "texture"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"imagePath": {
"type": "string",
"maxLength": 240,
"pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
"description": "Absolute local Windows path to a JPEG, PNG or BMP."
},
"width": {
"type": "number",
"minimum": 0.000001,
"maximum": 1000000,
"description": "Length of one repeat in metres."
},
"height": {
"type": "number",
"minimum": 0.000001,
"maximum": 1000000,
"description": "Length of one repeat in metres."
},
"rotationDegrees": {
"type": "number",
"minimum": -360,
"maximum": 360,
"description": "Orientation of the repeat in degrees. Defaults to 0."
},
"opacity": {
"description": "Opacity from 0 (clear) to 1 (opaque), independent of emission.",
"type": "number",
"minimum": 0,
"maximum": 1
},
"emission": {
"description": "Configure emission or clear it with null. Omit beam to preserve it or set beam to null for diffuse light.",
"anyOf": [
{
"type": "object",
"properties": {
"intensity": {
"type": "number",
"minimum": 0,
"maximum": 1000000,
"description": "Emitted luminance in cd/m²."
},
"beam": {
"anyOf": [
{
"type": "object",
"properties": {
"angleDegrees": {
"type": "number",
"minimum": 1,
"maximum": 179,
"description": "Full beam opening in degrees."
},
"softness": {
"type": "number",
"minimum": 0.1,
"maximum": 1,
"description": "Fraction of the beam half-angle used for the gradual edge."
},
"side": {
"type": "string",
"enum": [
"front",
"back",
"both"
]
}
},
"required": [
"angleDegrees",
"softness",
"side"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"temperatureKelvin": {
"type": "integer",
"minimum": 1700,
"maximum": 25000
},
"imagePath": {
"type": "string",
"maxLength": 240,
"pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
"description": "Absolute local Windows path to a JPEG, PNG or BMP."
},
"removeImage": {
"type": "boolean"
},
"materialSource": {
"description": "Use the chosen material's texture as the emission map.",
"anyOf": [
{
"type": "object",
"properties": {
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"materialId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"libraryMaterial": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"libraryMaterial"
],
"additionalProperties": false
}
]
},
"useSurfaceTexture": {
"description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
"type": "boolean"
}
},
"required": [
"intensity",
"temperatureKelvin"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"intensity": {
"type": "number",
"minimum": 0,
"maximum": 1000000,
"description": "Emitted luminance in cd/m²."
},
"beam": {
"anyOf": [
{
"type": "object",
"properties": {
"angleDegrees": {
"type": "number",
"minimum": 1,
"maximum": 179,
"description": "Full beam opening in degrees."
},
"softness": {
"type": "number",
"minimum": 0.1,
"maximum": 1,
"description": "Fraction of the beam half-angle used for the gradual edge."
},
"side": {
"type": "string",
"enum": [
"front",
"back",
"both"
]
}
},
"required": [
"angleDegrees",
"softness",
"side"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"description": "Opaque RGB color, #RRGGBB."
},
"imagePath": {
"type": "string",
"maxLength": 240,
"pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
"description": "Absolute local Windows path to a JPEG, PNG or BMP."
},
"removeImage": {
"type": "boolean"
},
"materialSource": {
"description": "Use the chosen material's texture as the emission map.",
"anyOf": [
{
"type": "object",
"properties": {
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"materialId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"libraryMaterial": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"libraryMaterial"
],
"additionalProperties": false
}
]
},
"useSurfaceTexture": {
"description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
"type": "boolean"
}
},
"required": [
"intensity",
"color"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"reflection": {
"type": "object",
"properties": {
"strength": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Reflection strength from 0 (matte) to 1 (mirror)."
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Reflection roughness from 0 (sharp) to 1 (diffuse)."
}
},
"required": [
"strength",
"roughness"
],
"additionalProperties": false
}
},
"required": [
"documentId",
"epoch",
"expectedStateRevision",
"requestId",
"materialId",
"kind"
],
"additionalProperties": false
}
]
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
},
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents",
"materialId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_face_texture_update
Edit the texture of one side of a face in the chosen occurrence. Returns the new material ID.
Entrée JSON
{
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"faceId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"instancePath": {
"default": [],
"description": "Instance IDs from the root collection to the clicked face.",
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"side": {
"type": "string",
"enum": [
"front",
"back"
]
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"opacity": {
"description": "Opacity from 0 (clear) to 1 (opaque), independent of emission.",
"type": "number",
"minimum": 0,
"maximum": 1
},
"emission": {
"description": "Configure emission or clear it with null. Omit beam to preserve it or set beam to null for diffuse light.",
"anyOf": [
{
"type": "object",
"properties": {
"intensity": {
"type": "number",
"minimum": 0,
"maximum": 1000000,
"description": "Emitted luminance in cd/m²."
},
"beam": {
"anyOf": [
{
"type": "object",
"properties": {
"angleDegrees": {
"type": "number",
"minimum": 1,
"maximum": 179,
"description": "Full beam opening in degrees."
},
"softness": {
"type": "number",
"minimum": 0.1,
"maximum": 1,
"description": "Fraction of the beam half-angle used for the gradual edge."
},
"side": {
"type": "string",
"enum": [
"front",
"back",
"both"
]
}
},
"required": [
"angleDegrees",
"softness",
"side"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"temperatureKelvin": {
"type": "integer",
"minimum": 1700,
"maximum": 25000
},
"imagePath": {
"type": "string",
"maxLength": 240,
"pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
"description": "Absolute local Windows path to a JPEG, PNG or BMP."
},
"removeImage": {
"type": "boolean"
},
"materialSource": {
"description": "Use the chosen material's texture as the emission map.",
"anyOf": [
{
"type": "object",
"properties": {
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"materialId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"libraryMaterial": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"libraryMaterial"
],
"additionalProperties": false
}
]
},
"useSurfaceTexture": {
"description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
"type": "boolean"
}
},
"required": [
"intensity",
"temperatureKelvin"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"intensity": {
"type": "number",
"minimum": 0,
"maximum": 1000000,
"description": "Emitted luminance in cd/m²."
},
"beam": {
"anyOf": [
{
"type": "object",
"properties": {
"angleDegrees": {
"type": "number",
"minimum": 1,
"maximum": 179,
"description": "Full beam opening in degrees."
},
"softness": {
"type": "number",
"minimum": 0.1,
"maximum": 1,
"description": "Fraction of the beam half-angle used for the gradual edge."
},
"side": {
"type": "string",
"enum": [
"front",
"back",
"both"
]
}
},
"required": [
"angleDegrees",
"softness",
"side"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"description": "Opaque RGB color, #RRGGBB."
},
"imagePath": {
"type": "string",
"maxLength": 240,
"pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
"description": "Absolute local Windows path to a JPEG, PNG or BMP."
},
"removeImage": {
"type": "boolean"
},
"materialSource": {
"description": "Use the chosen material's texture as the emission map.",
"anyOf": [
{
"type": "object",
"properties": {
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"materialId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"libraryMaterial": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"libraryMaterial"
],
"additionalProperties": false
}
]
},
"useSurfaceTexture": {
"description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
"type": "boolean"
}
},
"required": [
"intensity",
"color"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"reflection": {
"type": "object",
"properties": {
"strength": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Reflection strength from 0 (matte) to 1 (mirror)."
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Reflection roughness from 0 (sharp) to 1 (diffuse)."
}
},
"required": [
"strength",
"roughness"
],
"additionalProperties": false
},
"imagePath": {
"type": "string",
"maxLength": 240,
"pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
"description": "Absolute local Windows path to a JPEG, PNG or BMP."
},
"width": {
"type": "number",
"minimum": 0.000001,
"maximum": 1000000,
"description": "Length of one repeat in metres."
},
"height": {
"type": "number",
"minimum": 0.000001,
"maximum": 1000000,
"description": "Length of one repeat in metres."
},
"rotationDegrees": {
"type": "number",
"minimum": -360,
"maximum": 360,
"description": "Orientation of the repeat in degrees. Defaults to 0."
}
},
"required": [
"documentId",
"epoch",
"expectedStateRevision",
"requestId",
"faceId",
"side"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
},
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"occurrence": {
"type": "object",
"properties": {
"faceId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"instancePath": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
}
},
"required": [
"faceId",
"instancePath"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents",
"materialId",
"occurrence"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_face_color_update
Edit the color or the color-based light on one side of a face in the chosen occurrence.
Entrée JSON
{
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"faceId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"instancePath": {
"default": [],
"description": "Instance IDs from the root collection to the clicked face.",
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"side": {
"type": "string",
"enum": [
"front",
"back"
]
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"opacity": {
"description": "Opacity from 0 (clear) to 1 (opaque), independent of emission.",
"type": "number",
"minimum": 0,
"maximum": 1
},
"emission": {
"description": "Configure emission or clear it with null. Omit beam to preserve it or set beam to null for diffuse light.",
"anyOf": [
{
"type": "object",
"properties": {
"intensity": {
"type": "number",
"minimum": 0,
"maximum": 1000000,
"description": "Emitted luminance in cd/m²."
},
"beam": {
"anyOf": [
{
"type": "object",
"properties": {
"angleDegrees": {
"type": "number",
"minimum": 1,
"maximum": 179,
"description": "Full beam opening in degrees."
},
"softness": {
"type": "number",
"minimum": 0.1,
"maximum": 1,
"description": "Fraction of the beam half-angle used for the gradual edge."
},
"side": {
"type": "string",
"enum": [
"front",
"back",
"both"
]
}
},
"required": [
"angleDegrees",
"softness",
"side"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"temperatureKelvin": {
"type": "integer",
"minimum": 1700,
"maximum": 25000
},
"imagePath": {
"type": "string",
"maxLength": 240,
"pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
"description": "Absolute local Windows path to a JPEG, PNG or BMP."
},
"removeImage": {
"type": "boolean"
},
"materialSource": {
"description": "Use the chosen material's texture as the emission map.",
"anyOf": [
{
"type": "object",
"properties": {
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"materialId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"libraryMaterial": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"libraryMaterial"
],
"additionalProperties": false
}
]
},
"useSurfaceTexture": {
"description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
"type": "boolean"
}
},
"required": [
"intensity",
"temperatureKelvin"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"intensity": {
"type": "number",
"minimum": 0,
"maximum": 1000000,
"description": "Emitted luminance in cd/m²."
},
"beam": {
"anyOf": [
{
"type": "object",
"properties": {
"angleDegrees": {
"type": "number",
"minimum": 1,
"maximum": 179,
"description": "Full beam opening in degrees."
},
"softness": {
"type": "number",
"minimum": 0.1,
"maximum": 1,
"description": "Fraction of the beam half-angle used for the gradual edge."
},
"side": {
"type": "string",
"enum": [
"front",
"back",
"both"
]
}
},
"required": [
"angleDegrees",
"softness",
"side"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"description": "Opaque RGB color, #RRGGBB."
},
"imagePath": {
"type": "string",
"maxLength": 240,
"pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
"description": "Absolute local Windows path to a JPEG, PNG or BMP."
},
"removeImage": {
"type": "boolean"
},
"materialSource": {
"description": "Use the chosen material's texture as the emission map.",
"anyOf": [
{
"type": "object",
"properties": {
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"materialId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"libraryMaterial": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"libraryMaterial"
],
"additionalProperties": false
}
]
},
"useSurfaceTexture": {
"description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
"type": "boolean"
}
},
"required": [
"intensity",
"color"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"reflection": {
"type": "object",
"properties": {
"strength": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Reflection strength from 0 (matte) to 1 (mirror)."
},
"roughness": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Reflection roughness from 0 (sharp) to 1 (diffuse)."
}
},
"required": [
"strength",
"roughness"
],
"additionalProperties": false
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"description": "Opaque RGB color, #RRGGBB."
}
},
"required": [
"documentId",
"epoch",
"expectedStateRevision",
"requestId",
"faceId",
"side"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
},
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"occurrence": {
"type": "object",
"properties": {
"faceId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"instancePath": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
}
},
"required": [
"faceId",
"instancePath"
],
"additionalProperties": false
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents",
"materialId",
"occurrence"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_eyedropper_state
Read the selected coating and exact face side, including the instance path and the base material kind.
Entrée JSON
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"active": {
"type": "boolean"
},
"sample": {
"anyOf": [
{
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"faceId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"instancePath": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"side": {
"type": "string",
"enum": [
"front",
"back"
]
},
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"color",
"texture",
"light"
]
},
"baseKind": {
"type": "string",
"enum": [
"color",
"texture"
]
}
},
"required": [
"documentId",
"faceId",
"instancePath",
"side",
"materialId",
"name",
"kind",
"baseKind"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"active",
"sample"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_eyedropper_start
Activate the eyedropper in the current drawing.
Entrée JSON
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"active": {
"type": "boolean"
},
"sample": {
"anyOf": [
{
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"faceId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"instancePath": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"side": {
"type": "string",
"enum": [
"front",
"back"
]
},
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"color",
"texture",
"light"
]
},
"baseKind": {
"type": "string",
"enum": [
"color",
"texture"
]
}
},
"required": [
"documentId",
"faceId",
"instancePath",
"side",
"materialId",
"name",
"kind",
"baseKind"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"active",
"sample"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_eyedropper_sample
Sample the visible face coating at viewport coordinates in logical pixels and activate Paint with it.
Entrée JSON
{
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0
},
"y": {
"type": "number",
"minimum": 0
}
},
"required": [
"x",
"y"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"active": {
"type": "boolean"
},
"sample": {
"anyOf": [
{
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"faceId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"instancePath": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"side": {
"type": "string",
"enum": [
"front",
"back"
]
},
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"color",
"texture",
"light"
]
},
"baseKind": {
"type": "string",
"enum": [
"color",
"texture"
]
}
},
"required": [
"documentId",
"faceId",
"instancePath",
"side",
"materialId",
"name",
"kind",
"baseKind"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"active",
"sample"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_eyedropper_use
Activate Paint with the exact sampled coating. Use the Paint tool in the viewport to apply it.
Entrée JSON
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"active": {
"type": "boolean"
},
"sample": {
"anyOf": [
{
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"faceId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"instancePath": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"side": {
"type": "string",
"enum": [
"front",
"back"
]
},
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"color",
"texture",
"light"
]
},
"baseKind": {
"type": "string",
"enum": [
"color",
"texture"
]
}
},
"required": [
"documentId",
"faceId",
"instancePath",
"side",
"materialId",
"name",
"kind",
"baseKind"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"active",
"sample"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_eyedropper_edit
Open the matching editor for the sampled side. For direct changes, use arkita_face_color_update or arkita_face_texture_update with the sampled occurrence.
Entrée JSON
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"active": {
"type": "boolean"
},
"sample": {
"anyOf": [
{
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"faceId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"instancePath": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"side": {
"type": "string",
"enum": [
"front",
"back"
]
},
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"color",
"texture",
"light"
]
},
"baseKind": {
"type": "string",
"enum": [
"color",
"texture"
]
}
},
"required": [
"documentId",
"faceId",
"instancePath",
"side",
"materialId",
"name",
"kind",
"baseKind"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"active",
"sample"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_material_remove
Remove a color or texture from the active plan. A used material requires replaceUsed=true. Undo restores the material and its assignments.
Entrée JSON
{
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedStateRevision": {
"type": "string",
"maxLength": 20,
"pattern": "^(0|[1-9][0-9]*)$"
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"replaceUsed": {
"default": false,
"description": "Allow removing a used material and resetting its assignments to the default or inherited material.",
"type": "boolean"
}
},
"required": [
"documentId",
"epoch",
"expectedStateRevision",
"requestId",
"materialId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "work_document_session"
},
"epoch": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"stateRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"formatVersion": {
"type": "string",
"const": "0.1.0"
},
"capacity": {
"type": "number",
"const": 1
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"replayed": {
"type": "boolean"
},
"skpImport": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"placementExport": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string",
"enum": [
"scenes",
"annotations",
"metadata",
"presentation"
]
}
}
},
"required": [
"version",
"placementExport",
"warnings"
],
"additionalProperties": false
},
"materialId": {
"type": "string",
"pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
}
},
"required": [
"kind",
"epoch",
"stateRevision",
"formatVersion",
"capacity",
"documents",
"materialId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_catalogue_install_material
Install a texture or light from the configured Arkita website into this workspace. The desktop session supplies authentication.
Entrée JSON
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"textures",
"lights"
]
},
"id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,80}$"
}
},
"required": [
"kind",
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"state": {
"type": "string",
"enum": [
"downloading",
"awaiting_sign_in"
]
}
},
"required": [
"state"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}Caméra et interface
arkita_ui_state
Read real window/frame state; no synthetic document is created.
Entrée JSON
{
"type": "object",
"properties": {
"windowId": {
"default": "main-window",
"type": "string",
"const": "main-window"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"applicationId": {
"type": "string",
"const": "arkita"
},
"windowId": {
"type": "string",
"const": "main-window"
},
"viewId": {
"type": "string",
"enum": [
"main-window",
"model-viewport"
]
},
"viewRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"frameId": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"visible": {
"type": "boolean"
},
"width": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"height": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"dpiScale": {
"type": "number",
"exclusiveMinimum": 0
},
"focused": {
"type": "boolean"
},
"inputButtons": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"inputKeys": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"applicationId",
"windowId",
"viewId",
"viewRevision",
"frameId",
"documents",
"visible",
"width",
"height",
"dpiScale",
"focused",
"inputButtons",
"inputKeys"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_render_stats
Read the OpenGL renderer, physical viewport size, scene complexity and timing of the latest camera motion. Timing values are null before measurement.
Entrée JSON
{
"type": "object",
"properties": {
"windowId": {
"default": "main-window",
"type": "string",
"const": "main-window"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"gpuVendor": {
"type": "string"
},
"gpuRenderer": {
"type": "string"
},
"gpuVersion": {
"type": "string"
},
"widthPixels": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"heightPixels": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"displayRefreshHz": {
"type": [
"number",
"null"
]
},
"triangles": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"lightSamples": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"mode": {
"type": "string",
"enum": [
"simple",
"fluidPreview",
"litPreview",
"realistic"
]
},
"adaptive": {
"type": "boolean"
},
"simplified": {
"type": "boolean"
},
"renderScale": {
"type": "number"
},
"presentedFrames": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"gpuSamples": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"cpuSamples": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"gpuMilliseconds": {
"type": [
"number",
"null"
]
},
"cpuMilliseconds": {
"type": [
"number",
"null"
]
},
"fps": {
"type": [
"number",
"null"
]
}
},
"required": [
"gpuVendor",
"gpuRenderer",
"gpuVersion",
"widthPixels",
"heightPixels",
"displayRefreshHz",
"triangles",
"lightSamples",
"mode",
"adaptive",
"simplified",
"presentedFrames",
"gpuSamples",
"cpuSamples",
"gpuMilliseconds",
"cpuMilliseconds",
"fps"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_ui_tree
Inspect real Qt widgets with pagination and client-coordinate rectangles.
Entrée JSON
{
"type": "object",
"properties": {
"windowId": {
"default": "main-window",
"type": "string",
"const": "main-window"
},
"offset": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"default": 50,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"className": {
"type": "string"
},
"visible": {
"type": "boolean"
},
"enabled": {
"type": "boolean"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
}
},
"required": [
"id",
"className",
"visible",
"enabled",
"x",
"y",
"width",
"height"
],
"additionalProperties": false
}
},
"total": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"offset": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"nextOffset": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"items",
"total",
"offset",
"nextOffset"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_ui_sequence
Send bounded Qt events through actual handlers. A wait can hold inputs briefly before their next event. Release held inputs after each sequence.
Entrée JSON
{
"type": "object",
"properties": {
"windowId": {
"default": "main-window",
"type": "string",
"const": "main-window"
},
"events": {
"minItems": 1,
"maxItems": 128,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"mouse_press",
"mouse_double_click",
"mouse_release",
"mouse_move"
]
},
"targetId": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"button": {
"default": 0,
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"const": 1
},
{
"type": "number",
"const": 2
},
{
"type": "number",
"const": 4
}
]
},
"modifiers": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 2147483647
}
},
"required": [
"type",
"targetId",
"x",
"y"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"key_press",
"key_release"
]
},
"targetId": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"key": {
"type": "integer",
"minimum": 0,
"maximum": 33554431
},
"text": {
"default": "",
"type": "string",
"maxLength": 256
},
"modifiers": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 2147483647
}
},
"required": [
"type",
"targetId",
"key"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "focus"
},
"targetId": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"required": [
"type",
"targetId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "wheel"
},
"targetId": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"delta": {
"type": "integer",
"minimum": -10000,
"maximum": 10000
},
"modifiers": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 2147483647
}
},
"required": [
"type",
"targetId",
"x",
"y",
"delta"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "wait"
},
"durationMs": {
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"required": [
"type",
"durationMs"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "release_all"
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "window_deactivate"
}
},
"required": [
"type"
],
"additionalProperties": false
}
]
}
}
},
"required": [
"events"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"applicationId": {
"type": "string",
"const": "arkita"
},
"windowId": {
"type": "string",
"const": "main-window"
},
"viewId": {
"type": "string",
"enum": [
"main-window",
"model-viewport"
]
},
"viewRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"frameId": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"visible": {
"type": "boolean"
},
"width": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"height": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"dpiScale": {
"type": "number",
"exclusiveMinimum": 0
},
"focused": {
"type": "boolean"
},
"inputButtons": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"inputKeys": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"eventTrace": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"buttons": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"keys": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"type",
"buttons",
"keys"
],
"additionalProperties": false
}
}
},
"required": [
"applicationId",
"windowId",
"viewId",
"viewRevision",
"frameId",
"documents",
"visible",
"width",
"height",
"dpiScale",
"focused",
"inputButtons",
"inputKeys",
"eventTrace"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_work_cutaway_state
Read the current camera-only work cutaway and its group path or face ID.
Entrée JSON
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
},
"automatic": {
"type": "boolean",
"const": true
},
"phase": {
"type": "string",
"enum": [
"inactive",
"choosing",
"open"
]
},
"suspended": {
"type": "string",
"const": "inside"
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
}
},
"required": [
"groupPath"
],
"additionalProperties": false
}
},
"editing": {
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
}
},
"required": [
"groupPath"
],
"additionalProperties": false
}
},
"required": [
"groupPath",
"phase"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_work_cutaway_open
Open the visible tagged face or group at viewport coordinates while retaining its light occlusion.
Entrée JSON
{
"type": "object",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"x",
"y"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
},
"automatic": {
"type": "boolean",
"const": true
},
"phase": {
"type": "string",
"enum": [
"inactive",
"choosing",
"open"
]
},
"suspended": {
"type": "string",
"const": "inside"
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
}
},
"required": [
"groupPath"
],
"additionalProperties": false
}
},
"editing": {
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
}
},
"required": [
"groupPath"
],
"additionalProperties": false
}
},
"required": [
"groupPath",
"phase"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_work_cutaway_clear
Restore the full camera view of the model.
Entrée JSON
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
},
"automatic": {
"type": "boolean",
"const": true
},
"phase": {
"type": "string",
"enum": [
"inactive",
"choosing",
"open"
]
},
"suspended": {
"type": "string",
"const": "inside"
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
}
},
"required": [
"groupPath"
],
"additionalProperties": false
}
},
"editing": {
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
}
},
"required": [
"groupPath"
],
"additionalProperties": false
}
},
"required": [
"groupPath",
"phase"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_work_cutaway_set_auto
Enable or disable automatic cuts for eligible walls between the camera and its target. The walls still block light.
Entrée JSON
{
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
}
},
"required": [
"enabled"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
},
"automatic": {
"type": "boolean",
"const": true
},
"phase": {
"type": "string",
"enum": [
"inactive",
"choosing",
"open"
]
},
"suspended": {
"type": "string",
"const": "inside"
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
}
},
"required": [
"groupPath"
],
"additionalProperties": false
}
},
"editing": {
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
}
},
"required": [
"groupPath"
],
"additionalProperties": false
}
},
"required": [
"groupPath",
"phase"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_work_cutaway_restore
Restore the cut wall whose retained border is at the viewport coordinates.
Entrée JSON
{
"type": "object",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"x",
"y"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
},
"automatic": {
"type": "boolean",
"const": true
},
"phase": {
"type": "string",
"enum": [
"inactive",
"choosing",
"open"
]
},
"suspended": {
"type": "string",
"const": "inside"
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
}
},
"required": [
"groupPath"
],
"additionalProperties": false
}
},
"editing": {
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
}
},
"required": [
"groupPath"
],
"additionalProperties": false
}
},
"required": [
"groupPath",
"phase"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_work_cutaway_edit
Reveal the cut wall at its retained border as a translucent editable surface.
Entrée JSON
{
"type": "object",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"x",
"y"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
},
"automatic": {
"type": "boolean",
"const": true
},
"phase": {
"type": "string",
"enum": [
"inactive",
"choosing",
"open"
]
},
"suspended": {
"type": "string",
"const": "inside"
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
}
},
"required": [
"groupPath"
],
"additionalProperties": false
}
},
"editing": {
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
}
},
"required": [
"groupPath"
],
"additionalProperties": false
}
},
"required": [
"groupPath",
"phase"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_work_cutaway_end_edit
Close the translucent editing view and resume the cutaway of that wall.
Entrée JSON
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
},
"automatic": {
"type": "boolean",
"const": true
},
"phase": {
"type": "string",
"enum": [
"inactive",
"choosing",
"open"
]
},
"suspended": {
"type": "string",
"const": "inside"
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
}
},
"required": [
"groupPath"
],
"additionalProperties": false
}
},
"editing": {
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
}
},
"required": [
"groupPath"
],
"additionalProperties": false
}
},
"required": [
"groupPath",
"phase"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_camera_field_of_view
Read the current design camera projection and its vertical field of view in degrees.
Entrée JSON
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"projection": {
"type": "string",
"enum": [
"perspective",
"twoPoint",
"parallel"
]
},
"editable": {
"type": "boolean"
},
"verticalFovDegrees": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": 0,
"maximum": 180
},
{
"type": "null"
}
]
}
},
"required": [
"projection",
"editable",
"verticalFovDegrees"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_camera_set_field_of_view
Change the vertical field of view without moving the design camera. Available in perspective and two-point perspective.
Entrée JSON
{
"type": "object",
"properties": {
"verticalFovDegrees": {
"type": "number",
"minimum": 1,
"maximum": 179
}
},
"required": [
"verticalFovDegrees"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"projection": {
"type": "string",
"enum": [
"perspective",
"twoPoint",
"parallel"
]
},
"editable": {
"type": "boolean"
},
"verticalFovDegrees": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": 0,
"maximum": 180
},
{
"type": "null"
}
]
}
},
"required": [
"projection",
"editable",
"verticalFovDegrees"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_camera_pose
Read the design camera eye, target and up vector in model coordinates, plus the projection and normalized lens shift.
Entrée JSON
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"projection": {
"type": "string",
"enum": [
"perspective",
"twoPoint",
"parallel"
]
},
"eye": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"target": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"up": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"imageCenter": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 2,
"maxItems": 2
}
},
"required": [
"projection",
"eye",
"target",
"up",
"imageCenter"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_camera_turn
Look right (positive yaw) or up (positive pitch) by relative angles in degrees, keeping the design camera eye fixed.
Entrée JSON
{
"type": "object",
"properties": {
"yawDegrees": {
"default": 0,
"type": "number",
"minimum": -360,
"maximum": 360
},
"pitchDegrees": {
"default": 0,
"type": "number",
"minimum": -89,
"maximum": 89
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"projection": {
"type": "string",
"enum": [
"perspective",
"twoPoint",
"parallel"
]
},
"eye": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"target": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"up": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"imageCenter": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 2,
"maxItems": 2
}
},
"required": [
"projection",
"eye",
"target",
"up",
"imageCenter"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_view_wait
Wait for a frame and consecutive stable observations with a deadline.
Entrée JSON
{
"type": "object",
"properties": {
"windowId": {
"default": "main-window",
"type": "string",
"const": "main-window"
},
"minimumFrameId": {
"default": "0",
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"timeoutMs": {
"default": 3000,
"type": "integer",
"minimum": 20,
"maximum": 10000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"applicationId": {
"type": "string",
"const": "arkita"
},
"windowId": {
"type": "string",
"const": "main-window"
},
"viewId": {
"type": "string",
"enum": [
"main-window",
"model-viewport"
]
},
"viewRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"frameId": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"visible": {
"type": "boolean"
},
"width": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"height": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"dpiScale": {
"type": "number",
"exclusiveMinimum": 0
},
"focused": {
"type": "boolean"
},
"inputButtons": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"inputKeys": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"applicationId",
"windowId",
"viewId",
"viewRevision",
"frameId",
"documents",
"visible",
"width",
"height",
"dpiScale",
"focused",
"inputButtons",
"inputKeys"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_window_capture
Capture the real Qt window or viewport as PNG; an OpenGL viewport is captured from its GPU framebuffer. Product readiness depends on the active mode.
Entrée JSON
{
"type": "object",
"properties": {
"windowId": {
"default": "main-window",
"type": "string",
"const": "main-window"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"applicationId": {
"type": "string",
"const": "arkita"
},
"windowId": {
"type": "string",
"const": "main-window"
},
"viewId": {
"type": "string",
"enum": [
"main-window",
"model-viewport"
]
},
"viewRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"frameId": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"visible": {
"type": "boolean"
},
"width": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"height": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"dpiScale": {
"type": "number",
"exclusiveMinimum": 0
},
"focused": {
"type": "boolean"
},
"inputButtons": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"inputKeys": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"mimeType": {
"type": "string",
"const": "image/png"
},
"pixelWidth": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"pixelHeight": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"sha256": {
"type": "string"
}
},
"required": [
"applicationId",
"windowId",
"viewId",
"viewRevision",
"frameId",
"documents",
"visible",
"width",
"height",
"dpiScale",
"focused",
"inputButtons",
"inputKeys",
"mimeType",
"pixelWidth",
"pixelHeight",
"sha256"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_view_capture
Capture the real Qt window or viewport as PNG; an OpenGL viewport is captured from its GPU framebuffer. Product readiness depends on the active mode.
Entrée JSON
{
"type": "object",
"properties": {
"windowId": {
"default": "main-window",
"type": "string",
"const": "main-window"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"applicationId": {
"type": "string",
"const": "arkita"
},
"windowId": {
"type": "string",
"const": "main-window"
},
"viewId": {
"type": "string",
"enum": [
"main-window",
"model-viewport"
]
},
"viewRevision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"frameId": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"documents": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"documentId": {
"type": "string",
"pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
},
"name": {
"type": "string"
},
"revision": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$"
},
"displayUnit": {
"type": "string",
"enum": [
"metre",
"millimetre",
"centimetre",
"inch",
"foot"
]
},
"units": {
"type": "object",
"properties": {
"temperature": {
"type": "string",
"enum": [
"celsius",
"fahrenheit"
]
},
"mass": {
"type": "string",
"enum": [
"kilogram",
"pound"
]
},
"angle": {
"type": "string",
"enum": [
"degree",
"radian"
]
}
},
"required": [
"temperature",
"mass",
"angle"
],
"additionalProperties": false
},
"empty": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"path": {
"type": [
"string",
"null"
]
},
"fileSha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
}
},
"required": [
"documentId",
"name",
"revision",
"displayUnit",
"empty",
"modified",
"path",
"fileSha256"
],
"additionalProperties": false
}
},
"visible": {
"type": "boolean"
},
"width": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"height": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"dpiScale": {
"type": "number",
"exclusiveMinimum": 0
},
"focused": {
"type": "boolean"
},
"inputButtons": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"inputKeys": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"mimeType": {
"type": "string",
"const": "image/png"
},
"pixelWidth": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"pixelHeight": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"sha256": {
"type": "string"
}
},
"required": [
"applicationId",
"windowId",
"viewId",
"viewRevision",
"frameId",
"documents",
"visible",
"width",
"height",
"dpiScale",
"focused",
"inputButtons",
"inputKeys",
"mimeType",
"pixelWidth",
"pixelHeight",
"sha256"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_visit_state
Read whether first-person visit mode is active, its world eye position (metres), heading, ground contact, and whether a requested move completed or was blocked.
Entrée JSON
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"oneOf": [
{
"type": "object",
"properties": {
"active": {
"type": "boolean",
"const": true
},
"eye": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"direction": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"grounded": {
"type": "boolean"
},
"verticalFov": {
"type": "number"
},
"bodyHeight": {
"type": "number"
},
"kneeHeight": {
"type": "number"
},
"remainingMetres": {
"type": "number",
"minimum": 0
},
"blocked": {
"type": "boolean"
}
},
"required": [
"active",
"eye",
"direction",
"grounded",
"verticalFov",
"bodyHeight",
"kneeHeight",
"remainingMetres",
"blocked"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"active": {
"type": "boolean",
"const": false
}
},
"required": [
"active"
],
"additionalProperties": false
}
]
}arkita_visit_start
Start first-person visit mode at a clear floor near the current camera in the open Arkita drawing.
Entrée JSON
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"oneOf": [
{
"type": "object",
"properties": {
"active": {
"type": "boolean",
"const": true
},
"eye": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"direction": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"grounded": {
"type": "boolean"
},
"verticalFov": {
"type": "number"
},
"bodyHeight": {
"type": "number"
},
"kneeHeight": {
"type": "number"
},
"remainingMetres": {
"type": "number",
"minimum": 0
},
"blocked": {
"type": "boolean"
}
},
"required": [
"active",
"eye",
"direction",
"grounded",
"verticalFov",
"bodyHeight",
"kneeHeight",
"remainingMetres",
"blocked"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"active": {
"type": "boolean",
"const": false
}
},
"required": [
"active"
],
"additionalProperties": false
}
]
}arkita_visit_move
Walk or run a relative distance in metres. Motion is animated and respects collisions. Poll arkita_visit_state until remainingMetres is zero, then check blocked.
Entrée JSON
{
"type": "object",
"properties": {
"direction": {
"type": "string",
"enum": [
"forward",
"backward",
"left",
"right"
]
},
"metres": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 30
},
"run": {
"default": false,
"type": "boolean"
}
},
"required": [
"direction",
"metres"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"oneOf": [
{
"type": "object",
"properties": {
"active": {
"type": "boolean",
"const": true
},
"eye": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"direction": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"grounded": {
"type": "boolean"
},
"verticalFov": {
"type": "number"
},
"bodyHeight": {
"type": "number"
},
"kneeHeight": {
"type": "number"
},
"remainingMetres": {
"type": "number",
"minimum": 0
},
"blocked": {
"type": "boolean"
}
},
"required": [
"active",
"eye",
"direction",
"grounded",
"verticalFov",
"bodyHeight",
"kneeHeight",
"remainingMetres",
"blocked"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"active": {
"type": "boolean",
"const": false
}
},
"required": [
"active"
],
"additionalProperties": false
}
]
}arkita_visit_turn
Turn the visitor’s view by relative angles in degrees. Positive yaw turns right; positive pitch looks up.
Entrée JSON
{
"type": "object",
"properties": {
"yawDegrees": {
"default": 0,
"type": "number",
"minimum": -360,
"maximum": 360
},
"pitchDegrees": {
"default": 0,
"type": "number",
"minimum": -180,
"maximum": 180
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"oneOf": [
{
"type": "object",
"properties": {
"active": {
"type": "boolean",
"const": true
},
"eye": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"direction": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"grounded": {
"type": "boolean"
},
"verticalFov": {
"type": "number"
},
"bodyHeight": {
"type": "number"
},
"kneeHeight": {
"type": "number"
},
"remainingMetres": {
"type": "number",
"minimum": 0
},
"blocked": {
"type": "boolean"
}
},
"required": [
"active",
"eye",
"direction",
"grounded",
"verticalFov",
"bodyHeight",
"kneeHeight",
"remainingMetres",
"blocked"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"active": {
"type": "boolean",
"const": false
}
},
"required": [
"active"
],
"additionalProperties": false
}
]
}arkita_visit_jump
Jump from the floor using the visitor’s physical height and collisions. Combine with a move command to jump forwards.
Entrée JSON
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"oneOf": [
{
"type": "object",
"properties": {
"active": {
"type": "boolean",
"const": true
},
"eye": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"direction": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"grounded": {
"type": "boolean"
},
"verticalFov": {
"type": "number"
},
"bodyHeight": {
"type": "number"
},
"kneeHeight": {
"type": "number"
},
"remainingMetres": {
"type": "number",
"minimum": 0
},
"blocked": {
"type": "boolean"
}
},
"required": [
"active",
"eye",
"direction",
"grounded",
"verticalFov",
"bodyHeight",
"kneeHeight",
"remainingMetres",
"blocked"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"active": {
"type": "boolean",
"const": false
}
},
"required": [
"active"
],
"additionalProperties": false
}
]
}arkita_visit_stop
Stop the current first-person movement. Set leaveVisit to return to Design mode.
Entrée JSON
{
"type": "object",
"properties": {
"leaveVisit": {
"default": false,
"type": "boolean"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"oneOf": [
{
"type": "object",
"properties": {
"active": {
"type": "boolean",
"const": true
},
"eye": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"direction": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"grounded": {
"type": "boolean"
},
"verticalFov": {
"type": "number"
},
"bodyHeight": {
"type": "number"
},
"kneeHeight": {
"type": "number"
},
"remainingMetres": {
"type": "number",
"minimum": 0
},
"blocked": {
"type": "boolean"
}
},
"required": [
"active",
"eye",
"direction",
"grounded",
"verticalFov",
"bodyHeight",
"kneeHeight",
"remainingMetres",
"blocked"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"active": {
"type": "boolean",
"const": false
}
},
"required": [
"active"
],
"additionalProperties": false
}
]
}Support
arkita_support_versions
List published Windows versions for bug reports using the signed-in account in the Arkita window.
Entrée JSON
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"versions": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"versions"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_support_find_bugs
Find up to three similar public bug reports on the Arkita website from the open application.
Entrée JSON
{
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 5,
"maxLength": 140
}
},
"required": [
"title"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"matches": {
"maxItems": 3,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"title": {
"type": "string"
},
"area": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"id",
"title",
"area",
"status",
"url"
],
"additionalProperties": false
}
},
"lexicalOnly": {
"type": "boolean"
}
},
"required": [
"matches",
"lexicalOnly"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_support_prepare_ticket
Prepare a bug report using the current Arkita account. Show the draft and possible duplicates to the user.
Entrée JSON
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "bug"
},
"title": {
"type": "string",
"minLength": 5,
"maxLength": 140
},
"area": {
"description": "Required for bugs. Use desktop for the Windows application.",
"type": "string",
"enum": [
"desktop",
"web",
""
]
},
"app_version": {
"description": "For Windows bugs, select a version from the published versions.",
"type": "string",
"maxLength": 64
},
"steps": {
"type": "string",
"maxLength": 3000
},
"expected": {
"type": "string",
"maxLength": 2000
},
"observed": {
"type": "string",
"minLength": 10,
"maxLength": 2000
},
"environment": {
"type": "string",
"maxLength": 160
}
},
"required": [
"kind",
"title",
"observed"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"draft": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "bug"
},
"title": {
"type": "string",
"minLength": 5,
"maxLength": 140
},
"area": {
"description": "Required for bugs. Use desktop for the Windows application.",
"type": "string",
"enum": [
"desktop",
"web",
""
]
},
"app_version": {
"description": "For Windows bugs, select a version from the published versions.",
"type": "string",
"maxLength": 64
},
"steps": {
"type": "string",
"maxLength": 3000
},
"expected": {
"type": "string",
"maxLength": 2000
},
"observed": {
"type": "string",
"minLength": 10,
"maxLength": 2000
},
"environment": {
"type": "string",
"maxLength": 160
}
},
"required": [
"kind",
"title",
"observed"
],
"additionalProperties": false
},
"matches": {
"maxItems": 3,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"title": {
"type": "string"
},
"area": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"id",
"title",
"area",
"status",
"url"
],
"additionalProperties": false
}
},
"lexicalOnly": {
"type": "boolean"
},
"confirmation": {
"type": "object",
"properties": {
"stamp": {
"type": "string",
"maxLength": 60
},
"sig": {
"type": "string",
"minLength": 43,
"maxLength": 43
}
},
"required": [
"stamp",
"sig"
],
"additionalProperties": false
}
},
"required": [
"draft",
"matches",
"confirmation"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_support_submit_ticket
Send a ticket to the Arkita website under the account signed in to this window. Use the unchanged draft and confirmation from arkita_support_prepare_ticket only after the user approves submission.
Entrée JSON
{
"type": "object",
"properties": {
"draft": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "bug"
},
"title": {
"type": "string",
"minLength": 5,
"maxLength": 140
},
"area": {
"description": "Required for bugs. Use desktop for the Windows application.",
"type": "string",
"enum": [
"desktop",
"web",
""
]
},
"app_version": {
"description": "For Windows bugs, select a version from the published versions.",
"type": "string",
"maxLength": 64
},
"steps": {
"type": "string",
"maxLength": 3000
},
"expected": {
"type": "string",
"maxLength": 2000
},
"observed": {
"type": "string",
"minLength": 10,
"maxLength": 2000
},
"environment": {
"type": "string",
"maxLength": 160
}
},
"required": [
"kind",
"title",
"observed"
],
"additionalProperties": false
},
"confirmation": {
"type": "object",
"properties": {
"stamp": {
"type": "string",
"maxLength": 60
},
"sig": {
"type": "string",
"minLength": 43,
"maxLength": 43
}
},
"required": [
"stamp",
"sig"
],
"additionalProperties": false
},
"confirmed": {
"type": "boolean",
"const": true
}
},
"required": [
"draft",
"confirmation",
"confirmed"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"id",
"url"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}Connexion et découverte
arkita_protocol_profiles
Read the explicitly supported protocol profiles; SDK clients must select a compatible profile.
Entrée JSON
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"profiles": {
"type": "array",
"items": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"era": {
"type": "string",
"enum": [
"modern",
"legacy"
]
},
"metadata": {
"type": "string"
},
"cancellation": {
"type": "string"
}
},
"required": [
"version",
"era",
"metadata",
"cancellation"
],
"additionalProperties": false
}
}
},
"required": [
"profiles"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_capabilities
List only the tools implemented in this build and explicitly unavailable product features.
Entrée JSON
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"schemaVersion": {
"type": "string",
"const": "1.0.0"
},
"tools": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"qualification": {
"type": "string",
"const": "implemented"
}
},
"required": [
"name",
"qualification"
],
"additionalProperties": false
}
},
"transports": {
"type": "array",
"items": {
"type": "string",
"enum": [
"stdio",
"streamable-http"
]
}
},
"unavailable": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"schemaVersion",
"tools",
"transports",
"unavailable"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_health
Read the MCP companion process health. A ready companion does not mean the desktop application exists.
Entrée JSON
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"schemaVersion": {
"type": "string",
"const": "1.0.0"
},
"status": {
"type": "string",
"const": "ready"
},
"server": {
"type": "object",
"properties": {
"name": {
"type": "string",
"const": "arkita"
},
"version": {
"type": "string"
},
"buildId": {
"type": "string"
}
},
"required": [
"name",
"version",
"buildId"
],
"additionalProperties": false
},
"processId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"application": {
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"not_implemented",
"stopped",
"running"
]
}
},
"required": [
"status"
],
"additionalProperties": false
}
},
"required": [
"schemaVersion",
"status",
"server",
"processId",
"application"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_app_start
Start the real native Qt application, or return its current state.
Entrée JSON
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"applicationId": {
"type": "string",
"const": "arkita"
},
"version": {
"type": "string"
},
"qtVersion": {
"type": "string"
},
"processId": {
"type": "string"
},
"visible": {
"type": "boolean"
},
"title": {
"type": "string"
},
"width": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"height": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"documentCount": {
"type": "integer",
"minimum": 0,
"maximum": 1
}
},
"required": [
"applicationId",
"version",
"qtVersion",
"processId",
"visible",
"title",
"width",
"height",
"documentCount"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_app_stop
Stop the owned native application. The MCP companion remains alive.
Entrée JSON
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"stopped": {
"type": "boolean",
"const": true
},
"exitCode": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"stopped"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_app_status
Inspect the real Qt window through the authenticated IPC bridge.
Entrée JSON
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"applicationId": {
"type": "string",
"const": "arkita"
},
"version": {
"type": "string"
},
"qtVersion": {
"type": "string"
},
"processId": {
"type": "string"
},
"visible": {
"type": "boolean"
},
"title": {
"type": "string"
},
"width": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"height": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"documentCount": {
"type": "integer",
"minimum": 0,
"maximum": 1
}
},
"required": [
"applicationId",
"version",
"qtVersion",
"processId",
"visible",
"title",
"width",
"height",
"documentCount"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_commands_list
Paginate the actual tool registry with schemas; nativeCommands lists direct bindings and uiCommands lists commands reached through Qt gestures. Compare both with the live registry when Qt is running.
Entrée JSON
{
"type": "object",
"properties": {
"offset": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"default": 20,
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"buildId": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"inputSchema": {},
"outputSchema": {},
"nativeCommands": {
"type": "array",
"items": {
"type": "string"
}
},
"uiCommands": {
"type": "array",
"items": {
"type": "string"
}
},
"qualification": {
"type": "string",
"const": "implemented"
}
},
"required": [
"name",
"description",
"inputSchema",
"outputSchema",
"nativeCommands",
"qualification"
],
"additionalProperties": false
}
},
"total": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"nextOffset": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"nativeCommands": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"uncovered": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"required": [
"buildId",
"items",
"total",
"nextOffset",
"nativeCommands",
"uncovered"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_diagnostics_get
Get bounded command names, origins and outcomes; never arguments, IPC secrets or environment.
Entrée JSON
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"buildId": {
"type": "string"
},
"runtime": {
"type": "string"
},
"application": {
"type": "string",
"enum": [
"not_implemented",
"stopped",
"running"
]
},
"trace": {
"type": "array",
"items": {
"type": "object",
"properties": {
"sequence": {
"type": "string"
},
"command": {
"type": "string"
},
"origin": {
"type": "string",
"enum": [
"ui",
"mcp",
"test"
]
},
"succeeded": {
"type": "boolean"
}
},
"required": [
"sequence",
"command",
"origin",
"succeeded"
],
"additionalProperties": false
}
}
},
"required": [
"buildId",
"runtime",
"application",
"trace"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_work_history
Inspect the current tool, selection and group edit path, plus up to 128 recent tool actions, viewport gestures, selections, group transitions and moves. Pointer coordinates are relative to the viewport in logical pixels.
Entrée JSON
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"state": {
"type": "object",
"properties": {
"tool": {
"type": "string"
},
"navigation": {
"type": "string"
},
"selection": {
"type": "string"
},
"selectionMode": {
"type": "string",
"enum": [
"replace",
"add",
"toggle"
]
},
"selectionIds": {
"type": "array",
"items": {
"type": "string"
}
},
"zoomReference": {
"type": "string",
"enum": [
"front",
"behind"
]
},
"lightFluxLumens": {
"type": "number",
"minimum": 0
},
"straightJunctions": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"extrusionCopy": {
"type": "boolean"
},
"drawingPlaneReference": {
"type": "object",
"properties": {
"faceId": {
"type": "string"
},
"instancePath": {
"type": "array",
"items": {
"type": "string"
}
},
"normal": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"fixed": {
"type": "boolean"
}
},
"required": [
"faceId",
"instancePath",
"normal",
"fixed"
],
"additionalProperties": false
},
"visit": {
"type": "object",
"properties": {
"active": {
"type": "boolean",
"const": true
},
"eye": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"direction": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"grounded": {
"type": "boolean"
},
"verticalFov": {
"type": "number"
},
"bodyHeight": {
"type": "number"
},
"kneeHeight": {
"type": "number"
},
"remainingMetres": {
"type": "number",
"minimum": 0
},
"blocked": {
"type": "boolean"
}
},
"required": [
"active",
"eye",
"direction",
"grounded",
"verticalFov",
"bodyHeight",
"kneeHeight",
"remainingMetres",
"blocked"
],
"additionalProperties": false
},
"workCutaway": {
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
},
"automatic": {
"type": "boolean",
"const": true
},
"phase": {
"type": "string",
"enum": [
"inactive",
"choosing",
"open"
]
},
"suspended": {
"type": "string",
"const": "inside"
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
}
},
"required": [
"groupPath"
],
"additionalProperties": false
}
},
"editing": {
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
}
},
"required": [
"groupPath"
],
"additionalProperties": false
}
},
"required": [
"groupPath",
"phase"
],
"additionalProperties": false
},
"editPath": {
"type": "array",
"items": {
"type": "string"
}
},
"viewWidth": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"viewHeight": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"cursorShape": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"tool",
"navigation",
"selection",
"editPath",
"viewWidth",
"viewHeight"
],
"additionalProperties": false
},
"events": {
"maxItems": 128,
"type": "array",
"items": {
"type": "object",
"properties": {
"sequence": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"action",
"pointer",
"wheel",
"select",
"openGroup",
"leaveGroup",
"move",
"tapeMeasure",
"extrusionAttempt",
"extrusionObstacle",
"drawingPlaneReference",
"workCutaway"
]
},
"state": {
"type": "object",
"properties": {
"tool": {
"type": "string"
},
"navigation": {
"type": "string"
},
"selection": {
"type": "string"
},
"selectionMode": {
"type": "string",
"enum": [
"replace",
"add",
"toggle"
]
},
"selectionIds": {
"type": "array",
"items": {
"type": "string"
}
},
"zoomReference": {
"type": "string",
"enum": [
"front",
"behind"
]
},
"lightFluxLumens": {
"type": "number",
"minimum": 0
},
"straightJunctions": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"extrusionCopy": {
"type": "boolean"
},
"drawingPlaneReference": {
"type": "object",
"properties": {
"faceId": {
"type": "string"
},
"instancePath": {
"type": "array",
"items": {
"type": "string"
}
},
"normal": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"fixed": {
"type": "boolean"
}
},
"required": [
"faceId",
"instancePath",
"normal",
"fixed"
],
"additionalProperties": false
},
"visit": {
"type": "object",
"properties": {
"active": {
"type": "boolean",
"const": true
},
"eye": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"direction": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 3,
"maxItems": 3
},
"grounded": {
"type": "boolean"
},
"verticalFov": {
"type": "number"
},
"bodyHeight": {
"type": "number"
},
"kneeHeight": {
"type": "number"
},
"remainingMetres": {
"type": "number",
"minimum": 0
},
"blocked": {
"type": "boolean"
}
},
"required": [
"active",
"eye",
"direction",
"grounded",
"verticalFov",
"bodyHeight",
"kneeHeight",
"remainingMetres",
"blocked"
],
"additionalProperties": false
},
"workCutaway": {
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
},
"automatic": {
"type": "boolean",
"const": true
},
"phase": {
"type": "string",
"enum": [
"inactive",
"choosing",
"open"
]
},
"suspended": {
"type": "string",
"const": "inside"
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
}
},
"required": [
"groupPath"
],
"additionalProperties": false
}
},
"editing": {
"type": "object",
"properties": {
"groupPath": {
"type": "array",
"items": {
"type": "string"
}
},
"faceId": {
"type": "string"
}
},
"required": [
"groupPath"
],
"additionalProperties": false
}
},
"required": [
"groupPath",
"phase"
],
"additionalProperties": false
},
"editPath": {
"type": "array",
"items": {
"type": "string"
}
},
"viewWidth": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"viewHeight": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"cursorShape": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"tool",
"navigation",
"selection",
"editPath",
"viewWidth",
"viewHeight"
],
"additionalProperties": false
},
"details": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"required": [
"sequence",
"kind",
"state",
"details"
],
"additionalProperties": false
}
}
},
"required": [
"state",
"events"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}arkita_guide_get
Read the agent guide through tools even without resource support.
Entrée JSON
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}
Sortie structurée
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"scope": {
"type": "string",
"const": "mcp_foundation"
}
},
"required": [
"text",
"scope"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}