Skip to content

Commit

Permalink
add skos:Concept media type for Class model
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Nov 18, 2022
1 parent e12e769 commit c320f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ontologies_api_client/models/class.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c320f44

Please sign in to comment.