changedOutput schema / anyOf
Previous value: -[
- {
- "properties": {
- "calculator": {
- "properties": {
- "category": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "json": {
- "description": "The calculator's static API document, with its test vectors.",
- "type": "string"
- },
- "lastVerified": {
- "description": "The date the calculator's sources were last checked.",
- "type": "string"
- },
- "slug": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "description": "The calculator's page on craftquantities.com.",
- "type": "string"
- },
- "version": {
- "description": "The calculator's own version; a result names the calculator that produced it.",
- "type": "string"
- }
- },
- "required": [
- "slug",
- "title",
- "category",
- "version",
- "lastVerified",
- "url",
- "json"
- ],
- "type": "object"
- },
- "changelog": {
- "items": {
- "properties": {
- "change": {
- "type": "string"
- },
- "date": {
- "type": "string"
- },
- "version": {
- "type": "string"
- }
- },
- "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"
- },
- "inputs": {
- "items": {
- "properties": {
- "acceptedUnits": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "baseUnit": {
- "type": "string"
- },
- "dimension": {
- "type": "string"
- },
- "help": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "money": {
- "enum": [
- "rate",
- "amount"
- ]
- },
- "opening": {
- "required": [
- "metric",
- "imperial"
- ],
- "type": "object"
- },
- "options": {
- "items": {
- "properties": {
- "label": {
- "type": "string"
- },
- "value": {
- "type": "string"
- }
- },
- "required": [
- "value",
- "label"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "range": {
- "properties": {
- "max": {
- "type": "number"
- },
- "min": {
- "type": "number"
- }
- },
- "type": "object"
- },
- "type": {
- "enum": [
- "number",
- "select"
- ]
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "help",
- "opening"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "licence": {
- "properties": {
- "attribution": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "url",
- "attribution"
- ],
- "type": "object"
- },
- "related": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "sources": {
- "items": {
- "properties": {
- "label": {
- "description": "The source as the calculator cites it.",
- "type": "string"
- },
- "references": {
- "items": {
- "properties": {
- "body": {
- "type": "string"
- },
- "document": {
- "type": "string"
- },
- "edition": {
- "type": "string"
- },
- "kind": {
- "enum": [
- "code",
- "standard"
- ]
- },
- "section": {
- "type": "string"
- }
- },
- "required": [
- "kind",
- "document"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "url": {
- "description": "Only where the calculator gives one; none is invented.",
- "type": "string"
- }
- },
- "required": [
- "label"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "standards": {
- "items": {
- "properties": {
- "page": {
- "type": "string"
- },
- "publisher": {
- "type": "string"
- },
- "title": {
- "type": "string"
- }
- },
- "required": [
- "title",
- "page"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "testCases": {
- "type": "integer"
- }
- },
- "required": [
- "calculator",
- "inputs",
- "sources",
- "standards",
- "citation",
- "licence"
- ],
- "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": {
+ "calculator": {
+ "properties": {
+ "category": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "json": {
+ "description": "The calculator's static API document, with its test vectors.",
+ "type": "string"
+ },
+ "lastVerified": {
+ "description": "The date the calculator's sources were last checked.",
+ "type": "string"
+ },
+ "slug": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "description": "The calculator's page on craftquantities.com.",
+ "type": "string"
+ },
+ "version": {
+ "description": "The calculator's own version; a result names the calculator that produced it.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "slug",
+ "title",
+ "category",
+ "version",
+ "lastVerified",
+ "url",
+ "json"
+ ],
+ "type": "object"
+ },
+ "changelog": {
+ "items": {
+ "properties": {
+ "change": {
+ "type": "string"
+ },
+ "date": {
+ "type": "string"
+ },
+ "version": {
+ "type": "string"
+ }
+ },
+ "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"
+ },
+ "inputs": {
+ "items": {
+ "properties": {
+ "acceptedUnits": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "baseUnit": {
+ "type": "string"
+ },
+ "dimension": {
+ "type": "string"
+ },
+ "help": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "money": {
+ "enum": [
+ "rate",
+ "amount"
+ ]
+ },
+ "opening": {
+ "required": [
+ "metric",
+ "imperial"
+ ],
+ "type": "object"
+ },
+ "options": {
+ "items": {
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "value",
+ "label"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "range": {
+ "properties": {
+ "max": {
+ "type": "number"
+ },
+ "min": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "type": {
+ "enum": [
+ "number",
+ "select"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "help",
+ "opening"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "licence": {
+ "properties": {
+ "attribution": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "url",
+ "attribution"
+ ],
+ "type": "object"
+ },
+ "related": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "testCases": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "calculator",
+ "inputs",
+ "citation",
+ "licence"
+ ],
+ "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"
+ }
+]