> For the complete documentation index, see [llms.txt](https://quml.sunbird.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://quml.sunbird.org/qumlspec.md).

# Question Markup Language (QuML) Specification - Draft

Question Markup Language (QuML in short) is a specification for storage, rendering and distribution of Questions and Tests. QuML allows assessment materials to be authored and delivered on multiple systems interchangeably. It is designed to facilitate interoperability between systems.

This specification is based on [IMS QTI Specification 2.2](http://www.imsglobal.org/question/index.html#version2.2) with necessary extensions. This specification describes the information model for questions and tests used in assessments. Formally these are known as Question and Question Set. QuML specification describes a model for the representation of questions and question sets data and their corresponding results reports. Therefore, the specification enables the exchange of the question, question set and results data between authoring tools, question banks, test constructional tools, learning systems and assessment delivery systems.

## Documentation

* [**Overview**](/master.md): Importance of questions in learning and the need for a specification like QuML.
* [**Common Elements**](/v1/common.md): The reference guide to the data model of common elements used in this specification.
* [**QuML for Questions**](/v1/question.md): The reference guide to the data model for questions. The document provides detailed information about the model and specifies the requirements of delivery engines and authoring systems.
* [**Question Schema**](https://github.com/sunbird-specs/QuML/tree/c4d260d5d6ac8a461d9f131e3a4031b2b542bb6b/v1/question-schema.json): JSON schema for QuML questions.
* [**QuML for Tests**](/v1/questionset.md): The reference guide to the data model for question sets, which are used to represent tests.
* [**Test Schema**](https://github.com/sunbird-specs/QuML/tree/c4d260d5d6ac8a461d9f131e3a4031b2b542bb6b/v1/question-set-schema.json): JSON schema for QuML tests.
* [**Library Methods**](/v1/methods.md): The reference guide to methods to be implemented by QuML implementations.
* [**Telemetry**](/v1/telemetry.md): The reference guide to track usage, and report results.
* [**Appendix**](/v1/appendix.md): Additional information and references.
* [**Samples**](/v1/samples.md): This folder has sample questions and question sets represented using QuML.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://quml.sunbird.org/qumlspec.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
