changedOutput schema / anyOf
Previous value: -[
- {
- "properties": {
- "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"
- },
- "concepts": {
- "items": {
- "properties": {
- "calculators": {
- "type": "array"
- },
- "concept": {
- "type": "string"
- },
- "confusions": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "definition": {
- "type": "string"
- },
- "matchedAs": {
- "items": {
- "required": [
- "market",
- "as"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "names": {
- "items": {
- "properties": {
- "alsoCalled": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "exactness": {
- "enum": [
- "identical",
- "close",
- "false-friend",
- "absent"
- ]
- },
- "market": {
- "type": "string"
- },
- "note": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "term": {
- "type": "string"
- }
- },
- "required": [
- "market",
- "term",
- "alsoCalled",
- "exactness",
- "note"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "slug": {
- "type": "string"
- },
- "translation": {
- "type": "object"
- },
- "url": {
- "type": "string"
- },
- "warnings": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "slug",
- "concept",
- "url",
- "definition",
- "matchedAs",
- "names",
- "warnings",
- "calculators",
- "confusions"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "engine": {
- "type": "object"
- },
- "from": {
- "type": "string"
- },
- "licence": {
- "properties": {
- "attribution": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "url",
- "attribution"
- ],
- "type": "object"
- },
- "links": {
- "required": [
- "glossary"
- ],
- "type": "object"
- },
- "matchedBy": {
- "enum": [
- "term",
- "search"
- ]
- },
- "none": {
- "type": "string"
- },
- "note": {
- "type": "string"
- },
- "term": {
- "type": "string"
- },
- "to": {
- "type": "string"
- }
- },
- "required": [
- "engine",
- "term",
- "matchedBy",
- "concepts",
- "links",
- "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": {
+ "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"
+ },
+ "concepts": {
+ "items": {
+ "properties": {
+ "calculators": {
+ "type": "array"
+ },
+ "concept": {
+ "type": "string"
+ },
+ "confusions": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "definition": {
+ "type": "string"
+ },
+ "matchedAs": {
+ "items": {
+ "required": [
+ "market",
+ "as"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "names": {
+ "items": {
+ "properties": {
+ "alsoCalled": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "exactness": {
+ "enum": [
+ "identical",
+ "close",
+ "false-friend",
+ "absent"
+ ]
+ },
+ "market": {
+ "type": "string"
+ },
+ "note": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "term": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "market",
+ "term",
+ "alsoCalled",
+ "exactness",
+ "note"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "slug": {
+ "type": "string"
+ },
+ "translation": {
+ "type": "object"
+ },
+ "url": {
+ "type": "string"
+ },
+ "warnings": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "slug",
+ "concept",
+ "url",
+ "definition",
+ "matchedAs",
+ "names",
+ "warnings",
+ "calculators",
+ "confusions"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "documents": {
+ "description": "The family of documents that governs the concept's subject in the named market. No edition, and no claim that it matches another market's document.",
+ "properties": {
+ "adoption": {
+ "type": "string"
+ },
+ "decidedBy": {
+ "type": "string"
+ },
+ "for": {
+ "description": "The calculator whose sources, or the document the glossary names for the concept, the subject was read from.",
+ "type": "string"
+ },
+ "market": {
+ "type": "string"
+ },
+ "page": {
+ "type": "string"
+ },
+ "place": {
+ "type": "string"
+ },
+ "subjects": {
+ "items": {
+ "properties": {
+ "documents": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "subject": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "subject",
+ "documents"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "market",
+ "place",
+ "subjects",
+ "adoption",
+ "decidedBy",
+ "page"
+ ],
+ "type": "object"
+ },
+ "engine": {
+ "type": "object"
+ },
+ "from": {
+ "type": "string"
+ },
+ "licence": {
+ "properties": {
+ "attribution": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "url",
+ "attribution"
+ ],
+ "type": "object"
+ },
+ "links": {
+ "required": [
+ "glossary"
+ ],
+ "type": "object"
+ },
+ "matched": {
+ "items": {
+ "properties": {
+ "as": {
+ "enum": [
+ "term",
+ "also called"
+ ]
+ },
+ "concept": {
+ "type": "string"
+ },
+ "market": {
+ "type": "string"
+ },
+ "name": {
+ "description": "The glossary's own name that matched.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "concept",
+ "name",
+ "market",
+ "as"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "matchedBy": {
+ "description": "How the word was matched: a glossary name exactly; the same name spaced, hyphenated or plural; a phrase holding a name; a misspelling of one name; or the site's ranking of the definitions.",
+ "enum": [
+ "term",
+ "variant",
+ "within",
+ "fuzzy",
+ "search"
+ ]
+ },
+ "none": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ },
+ "readAs": {
+ "type": "string"
+ },
+ "term": {
+ "type": "string"
+ },
+ "to": {
+ "type": "string"
+ },
+ "unitSystems": {
+ "description": "Each named market's primary measurement system, as the site's market registry holds it.",
+ "items": {
+ "properties": {
+ "market": {
+ "type": "string"
+ },
+ "system": {
+ "enum": [
+ "metric",
+ "imperial"
+ ]
+ }
+ },
+ "required": [
+ "market",
+ "system"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "unitTraps": {
+ "items": {
+ "properties": {
+ "bags": {
+ "items": {
+ "properties": {
+ "calculator": {
+ "type": "object"
+ },
+ "imperial": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "input": {
+ "type": "string"
+ },
+ "metric": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "calculator",
+ "input",
+ "metric",
+ "imperial"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "conversions": {
+ "items": {
+ "properties": {
+ "by": {
+ "description": "The engine's unit conversion that gave the result.",
+ "type": "string"
+ },
+ "definition": {
+ "description": "The defining relation, where one side is not a unit of the conversion table.",
+ "type": "string"
+ },
+ "factor": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "from": {
+ "type": "string"
+ },
+ "result": {
+ "type": "number"
+ },
+ "to": {
+ "type": "string"
+ },
+ "value": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "value",
+ "from",
+ "to",
+ "result",
+ "by"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "id": {
+ "type": "string"
+ },
+ "markets": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "page": {
+ "type": "string"
+ },
+ "says": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "says",
+ "markets",
+ "conversions",
+ "page"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "engine",
+ "term",
+ "matchedBy",
+ "concepts",
+ "links",
+ "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"
+ }
+]