changedInput schema / properties / lesson / properties / steps / items / properties / blocks / items / oneOf
Previous value: -[
- {
- "properties": {
- "text": {
- "maxLength": 1200,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "text",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "type": "object"
- },
- {
- "properties": {
- "caption": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "edges": {
- "items": {
- "properties": {
- "from": {
- "pattern": "^[a-z0-9][a-z0-9_-]{0,39}$",
- "type": "string"
- },
- "to": {
- "pattern": "^[a-z0-9][a-z0-9_-]{0,39}$",
- "type": "string"
- }
- },
- "required": [
- "from",
- "to"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "nodes": {
- "items": {
- "properties": {
- "id": {
- "pattern": "^[a-z0-9][a-z0-9_-]{0,39}$",
- "type": "string"
- },
- "label": {
- "maxLength": 60,
- "minLength": 1,
- "type": "string"
- },
- "mono": {
- "type": "boolean"
- },
- "sub": {
- "maxLength": 60,
- "type": "string"
- },
- "tone": {
- "enum": [
- "plain",
- "accent",
- "warn"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "tone"
- ],
- "type": "object"
- },
- "maxItems": 16,
- "type": "array"
- },
- "type": {
- "const": "diagram",
- "type": "string"
- }
- },
- "required": [
- "type",
- "nodes",
- "edges",
- "caption"
- ],
- "type": "object"
- },
- {
- "properties": {
- "file": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "header": {
- "description": "the hunk header, @@ -a,b +c,d @@",
- "maxLength": 200,
- "type": "string"
- },
- "lines": {
- "description": "the hunk's lines as the patch has them",
- "items": {
- "maxLength": 400,
- "type": "string"
- },
- "maxItems": 200,
- "minItems": 1,
- "type": "array"
- },
- "mark": {
- "description": "indexes into lines to ring",
- "items": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "maxItems": 200,
- "type": "array"
- },
- "type": {
- "const": "diff",
- "type": "string"
- }
- },
- "required": [
- "type",
- "file",
- "header",
- "lines"
- ],
- "type": "object"
- },
- {
- "properties": {
- "commit": {
- "description": "base.commit",
- "maxLength": 40,
- "type": "string"
- },
- "excerpt": {
- "maxLength": 16000,
- "minLength": 1,
- "type": "string"
- },
- "lines": {
- "description": "[first, last] line, 1-based",
- "items": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "maxItems": 2,
- "minItems": 2,
- "type": "array"
- },
- "path": {
- "maxLength": 500,
- "minLength": 1,
- "type": "string"
- },
- "repo": {
- "description": "owner/name",
- "maxLength": 200,
- "type": "string"
- },
- "type": {
- "const": "code",
- "type": "string"
- }
- },
- "required": [
- "type",
- "repo",
- "commit",
- "path",
- "lines",
- "excerpt"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "text": {
+ "maxLength": 1200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "caption": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "edges": {
+ "items": {
+ "properties": {
+ "from": {
+ "pattern": "^[a-z0-9][a-z0-9_-]{0,39}$",
+ "type": "string"
+ },
+ "label": {
+ "description": "A few words on the arrow; every call of a sequence needs one",
+ "maxLength": 40,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reply": {
+ "description": "sequence only: a dashed arrow back",
+ "type": "boolean"
+ },
+ "to": {
+ "pattern": "^[a-z0-9][a-z0-9_-]{0,39}$",
+ "type": "string"
+ },
+ "tone": {
+ "description": "plain when absent; accent: the call or link the fix changed; warn: the one that broke",
+ "enum": [
+ "plain",
+ "accent",
+ "warn"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "layout": {
+ "description": "flow (default): boxes and arrows laid out by GitRanks. sequence: 2 to 4 actors left to right, the edges are the calls in order",
+ "enum": [
+ "flow",
+ "sequence"
+ ],
+ "type": "string"
+ },
+ "nodes": {
+ "items": {
+ "properties": {
+ "id": {
+ "pattern": "^[a-z0-9][a-z0-9_-]{0,39}$",
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "mono": {
+ "type": "boolean"
+ },
+ "sub": {
+ "maxLength": 60,
+ "type": "string"
+ },
+ "tone": {
+ "enum": [
+ "plain",
+ "accent",
+ "warn"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "tone"
+ ],
+ "type": "object"
+ },
+ "maxItems": 16,
+ "type": "array"
+ },
+ "type": {
+ "const": "diagram",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "nodes",
+ "edges",
+ "caption"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "file": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "header": {
+ "description": "the hunk header, @@ -a,b +c,d @@",
+ "maxLength": 200,
+ "type": "string"
+ },
+ "lines": {
+ "description": "the hunk's lines as the patch has them",
+ "items": {
+ "maxLength": 400,
+ "type": "string"
+ },
+ "maxItems": 200,
+ "minItems": 1,
+ "type": "array"
+ },
+ "mark": {
+ "description": "indexes into lines to ring",
+ "items": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "maxItems": 200,
+ "type": "array"
+ },
+ "type": {
+ "const": "diff",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "file",
+ "header",
+ "lines"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "commit": {
+ "description": "base.commit",
+ "maxLength": 40,
+ "type": "string"
+ },
+ "excerpt": {
+ "maxLength": 16000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "lines": {
+ "description": "[first, last] line, 1-based",
+ "items": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "maxItems": 2,
+ "minItems": 2,
+ "type": "array"
+ },
+ "path": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "repo": {
+ "description": "owner/name",
+ "maxLength": 200,
+ "type": "string"
+ },
+ "type": {
+ "const": "code",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "repo",
+ "commit",
+ "path",
+ "lines",
+ "excerpt"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "after": {
+ "properties": {
+ "edges": {
+ "items": {
+ "properties": {
+ "from": {
+ "pattern": "^[a-z0-9][a-z0-9_-]{0,39}$",
+ "type": "string"
+ },
+ "label": {
+ "description": "A few words on the arrow; every call of a sequence needs one",
+ "maxLength": 40,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reply": {
+ "description": "sequence only: a dashed arrow back",
+ "type": "boolean"
+ },
+ "to": {
+ "pattern": "^[a-z0-9][a-z0-9_-]{0,39}$",
+ "type": "string"
+ },
+ "tone": {
+ "description": "plain when absent; accent: the call or link the fix changed; warn: the one that broke",
+ "enum": [
+ "plain",
+ "accent",
+ "warn"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "excerpt": {
+ "maxLength": 16000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "lines": {
+ "description": "[first, last] line, 1-based",
+ "items": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "maxItems": 2,
+ "minItems": 2,
+ "type": "array"
+ },
+ "nodes": {
+ "items": {
+ "properties": {
+ "id": {
+ "pattern": "^[a-z0-9][a-z0-9_-]{0,39}$",
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "mono": {
+ "type": "boolean"
+ },
+ "sub": {
+ "maxLength": 60,
+ "type": "string"
+ },
+ "tone": {
+ "enum": [
+ "plain",
+ "accent",
+ "warn"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "tone"
+ ],
+ "type": "object"
+ },
+ "maxItems": 16,
+ "type": "array"
+ },
+ "path": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "before": {
+ "properties": {
+ "edges": {
+ "items": {
+ "properties": {
+ "from": {
+ "pattern": "^[a-z0-9][a-z0-9_-]{0,39}$",
+ "type": "string"
+ },
+ "label": {
+ "description": "A few words on the arrow; every call of a sequence needs one",
+ "maxLength": 40,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reply": {
+ "description": "sequence only: a dashed arrow back",
+ "type": "boolean"
+ },
+ "to": {
+ "pattern": "^[a-z0-9][a-z0-9_-]{0,39}$",
+ "type": "string"
+ },
+ "tone": {
+ "description": "plain when absent; accent: the call or link the fix changed; warn: the one that broke",
+ "enum": [
+ "plain",
+ "accent",
+ "warn"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "excerpt": {
+ "maxLength": 16000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "lines": {
+ "description": "[first, last] line, 1-based",
+ "items": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "maxItems": 2,
+ "minItems": 2,
+ "type": "array"
+ },
+ "nodes": {
+ "items": {
+ "properties": {
+ "id": {
+ "pattern": "^[a-z0-9][a-z0-9_-]{0,39}$",
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 60,
+ "minLength": 1,
+ "type": "string"
+ },
+ "mono": {
+ "type": "boolean"
+ },
+ "sub": {
+ "maxLength": 60,
+ "type": "string"
+ },
+ "tone": {
+ "enum": [
+ "plain",
+ "accent",
+ "warn"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "tone"
+ ],
+ "type": "object"
+ },
+ "maxItems": 16,
+ "type": "array"
+ },
+ "path": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "caption": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "commit": {
+ "description": "base.commit, for code",
+ "maxLength": 40,
+ "type": "string"
+ },
+ "of": {
+ "description": "diagram: two small flow diagrams (nodes, edges). code: two excerpts (path, lines, excerpt), before at base.commit, after as your commit leaves the file",
+ "enum": [
+ "diagram",
+ "code"
+ ],
+ "type": "string"
+ },
+ "repo": {
+ "description": "owner/name, for code",
+ "maxLength": 200,
+ "type": "string"
+ },
+ "type": {
+ "const": "compare",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "of",
+ "before",
+ "after",
+ "caption"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "caption": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "columns": {
+ "items": {
+ "maxLength": 24,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 6,
+ "minItems": 1,
+ "type": "array"
+ },
+ "ring": {
+ "description": "the index of the one row the step is about",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "rows": {
+ "description": "one cell per column; plain text with `code` spans",
+ "items": {
+ "items": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 6,
+ "type": "array"
+ },
+ "maxItems": 10,
+ "minItems": 1,
+ "type": "array"
+ },
+ "type": {
+ "const": "table",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "columns",
+ "rows",
+ "caption"
+ ],
+ "type": "object"
+ }
+]