You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that I should be able to access the shacl:in property of the raml-shapes:ScalarShape class. But how can access RDF members that are represented as enumerated properties (rdfs:_1 and rdfs:_2)? With AMF4, I've been able to achieve this using functionConstraint with javascript code, but it seems to be no longer possible.
The text was updated successfully, but these errors were encountered:
I've been following the tutorial for custom validation, but I wasn't able to figure out how to validate enums correctly.
If we consider the following RAML file:
That will generate the following graph:
I see that I should be able to access the
shacl:in
property of theraml-shapes:ScalarShape
class. But how can access RDF members that are represented as enumerated properties (rdfs:_1
andrdfs:_2
)? With AMF4, I've been able to achieve this usingfunctionConstraint
with javascript code, but it seems to be no longer possible.The text was updated successfully, but these errors were encountered: