pub.quizzy.quiz

quizzy.pub

Documentation

A quiz containing one or more rounds of questions

main record

A quiz containing one or more rounds of questions

Record Key tid Timestamp-based ID

Properties

description string Optional

A short description about the quiz, and what to expect from it

maxLength: 300 bytesmaxGraphemes: 3000 graphemes
hasAudio boolean Optional

This quiz includes questions with audio, eg. a music round

Default: false
hasVisuals boolean Optional

This quiz includes questions with visuals, eg. a picture round

Default: false
locales array of string language Required

Dominant language(s) of the quiz

maxLength: 10 itemsminLength: 1 items
revisionOf ref com.atproto.repo.strongRef Optional

If this is an edit or revision of a previous quiz, link that previous version here.

rounds array of ref #round Required

Ordered list of rounds in this quiz

maxLength: 50 itemsminLength: 1 items
timestamp string datetime Required

When this quiz was created

title string Required

A title for the quiz

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "title",
      "rounds",
      "locales",
      "timestamp"
    ],
    "properties": {
      "title": {
        "type": "string",
        "description": "A title for the quiz"
      },
      "rounds": {
        "type": "array",
        "items": {
          "ref": "#round",
          "type": "ref"
        },
        "maxLength": 50,
        "minLength": 1,
        "description": "Ordered list of rounds in this quiz"
      },
      "locales": {
        "type": "array",
        "items": {
          "type": "string",
          "format": "language"
        },
        "maxLength": 10,
        "minLength": 1,
        "description": "Dominant language(s) of the quiz"
      },
      "hasAudio": {
        "type": "boolean",
        "default": false,
        "description": "This quiz includes questions with audio, eg. a music round"
      },
      "timestamp": {
        "type": "string",
        "format": "datetime",
        "description": "When this quiz was created"
      },
      "hasVisuals": {
        "type": "boolean",
        "default": false,
        "description": "This quiz includes questions with visuals, eg. a picture round"
      },
      "revisionOf": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref",
        "description": "If this is an edit or revision of a previous quiz, link that previous version here."
      },
      "description": {
        "type": "string",
        "maxLength": 300,
        "description": "A short description about the quiz, and what to expect from it",
        "maxGraphemes": 3000
      }
    }
  },
  "description": "A quiz containing one or more rounds of questions"
}
questionRef object

Reference to a question with its point value

Properties

name string Optional

A custom name for this question, as opposed to its number

maxLength: 16 bytesmaxGraphemes: 160 graphemes
points integer Optional

Points awarded for complete correctness

minimum: 1
View raw schema
{
  "type": "object",
  "required": [
    "question"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 16,
      "description": "A custom name for this question, as opposed to its number",
      "maxGraphemes": 160
    },
    "points": {
      "type": "integer",
      "default": 1,
      "minimum": 1,
      "description": "Points awarded for complete correctness"
    },
    "question": {
      "ref": "com.atproto.repo.strongRef",
      "type": "ref"
    }
  },
  "description": "Reference to a question with its point value"
}
round object

A round within a quiz

Properties

questions array of ref#questionRef Required

Ordered list of questions in this round

maxLength: 100 itemsminLength: 1 items
title string Optional

Optional title for this round (requires locale if set)

maxLength: 1000 bytesmaxGraphemes: 100 graphemes
View raw schema
{
  "type": "object",
  "required": [
    "questions"
  ],
  "properties": {
    "title": {
      "type": "string",
      "maxLength": 1000,
      "description": "Optional title for this round (requires locale if set)",
      "maxGraphemes": 100
    },
    "questions": {
      "type": "array",
      "items": {
        "ref": "#questionRef",
        "type": "ref"
      },
      "maxLength": 100,
      "minLength": 1,
      "description": "Ordered list of questions in this round"
    }
  },
  "description": "A round within a quiz"
}

Lexicon Garden

@