Skip to content

Commit

Permalink
Updated rightOperands syntax #279
Browse files Browse the repository at this point in the history
  • Loading branch information
riannella committed Oct 27, 2017
1 parent b95069d commit 0273380
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions model/index.html
Expand Up @@ -783,7 +783,7 @@ <h3>Constraint property with a Rule</h3>
"constraint": [{
"leftOperand": "dateTime",
"operator": "lt",
"rightOperand": "2018-01-01"
"rightOperand": { "@value": "2018-01-01", "@type": "xsd:date" }
}]
}]
}
Expand Down Expand Up @@ -819,7 +819,7 @@ <h3>Refinement property with an Action</h3>
"refinement": [{
"leftOperand": "percentage",
"operator": "lteq",
"rightOperand": "50.0"
"rightOperand": { "@value": "50.0", "@type": "xsd:decimal" }
}]
}]
}]
Expand Down Expand Up @@ -856,7 +856,7 @@ <h3>Refinement property with an Action</h3>
"uid": "http://example.com/p:88/C1",
"leftOperand": "media",
"operator": "eq",
"rightOperand": "online"
"rightOperand": { "@value": "online", "@type": "xsd:string" }
}

{
Expand All @@ -865,7 +865,7 @@ <h3>Refinement property with an Action</h3>
"uid": "http://example.com/p:88/C2",
"leftOperand": "media",
"operator": "eq",
"rightOperand": "print"
"rightOperand": { "@value": "print", "@type": "xsd:string" }
}
</pre>

Expand Down Expand Up @@ -912,7 +912,7 @@ <h3>Refinement property with an Asset Collection</h3>
"refinement": [{
"leftOperand": "runningTime",
"operator": "lt",
"rightOperand": "60",
"rightOperand": { "@value": "60", "@type": "xsd:integer" },
"unit": "http://qudt.org/vocab/unit/MinuteTime"
}]
},
Expand Down Expand Up @@ -959,7 +959,7 @@ <h3>Refinement property with a Party Collection</h3>
"refinement": [{
"leftOperand": "foaf:age",
"operator": "gt",
"rightOperand": "17"
"rightOperand": { "@value": "17", "@type": "xsd:integer" }
}]
},
"action": "display"
Expand Down Expand Up @@ -1035,7 +1035,7 @@ <h3>Permission Class</h3>
"constraint": [{
"leftOperand": "dateTime",
"operator": "lteq",
"rightOperand": "2017-12-31"
"rightOperand": { "@value": "2017-12-31", "@type": "xsd:date" }
}]
}]
}
Expand Down Expand Up @@ -1156,7 +1156,7 @@ <h3>Obligation property with a Policy</h3>
{
"leftOperand": "payAmount",
"operator": "eq",
"rightOperand": "500.00",
"rightOperand": { "@value": "500.00", "@type": "xsd:decimal" },
"unit": "http://dbpedia.org/resource/Euro"
}]
}]
Expand Down Expand Up @@ -1189,7 +1189,7 @@ <h3>Obligation property with a Policy</h3>
"refinement": [{
"leftOperand": "payAmount",
"operator": "eq",
"rightOperand": "10.00",
"rightOperand": { "@value": "10.00", "@type": "xsd:decimal" },
"unit": "http://dbpedia.org/resource/Euro"
}],
}],
Expand Down Expand Up @@ -1233,14 +1233,14 @@ <h3>Duty property with a Permission</h3>
"refinement": [{
"leftOperand": "payAmount",
"operator": "eq",
"rightOperand": "5.00",
"rightOperand": { "@value": "5.00", "@type": "xsd:decimal" },
"unit": "http://dbpedia.org/resource/Euro"
}]
}],
"constraint": [{
"leftOperand": "event",
"operator": "lt",
"rightOperand": "policyUsage"
"rightOperand": { "@id": "odrl:policyUsage" }
}]
}]
}]
Expand Down

0 comments on commit 0273380

Please sign in to comment.