Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a static item and update contexts to 1.0.0 #26

Merged
merged 10 commits into from
Aug 8, 2024
6 changes: 5 additions & 1 deletion activities/Activity1/activity1_schema
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
"version": "0.0.1",
"ui": {
"addProperties": [
{"isAbout": "items/static_item",
"variableName": "static_item",
"isVis": true
},
{"isAbout": "items/document_upload_item",
"variableName": "document_upload_item",
"isVis": true,
Expand All @@ -21,11 +25,11 @@
}
],
"order": [
"items/static_item",
"items/document_upload_item"
],
"shuffle": false,
"allow": [
"reproschema:AutoAdvance",
"reproschema:AllowExport"
]
}
Expand Down
16 changes: 16 additions & 0 deletions activities/Activity1/items/static_item
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0/contexts/generic",
satra marked this conversation as resolved.
Show resolved Hide resolved
"@type": "reproschema:Field",
"@id": "static_item",
"prefLabel": "Static text",
"description": "Display a static text",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": {
"en": "You've starting today's activity"
satra marked this conversation as resolved.
Show resolved Hide resolved
},
"ui": {
"inputType": "static",
"readonlyValue": true
}
}
Loading