From b26bc18a4481f988365413f0df0e0a544246a188 Mon Sep 17 00:00:00 2001 From: jojohoch Date: Wed, 28 Oct 2026 09:16:53 +0100 Subject: [PATCH 1/2] Uppercase COMPLETE in responseProgress The enum still listed 'complete' next to NONE and SOME, while the README and presentationProgress use COMPLETE. Two descriptions also still named the old values 'complete' and 'concat-scroll'. Co-Authored-By: Claude Opus 5.5 --- playerapi.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/playerapi.yaml b/playerapi.yaml index 899100e..3ab8f90 100644 --- a/playerapi.yaml +++ b/playerapi.yaml @@ -352,7 +352,7 @@ components: ] currentPage: description: Id of the page currently presented. This id is taken from the list of valid pages. If the - paging mode is 'concat-scroll', the first page with parts in view port is taken as current page. + paging mode is 'CONCAT_SCROLL', the first page with parts in view port is taken as current page. type: string example: 'p3' sharedParameters: @@ -390,15 +390,15 @@ components: example: 'NONE' responseProgress: description: This reports the progress of responding. The host can enable or disable the navigation to the - next unit depending on that value. The value 'complete' announces not only that all required responses are - given but that these responses are valid too. The value 'complete' can be sent even not all responses are + next unit depending on that value. The value 'COMPLETE' announces not only that all required responses are + given but that these responses are valid too. The value 'COMPLETE' can be sent even not all responses are given - the host is interested only in REQUIRED responses. So make sure to mark all response elements correctly corresponding to this behaviour. type: string enum: - NONE - SOME - - complete + - COMPLETE example: 'SOME' unitStateDataType: type: string From 9b197d71979681b81be4ba9fa3532a850bda0782 Mon Sep 17 00:00:00 2001 From: jojohoch Date: Sat, 31 Oct 2026 19:19:48 +0100 Subject: [PATCH 2/2] Uppercase the reasons of a denied navigation Release 7.0 puts all enum values in capitals, but the reasons of vopNavigationDeniedNotification stayed presentationIncomplete and responsesIncomplete, in the schema, in the README and in the example of a log entry. The README also still named the navigation target "next". Co-Authored-By: Claude Opus 5.5 --- README.md | 4 ++-- playerapi.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8171e96..27992fe 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ Sollte dies nicht der Fall sein, sollte der Player fehlende oder falsche Antwort Die Nachricht `vopNavigationDeniedNotification` des Hosts ist also als Aufforderung an den Player zu verstehen, fehlende oder falsche Eingaben visuell darzustellen. Technisch kann das bei Angular Material z. B. über `markAllAsTouched()` gehen. Parameter: * `sessionId`: Die Kennung aus dem Start-Kommando, um die korrekte Zuordnung der Nachricht bzw. der darin enthaltenen Daten zur Unit zu unterstützen. -* `reason`: Hinweis für den Player, warum die Navigation verweigert wurde: `presentationIncomplete` und/oder `responsesIncomplete`. +* `reason`: Hinweis für den Player, warum die Navigation verweigert wurde: `PRESENTATION_INCOMPLETE` und/oder `RESPONSES_INCOMPLETE`. ## 8 Player Config Changed Notification @@ -203,7 +203,7 @@ Das Start-Kommando hat die Message-Id `vopStartCommand`. Die UI-Definition der Unit `unitDefinition` beschreibt das Erscheinungsbild der Unit und ggf. die Interaktionselemente. -> Beispiel: Bei einem Player für einen basalen Lesegeschwindigkeitstest besteht die Unit-Definition nur aus einem Text, der durch die Testperson gelesen werden soll, und dann soll einer von zwei Buttons geklickt werden -- "JA" oder "NEIN". So ein Text heißt z. B. "Eis ist warm". Als Antwort wird die Kennung des Buttons -- "A" oder "B" -- geliefert sowie die Zeit in Millisekunden, die von der Präsentation der Unit (entspricht der Bereitschaftsmeldung des Players) bis zum Klicken eines Buttons vergangen ist. Mit dem Klick wird auch gleich eine Anforderung für eine Unit-Navigation "next" abgeschickt. Dieser spezialisierte Player benötigt aufgrund umfangreicher Konventionen nur den Text als Unit-Definition. +> Beispiel: Bei einem Player für einen basalen Lesegeschwindigkeitstest besteht die Unit-Definition nur aus einem Text, der durch die Testperson gelesen werden soll, und dann soll einer von zwei Buttons geklickt werden -- "JA" oder "NEIN". So ein Text heißt z. B. "Eis ist warm". Als Antwort wird die Kennung des Buttons -- "A" oder "B" -- geliefert sowie die Zeit in Millisekunden, die von der Präsentation der Unit (entspricht der Bereitschaftsmeldung des Players) bis zum Klicken eines Buttons vergangen ist. Mit dem Klick wird auch gleich eine Anforderung für eine Unit-Navigation `NEXT` abgeschickt. Dieser spezialisierte Player benötigt aufgrund umfangreicher Konventionen nur den Text als Unit-Definition. Häufig wird es sich bei der Unit-Definition um ein Datenobjekt handeln, das z. B. über `JSON.stringify()` serialisiert wurde. Die Komplexität der übergebenen Daten ist nicht bestimmbar und aus Sicht der Verona-Spezifikationen auch egal. Der Player wird die Datenstruktur wieder zu einem Datenobjekt transformieren, prüfen und auswerten. diff --git a/playerapi.yaml b/playerapi.yaml index 3ab8f90..a0864c8 100644 --- a/playerapi.yaml +++ b/playerapi.yaml @@ -161,8 +161,8 @@ channels: items: type: string enum: - - presentationIncomplete - - responsesIncomplete + - PRESENTATION_INCOMPLETE + - RESPONSES_INCOMPLETE required: - sessionId @@ -280,7 +280,7 @@ components: type: string format: byte description: Some information to specify the event. - example: '{"unitId": "M24093EX", "reason": "responsesIncomplete"}' + example: '{"unitId": "M24093EX", "reason": "RESPONSES_INCOMPLETE"}' required: - timeStamp - key