Timestamp: 2018-12-18T16:07:51.540Z
Message.2.json| # | Error | Schema |
|---|---|---|
1 |
requires property "name"
instance.origin = {
"indexed": "2018-09-11T12:30:00Z"
}
|
{
"type": "object",
"properties": {
"indexed": {
"$ref": "#/definitions/SCISO8601Date",
"description": "When the thing was indexed last from the origin"
},
"maintainer": {
"anyOf": [
{
"$ref": "#/definitions/SCPerson"
},
{
"$ref": "#/definitions/SCOrganization"
}
],
"description": "Maintainer of the origin\n\ne.g. restaurant of a dish"
},
"modified": {
"$ref": "#/definitions/SCISO8601Date",
"description": "When the thing was modified last in the origin"
},
"name": {
"type": "string",
"description": "Name of the origin"
},
"originalId": {
"type": "string",
"description": "Original ID of the thing in the origin"
},
"responsibleEntity": {
"anyOf": [
{
"$ref": "#/definitions/SCPerson"
},
{
"$ref": "#/definitions/SCOrganization"
}
],
"description": "Entity that is responsible for the entity\n\ne.g. an organizer for an event"
},
"url": {
"type": "string",
"description": "Main URL of the origin"
}
},
"required": [
"indexed",
"name"
],
"additionalProperties": false,
"description": "Origin of a thing"
}
|
2 |
is not one of enum values: message
instance.type = "invalid-value-in-schema" |
{
"type": "string",
"enum": [
"message"
],
"description": "Type of a message"
}
|
3 |
expected error enum did not occur
unknown = {
"type": "invalid-value-in-schema",
"uid": "540862f3-ea30-5b8f-8678-56b4dc217140",
"image": "icon ion-android-hand stapps-color-red-dark",
"name": "Lösung für das Problem des Zurücksetzens der StApps-App gefunden",
"message": "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)*",
"audiences": [
"students"
],
"origin": {
"indexed": "2018-09-11T12:30:00Z"
}
}
|
Message.3.json| # | Error | Schema |
|---|---|---|
1 |
additionalProperty "invalid-non-existing-key-in-schema" exists in instance when not allowed
instance = {
"type": "message",
"invalid-non-existing-key-in-schema": 1,
"uid": "540862f3-ea30-5b8f-8678-56b4dc217140",
"image": "icon ion-android-hand stapps-color-red-dark",
"name": "Lösung für das Problem des Zurücksetzens der StApps-App gefunden",
"message": "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)*",
"audiences": [
"students"
],
"origin": {
"indexed": "2018-09-11T12:30:00Z",
"name": "Dummy"
}
}
|
"https://core.stapps.tu-berlin.de/v0.0.1/lib/schema/SCMessage.json" |