Open onthebreeze opened 3 years ago
@onthebreeze , this looks like a bug I introduced recently. I was checking the name and if it ends with Amount or Indicator etc. I was mapping it to xsd:decimal
or xsd:boolean
correspondingly.
ok. If there's a CDT column in the source data that would be another way to do it.
I notice that almost all the properties in the graph have rangeIncludes xsd:string. but many of them are really numeric or dates or some other type. need to have a way to identify that type in the UML import or the subsequent openAPI will make them all strings instead of the right JSON type. we should at least make use of other xsd types like xsd:decimal, xsd:datetime etc - ie a more accurate mapping from CCTS data type to xsd data type.
also, is schema:rangeIncludes the right way to specify a data type? It assumes that a processor knows how to interpret a schema.org specific property (as opposed to an rdf property).