changedInput schema / properties / addSections / items / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "avoidRepeats": {
- "default": true,
- "description": "When drawing from units, skip questions this teacher already published.",
- "type": "boolean"
- },
- "questionCount": {
- "description": "Questions to draw from units, on top of any questionIds. Omit when only using questionIds.",
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- "questionIds": {
- "description": "Specific questions to include, as mcq: ids from search_question_bank. They come first, exactly as picked; questions drawn from units never repeat them. Omit units to use only these.",
- "items": {
- "pattern": "^(mcq:)?[\\w-]+$",
- "type": "string"
- },
- "maxItems": 100,
- "minItems": 1,
- "type": "array"
- },
- "skillId": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Optional CED skill id to narrow to."
- },
- "style": {
- "default": "exam",
- "description": "exam = AP-style (with stimulus sets where the exam has them); comprehension or vocabulary checks.",
- "enum": [
- "exam",
- "comprehension",
- "vocabulary"
- ],
- "type": "string"
- },
- "timeLimitMinutes": {
- "anyOf": [
- {
- "maximum": 300,
- "minimum": 1,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Omit for untimed."
- },
- "type": {
- "const": "multiple_choice",
- "type": "string"
- },
- "units": {
- "description": "Units to draw questions from. Omit when only using questionIds.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "questionCount": {
- "description": "Omit to split the total evenly.",
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- "topicIds": {
- "description": "Topic ids to narrow to.",
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 60,
- "type": "array"
- },
- "unitId": {
- "anyOf": [
- {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Unit id from get_subject_outline; null = whole course."
- }
- },
- "required": [
- "unitId"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- }
- },
- "required": [
- "type",
- "style",
- "avoidRepeats"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "parts": {
- "description": "Part letters students answer (e.g. [\"A\", \"B\"]), scored on those parts' AP rubric points. Omit for the whole question. Questions scored as a whole (essays, AP Stats, world languages) can't be split.",
- "items": {
- "pattern": "^[A-Za-z]$",
- "type": "string"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- },
- "questionId": {
- "description": "An frq: or saq: id from search_question_bank.",
- "pattern": "^frq:[\\w-]+$|^saq:[\\w-]+(:[A-Za-z])?$",
- "type": "string"
- },
- "type": {
- "const": "free_response",
- "type": "string"
- }
- },
- "required": [
- "type",
- "questionId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "readingQuestions": {
- "default": false,
- "description": "Add reading-check questions (study guides and AMSCO guided notes).",
- "type": "boolean"
- },
- "resourceId": {
- "description": "A resource id from list_teaching_resources.",
- "maxLength": 300,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "reading",
- "type": "string"
- }
- },
- "required": [
- "type",
- "resourceId",
- "readingQuestions"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "type": {
- "const": "diagnostic",
- "type": "string"
- },
- "unitIds": {
- "description": "Unit ids from get_subject_outline.",
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 15,
- "minItems": 1,
- "type": "array"
- },
- "unitLabels": {
- "items": {
- "maxLength": 200,
- "type": "string"
- },
- "maxItems": 15,
- "type": "array"
- }
- },
- "required": [
- "type",
- "unitIds"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "avoidRepeats": {
+ "default": true,
+ "description": "When drawing from units, skip questions this teacher already published.",
+ "type": "boolean"
+ },
+ "questionCount": {
+ "description": "Questions to draw from units, on top of any questionIds. Omit when only using questionIds.",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "questionIds": {
+ "description": "Specific questions to include, as mcq: ids from search_question_bank. They come first, exactly as picked; questions drawn from units never repeat them. Omit units to use only these.",
+ "items": {
+ "pattern": "^(mcq:)?[\\w-]+$",
+ "type": "string"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array"
+ },
+ "skillId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Optional CED skill id to narrow to."
+ },
+ "style": {
+ "default": "exam",
+ "description": "exam = AP-style (with stimulus sets where the exam has them); comprehension or vocabulary checks.",
+ "enum": [
+ "exam",
+ "comprehension",
+ "vocabulary"
+ ],
+ "type": "string"
+ },
+ "timeLimitMinutes": {
+ "anyOf": [
+ {
+ "maximum": 300,
+ "minimum": 1,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Omit for untimed."
+ },
+ "type": {
+ "const": "multiple_choice",
+ "type": "string"
+ },
+ "units": {
+ "description": "Units to draw questions from. Omit when only using questionIds.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "questionCount": {
+ "description": "Omit to split the total evenly.",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "topicIds": {
+ "description": "Topic ids to narrow to.",
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 60,
+ "type": "array"
+ },
+ "unitId": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Unit id from get_subject_outline; null = whole course."
+ }
+ },
+ "required": [
+ "unitId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ }
+ },
+ "required": [
+ "type",
+ "style",
+ "avoidRepeats"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "focus": {
+ "const": "introduction",
+ "description": "AP World, APUSH or AP Euro DBQ or LEQ only: students write just the introduction (contextualization and a thesis), scored on the AP rubric's Thesis/Claim and Contextualization points (2 points). Omit for the whole essay. Can't be combined with parts.",
+ "type": "string"
+ },
+ "parts": {
+ "description": "Part letters students answer (e.g. [\"A\", \"B\"]), scored on those parts' AP rubric points. Omit for the whole question. Questions scored as a whole (essays, AP Stats, world languages) can't be split.",
+ "items": {
+ "pattern": "^[A-Za-z]$",
+ "type": "string"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ },
+ "questionId": {
+ "description": "An frq: or saq: id from search_question_bank.",
+ "pattern": "^frq:[\\w-]+$|^saq:[\\w-]+(:[A-Za-z])?$",
+ "type": "string"
+ },
+ "type": {
+ "const": "free_response",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "questionId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "readingQuestions": {
+ "default": false,
+ "description": "Add reading-check questions (study guides and AMSCO guided notes).",
+ "type": "boolean"
+ },
+ "resourceId": {
+ "description": "A resource id from list_teaching_resources.",
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "reading",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "resourceId",
+ "readingQuestions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "type": {
+ "const": "diagnostic",
+ "type": "string"
+ },
+ "unitIds": {
+ "description": "Unit ids from get_subject_outline.",
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 15,
+ "minItems": 1,
+ "type": "array"
+ },
+ "unitLabels": {
+ "items": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "maxItems": 15,
+ "type": "array"
+ }
+ },
+ "required": [
+ "type",
+ "unitIds"
+ ],
+ "type": "object"
+ }
+]