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

QuML Spec V1.1 Changes #9

Open
krgauraw opened this issue May 8, 2023 · 2 comments
Open

QuML Spec V1.1 Changes #9

krgauraw opened this issue May 8, 2023 · 2 comments

Comments

@krgauraw
Copy link

krgauraw commented May 8, 2023

Hi All,
In QuML v1.1, below items are going to be added/updated. Detailed information is available here

Question Spec:

Below property will be updated:

  1. answer
  2. feedback
  3. hints
  4. solutions
  5. bllomsLevel
  6. qumlVersion

Below definitions will be updated:

  1. media
  2. responseVariableDef
  3. mappingDef
  4. points

QuestionSet Spec:

Below property will be updated:

  1. feedback
  2. hints
  3. qumlVersion

Below definitions will be updated:

  1. points
krgauraw added a commit to krgauraw/QuML that referenced this issue May 8, 2023
krgauraw added a commit to krgauraw/QuML that referenced this issue Jun 28, 2023
@vrayulu
Copy link
Collaborator

vrayulu commented Jul 5, 2023

@krgauraw - please confirm the change in structure for feedback (and hints). it is changed from an array of objects (having "id" and "body" attributes) to an object (a map). is that correct? could you please share some example values for feedback/hints.

Also, share some example values for solutions also.

@sajeshkayyath
Copy link

@krgauraw - please confirm the change in structure for feedback (and hints). it is changed from an array of objects (having "id" and "body" attributes) to an object (a map). is that correct? could you please share some example values for feedback/hints.

@vrayulu - Yes, it is correct. The feedback and hints are changed from array to object.
Please find the sample below.

“feedback”: {
  “70c82bf5-9459-4c43-8897-0e58b7e1da62”: <h1>Well done!!!</h1>”,
  “70c82bf5-9459-4c43-8897-0e58b7e1da63”: “<h1>Better luck next time!!!</h1>”
  “70c82bf5-9459-4c43-8897-0e58b7e1da64”: “<h1>You need to work harder!!!</h1>}
“hints”: {
  “70c82bf5-9459-4c43-8897-0e58b7e1da62”: <HTML>...</HTML>,
  “70c82bf5-9459-4c43-8897-0e58b7e1da63”: <HTML>...</HTML>
  “70c82bf5-9459-4c43-8897-0e58b7e1da64”: <HTML>...</HTML>
}

Additional details about the changes are documented here

Also, share some example values for solutions also.

"solutions": {
    "7015c7e4-461a-4032-b29e-fbb7e8155e44": "<figure class=\"image\"><img src=\"/assets/public/content/assets/do_2137916546057256961374/indiagate.jpeg\" alt=\"indiaGate\" data-asset-variable=\"do_2137916546057256961374\"></figure>",
}
"solutions": {
    "70c82bf5-9459-4c43-8897-0e58b7e1da62": "<video data-asset-variable="do_2137930187513200641386" width="400" controls="" poster="/assets/public/content/assets/do_2137930188655902721387/gateway-of-india.jpg"> <source type="video/mp4" src="/assets/public/content/assets/do_2137980528723230721410/sample-5s.mp4"> <source type="video/webm" src="/assets/public/content/assets/do_2137980528723230721410/sample-5s.mp4"> </video>",
}

Please let me know if you need any additional information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants