gbv / jskos

JSKOS data format for Knowledge Organization Systems
https://gbv.github.io/jskos/
38 stars 5 forks source link

Include ERM/UML diagram #39

Open nichtich opened 8 years ago

nichtich commented 8 years ago

Possible with tools like https://github.com/SOM-Research/JsonSchema-to-uml or generated by hand.

VladimirAlexiev commented 4 years ago

@nichtich I highly recommend plantuml that also supports ER notation. Eg see below, and there are MANY more examples if you're interested. I can help.

SOML-example

Can you give some example of what you have in mind?

nichtich commented 4 years ago

This looks good, thanks! I thought about a graphical display of the object types hierarchy including fields, so there is everything on one page:

@startuml
hide methods
hide circle

class Resource {
  uri : URI
  identifier : list of string
  type : list of URI
  created : date
  ...
}

class Item {
  url : URL
  notation : list of string
  ...
}

Resource <|-- Item
@enduml

http://www.plantuml.com/plantuml/png/ROuz3i8m38NtdC8NQ0-06BfMOgh40QB4fPRoWsndGC3TiKg0XIalN_ByUHBrh2qdjr54oAXRZVA-1EAGqBcGl0WiABLnGBWxWCO41pWlisNxMfHMGZQKI1Jg2g9CvMAlUhlYZ_TAOFIAqNYqqy0uZkxvCSsAkLlIRZbPBbMzKYt_7BtztV3u68PzYfkmn9RJ2m00