{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://lionweb.io/delta.schema.json", "title": "LionWeb Delta Protocol", "description": "Version: 0", "type": "object", "anyOf": [ { "$ref": "#/$defs/QueryRequests" }, { "$ref": "#/$defs/QueryResponses" }, { "$ref": "#/$defs/Commands" }, { "$ref": "#/$defs/Events" } ], "$defs": { "id": { "type": "string", "minLength": 1, "pattern": "^[a-zA-Z0-9_-]+$" }, "deltaProtocolVersion": { "enum": [ "2025.1" ] }, "key": { "$ref": "#/$defs/id" }, "version": { "type": "string", "minLength": 1 }, "metaPointer": { "type": "object", "properties": { "language": { "$ref": "#/$defs/key" }, "version": { "$ref": "#/$defs/version" }, "key": { "$ref": "#/$defs/key" } }, "required": [ "language", "version", "key" ], "additionalProperties": false, "minProperties": 3, "maxProperties": 3 }, "depthLimit": { "type": "integer", "minimum": 0 }, "split": { "type": "boolean" }, "continuedChunkCompleted": { "type": "boolean" }, "continuedChunkSequenceNumber": { "type": "integer", "minimum": 0 }, "DeltaSerializationChunk": { "type": "object", "properties": { "nodes": { "type": "array", "items": { "$ref": "#/$defs/SerializedNode" }, "uniqueItems": true } }, "required": [ "nodes" ], "additionalProperties": false, "minProperties": 1, "maxProperties": 1 }, "SerializedNode": { "type": "object", "properties": { "id": { "$ref": "#/$defs/targetNode" }, "classifier": { "$ref": "#/$defs/metaPointer" }, "properties": { "type": "array", "items": { "$ref": "#/$defs/SerializedProperty" } }, "containments": { "type": "array", "items": { "$ref": "#/$defs/SerializedContainment" } }, "references": { "type": "array", "items": { "$ref": "#/$defs/SerializedReference" } }, "annotations": { "type": "array", "items": { "$ref": "#/$defs/id" }, "uniqueItems": true }, "parent": { "oneOf": [ { "$ref": "#/$defs/id" }, { "type": "null" } ] } }, "required": [ "id", "classifier", "properties", "containments", "references", "annotations", "parent" ], "additionalProperties": false, "minProperties": 7, "maxProperties": 7 }, "SerializedProperty": { "type": "object", "properties": { "property": { "$ref": "#/$defs/metaPointer" }, "value": { "oneOf": [ { "$ref": "#/$defs/propertyValue" }, { "type": "null" } ] } }, "required": [ "property", "value" ], "additionalProperties": false, "minProperties": 2, "maxProperties": 2 }, "SerializedContainment": { "type": "object", "properties": { "containment": { "$ref": "#/$defs/metaPointer" }, "children": { "type": "array", "items": { "$ref": "#/$defs/id" }, "uniqueItems": true } }, "required": [ "containment", "children" ], "additionalProperties": false, "minProperties": 2, "maxProperties": 2 }, "SerializedReference": { "type": "object", "properties": { "reference": { "$ref": "#/$defs/metaPointer" }, "targets": { "type": "array", "items": { "$ref": "#/$defs/SerializedReferenceTarget" } } }, "required": [ "reference", "targets" ], "additionalProperties": false, "minProperties": 2, "maxProperties": 2 }, "SerializedReferenceTarget": { "type": "object", "properties": { "resolveInfo": { "$ref": "#/$defs/optionalResolveInfo" }, "reference": { "$ref": "#/$defs/optionalTargetNode" } }, "required": [ "resolveInfo", "reference" ], "additionalProperties": false, "minProperties": 2, "maxProperties": 2 }, "queryId": { "$ref": "#/$defs/id" }, "commandId": { "$ref": "#/$defs/id" }, "commandSource": { "type": "object", "properties": { "participationId": { "$ref": "#/$defs/participationId" }, "commandId": { "$ref": "#/$defs/commandId" } }, "required": [ "participationId", "commandId" ], "additionalProperties": false, "minProperties": 2, "maxProperties": 2 }, "commandSources": { "type": "array", "items": { "$ref": "#/$defs/commandSource" }, "uniqueItems": true }, "participationId": { "$ref": "#/$defs/id" }, "repositoryId": { "$ref": "#/$defs/id" }, "clientId": { "$ref": "#/$defs/id" }, "targetNode": { "$ref": "#/$defs/id" }, "optionalTargetNode": { "oneOf": [ { "$ref": "#/$defs/targetNode" }, { "type": "null" } ] }, "targetNodes": { "type": "array", "items": { "$ref": "#/$defs/targetNode" }, "uniqueItems": true }, "resolveInfo": { "type": "string" }, "optionalResolveInfo": { "oneOf": [ { "$ref": "#/$defs/resolveInfo" }, { "type": "null" } ] }, "eventSequenceNumber": { "type": "integer", "minimum": 0 }, "propertyValue": { "type": "string" }, "index": { "type": "integer", "minimum": 0 }, "additionalInfoKind": { "$ref": "#/$defs/id" }, "errorCode": { "$ref": "#/$defs/id" }, "additionalInfoDataKey": { "$ref": "#/$defs/id" }, "additionalInfos": { "type": "array", "items": { "$ref": "#/$defs/AdditionalInfo" } }, "AdditionalInfo": { "properties": { "kind": { "$ref": "#/$defs/additionalInfoKind" }, "distribute": { "$ref": "#/$defs/additionalInfoDistribute" }, "message": { "type": "string" }, "data": { "type": "array", "items": { "$ref": "#/$defs/AdditionalInfoData" } } }, "required": [ "kind", "message", "data" ], "additionalProperties": false, "minProperties": 3, "maxProperties": 4 }, "additionalInfoDistribute": { "type": "boolean", "default": false }, "AdditionalInfoData": { "properties": { "key": { "$ref": "#/$defs/additionalInfoDataKey" }, "value": { "type": "string" } }, "required": [ "key", "value" ], "additionalProperties": false, "minProperties": 2, "maxProperties": 2 }, "QueryRequests": { "anyOf": [ { "$ref": "#/$defs/SubscribeToChangingPartitionsRequest" }, { "$ref": "#/$defs/InformAboutChangingPartitionsRequest" }, { "$ref": "#/$defs/SubscribeToPartitionContentsRequest" }, { "$ref": "#/$defs/UnsubscribeFromPartitionContentsRequest" }, { "$ref": "#/$defs/SignOnRequest" }, { "$ref": "#/$defs/SignOffRequest" }, { "$ref": "#/$defs/ReconnectRequest" }, { "$ref": "#/$defs/GetAvailableIdsRequest" }, { "$ref": "#/$defs/ListPartitionsRequest" }, { "$ref": "#/$defs/ListAndSubscribePartitionsRequest" } ] }, "QueryResponses": { "anyOf": [ { "$ref": "#/$defs/SubscribeToChangingPartitionsResponse" }, { "$ref": "#/$defs/InformAboutChangingPartitionsResponse" }, { "$ref": "#/$defs/SubscribeToPartitionContentsResponse" }, { "$ref": "#/$defs/UnsubscribeFromPartitionContentsResponse" }, { "$ref": "#/$defs/SignOnResponse" }, { "$ref": "#/$defs/SignOffResponse" }, { "$ref": "#/$defs/ReconnectResponse" }, { "$ref": "#/$defs/GetAvailableIdsResponse" }, { "$ref": "#/$defs/ListPartitionsResponse" }, { "$ref": "#/$defs/ListAndSubscribePartitionsResponse" }, { "$ref": "#/$defs/ErrorResponse" }, { "$ref": "#/$defs/ChunkedQueryResponse" } ] }, "SubscribeToChangingPartitionsRequest": { "properties": { "messageKind": { "const": "SubscribeToChangingPartitionsRequest" }, "creation": { "type": "boolean" }, "deletion": { "type": "boolean" }, "queryId": { "$ref": "#/$defs/queryId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "creation", "deletion", "queryId", "additionalInfos" ], "additionalProperties": false, "minProperties": 5, "maxProperties": 5 }, "SubscribeToChangingPartitionsResponse": { "properties": { "messageKind": { "const": "SubscribeToChangingPartitionsResponse" }, "queryId": { "$ref": "#/$defs/queryId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "queryId", "additionalInfos" ], "additionalProperties": false, "minProperties": 3, "maxProperties": 3 }, "InformAboutChangingPartitionsRequest": { "properties": { "messageKind": { "const": "InformAboutChangingPartitionsRequest" }, "creation": { "type": "boolean" }, "deletion": { "type": "boolean" }, "depthLimit": { "$ref": "#/$defs/depthLimit" }, "queryId": { "$ref": "#/$defs/queryId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "creation", "deletion", "depthLimit", "queryId", "additionalInfos" ], "additionalProperties": false, "minProperties": 6, "maxProperties": 6 }, "InformAboutChangingPartitionsResponse": { "properties": { "messageKind": { "const": "InformAboutChangingPartitionsResponse" }, "queryId": { "$ref": "#/$defs/queryId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "queryId", "additionalInfos" ], "additionalProperties": false, "minProperties": 3, "maxProperties": 3 }, "SubscribeToPartitionContentsRequest": { "properties": { "messageKind": { "const": "SubscribeToPartitionContentsRequest" }, "partition": { "$ref": "#/$defs/targetNode" }, "queryId": { "$ref": "#/$defs/queryId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "partition", "queryId", "additionalInfos" ], "additionalProperties": false, "minProperties": 4, "maxProperties": 4 }, "SubscribeToPartitionContentsResponse": { "properties": { "messageKind": { "const": "SubscribeToPartitionContentsResponse" }, "contents": { "$ref": "#/$defs/DeltaSerializationChunk" }, "split": { "$ref": "#/$defs/split" }, "queryId": { "$ref": "#/$defs/queryId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "contents", "queryId", "additionalInfos" ], "additionalProperties": false, "minProperties": 4, "maxProperties": 5 }, "UnsubscribeFromPartitionContentsRequest": { "properties": { "messageKind": { "const": "UnsubscribeFromPartitionContentsRequest" }, "partition": { "$ref": "#/$defs/targetNode" }, "queryId": { "$ref": "#/$defs/queryId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "partition", "queryId", "additionalInfos" ], "additionalProperties": false, "minProperties": 4, "maxProperties": 4 }, "UnsubscribeFromPartitionContentsResponse": { "properties": { "messageKind": { "const": "UnsubscribeFromPartitionContentsResponse" }, "queryId": { "$ref": "#/$defs/queryId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "queryId", "additionalInfos" ], "additionalProperties": false, "minProperties": 3, "maxProperties": 3 }, "SignOnRequest": { "properties": { "messageKind": { "const": "SignOnRequest" }, "deltaProtocolVersion": { "$ref": "#/$defs/deltaProtocolVersion" }, "clientId": { "$ref": "#/$defs/clientId" }, "repositoryId": { "$ref": "#/$defs/repositoryId" }, "queryId": { "$ref": "#/$defs/queryId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "deltaProtocolVersion", "clientId", "repositoryId", "queryId", "additionalInfos" ], "additionalProperties": false, "minProperties": 6, "maxProperties": 6 }, "SignOnResponse": { "properties": { "messageKind": { "const": "SignOnResponse" }, "participationId": { "$ref": "#/$defs/participationId" }, "queryId": { "$ref": "#/$defs/queryId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "participationId", "queryId", "additionalInfos" ], "additionalProperties": false, "minProperties": 4, "maxProperties": 4 }, "SignOffRequest": { "properties": { "messageKind": { "const": "SignOffRequest" }, "queryId": { "$ref": "#/$defs/queryId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "queryId", "additionalInfos" ], "additionalProperties": false, "minProperties": 3, "maxProperties": 3 }, "SignOffResponse": { "properties": { "messageKind": { "const": "SignOffResponse" }, "queryId": { "$ref": "#/$defs/queryId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "queryId", "additionalInfos" ], "additionalProperties": false, "minProperties": 3, "maxProperties": 3 }, "ReconnectRequest": { "properties": { "messageKind": { "const": "ReconnectRequest" }, "participationId": { "$ref": "#/$defs/participationId" }, "lastReceivedSequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "queryId": { "$ref": "#/$defs/queryId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "participationId", "lastReceivedSequenceNumber", "queryId", "additionalInfos" ], "additionalProperties": false, "minProperties": 5, "maxProperties": 5 }, "ReconnectResponse": { "properties": { "messageKind": { "const": "ReconnectResponse" }, "lastSentSequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "queryId": { "$ref": "#/$defs/queryId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "lastSentSequenceNumber", "queryId", "additionalInfos" ], "additionalProperties": false, "minProperties": 4, "maxProperties": 4 }, "GetAvailableIdsRequest": { "properties": { "messageKind": { "const": "GetAvailableIdsRequest" }, "count": { "type": "integer", "minimum": 0 }, "queryId": { "$ref": "#/$defs/queryId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "count", "queryId", "additionalInfos" ], "additionalProperties": false, "minProperties": 4, "maxProperties": 4 }, "GetAvailableIdsResponse": { "properties": { "messageKind": { "const": "GetAvailableIdsResponse" }, "ids": { "$ref": "#/$defs/targetNodes" }, "queryId": { "$ref": "#/$defs/queryId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "ids", "queryId", "additionalInfos" ], "additionalProperties": false, "minProperties": 4, "maxProperties": 4 }, "ListPartitionsRequest": { "properties": { "messageKind": { "const": "ListPartitionsRequest" }, "depthLimit": { "$ref": "#/$defs/depthLimit" }, "queryId": { "$ref": "#/$defs/queryId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "depthLimit", "queryId", "additionalInfos" ], "additionalProperties": false, "minProperties": 4, "maxProperties": 4 }, "ListPartitionsResponse": { "properties": { "messageKind": { "const": "ListPartitionsResponse" }, "partitions": { "$ref": "#/$defs/DeltaSerializationChunk" }, "split": { "$ref": "#/$defs/split" }, "queryId": { "$ref": "#/$defs/queryId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "partitions", "queryId", "additionalInfos" ], "additionalProperties": false, "minProperties": 4, "maxProperties": 5 }, "ListAndSubscribePartitionsRequest": { "properties": { "messageKind": { "const": "ListAndSubscribePartitionsRequest" }, "queryId": { "$ref": "#/$defs/queryId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "queryId", "additionalInfos" ], "additionalProperties": false, "minProperties": 3, "maxProperties": 3 }, "ListAndSubscribePartitionsResponse": { "properties": { "messageKind": { "const": "ListAndSubscribePartitionsResponse" }, "partitions": { "$ref": "#/$defs/DeltaSerializationChunk" }, "split": { "$ref": "#/$defs/split" }, "queryId": { "$ref": "#/$defs/queryId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "partitions", "queryId", "additionalInfos" ], "additionalProperties": false, "minProperties": 4, "maxProperties": 5 }, "ErrorResponse": { "properties": { "messageKind": { "const": "ErrorResponse" }, "errorCode": { "$ref": "#/$defs/errorCode" }, "message": { "type": "string" }, "queryId": { "$ref": "#/$defs/queryId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "errorCode", "message", "queryId", "additionalInfos" ], "additionalProperties": false, "minProperties": 5, "maxProperties": 5 }, "ChunkedQueryResponse": { "properties": { "messageKind": { "const": "ChunkedQueryResponse" }, "chunk": { "$ref": "#/$defs/DeltaSerializationChunk" }, "continuedChunkCompleted": { "$ref": "#/$defs/continuedChunkCompleted" }, "continuedChunkSequenceNumber": { "$ref": "#/$defs/continuedChunkSequenceNumber" }, "queryId": { "$ref": "#/$defs/queryId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "continuedChunkCompleted", "continuedChunkSequenceNumber", "queryId", "additionalInfos" ], "additionalProperties": false, "minProperties": 6, "maxProperties": 6 }, "Commands": { "anyOf": [ { "$ref": "#/$defs/AddPartition" }, { "$ref": "#/$defs/DeletePartition" }, { "$ref": "#/$defs/ChangeClassifier" }, { "$ref": "#/$defs/AddProperty" }, { "$ref": "#/$defs/DeleteProperty" }, { "$ref": "#/$defs/ChangeProperty" }, { "$ref": "#/$defs/AddChild" }, { "$ref": "#/$defs/DeleteChild" }, { "$ref": "#/$defs/ReplaceChild" }, { "$ref": "#/$defs/MoveChildFromOtherContainment" }, { "$ref": "#/$defs/MoveChildFromOtherContainmentInSameParent" }, { "$ref": "#/$defs/MoveChildInSameContainment" }, { "$ref": "#/$defs/MoveAndReplaceChildFromOtherContainment" }, { "$ref": "#/$defs/MoveAndReplaceChildFromOtherContainmentInSameParent" }, { "$ref": "#/$defs/MoveAndReplaceChildInSameContainment" }, { "$ref": "#/$defs/AddAnnotation" }, { "$ref": "#/$defs/DeleteAnnotation" }, { "$ref": "#/$defs/ReplaceAnnotation" }, { "$ref": "#/$defs/MoveAnnotationFromOtherParent" }, { "$ref": "#/$defs/MoveAnnotationInSameParent" }, { "$ref": "#/$defs/MoveAndReplaceAnnotationFromOtherParent" }, { "$ref": "#/$defs/MoveAndReplaceAnnotationInSameParent" }, { "$ref": "#/$defs/AddReference" }, { "$ref": "#/$defs/DeleteReference" }, { "$ref": "#/$defs/ChangeReference" }, { "$ref": "#/$defs/ChunkedCommand" } ] }, "AddPartition": { "properties": { "messageKind": { "const": "AddPartition" }, "newPartition": { "$ref": "#/$defs/DeltaSerializationChunk" }, "split": { "$ref": "#/$defs/split" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newPartition", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 4, "maxProperties": 5 }, "DeletePartition": { "properties": { "messageKind": { "const": "DeletePartition" }, "deletedPartition": { "$ref": "#/$defs/targetNode" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "deletedPartition", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 4, "maxProperties": 4 }, "ChangeClassifier": { "properties": { "messageKind": { "const": "ChangeClassifier" }, "node": { "$ref": "#/$defs/targetNode" }, "newClassifier": { "$ref": "#/$defs/metaPointer" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "node", "newClassifier", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 5, "maxProperties": 5 }, "AddProperty": { "properties": { "messageKind": { "const": "AddProperty" }, "node": { "$ref": "#/$defs/targetNode" }, "property": { "$ref": "#/$defs/metaPointer" }, "newValue": { "$ref": "#/$defs/propertyValue" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "node", "property", "newValue", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 6, "maxProperties": 6 }, "DeleteProperty": { "properties": { "messageKind": { "const": "DeleteProperty" }, "node": { "$ref": "#/$defs/targetNode" }, "property": { "$ref": "#/$defs/metaPointer" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "node", "property", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 5, "maxProperties": 5 }, "ChangeProperty": { "properties": { "messageKind": { "const": "ChangeProperty" }, "node": { "$ref": "#/$defs/targetNode" }, "property": { "$ref": "#/$defs/metaPointer" }, "newValue": { "$ref": "#/$defs/propertyValue" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "node", "property", "newValue", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 6, "maxProperties": 6 }, "AddChild": { "properties": { "messageKind": { "const": "AddChild" }, "parent": { "$ref": "#/$defs/targetNode" }, "newChild": { "$ref": "#/$defs/DeltaSerializationChunk" }, "containment": { "$ref": "#/$defs/metaPointer" }, "index": { "$ref": "#/$defs/index" }, "split": { "$ref": "#/$defs/split" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "parent", "newChild", "containment", "index", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 7, "maxProperties": 8 }, "DeleteChild": { "properties": { "messageKind": { "const": "DeleteChild" }, "parent": { "$ref": "#/$defs/targetNode" }, "containment": { "$ref": "#/$defs/metaPointer" }, "index": { "$ref": "#/$defs/index" }, "deletedChild": { "$ref": "#/$defs/targetNode" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "parent", "containment", "index", "deletedChild", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 7, "maxProperties": 7 }, "ReplaceChild": { "properties": { "messageKind": { "const": "ReplaceChild" }, "parent": { "$ref": "#/$defs/targetNode" }, "newChild": { "$ref": "#/$defs/DeltaSerializationChunk" }, "containment": { "$ref": "#/$defs/metaPointer" }, "index": { "$ref": "#/$defs/index" }, "replacedChild": { "$ref": "#/$defs/targetNode" }, "split": { "$ref": "#/$defs/split" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "parent", "newChild", "containment", "index", "replacedChild", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 8, "maxProperties": 9 }, "MoveChildFromOtherContainment": { "properties": { "messageKind": { "const": "MoveChildFromOtherContainment" }, "newParent": { "$ref": "#/$defs/targetNode" }, "newContainment": { "$ref": "#/$defs/metaPointer" }, "newIndex": { "$ref": "#/$defs/index" }, "movedChild": { "$ref": "#/$defs/targetNode" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newParent", "newContainment", "newIndex", "movedChild", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 7, "maxProperties": 7 }, "MoveChildFromOtherContainmentInSameParent": { "properties": { "messageKind": { "const": "MoveChildFromOtherContainmentInSameParent" }, "newContainment": { "$ref": "#/$defs/metaPointer" }, "newIndex": { "$ref": "#/$defs/index" }, "movedChild": { "$ref": "#/$defs/targetNode" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newContainment", "newIndex", "movedChild", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 6, "maxProperties": 6 }, "MoveChildInSameContainment": { "properties": { "messageKind": { "const": "MoveChildInSameContainment" }, "newIndex": { "$ref": "#/$defs/index" }, "movedChild": { "$ref": "#/$defs/targetNode" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newIndex", "movedChild", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 5, "maxProperties": 5 }, "MoveAndReplaceChildFromOtherContainment": { "properties": { "messageKind": { "const": "MoveAndReplaceChildFromOtherContainment" }, "newParent": { "$ref": "#/$defs/targetNode" }, "newContainment": { "$ref": "#/$defs/metaPointer" }, "newIndex": { "$ref": "#/$defs/index" }, "replacedChild": { "$ref": "#/$defs/targetNode" }, "movedChild": { "$ref": "#/$defs/targetNode" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newParent", "newContainment", "newIndex", "replacedChild", "movedChild", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 8, "maxProperties": 8 }, "MoveAndReplaceChildFromOtherContainmentInSameParent": { "properties": { "messageKind": { "const": "MoveAndReplaceChildFromOtherContainmentInSameParent" }, "newContainment": { "$ref": "#/$defs/metaPointer" }, "newIndex": { "$ref": "#/$defs/index" }, "replacedChild": { "$ref": "#/$defs/targetNode" }, "movedChild": { "$ref": "#/$defs/targetNode" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newContainment", "newIndex", "replacedChild", "movedChild", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 7, "maxProperties": 7 }, "MoveAndReplaceChildInSameContainment": { "properties": { "messageKind": { "const": "MoveAndReplaceChildInSameContainment" }, "newIndex": { "$ref": "#/$defs/index" }, "replacedChild": { "$ref": "#/$defs/targetNode" }, "movedChild": { "$ref": "#/$defs/targetNode" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newIndex", "replacedChild", "movedChild", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 6, "maxProperties": 6 }, "AddAnnotation": { "properties": { "messageKind": { "const": "AddAnnotation" }, "parent": { "$ref": "#/$defs/targetNode" }, "newAnnotation": { "$ref": "#/$defs/DeltaSerializationChunk" }, "index": { "$ref": "#/$defs/index" }, "split": { "$ref": "#/$defs/split" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "parent", "newAnnotation", "index", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 6, "maxProperties": 7 }, "DeleteAnnotation": { "properties": { "messageKind": { "const": "DeleteAnnotation" }, "parent": { "$ref": "#/$defs/targetNode" }, "index": { "$ref": "#/$defs/index" }, "deletedAnnotation": { "$ref": "#/$defs/targetNode" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "parent", "index", "deletedAnnotation", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 6, "maxProperties": 6 }, "ReplaceAnnotation": { "properties": { "messageKind": { "const": "ReplaceAnnotation" }, "parent": { "$ref": "#/$defs/targetNode" }, "newAnnotation": { "$ref": "#/$defs/DeltaSerializationChunk" }, "index": { "$ref": "#/$defs/index" }, "replacedAnnotation": { "$ref": "#/$defs/targetNode" }, "split": { "$ref": "#/$defs/split" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "parent", "newAnnotation", "index", "replacedAnnotation", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 7, "maxProperties": 8 }, "MoveAnnotationFromOtherParent": { "properties": { "messageKind": { "const": "MoveAnnotationFromOtherParent" }, "newParent": { "$ref": "#/$defs/targetNode" }, "newIndex": { "$ref": "#/$defs/index" }, "movedAnnotation": { "$ref": "#/$defs/targetNode" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newParent", "newIndex", "movedAnnotation", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 6, "maxProperties": 6 }, "MoveAnnotationInSameParent": { "properties": { "messageKind": { "const": "MoveAnnotationInSameParent" }, "newIndex": { "$ref": "#/$defs/index" }, "movedAnnotation": { "$ref": "#/$defs/targetNode" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newIndex", "movedAnnotation", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 5, "maxProperties": 5 }, "MoveAndReplaceAnnotationFromOtherParent": { "properties": { "messageKind": { "const": "MoveAndReplaceAnnotationFromOtherParent" }, "newParent": { "$ref": "#/$defs/targetNode" }, "newIndex": { "$ref": "#/$defs/index" }, "replacedAnnotation": { "$ref": "#/$defs/targetNode" }, "movedAnnotation": { "$ref": "#/$defs/targetNode" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newParent", "newIndex", "replacedAnnotation", "movedAnnotation", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 7, "maxProperties": 7 }, "MoveAndReplaceAnnotationInSameParent": { "properties": { "messageKind": { "const": "MoveAndReplaceAnnotationInSameParent" }, "newIndex": { "$ref": "#/$defs/index" }, "replacedAnnotation": { "$ref": "#/$defs/targetNode" }, "movedAnnotation": { "$ref": "#/$defs/targetNode" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newIndex", "replacedAnnotation", "movedAnnotation", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 6, "maxProperties": 6 }, "AddReference": { "properties": { "messageKind": { "const": "AddReference" }, "parent": { "$ref": "#/$defs/targetNode" }, "reference": { "$ref": "#/$defs/metaPointer" }, "index": { "$ref": "#/$defs/index" }, "newReference": { "$ref": "#/$defs/targetNode" }, "newResolveInfo": { "$ref": "#/$defs/resolveInfo" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "parent", "reference", "index", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 6, "maxProperties": 8 }, "DeleteReference": { "properties": { "messageKind": { "const": "DeleteReference" }, "parent": { "$ref": "#/$defs/targetNode" }, "reference": { "$ref": "#/$defs/metaPointer" }, "index": { "$ref": "#/$defs/index" }, "deletedReference": { "$ref": "#/$defs/targetNode" }, "deletedResolveInfo": { "$ref": "#/$defs/resolveInfo" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "parent", "reference", "index", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 6, "maxProperties": 8 }, "ChangeReference": { "properties": { "messageKind": { "const": "ChangeReference" }, "parent": { "$ref": "#/$defs/targetNode" }, "reference": { "$ref": "#/$defs/metaPointer" }, "index": { "$ref": "#/$defs/index" }, "oldReference": { "$ref": "#/$defs/targetNode" }, "oldResolveInfo": { "$ref": "#/$defs/resolveInfo" }, "newReference": { "$ref": "#/$defs/targetNode" }, "newResolveInfo": { "$ref": "#/$defs/resolveInfo" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "parent", "reference", "index", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 6, "maxProperties": 10 }, "ChunkedCommand": { "properties": { "messageKind": { "const": "ChunkedCommand" }, "chunk": { "$ref": "#/$defs/DeltaSerializationChunk" }, "continuedChunkCompleted": { "$ref": "#/$defs/continuedChunkCompleted" }, "continuedChunkSequenceNumber": { "$ref": "#/$defs/continuedChunkSequenceNumber" }, "commandId": { "$ref": "#/$defs/commandId" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "chunk", "continuedChunkCompleted", "continuedChunkSequenceNumber", "commandId", "additionalInfos" ], "additionalProperties": false, "minProperties": 6, "maxProperties": 6 }, "Events": { "anyOf": [ { "$ref": "#/$defs/PartitionAdded" }, { "$ref": "#/$defs/PartitionDeleted" }, { "$ref": "#/$defs/ClassifierChanged" }, { "$ref": "#/$defs/PropertyAdded" }, { "$ref": "#/$defs/PropertyDeleted" }, { "$ref": "#/$defs/PropertyChanged" }, { "$ref": "#/$defs/ChildAdded" }, { "$ref": "#/$defs/ChildDeleted" }, { "$ref": "#/$defs/ChildReplaced" }, { "$ref": "#/$defs/ChildMovedFromOtherContainment" }, { "$ref": "#/$defs/ChildMovedFromOtherContainmentInSameParent" }, { "$ref": "#/$defs/ChildMovedInSameContainment" }, { "$ref": "#/$defs/ChildMovedAndReplacedFromOtherContainment" }, { "$ref": "#/$defs/ChildMovedAndReplacedFromOtherContainmentInSameParent" }, { "$ref": "#/$defs/ChildMovedAndReplacedInSameContainment" }, { "$ref": "#/$defs/AnnotationAdded" }, { "$ref": "#/$defs/AnnotationDeleted" }, { "$ref": "#/$defs/AnnotationReplaced" }, { "$ref": "#/$defs/AnnotationMovedFromOtherParent" }, { "$ref": "#/$defs/AnnotationMovedInSameParent" }, { "$ref": "#/$defs/AnnotationMovedAndReplacedFromOtherParent" }, { "$ref": "#/$defs/AnnotationMovedAndReplacedInSameParent" }, { "$ref": "#/$defs/ReferenceAdded" }, { "$ref": "#/$defs/ReferenceDeleted" }, { "$ref": "#/$defs/ReferenceChanged" }, { "$ref": "#/$defs/NoOpEvent" }, { "$ref": "#/$defs/ErrorEvent" }, { "$ref": "#/$defs/ChunkedEvent" } ] }, "PartitionAdded": { "properties": { "messageKind": { "const": "PartitionAdded" }, "newPartition": { "$ref": "#/$defs/DeltaSerializationChunk" }, "split": { "$ref": "#/$defs/split" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newPartition", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 5, "maxProperties": 6 }, "PartitionDeleted": { "properties": { "messageKind": { "const": "PartitionDeleted" }, "deletedPartition": { "$ref": "#/$defs/targetNode" }, "deletedDescendants": { "$ref": "#/$defs/targetNodes" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "deletedPartition", "deletedDescendants", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 6, "maxProperties": 6 }, "ClassifierChanged": { "properties": { "messageKind": { "const": "ClassifierChanged" }, "node": { "$ref": "#/$defs/targetNode" }, "newClassifier": { "$ref": "#/$defs/metaPointer" }, "oldClassifier": { "$ref": "#/$defs/metaPointer" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "node", "newClassifier", "oldClassifier", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 7, "maxProperties": 7 }, "PropertyAdded": { "properties": { "messageKind": { "const": "PropertyAdded" }, "node": { "$ref": "#/$defs/targetNode" }, "property": { "$ref": "#/$defs/metaPointer" }, "newValue": { "$ref": "#/$defs/propertyValue" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "node", "property", "newValue", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 7, "maxProperties": 7 }, "PropertyDeleted": { "properties": { "messageKind": { "const": "PropertyDeleted" }, "node": { "$ref": "#/$defs/targetNode" }, "property": { "$ref": "#/$defs/metaPointer" }, "oldValue": { "$ref": "#/$defs/propertyValue" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "node", "property", "oldValue", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 7, "maxProperties": 7 }, "PropertyChanged": { "properties": { "messageKind": { "const": "PropertyChanged" }, "node": { "$ref": "#/$defs/targetNode" }, "property": { "$ref": "#/$defs/metaPointer" }, "oldValue": { "$ref": "#/$defs/propertyValue" }, "newValue": { "$ref": "#/$defs/propertyValue" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "node", "property", "oldValue", "newValue", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 8, "maxProperties": 8 }, "ChildAdded": { "properties": { "messageKind": { "const": "ChildAdded" }, "parent": { "$ref": "#/$defs/targetNode" }, "newChild": { "$ref": "#/$defs/DeltaSerializationChunk" }, "containment": { "$ref": "#/$defs/metaPointer" }, "index": { "$ref": "#/$defs/index" }, "split": { "$ref": "#/$defs/split" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "parent", "newChild", "containment", "index", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 8, "maxProperties": 9 }, "ChildDeleted": { "properties": { "messageKind": { "const": "ChildDeleted" }, "deletedChild": { "$ref": "#/$defs/targetNode" }, "deletedDescendants": { "$ref": "#/$defs/targetNodes" }, "parent": { "$ref": "#/$defs/targetNode" }, "containment": { "$ref": "#/$defs/metaPointer" }, "index": { "$ref": "#/$defs/index" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "deletedChild", "deletedDescendants", "parent", "containment", "index", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 9, "maxProperties": 9 }, "ChildReplaced": { "properties": { "messageKind": { "const": "ChildReplaced" }, "newChild": { "$ref": "#/$defs/DeltaSerializationChunk" }, "replacedChild": { "$ref": "#/$defs/targetNode" }, "replacedDescendants": { "$ref": "#/$defs/targetNodes" }, "parent": { "$ref": "#/$defs/targetNode" }, "containment": { "$ref": "#/$defs/metaPointer" }, "index": { "$ref": "#/$defs/index" }, "split": { "$ref": "#/$defs/split" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newChild", "replacedChild", "replacedDescendants", "parent", "containment", "index", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 10, "maxProperties": 11 }, "ChildMovedFromOtherContainment": { "properties": { "messageKind": { "const": "ChildMovedFromOtherContainment" }, "newParent": { "$ref": "#/$defs/targetNode" }, "newContainment": { "$ref": "#/$defs/metaPointer" }, "newIndex": { "$ref": "#/$defs/index" }, "movedChild": { "$ref": "#/$defs/targetNode" }, "oldParent": { "$ref": "#/$defs/targetNode" }, "oldContainment": { "$ref": "#/$defs/metaPointer" }, "oldIndex": { "$ref": "#/$defs/index" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newParent", "newContainment", "newIndex", "movedChild", "oldParent", "oldContainment", "oldIndex", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 11, "maxProperties": 11 }, "ChildMovedFromOtherContainmentInSameParent": { "properties": { "messageKind": { "const": "ChildMovedFromOtherContainmentInSameParent" }, "newContainment": { "$ref": "#/$defs/metaPointer" }, "newIndex": { "$ref": "#/$defs/index" }, "movedChild": { "$ref": "#/$defs/targetNode" }, "parent": { "$ref": "#/$defs/targetNode" }, "oldContainment": { "$ref": "#/$defs/metaPointer" }, "oldIndex": { "$ref": "#/$defs/index" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newContainment", "newIndex", "movedChild", "parent", "oldContainment", "oldIndex", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 10, "maxProperties": 10 }, "ChildMovedInSameContainment": { "properties": { "messageKind": { "const": "ChildMovedInSameContainment" }, "newIndex": { "$ref": "#/$defs/index" }, "movedChild": { "$ref": "#/$defs/targetNode" }, "parent": { "$ref": "#/$defs/targetNode" }, "containment": { "$ref": "#/$defs/metaPointer" }, "oldIndex": { "$ref": "#/$defs/index" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newIndex", "movedChild", "parent", "containment", "oldIndex", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 9, "maxProperties": 9 }, "ChildMovedAndReplacedFromOtherContainment": { "properties": { "messageKind": { "const": "ChildMovedAndReplacedFromOtherContainment" }, "newParent": { "$ref": "#/$defs/targetNode" }, "newContainment": { "$ref": "#/$defs/metaPointer" }, "newIndex": { "$ref": "#/$defs/index" }, "movedChild": { "$ref": "#/$defs/targetNode" }, "oldParent": { "$ref": "#/$defs/targetNode" }, "oldContainment": { "$ref": "#/$defs/metaPointer" }, "oldIndex": { "$ref": "#/$defs/index" }, "replacedChild": { "$ref": "#/$defs/targetNode" }, "replacedDescendants": { "$ref": "#/$defs/targetNodes" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newParent", "newContainment", "newIndex", "movedChild", "oldParent", "oldContainment", "oldIndex", "replacedChild", "replacedDescendants", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 13, "maxProperties": 13 }, "ChildMovedAndReplacedFromOtherContainmentInSameParent": { "properties": { "messageKind": { "const": "ChildMovedAndReplacedFromOtherContainmentInSameParent" }, "newContainment": { "$ref": "#/$defs/metaPointer" }, "newIndex": { "$ref": "#/$defs/index" }, "movedChild": { "$ref": "#/$defs/targetNode" }, "parent": { "$ref": "#/$defs/targetNode" }, "oldContainment": { "$ref": "#/$defs/metaPointer" }, "oldIndex": { "$ref": "#/$defs/index" }, "replacedChild": { "$ref": "#/$defs/targetNode" }, "replacedDescendants": { "$ref": "#/$defs/targetNodes" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newContainment", "newIndex", "movedChild", "parent", "oldContainment", "oldIndex", "replacedChild", "replacedDescendants", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 12, "maxProperties": 12 }, "ChildMovedAndReplacedInSameContainment": { "properties": { "messageKind": { "const": "ChildMovedAndReplacedInSameContainment" }, "newIndex": { "$ref": "#/$defs/index" }, "movedChild": { "$ref": "#/$defs/targetNode" }, "parent": { "$ref": "#/$defs/targetNode" }, "containment": { "$ref": "#/$defs/metaPointer" }, "oldIndex": { "$ref": "#/$defs/index" }, "replacedChild": { "$ref": "#/$defs/targetNode" }, "replacedDescendants": { "$ref": "#/$defs/targetNodes" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newIndex", "movedChild", "parent", "containment", "oldIndex", "replacedChild", "replacedDescendants", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 11, "maxProperties": 11 }, "AnnotationAdded": { "properties": { "messageKind": { "const": "AnnotationAdded" }, "parent": { "$ref": "#/$defs/targetNode" }, "newAnnotation": { "$ref": "#/$defs/DeltaSerializationChunk" }, "index": { "$ref": "#/$defs/index" }, "split": { "$ref": "#/$defs/split" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "parent", "newAnnotation", "index", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 7, "maxProperties": 8 }, "AnnotationDeleted": { "properties": { "messageKind": { "const": "AnnotationDeleted" }, "parent": { "$ref": "#/$defs/targetNode" }, "deletedAnnotation": { "$ref": "#/$defs/targetNode" }, "deletedDescendants": { "$ref": "#/$defs/targetNodes" }, "index": { "$ref": "#/$defs/index" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "parent", "deletedAnnotation", "deletedDescendants", "index", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 8, "maxProperties": 8 }, "AnnotationReplaced": { "properties": { "messageKind": { "const": "AnnotationReplaced" }, "newAnnotation": { "$ref": "#/$defs/DeltaSerializationChunk" }, "replacedAnnotation": { "$ref": "#/$defs/targetNode" }, "replacedDescendants": { "$ref": "#/$defs/targetNodes" }, "parent": { "$ref": "#/$defs/targetNode" }, "index": { "$ref": "#/$defs/index" }, "split": { "$ref": "#/$defs/split" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newAnnotation", "replacedAnnotation", "replacedDescendants", "parent", "index", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 9, "maxProperties": 10 }, "AnnotationMovedFromOtherParent": { "properties": { "messageKind": { "const": "AnnotationMovedFromOtherParent" }, "newParent": { "$ref": "#/$defs/targetNode" }, "newIndex": { "$ref": "#/$defs/index" }, "movedAnnotation": { "$ref": "#/$defs/targetNode" }, "oldParent": { "$ref": "#/$defs/targetNode" }, "oldIndex": { "$ref": "#/$defs/index" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newParent", "newIndex", "movedAnnotation", "oldParent", "oldIndex", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 9, "maxProperties": 9 }, "AnnotationMovedInSameParent": { "properties": { "messageKind": { "const": "AnnotationMovedInSameParent" }, "newIndex": { "$ref": "#/$defs/index" }, "movedAnnotation": { "$ref": "#/$defs/targetNode" }, "parent": { "$ref": "#/$defs/targetNode" }, "oldIndex": { "$ref": "#/$defs/index" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newIndex", "movedAnnotation", "parent", "oldIndex", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 8, "maxProperties": 8 }, "AnnotationMovedAndReplacedFromOtherParent": { "properties": { "messageKind": { "const": "AnnotationMovedAndReplacedFromOtherParent" }, "newParent": { "$ref": "#/$defs/targetNode" }, "newIndex": { "$ref": "#/$defs/index" }, "movedAnnotation": { "$ref": "#/$defs/targetNode" }, "oldParent": { "$ref": "#/$defs/targetNode" }, "oldIndex": { "$ref": "#/$defs/index" }, "replacedAnnotation": { "$ref": "#/$defs/targetNode" }, "replacedDescendants": { "$ref": "#/$defs/targetNodes" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newParent", "newIndex", "movedAnnotation", "oldParent", "oldIndex", "replacedAnnotation", "replacedDescendants", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 11, "maxProperties": 11 }, "AnnotationMovedAndReplacedInSameParent": { "properties": { "messageKind": { "const": "AnnotationMovedAndReplacedInSameParent" }, "newIndex": { "$ref": "#/$defs/index" }, "movedAnnotation": { "$ref": "#/$defs/targetNode" }, "parent": { "$ref": "#/$defs/targetNode" }, "oldIndex": { "$ref": "#/$defs/index" }, "replacedAnnotation": { "$ref": "#/$defs/targetNode" }, "replacedDescendants": { "$ref": "#/$defs/targetNodes" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "newIndex", "movedAnnotation", "parent", "oldIndex", "replacedAnnotation", "replacedDescendants", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 10, "maxProperties": 10 }, "ReferenceAdded": { "properties": { "messageKind": { "const": "ReferenceAdded" }, "parent": { "$ref": "#/$defs/targetNode" }, "reference": { "$ref": "#/$defs/metaPointer" }, "index": { "$ref": "#/$defs/index" }, "newReference": { "$ref": "#/$defs/targetNode" }, "newResolveInfo": { "$ref": "#/$defs/resolveInfo" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "parent", "reference", "index", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 7, "maxProperties": 9 }, "ReferenceDeleted": { "properties": { "messageKind": { "const": "ReferenceDeleted" }, "parent": { "$ref": "#/$defs/targetNode" }, "reference": { "$ref": "#/$defs/metaPointer" }, "index": { "$ref": "#/$defs/index" }, "deletedReference": { "$ref": "#/$defs/targetNode" }, "deletedResolveInfo": { "$ref": "#/$defs/resolveInfo" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "parent", "reference", "index", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 7, "maxProperties": 9 }, "ReferenceChanged": { "properties": { "messageKind": { "const": "ReferenceChanged" }, "parent": { "$ref": "#/$defs/targetNode" }, "reference": { "$ref": "#/$defs/metaPointer" }, "index": { "$ref": "#/$defs/index" }, "newReference": { "$ref": "#/$defs/targetNode" }, "newResolveInfo": { "$ref": "#/$defs/resolveInfo" }, "oldReference": { "$ref": "#/$defs/targetNode" }, "oldResolveInfo": { "$ref": "#/$defs/resolveInfo" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "parent", "reference", "index", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 7, "maxProperties": 11 }, "NoOpEvent": { "properties": { "messageKind": { "const": "NoOpEvent" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 4, "maxProperties": 4 }, "ErrorEvent": { "properties": { "messageKind": { "const": "ErrorEvent" }, "errorCode": { "$ref": "#/$defs/errorCode" }, "message": { "type": "string" }, "originCommands": { "$ref": "#/$defs/commandSources" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "errorCode", "message", "originCommands", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 6, "maxProperties": 6 }, "ChunkedEvent": { "properties": { "messageKind": { "const": "ChunkedEvent" }, "chunk": { "$ref": "#/$defs/DeltaSerializationChunk" }, "continuedChunkCompleted": { "$ref": "#/$defs/continuedChunkCompleted" }, "continuedChunkSequenceNumber": { "$ref": "#/$defs/continuedChunkSequenceNumber" }, "chunkedEventSequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "sequenceNumber": { "$ref": "#/$defs/eventSequenceNumber" }, "additionalInfos": { "$ref": "#/$defs/additionalInfos" } }, "required": [ "messageKind", "chunk", "continuedChunkCompleted", "continuedChunkSequenceNumber", "chunkedEventSequenceNumber", "sequenceNumber", "additionalInfos" ], "additionalProperties": false, "minProperties": 7, "maxProperties": 7 } } }