Open VladimirAlexiev opened 1 month ago
Some cims:stereotype values are strings (eg enum, others are URLs (eg uml:atribute).
cims:stereotype
enum
uml:atribute
Note: I defined this prefix to shorten URLs that appear in cims:stereotype: "uml": "http://iec.ch/TC57/NonStandard/UML#"
"uml": "http://iec.ch/TC57/NonStandard/UML#"
This is not wrong per se, but is slightly bad style. It makes for this ugly piece in the JSONLD ontology (eu:OperationalLimitType.kind):
eu:OperationalLimitType.kind
"cims:stereotype": [ "European", { "@id": "uml:attribute" } ],
Compare to this other piece of metadata that is rendered nicely:
"cims:multiplicity": "cims:M:1..1",
It's because I declare in the context:
"cims:multiplicity" : {"@type": "@id"},
But I can't do that for cims:stereotype because it has mixed values
I think we need to improve here. This is a discussion item. Ideally
Some
cims:stereotype
values are strings (egenum
, others are URLs (eguml:atribute
).Note: I defined this prefix to shorten URLs that appear in
cims:stereotype
:"uml": "http://iec.ch/TC57/NonStandard/UML#"
This is not wrong per se, but is slightly bad style. It makes for this ugly piece in the JSONLD ontology (
eu:OperationalLimitType.kind
):Compare to this other piece of metadata that is rendered nicely:
It's because I declare in the context:
But I can't do that for cims:stereotype because it has mixed values