diff --git a/commons/active/questionnaire/questionnaire.avsc b/commons/active/questionnaire/questionnaire.avsc index f4d47f2d..bf426ec4 100644 --- a/commons/active/questionnaire/questionnaire.avsc +++ b/commons/active/questionnaire/questionnaire.avsc @@ -15,6 +15,7 @@ "type": "record", "doc": "Questionnaire answer.", "fields": [ + { "name": "questionId", "type": ["null", "string"], "doc": "Unique identifier for the specific question.", "default": null }, { "name": "value", "type": ["int", "string", "double"], "doc": "Subject answer." }, { "name": "startTime", "type": "double", "doc": "Timestamp in UTC (s) when the question is shown." }, { "name": "endTime", "type": "double", "doc": "Timestamp in UTC (s) when the question is answered." } diff --git a/java-sdk/README.md b/java-sdk/README.md index e451063a..63e76b01 100644 --- a/java-sdk/README.md +++ b/java-sdk/README.md @@ -9,13 +9,13 @@ repositories { dependencies { // Commons schemas (backend, passive remote monitoring app) - compile 'org.radarcns:radar-schemas-commons:0.3.2' + compile 'org.radarcns:radar-schemas-commons:0.3.4' // REST API schemas (REST API, testing) - compile 'org.radarcns:radar-schemas-restapi:0.3.2' + compile 'org.radarcns:radar-schemas-restapi:0.3.4' // Questionnaire schemas (active remote monitoring app) - compile 'org.radarcns:radar-schemas-tools:0.3.2' + compile 'org.radarcns:radar-schemas-tools:0.3.4' } ``` Usually, you only need to include the schemas you actually need in your dependencies. diff --git a/java-sdk/build.gradle b/java-sdk/build.gradle index 81cdc3c7..a032431d 100644 --- a/java-sdk/build.gradle +++ b/java-sdk/build.gradle @@ -17,7 +17,7 @@ subprojects { apply plugin: 'idea' // Configuration - version = '0.3.3' + version = '0.3.4' group = 'org.radarcns' ext.githubRepoName = 'RADAR-CNS/RADAR-Schemas' diff --git a/java-sdk/radar-schemas-tools/build.gradle b/java-sdk/radar-schemas-tools/build.gradle index 625b482e..65def6ec 100644 --- a/java-sdk/radar-schemas-tools/build.gradle +++ b/java-sdk/radar-schemas-tools/build.gradle @@ -44,6 +44,7 @@ dependencies { runtimeOnly group: 'org.glassfish.jersey.media', name: 'jersey-media-json-jackson', version: jerseyVersion runtimeOnly group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.25' + runtimeOnly group: 'org.glassfish.jersey.inject', name: 'jersey-hk2', version: jerseyVersion testCompile group: 'junit', name: 'junit', version: junitVersion }