changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "anyOf": [
+ {
+ "description": "Without term: every term.",
+ "properties": {
+ "attribution": {
+ "type": "object"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "language": {
+ "type": "string"
+ },
+ "terms": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "url": {
+ "description": "Absolute URL or null",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "language",
+ "count",
+ "terms",
+ "url",
+ "attribution"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "With term: the definition and the law.",
+ "properties": {
+ "abbreviation": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "attribution": {
+ "type": "object"
+ },
+ "checked_on": {
+ "description": "Date, YYYY-MM-DD",
+ "type": "string"
+ },
+ "definition": {
+ "type": "string"
+ },
+ "en_name": {
+ "type": "string"
+ },
+ "in_practice": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "key": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "language_requested": {
+ "type": "string"
+ },
+ "legal_refs": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "name": {
+ "type": "string"
+ },
+ "pt_name": {
+ "type": "string"
+ },
+ "questions": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "see_also": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "sources": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "updated_on": {
+ "description": "Date, YYYY-MM-DD",
+ "type": "string"
+ },
+ "url": {
+ "description": "Absolute URL or null",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "pt_name",
+ "en_name",
+ "abbreviation",
+ "url",
+ "language",
+ "language_requested",
+ "definition",
+ "in_practice",
+ "questions",
+ "legal_refs",
+ "see_also",
+ "updated_on",
+ "checked_on",
+ "sources",
+ "attribution"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "error": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "suggestions": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "error",
+ "message"
+ ],
+ "type": "object"
+ }
+ ],
+ "description": "Success, or a refusal with an error code. Units: *_cents euro cents, *_eur euros, *_eur_m2 euros per m², *_pct and percent in percent.",
+ "type": "object"
+}