Files
openstapps/report.html
Karl-Philipp Wulfert 1ac90ef633 feat: add core tools
2018-12-18 17:41:03 +01:00

185 lines
6.3 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<title>Report</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css"
integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
</head>
<body>
<div class="container-fluid">
<h1>Validation result</h1>
<p>Timestamp: 2018-12-18T16:07:51.540Z</p>
<h2>Errors in <code>Message.2.json</code></h2>
<table class="table table-striped table-hover">
<thead>
<tr>
<th>#</th>
<th>Error</th>
<th>Schema</th>
</tr>
</thead>
<tbody>
<tr>
<td><h3>1</h3></td>
<td>
<div class="alert alert-danger">requires property &quot;name&quot;</div>
<pre style="max-width: 600px;">instance.origin = {
&quot;indexed&quot;: &quot;2018-09-11T12:30:00Z&quot;
}</pre>
</td>
<td>
<pre>{
&quot;type&quot;: &quot;object&quot;,
&quot;properties&quot;: {
&quot;indexed&quot;: {
&quot;$ref&quot;: &quot;#&#x2F;definitions&#x2F;SCISO8601Date&quot;,
&quot;description&quot;: &quot;When the thing was indexed last from the origin&quot;
},
&quot;maintainer&quot;: {
&quot;anyOf&quot;: [
{
&quot;$ref&quot;: &quot;#&#x2F;definitions&#x2F;SCPerson&quot;
},
{
&quot;$ref&quot;: &quot;#&#x2F;definitions&#x2F;SCOrganization&quot;
}
],
&quot;description&quot;: &quot;Maintainer of the origin\n\ne.g. restaurant of a dish&quot;
},
&quot;modified&quot;: {
&quot;$ref&quot;: &quot;#&#x2F;definitions&#x2F;SCISO8601Date&quot;,
&quot;description&quot;: &quot;When the thing was modified last in the origin&quot;
},
&quot;name&quot;: {
&quot;type&quot;: &quot;string&quot;,
&quot;description&quot;: &quot;Name of the origin&quot;
},
&quot;originalId&quot;: {
&quot;type&quot;: &quot;string&quot;,
&quot;description&quot;: &quot;Original ID of the thing in the origin&quot;
},
&quot;responsibleEntity&quot;: {
&quot;anyOf&quot;: [
{
&quot;$ref&quot;: &quot;#&#x2F;definitions&#x2F;SCPerson&quot;
},
{
&quot;$ref&quot;: &quot;#&#x2F;definitions&#x2F;SCOrganization&quot;
}
],
&quot;description&quot;: &quot;Entity that is responsible for the entity\n\ne.g. an organizer for an event&quot;
},
&quot;url&quot;: {
&quot;type&quot;: &quot;string&quot;,
&quot;description&quot;: &quot;Main URL of the origin&quot;
}
},
&quot;required&quot;: [
&quot;indexed&quot;,
&quot;name&quot;
],
&quot;additionalProperties&quot;: false,
&quot;description&quot;: &quot;Origin of a thing&quot;
}</pre>
</td>
</tr>
<tr>
<td><h3>2</h3></td>
<td>
<div class="alert alert-success">is not one of enum values: message</div>
<pre style="max-width: 600px;">instance.type = &quot;invalid-value-in-schema&quot;</pre>
</td>
<td>
<pre>{
&quot;type&quot;: &quot;string&quot;,
&quot;enum&quot;: [
&quot;message&quot;
],
&quot;description&quot;: &quot;Type of a message&quot;
}</pre>
</td>
</tr>
<tr>
<td><h3>3</h3></td>
<td>
<div class="alert alert-danger">expected error enum did not occur</div>
<pre style="max-width: 600px;">unknown = {
&quot;type&quot;: &quot;invalid-value-in-schema&quot;,
&quot;uid&quot;: &quot;540862f3-ea30-5b8f-8678-56b4dc217140&quot;,
&quot;image&quot;: &quot;icon ion-android-hand stapps-color-red-dark&quot;,
&quot;name&quot;: &quot;Lösung für das Problem des Zurücksetzens der StApps-App gefunden&quot;,
&quot;message&quot;: &quot;Wie bereits berichtet, klagten User über das Löschen ihres Stundenplans beim Update von Version 0.8.0 auf 0.8.1. Wir haben eine Lösung für das Problem gefunden und testen diese ausführlich bis zum Ende dieser Woche. Wenn alles glatt verläuft, dann kommt am Wochenende die fehlerbereinige Version 0.8.2 heraus.\n\n*(25.Okt 2016)*&quot;,
&quot;audiences&quot;: [
&quot;students&quot;
],
&quot;origin&quot;: {
&quot;indexed&quot;: &quot;2018-09-11T12:30:00Z&quot;
}
}</pre>
</td>
<td>
<pre></pre>
</td>
</tr>
</tbody>
</table>
<h2>Errors in <code>Message.3.json</code></h2>
<table class="table table-striped table-hover">
<thead>
<tr>
<th>#</th>
<th>Error</th>
<th>Schema</th>
</tr>
</thead>
<tbody>
<tr>
<td><h3>1</h3></td>
<td>
<div class="alert alert-success">additionalProperty &quot;invalid-non-existing-key-in-schema&quot; exists in instance when not allowed</div>
<pre style="max-width: 600px;">instance = {
&quot;type&quot;: &quot;message&quot;,
&quot;invalid-non-existing-key-in-schema&quot;: 1,
&quot;uid&quot;: &quot;540862f3-ea30-5b8f-8678-56b4dc217140&quot;,
&quot;image&quot;: &quot;icon ion-android-hand stapps-color-red-dark&quot;,
&quot;name&quot;: &quot;Lösung für das Problem des Zurücksetzens der StApps-App gefunden&quot;,
&quot;message&quot;: &quot;Wie bereits berichtet, klagten User über das Löschen ihres Stundenplans beim Update von Version 0.8.0 auf 0.8.1. Wir haben eine Lösung für das Problem gefunden und testen diese ausführlich bis zum Ende dieser Woche. Wenn alles glatt verläuft, dann kommt am Wochenende die fehlerbereinige Version 0.8.2 heraus.\n\n*(25.Okt 2016)*&quot;,
&quot;audiences&quot;: [
&quot;students&quot;
],
&quot;origin&quot;: {
&quot;indexed&quot;: &quot;2018-09-11T12:30:00Z&quot;,
&quot;name&quot;: &quot;Dummy&quot;
}
}</pre>
</td>
<td>
<pre>&quot;https:&#x2F;&#x2F;core.stapps.tu-berlin.de&#x2F;v0.0.1&#x2F;lib&#x2F;schema&#x2F;SCMessage.json&quot;</pre>
</td>
</tr>
</tbody>
</table>
</div>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" crossorigin="anonymous"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js" crossorigin="anonymous"
integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js" crossorigin="anonymous"
integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ"></script>
</body>
</html>