@startuml
hide empty members
hide circle
skinparam classAttributeIconSize 0
class _1_CURRENCY_ as "<1-CURRENCY>"
class _1_CURRENCY_ <<(C,green)>>
show _1_CURRENCY_ circle
class _1_SUBCURRENCY_ as "<1-SUBCURRENCY>"
class _1_SUBCURRENCY_ <<(S,green)>>
show _1_SUBCURRENCY_ circle
class _1_ASSET_CLASS_ as "<1-ASSET_CLASS>"
class _1_ASSET_CLASS_ <<(A,pink)>>
show _1_ASSET_CLASS_ circle
class _1_ASSET_SUPERCLASS_ as "<1-ASSET_SUPERCLASS>"
class _1_ASSET_SUPERCLASS_ <<(A,pink)>>
show _1_ASSET_SUPERCLASS_ circle
class _1_INSTRUMENT_ as "<1-INSTRUMENT>"
class _1_INSTRUMENT_ <<(I,pink)>>
show _1_INSTRUMENT_ circle
class tr_fin_instrumentStatusActive as "tr-fin:instrumentStatusActive"
class tr_fin_instrumentStatusActive <<(S,green)>>
show tr_fin_instrumentStatusActive circle
class _1_QUOTE_ as "<1-QUOTE>"
class _1_QUOTE_ <<(Q,pink)>>
show _1_QUOTE_ circle
class _1_ORGANIZATION_ as "<1-ORGANIZATION>"
class _1_ORGANIZATION_ <<(O,red)>>
show _1_ORGANIZATION_ circle
class tr_fin_InstrumentStatusScheme as "tr-fin:InstrumentStatusScheme"
class tr_fin_InstrumentStatusScheme <<(S,green)>>
show tr_fin_InstrumentStatusScheme circle
tr_fin_InstrumentStatusScheme : {field} a skos:ConceptScheme
tr_fin_InstrumentStatusScheme -up-> tr_fin_instrumentStatusActive : skos:hasTopConcept
tr_fin_InstrumentStatusScheme : {field} rdfs:label "Instrument status scheme"@en
tr_fin_instrumentStatusActive : {field} a tr-fin:InstrumentStatus, skos:Concept
tr_fin_instrumentStatusActive : {field} rdfs:label "Active"@en
tr_fin_instrumentStatusActive : {field} skos:notation "AC"
class _http_sws_geonames_org_GEONAME1_ as "<http://sws.geonames.org/GEONAME1>"
_http_sws_geonames_org_GEONAME1_ : {field}  <color:red>"Country # Missing trailing slash"</color>
class _http_sws_geonames_org_GEONAME2_ as "<http://sws.geonames.org/GEONAME2>"
_http_sws_geonames_org_GEONAME2_ : {field}  <color:red>"Country # Missing trailing slash"</color>
_1_ASSET_CLASS_ : {field} a tr-fin:AssetClass, skos:Concept
_1_ASSET_CLASS_ -down-> _1_ASSET_SUPERCLASS_ : skos:broader
_1_ASSET_CLASS_ : {field} rdfs:comment "asset description"
_1_ASSET_CLASS_ : {field} rdfs:label "asset name"
_1_ASSET_CLASS_ : {field} tr-common:hasPermId "ASSET_CLASS"
_1_ASSET_SUPERCLASS_ : {field} a tr-fin:AssetClass, skos:Concept
_1_ASSET_SUPERCLASS_ : {field} rdfs:comment "asset description"
_1_ASSET_SUPERCLASS_ : {field} rdfs:label "asset name"
_1_ASSET_SUPERCLASS_ : {field} tr-common:hasPermId "ASSET_SUPERCLASS"
_1_CURRENCY_ : {field} a tr-currency:Currency
_1_CURRENCY_ -down-> _http_sws_geonames_org_GEONAME1_ : tr-currency:isCurrencyOf
_1_CURRENCY_ -down-> _http_sws_geonames_org_GEONAME2_ : tr-currency:isPrimaryCurrencyOf
_1_CURRENCY_ : {field} skos:prefLabel "currency name"
_1_CURRENCY_ : {field} tr-common:hasPermId "CURRENCY"
_1_CURRENCY_ : {field} tr-currency:decimalPlaces "2"^^xsd:decimal
_1_CURRENCY_ : {field} tr-currency:isISOHistorical false
_1_CURRENCY_ : {field} tr-currency:iso4217 "CCX # eg AUD"
_1_CURRENCY_ : {field} tr-currency:iso4217Numeric "36"
_1_INSTRUMENT_ : {field} a tr-fin:Instrument
_1_INSTRUMENT_ -down-> tr_fin_instrumentStatusActive : tr-fin:hasInstrumentStatus
_1_INSTRUMENT_ -down-> _1_ASSET_CLASS_ : tr-fin:hasAssetClass
_1_INSTRUMENT_ -up-> _1_ORGANIZATION_ : tr-fin:isIssuedBy
_1_INSTRUMENT_ -down-> _1_QUOTE_ : tr-fin:hasPrimaryQuote
_1_INSTRUMENT_ : {field} tr-common:hasName "company name - kind of shares"
_1_INSTRUMENT_ : {field} tr-common:hasPermId "INSTRUMENT"
_1_ORGANIZATION_ : {field} a tr-org:Organization
_1_ORGANIZATION_ -down-> _1_INSTRUMENT_ : tr-fin:hasPrimaryInstrument
_1_ORGANIZATION_ -down-> _1_QUOTE_ : tr-fin:hasOrganizationPrimaryQuote
_1_QUOTE_ : {field} a tr-fin:Quote
_1_QUOTE_ -down-> _1_CURRENCY_ : tr-fin:isQuotedIn
_1_QUOTE_ -down-> _1_INSTRUMENT_ : tr-fin:isQuoteOf
_1_QUOTE_ : {field} tr-common:hasName "company name - kind of shares"
_1_QUOTE_ : {field} tr-common:hasPermId "QUOTE"
_1_QUOTE_ : {field} tr-fin:hasExchangeCode "CO"
_1_QUOTE_ : {field} tr-fin:hasExchangeTicker "TICK"
_1_QUOTE_ : {field} tr-fin:hasMic "XCO"
_1_QUOTE_ : {field} tr-fin:hasRic "TICK.CO"
_1_SUBCURRENCY_ : {field} a tr-currency:CurrencySubunit
_1_SUBCURRENCY_ -up-> _1_CURRENCY_ : tr-currency:isCurrencySubunitOf
_1_SUBCURRENCY_ : {field} skos:prefLabel "subcurrency name"
_1_SUBCURRENCY_ : {field} tr-common:hasPermId "SUBCURRENCY"
_1_SUBCURRENCY_ : {field} tr-currency:decimalPlaces "0"^^xsd:decimal
_1_SUBCURRENCY_ : {field} tr-currency:isISOHistorical false
_1_SUBCURRENCY_ : {field} tr-currency:subUnitLC "CCy # eg AUc"
_1_SUBCURRENCY_ : {field} tr-currency:subUnitX "CCZ # eg AUX"
_1_SUBCURRENCY_ : {field} tr-currency:subunitFactor "100"^^xsd:float
@enduml
