Repository navigation
Docs/requirements - #10
Conversation
b453733 to
93e8476
Compare
|
Merged with main, but some tests still fail -> 19 in total. Solving the ones from rule class as we discussed with the policy being closed resolves two more in I am merging this branch already, such that I can publish a new version. However, @besteves4 and @elenamolino : how would you proceed with this? test/unit/Validator.test.ts (4)
FAIL test/unit/ActionShapes.test.ts (6)
FAIL test/unit/PolicyShapes.test.ts (1)
FAIL test/unit/RuleShapes.test.ts (3)
TOSL (3)
FAIL test/unit/ConstraintShapes.test.ts (2)
|
Changes
docs/Requirements.md: grouped by module (Normalization N1–N10, Policy, Rule, Action, Constraint, Party, Asset, Operators, RightOperand, Profiles, Inconsistencies I1–I3), each requirement with its source (Wiki / ODRL 2.2 section / Vocab). New: R107–R122.DPVProfile.test.ts: loop checking if all the dpv-odrl examples are valid.Fixes
inheritFromto a Set, Offer, Agreement... was rejected (subclasses ofodrl:Policyadded to the shapes).To discuss
Terms outside ODRL or a loaded profile are a Violation (R13, R24, R41, R42). The code already did this, now the requirements say the same.
Literal target, assignee or assigner is a warning (R15, R18, R21)
Tests
417 pass, 16 fail:
Validator.test.ts.foaf:ageand spatial strings.