We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 227e582 commit 192462fCopy full SHA for 192462f
src/PropertyDocumentMixin.js
@@ -121,6 +121,12 @@ const mxFunction = (base) => {
121
if (this._hasType(range, rs.ScalarShape)) {
122
return this._computeScalarDataType(range);
123
}
124
+ if (this._hasProperty(range, this.ns.w3.shacl.xone)) {
125
+ return 'One of';
126
+ }
127
+ if (this._hasProperty(range, this.ns.w3.shacl.or)) {
128
+ return 'Any of';
129
130
if (this._hasType(range, rs.UnionShape)) {
131
return 'Union';
132
@@ -145,9 +151,6 @@ const mxFunction = (base) => {
145
151
if (this._hasType(range, rs.TupleShape)) {
146
152
return 'Tuple';
147
153
148
- if (this._hasType(range, rs.UnionShape)) {
149
- return 'Union';
150
- }
154
if (this._hasType(range, rs.RecursiveShape)) {
155
return 'Recursive';
156
0 commit comments