-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathodrlMapper.html
More file actions
58 lines (54 loc) · 1.51 KB
/
Copy pathodrlMapper.html
File metadata and controls
58 lines (54 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ODRL mapper</title>
<link rel="stylesheet" href="assets/css/global.css">
<link rel="icon" type="image/x-icon" href="assets/images/logo.png">
<script src="assets/js/mapODRL.js" defer></script>
</head>
<body>
<header class="header">
<div class="header-label">ODRL mapper</div>
</header>
<main id="odrlMapper">
<div class="single-line">
<textarea id="simpleformat" placeholder="Paste your JSON here...">{
"permissions": {
"permRead": true,
"permAdd": true,
"permModify": false,
"permManage": false
},
"constraints": {
"purpose": [
"sector-health:InsuranceManagement",
"dpv:Marketing"
],
"EndTime": "2027-12-31T23:59",
"StartTime": "2026-04-22T07:55"
},
"duties": {
"delete": false,
"anonymize": false,
"encrypt": false,
"notify": false
},
"length": 3.733,
"name": "",
"id": "p-1482",
"description": "",
"dataUri": "https://solidweb.me/JaneDoe/Personal/Medical/2026/Broken_foot",
"provider": "https://solidweb.me/JaneDoe/profile/card",
"consumer": "https://solidweb.me/insurance-ag-health/profile/card",
"policyType": "Offer"
}</textarea>
<div id="odrl-container">
<pre id="odrl"></pre>
</div>
</div>
<button id="generate">Generate ODRL</button>
</main>
</body>
</html>