changedOutput schema / anyOf
Previous value: -[
- {
- "properties": {
- "drawing": {
- "properties": {
- "carried": {
- "type": "boolean"
- },
- "note": {
- "type": "string"
- }
- },
- "required": [
- "carried"
- ],
- "type": "object"
- },
- "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"
- },
- "howToImport": {
- "type": "string"
- },
- "licence": {
- "properties": {
- "attribution": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "url",
- "attribution"
- ],
- "type": "object"
- },
- "notice": {
- "type": "string"
- },
- "project": {
- "properties": {
- "lines": {
- "items": {
- "required": [
- "label",
- "quantity",
- "unit",
- "from"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "name": {
- "type": "string"
- },
- "system": {
- "enum": [
- "metric",
- "imperial"
- ]
- }
- },
- "required": [
- "name",
- "system",
- "lines"
- ],
- "type": "object"
- }
- },
- "required": [
- "engine",
- "file",
- "project",
- "howToImport",
- "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": {
+ "drawing": {
+ "properties": {
+ "carried": {
+ "type": "boolean"
+ },
+ "note": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "carried"
+ ],
+ "type": "object"
+ },
+ "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"
+ },
+ "howToImport": {
+ "type": "string"
+ },
+ "licence": {
+ "properties": {
+ "attribution": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "url",
+ "attribution"
+ ],
+ "type": "object"
+ },
+ "notice": {
+ "type": "string"
+ },
+ "project": {
+ "properties": {
+ "lines": {
+ "items": {
+ "required": [
+ "label",
+ "quantity",
+ "unit",
+ "from"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "name": {
+ "type": "string"
+ },
+ "system": {
+ "enum": [
+ "metric",
+ "imperial"
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "system",
+ "lines"
+ ],
+ "type": "object"
+ },
+ "state": {
+ "properties": {
+ "characters": {
+ "type": "integer"
+ },
+ "format": {
+ "description": "The token's format and version.",
+ "type": "string"
+ },
+ "link": {
+ "description": "Opens the project on the site from the token, carried in the address fragment, which a browser does not send to any server.",
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ },
+ "token": {
+ "anyOf": [
+ {
+ "description": "The project's inputs, deflated and base64url-encoded with a format version and a CRC-32 check (cqp1.…). Compact, not encrypted: anyone who has it can read it.",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "token",
+ "format",
+ "note"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "engine",
+ "file",
+ "project",
+ "howToImport",
+ "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"
+ }
+]