Hello K.,
You can put JSON data on components, with JSON sub-diagram or embedded diagram, see wanted feature here:
Here is another example:
@startuml
component c1 [
component c1
{{json
{
"name": "component c1",
"color": ["normal", "green", "red"],
"visible": true
}
}}
]
file f1 [
file f1
{{json
{"name": "file f1",
"color": "normal"}
}}
]
c1 -> f1
@enduml
[See on PlantUML online server]
If that can help,
Regards,
Th.