Skip to content

Commit

Permalink
feat(testdata):[#616] fix namespaces and action type
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-jhartmann committed May 16, 2024
1 parent 819667e commit eb934b0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
5 changes: 3 additions & 2 deletions local/testing/testdata/CX_Testdata_v.1.7.0_PartType.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
"policies": {
"traceability-core": {
"@context": {
"odrl": "http://www.w3.org/ns/odrl/2/"
"odrl": "http://www.w3.org/ns/odrl/2/",
"cx-policy": "https://w3id.org/catenax/policy/"
},
"@type": "PolicyDefinitionRequestDto",
"@id": "traceability-core",
"policy": {
"@type": "odrl:Set",
"odrl:permission": [
{
"odrl:action": "USE",
"odrl:action": "use",
"odrl:constraint": {
"@type": "AtomicConstraint",
"odrl:and": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@type": "odrl:Set",
"odrl:permission": [
{
"odrl:action": "USE",
"odrl:action": "use",
"odrl:constraint": {
"odrl:or": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
"policies": {
"traceability-core": {
"@context": {
"odrl": "http://www.w3.org/ns/odrl/2/"
"odrl": "http://www.w3.org/ns/odrl/2/",
"cx-policy": "https://w3id.org/catenax/policy/"
},
"@type": "PolicyDefinitionRequestDto",
"@id": "traceability-core",
"policy": {
"@type": "odrl:Set",
"odrl:permission": [
{
"odrl:action": "USE",
"odrl:action": "use",
"odrl:constraint": {
"@type": "AtomicConstraint",
"odrl:and": [
Expand Down
5 changes: 3 additions & 2 deletions local/testing/testdata/ESS_Testdata_v2.0.0-AsPlanned.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
"policies": {
"traceability-core": {
"@context": {
"odrl": "http://www.w3.org/ns/odrl/2/"
"odrl": "http://www.w3.org/ns/odrl/2/",
"cx-policy": "https://w3id.org/catenax/policy/"
},
"@type": "PolicyDefinitionRequestDto",
"@id": "traceability-core",
"policy": {
"@type": "odrl:Set",
"odrl:permission": [
{
"odrl:action": "USE",
"odrl:action": "use",
"odrl:constraint": {
"@type": "AtomicConstraint",
"odrl:and": [
Expand Down

0 comments on commit eb934b0

Please sign in to comment.