From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../components/ion/schemas/IonContentSchema.json | 39 +++++ .../ion/schemas/IonStudyAddonsSchema.json | 159 +++++++++++++++++++++ 2 files changed, 198 insertions(+) create mode 100644 browser/components/ion/schemas/IonContentSchema.json create mode 100644 browser/components/ion/schemas/IonStudyAddonsSchema.json (limited to 'browser/components/ion/schemas') diff --git a/browser/components/ion/schemas/IonContentSchema.json b/browser/components/ion/schemas/IonContentSchema.json new file mode 100644 index 0000000000..96bb4e7b81 --- /dev/null +++ b/browser/components/ion/schemas/IonContentSchema.json @@ -0,0 +1,39 @@ +{ + "definitions": {}, + "title": "Root", + "type": "object", + "required": [ + "title", + "summary", + "details", + "joinIonConsent", + "leaveIonConsent" + ], + "properties": { + "title": { + "$id": "#root/title", + "title": "Title", + "type": "string" + }, + "summary": { + "$id": "#root/summary", + "title": "Summary", + "type": "string" + }, + "details": { + "$id": "#root/details", + "title": "Details", + "type": "string" + }, + "joinIonConsent": { + "$id": "#root/joinIonConsent", + "title": "JoinIonconsent", + "type": "string" + }, + "leaveIonConsent": { + "$id": "#root/leaveIonConsent", + "title": "LeaveIonconsent", + "type": "string" + } + } +} diff --git a/browser/components/ion/schemas/IonStudyAddonsSchema.json b/browser/components/ion/schemas/IonStudyAddonsSchema.json new file mode 100644 index 0000000000..116b0dc1ae --- /dev/null +++ b/browser/components/ion/schemas/IonStudyAddonsSchema.json @@ -0,0 +1,159 @@ +{ + "definitions": {}, + "title": "Root", + "type": "object", + "required": [ + "addon_id", + "icons", + "name", + "version", + "sourceURI", + "description", + "privacyPolicy", + "studyType", + "authors", + "dataCollectionDetails", + "moreInfo", + "isDefault", + "studyEnded", + "joinStudyConsent", + "leaveStudyConsent" + ], + "properties": { + "addon_id": { + "$id": "#root/addon_id", + "title": "Addon_id", + "type": "string" + }, + "icons": { + "$id": "#root/icons", + "title": "Icons", + "type": "object", + "required": ["32", "64", "128"], + "properties": { + "32": { + "$id": "#root/icons/32", + "title": "32", + "type": "string" + }, + "64": { + "$id": "#root/icons/64", + "title": "64", + "type": "string" + }, + "128": { + "$id": "#root/icons/128", + "title": "128", + "type": "string" + } + } + }, + "name": { + "$id": "#root/name", + "title": "Name", + "type": "string" + }, + "version": { + "$id": "#root/version", + "title": "Version", + "type": "string" + }, + "sourceURI": { + "$id": "#root/sourceURI", + "title": "Sourceuri", + "type": "object", + "required": ["spec"], + "properties": { + "spec": { + "$id": "#root/sourceURI/spec", + "title": "Spec", + "type": "string" + } + } + }, + "description": { + "$id": "#root/description", + "title": "Description", + "type": "string" + }, + "privacyPolicy": { + "$id": "#root/privacyPolicy", + "title": "Privacypolicy", + "type": "object", + "required": ["spec"], + "properties": { + "spec": { + "$id": "#root/privacyPolicy/spec", + "title": "Spec", + "type": "string" + } + } + }, + "studyType": { + "$id": "#root/studyType", + "title": "Studytype", + "type": "string" + }, + "authors": { + "$id": "#root/authors", + "title": "Authors", + "type": "object", + "required": ["name", "url"], + "properties": { + "name": { + "$id": "#root/authors/name", + "title": "Name", + "type": "string" + }, + "url": { + "$id": "#root/authors/url", + "title": "Url", + "type": "string" + } + } + }, + "dataCollectionDetails": { + "$id": "#root/dataCollectionDetails", + "title": "Datacollectiondetails", + "type": "array", + "items": { + "$id": "#root/dataCollectionDetails/items", + "title": "Items", + "type": "string" + } + }, + "moreInfo": { + "$id": "#root/moreInfo", + "title": "Moreinfo", + "type": "object", + "required": ["spec"], + "properties": { + "spec": { + "$id": "#root/moreInfo/spec", + "title": "Spec", + "type": "string" + } + } + }, + "isDefault": { + "$id": "#root/isDefault", + "title": "Isdefault", + "type": "boolean" + }, + "studyEnded": { + "$id": "#root/studyEnded", + "title": "Studyended", + "type": "boolean" + }, + "joinStudyConsent": { + "$id": "#root/joinStudyConsent", + "title": "Joinstudyconsent", + "type": "string" + }, + "leaveStudyConsent": { + "$id": "#root/leaveStudyConsent", + "title": "Leavestudyconsent", + "type": "string" + } + } +} -- cgit v1.2.3