Component Grouping
Document Header
json
{ "type": "DOCHEAD" }||{ "docType": "COMPONENT_GROUP", "uuid": "UUID", "client": "clientID" }|1
- type:
DOCHEAD, document header identifier. - docType:
COMPONENT_GROUPcomponent grouping. - uuid: unique identifier, random id.
- client: terminal identifier for eventual consistency.
META Basic Information
json
{ "type": "META", "ticket": 1 }||
{
/** Name */
"title": string,
/** Parent component group uuid of the child component group */
"parent": string,
/** Component groups belonging directly to a variant do not participate in the component group tree */
"belong": string,
/** Sort order in the component group tree */
"zIndex": number,
/** Schematic */
"schematicId": string,
}|1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
GROUP_INDEX Sorting of Component Groups in Variants
json
{ "type": "GROUP_INDEX", "ticket": 1, "id": "variantId" }||
{
"zIndex": 1,
}|1
2
3
4
2
3
4
- type:
GROUP_INDEX - ticket: logical clock.
- id: variant uuid.
- zIndex: sort order within the variant.
GROUP_DATA Attribute Data
json
{ "type": "GROUP_DATA", "id": "e176@uuid", "ticket": 1 }||data1
- type
GROUP_DATAattribute data. - id combined id, separated by
@:- The first is the primitive ID.
- The second is the instance page ID.
- data attribute override, data signature is
{ [key: string]: string }|
json
{ "type": "GROUP_DATA", "id": "e176@uuid1", "ticket": 1 }||{ "Designator": "U15", "ASDF": "1234" }|
{ "type": "GROUP_DATA", "id": "e177@uuid1", "ticket": 2 }||{ "NUMBER": 2 }|
{ "type": "GROUP_DATA", "id": "e176@uuid2", "ticket": 3 }||{ "Author": "abc" }|1
2
3
2
3