-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix f540 generation: uses now only predefined mappings for generating copyright note * Fix f856 generation logic
- Loading branch information
Showing
46 changed files
with
433 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
test-fixtures/transform/convert/common/generate5xx/generate540/01/metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"description": "Generates f540 from each dc.rights, dc.rights.url and dc.rights.uri information", | ||
"description": "Generates f540 for CC BY 4.0 using predefined mapping", | ||
"only": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
test-fixtures/transform/convert/common/generate5xx/generate540/04/input.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[ | ||
{ | ||
"$": { | ||
"schema": "dc", | ||
"element": "rights", | ||
"value": "CC BY 4.0" | ||
} | ||
}, | ||
{ | ||
"$": { | ||
"schema": "dc", | ||
"element": "rights", | ||
"qualifier": "url", | ||
"value": "https://creativecommons.org/licenses/by/4.0/" | ||
} | ||
}, | ||
{ | ||
"$": { | ||
"schema": "dc", | ||
"element": "rights", | ||
"qualifier": "uri", | ||
"value": "https://creativecommons.org/licenses/by/4.0/deed.en" | ||
} | ||
}, | ||
{ | ||
"$": { | ||
"schema": "dc", | ||
"element": "rights", | ||
"value": "Tekijänoikeuslaki (404/1961) 9 § Tekijänoikeussuojaa vailla olevat teokset" | ||
} | ||
} | ||
] |
4 changes: 4 additions & 0 deletions
4
test-fixtures/transform/convert/common/generate5xx/generate540/04/metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"description": "Blocks generation of f540 if dc.rights has note regarding exclusion from protection (Finnish)", | ||
"only": false | ||
} |
1 change: 1 addition & 0 deletions
1
test-fixtures/transform/convert/common/generate5xx/generate540/04/output.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
32 changes: 32 additions & 0 deletions
32
test-fixtures/transform/convert/common/generate5xx/generate540/05/input.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[ | ||
{ | ||
"$": { | ||
"schema": "dc", | ||
"element": "rights", | ||
"value": "CC BY 4.0" | ||
} | ||
}, | ||
{ | ||
"$": { | ||
"schema": "dc", | ||
"element": "rights", | ||
"qualifier": "url", | ||
"value": "https://creativecommons.org/licenses/by/4.0/" | ||
} | ||
}, | ||
{ | ||
"$": { | ||
"schema": "dc", | ||
"element": "rights", | ||
"qualifier": "uri", | ||
"value": "https://creativecommons.org/licenses/by/4.0/deed.en" | ||
} | ||
}, | ||
{ | ||
"$": { | ||
"schema": "dc", | ||
"element": "rights", | ||
"value": "Upphovsrättslag (404/1961) 9 § Verk utan upphovsrättsskydd" | ||
} | ||
} | ||
] |
4 changes: 4 additions & 0 deletions
4
test-fixtures/transform/convert/common/generate5xx/generate540/05/metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"description": "Blocks generation of f540 if dc.rights has note regarding exclusion from protection (Swedish)", | ||
"only": false | ||
} |
1 change: 1 addition & 0 deletions
1
test-fixtures/transform/convert/common/generate5xx/generate540/05/output.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
32 changes: 32 additions & 0 deletions
32
test-fixtures/transform/convert/common/generate5xx/generate540/06/input.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[ | ||
{ | ||
"$": { | ||
"schema": "dc", | ||
"element": "rights", | ||
"value": "CC BY 4.0" | ||
} | ||
}, | ||
{ | ||
"$": { | ||
"schema": "dc", | ||
"element": "rights", | ||
"qualifier": "url", | ||
"value": "https://creativecommons.org/licenses/by/4.0/" | ||
} | ||
}, | ||
{ | ||
"$": { | ||
"schema": "dc", | ||
"element": "rights", | ||
"qualifier": "uri", | ||
"value": "https://creativecommons.org/licenses/by/4.0/deed.en" | ||
} | ||
}, | ||
{ | ||
"$": { | ||
"schema": "dc", | ||
"element": "rights", | ||
"value": "Copyright Act (404/1961) 9 § Works excluded from protection" | ||
} | ||
} | ||
] |
4 changes: 4 additions & 0 deletions
4
test-fixtures/transform/convert/common/generate5xx/generate540/06/metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"description": "Blocks generation of f540 if dc.rights has note regarding exclusion from protection (English)", | ||
"only": false | ||
} |
Oops, something went wrong.