Skip to content

Commit

Permalink
fix endorsement metric attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
imadbourouche committed Feb 19, 2025
1 parent cebfb7d commit a985e83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ontologies_linked_data/models/metric.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Metric < LinkedData::Models::Base

attribute :numberOfNotes, namespace: :mod, type: :integer
attribute :numberOfUsingProjects, namespace: :mod, type: :integer
attribute :numberOfEnsorments, namespace: :mod, type: :integer
attribute :numberOfEndorsements, namespace: :mod, type: :integer
attribute :numberOfEvaluations, namespace: :mod, type: :integer
attribute :numberOfAgents, namespace: :mod, type: :integer
attribute :numberOfObjectProperties, namespace: :mod, type: :integer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ class SemanticArtefactDistribution < LinkedData::Models::Base
attribute_mapped :classesWithNoDefinition, namespace: :mod, mapped_to: { model: :metric }
attribute_mapped :numberOfIndividuals, namespace: :mod, enforce: [:integer], mapped_to: { model: :metric, attribute: :individuals}
attribute_mapped :numberOfProperties, namespace: :mod, enforce: [:integer], mapped_to: { model: :metric, attribute: :properties}
attribute_mapped :numberOfAgents, namespace: :mod, enforce: [:integer], mapped_to: { model: :metric }
attribute_mapped :numberOfObjectProperties, namespace: :mod, enforce: [:integer], mapped_to: { model: :metric}
attribute_mapped :numberOfDataProperties, namespace: :mod, enforce: [:integer], mapped_to: { model: :metric}
attribute_mapped :numberOfLabels, namespace: :mod, enforce: [:integer], mapped_to: { model: :metric }
Expand Down

0 comments on commit a985e83

Please sign in to comment.