diff --git a/lib/ontologies_api_client/models/class.rb b/lib/ontologies_api_client/models/class.rb index e26c9c1..f5b4708 100644 --- a/lib/ontologies_api_client/models/class.rb +++ b/lib/ontologies_api_client/models/class.rb @@ -6,7 +6,7 @@ module Client module Models class Class < LinkedData::Client::Base HTTP = LinkedData::Client::HTTP - @media_type = "http://www.w3.org/2002/07/owl#Class" + @media_type = %w[http://www.w3.org/2002/07/owl#Class http://www.w3.org/2004/02/skos/core#Concept] @include_attrs = "prefLabel,definition,synonym,obsolete,hasChildren" @include_attrs_full = "prefLabel,definition,synonym,obsolete,properties,hasChildren,children" @attrs_always_present = :prefLabel, :definition, :synonym, :obsolete, :properties, :hasChildren, :children