changedOutput schema / anyOf
Previous value: -[
- {
- "properties": {
- "assumptions": {
- "items": {
- "required": [
- "field",
- "reason"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "citation": {
- "properties": {
- "accessDate": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "author": {
- "type": "string"
- },
- "formats": {
- "properties": {
- "apa": {
- "type": "string"
- },
- "bibtex": {
- "type": "string"
- },
- "harvard": {
- "type": "string"
- },
- "plain": {
- "type": "string"
- }
- },
- "required": [
- "plain",
- "apa",
- "harvard",
- "bibtex"
- ],
- "type": "object"
- },
- "sourcesChecked": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "version": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "author",
- "title",
- "url",
- "formats",
- "accessDate"
- ],
- "type": "object"
- },
- "counts": {
- "required": [
- "walls",
- "openings",
- "levels"
- ],
- "type": "object"
- },
- "document": {
- "required": [
- "schema",
- "units",
- "counters",
- "levels",
- "types",
- "entities",
- "assumed",
- "updatedAt"
- ],
- "type": "object"
- },
- "drawingLink": {
- "type": "string"
- },
- "engine": {
- "type": "object"
- },
- "file": {
- "properties": {
- "content": {
- "properties": {
- "exportedAt": {
- "type": "string"
- },
- "magic": {
- "const": "craftquantities.backup"
- },
- "stores": {
- "type": "object"
- },
- "v": {
- "type": "integer"
- }
- },
- "required": [
- "magic",
- "v",
- "exportedAt",
- "stores"
- ],
- "type": "object"
- },
- "filename": {
- "type": "string"
- },
- "mediaType": {
- "const": "application/json"
- }
- },
- "required": [
- "filename",
- "mediaType",
- "content"
- ],
- "type": "object"
- },
- "from": {
- "enum": [
- "house",
- "commands",
- "document",
- "shapes",
- "template",
- "layout"
- ]
- },
- "house": {
- "type": "object"
- },
- "howToOpen": {
- "type": "string"
- },
- "labour": {
- "required": [
- "rows",
- "totalHours",
- "programme",
- "likelyDays",
- "note"
- ],
- "type": "object"
- },
- "layout": {
- "description": "The rooms as laid out (both unit systems), the walls drawn, every figure snapped or room moved, and the closure check.",
- "required": [
- "grid",
- "rooms",
- "walls",
- "adjustments",
- "checks"
- ],
- "type": "object"
- },
- "licence": {
- "properties": {
- "attribution": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "url",
- "attribution"
- ],
- "type": "object"
- },
- "lines": {
- "items": {
- "required": [
- "label",
- "quantity",
- "unit",
- "zone"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "links": {
- "properties": {
- "canvas": {
- "type": "string"
- },
- "drawing": {
- "anyOf": [
- {
- "description": "Opens this drawing on the canvas as a new project's: the drawing rides in the fragment, so nothing is uploaded. Null when the drawing is too large for a link.",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "estimator": {
- "type": "string"
- },
- "template": {
- "description": "The template's page, when the drawing is a template's: cite it beside the drawing's link.",
- "type": "string"
- }
- },
- "required": [
- "canvas",
- "drawing"
- ],
- "type": "object"
- },
- "notice": {
- "type": "string"
- },
- "objects": {
- "items": {
- "required": [
- "key",
- "label",
- "quantity"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "omitted": {
- "type": "array"
- },
- "plans": {
- "type": "array"
- },
- "rows": {
- "items": {
- "properties": {
- "calculator": {
- "required": [
- "slug",
- "title"
- ],
- "type": "object"
- },
- "key": {
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "note": {
- "type": "string"
- },
- "order": {
- "required": [
- "quantity",
- "unit"
- ],
- "type": "object"
- },
- "otherSystem": {
- "anyOf": [
- {
- "required": [
- "quantity",
- "unit"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "quantity": {
- "type": "number"
- },
- "section": {
- "type": "string"
- },
- "unit": {
- "type": "string"
- },
- "where": {
- "type": "string"
- }
- },
- "required": [
- "key",
- "section",
- "label",
- "where",
- "quantity",
- "unit",
- "otherSystem",
- "calculator"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "shapeNotes": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "shapes": {
- "items": {
- "required": [
- "shape",
- "ref",
- "made",
- "figures"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "sources": {
- "type": "array"
- },
- "system": {
- "enum": [
- "metric",
- "imperial"
- ]
- },
- "template": {
- "description": "The template it was drawn from: its page, the variant drawn (null: as the page shows it) and its variants.",
- "required": [
- "slug",
- "name",
- "page",
- "variant",
- "variants"
- ],
- "type": "object"
- }
- },
- "required": [
- "engine",
- "system",
- "from",
- "document",
- "counts",
- "rows",
- "objects",
- "lines",
- "assumptions",
- "omitted",
- "plans",
- "labour",
- "sources",
- "file",
- "links",
- "howToOpen",
- "citation",
- "licence",
- "notice"
- ],
- "type": "object"
- },
- {
- "properties": {
- "citation": {
- "description": "The one citation line, built from the answer's own data.",
- "type": "string"
- },
- "detail": {
- "const": "summary"
- },
- "lines": {
- "description": "The result lines, as the report's table gives them.",
- "items": {
- "additionalProperties": {
- "type": "string"
- },
- "type": "object"
- },
- "type": "array"
- },
- "more": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "notes": {
- "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "open": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "title": {
- "type": "string"
- },
- "tool": {
- "type": "string"
- },
- "url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "detail",
- "tool",
- "title",
- "lines",
- "notes",
- "citation",
- "url",
- "open",
- "more"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "assumptions": {
+ "items": {
+ "required": [
+ "field",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "citation": {
+ "properties": {
+ "accessDate": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "author": {
+ "type": "string"
+ },
+ "formats": {
+ "properties": {
+ "apa": {
+ "type": "string"
+ },
+ "bibtex": {
+ "type": "string"
+ },
+ "harvard": {
+ "type": "string"
+ },
+ "plain": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "plain",
+ "apa",
+ "harvard",
+ "bibtex"
+ ],
+ "type": "object"
+ },
+ "sourcesChecked": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "version": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "author",
+ "title",
+ "url",
+ "formats",
+ "accessDate"
+ ],
+ "type": "object"
+ },
+ "counts": {
+ "required": [
+ "walls",
+ "openings",
+ "levels"
+ ],
+ "type": "object"
+ },
+ "document": {
+ "required": [
+ "schema",
+ "units",
+ "counters",
+ "levels",
+ "types",
+ "entities",
+ "assumed",
+ "updatedAt"
+ ],
+ "type": "object"
+ },
+ "drawingLink": {
+ "type": "string"
+ },
+ "engine": {
+ "type": "object"
+ },
+ "file": {
+ "properties": {
+ "content": {
+ "properties": {
+ "exportedAt": {
+ "type": "string"
+ },
+ "magic": {
+ "const": "craftquantities.backup"
+ },
+ "stores": {
+ "type": "object"
+ },
+ "v": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "magic",
+ "v",
+ "exportedAt",
+ "stores"
+ ],
+ "type": "object"
+ },
+ "filename": {
+ "type": "string"
+ },
+ "mediaType": {
+ "const": "application/json"
+ }
+ },
+ "required": [
+ "filename",
+ "mediaType",
+ "content"
+ ],
+ "type": "object"
+ },
+ "from": {
+ "enum": [
+ "house",
+ "commands",
+ "document",
+ "shapes",
+ "template",
+ "layout"
+ ]
+ },
+ "house": {
+ "type": "object"
+ },
+ "howToOpen": {
+ "type": "string"
+ },
+ "labour": {
+ "required": [
+ "rows",
+ "totalHours",
+ "programme",
+ "likelyDays",
+ "note"
+ ],
+ "type": "object"
+ },
+ "layout": {
+ "description": "The rooms as laid out (both unit systems), the walls drawn, every figure snapped or room moved, and the closure check.",
+ "required": [
+ "grid",
+ "rooms",
+ "walls",
+ "adjustments",
+ "checks"
+ ],
+ "type": "object"
+ },
+ "licence": {
+ "properties": {
+ "attribution": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "url",
+ "attribution"
+ ],
+ "type": "object"
+ },
+ "lines": {
+ "items": {
+ "required": [
+ "label",
+ "quantity",
+ "unit",
+ "zone"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "links": {
+ "properties": {
+ "canvas": {
+ "type": "string"
+ },
+ "drawing": {
+ "anyOf": [
+ {
+ "description": "Opens this drawing on the canvas as a new project's: the drawing rides in the fragment, so nothing is uploaded. Null when the drawing is too large for a link.",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "estimator": {
+ "type": "string"
+ },
+ "template": {
+ "description": "The template's page, when the drawing is a template's: cite it beside the drawing's link.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "canvas",
+ "drawing"
+ ],
+ "type": "object"
+ },
+ "notice": {
+ "type": "string"
+ },
+ "objects": {
+ "items": {
+ "required": [
+ "key",
+ "label",
+ "quantity"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "omitted": {
+ "type": "array"
+ },
+ "plans": {
+ "type": "array"
+ },
+ "rows": {
+ "items": {
+ "properties": {
+ "calculator": {
+ "required": [
+ "slug",
+ "title"
+ ],
+ "type": "object"
+ },
+ "key": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ },
+ "order": {
+ "required": [
+ "quantity",
+ "unit"
+ ],
+ "type": "object"
+ },
+ "otherSystem": {
+ "anyOf": [
+ {
+ "required": [
+ "quantity",
+ "unit"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "quantity": {
+ "type": "number"
+ },
+ "section": {
+ "type": "string"
+ },
+ "unit": {
+ "type": "string"
+ },
+ "where": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "section",
+ "label",
+ "where",
+ "quantity",
+ "unit",
+ "otherSystem",
+ "calculator"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "shapeNotes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "shapes": {
+ "items": {
+ "required": [
+ "shape",
+ "ref",
+ "made",
+ "figures"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "sources": {
+ "type": "array"
+ },
+ "system": {
+ "enum": [
+ "metric",
+ "imperial"
+ ]
+ },
+ "template": {
+ "description": "The template it was drawn from: its page, the variant drawn (null: as the page shows it) and its variants.",
+ "required": [
+ "slug",
+ "name",
+ "page",
+ "variant",
+ "variants"
+ ],
+ "type": "object"
+ },
+ "worktops": {
+ "description": "The drawing's worktops as the canvas's dock lists them: each fitted piece's true lengths, the worktop lengths to buy and the edge banding, in both unit systems.",
+ "items": {
+ "properties": {
+ "detail": {
+ "type": "string"
+ },
+ "figure": {
+ "type": "string"
+ },
+ "key": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "label",
+ "figure"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "engine",
+ "system",
+ "from",
+ "document",
+ "counts",
+ "rows",
+ "objects",
+ "lines",
+ "assumptions",
+ "omitted",
+ "plans",
+ "labour",
+ "sources",
+ "file",
+ "links",
+ "howToOpen",
+ "citation",
+ "licence",
+ "notice"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "citation": {
+ "description": "The one citation line, built from the answer's own data.",
+ "type": "string"
+ },
+ "detail": {
+ "const": "summary"
+ },
+ "lines": {
+ "description": "The result lines, as the report's table gives them.",
+ "items": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "more": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "notes": {
+ "description": "What a professional must decide, when to call one, a false-friend warning, that adoption is local: kept in every summary.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "open": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "title": {
+ "type": "string"
+ },
+ "tool": {
+ "type": "string"
+ },
+ "url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "detail",
+ "tool",
+ "title",
+ "lines",
+ "notes",
+ "citation",
+ "url",
+ "open",
+ "more"
+ ],
+ "type": "object"
+ }
+]