changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": false,
+ "properties": {
+ "lang": {
+ "description": "The language of the texts: zh or en.",
+ "enum": [
+ "zh",
+ "en"
+ ],
+ "type": "string"
+ },
+ "query": {
+ "description": "The query as received.",
+ "type": "string"
+ },
+ "results": {
+ "description": "The plates that answer the query, best first; empty when none does.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "chapter": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "description": "The chapter to open at, for show_model.",
+ "type": "string"
+ },
+ "n": {
+ "description": "Its number; 0 is the cover.",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "n",
+ "title"
+ ],
+ "type": "object"
+ },
+ "hall": {
+ "description": "The hall of the site the plate is in.",
+ "type": "string"
+ },
+ "params": {
+ "additionalProperties": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "string"
+ },
+ {
+ "type": "boolean"
+ }
+ ]
+ },
+ "description": "Lab settings by id.",
+ "type": "object"
+ },
+ "plate": {
+ "description": "The plate’s number on the site (e.g. \"05\", \"F07\").",
+ "type": "string"
+ },
+ "slug": {
+ "description": "The plate id, for show_model and list_chapters.",
+ "type": "string"
+ },
+ "summary": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "description": "The plate’s page on world.lapla.si.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "slug",
+ "plate",
+ "title",
+ "summary",
+ "hall",
+ "url",
+ "chapter"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "query",
+ "lang",
+ "results"
+ ],
+ "type": "object"
+}