changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "boost": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "category": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "path": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "url",
+ "path"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "created_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "expires_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "has_picture": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "number"
+ },
+ "images": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "location": {
+ "additionalProperties": false,
+ "properties": {
+ "canton": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "city": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "country": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "postal_code": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "city",
+ "postal_code",
+ "canton",
+ "country"
+ ],
+ "type": "object"
+ },
+ "price": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "currency": {
+ "const": "CHF",
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency"
+ ],
+ "type": "object"
+ },
+ "seller": {
+ "additionalProperties": false,
+ "properties": {
+ "certified": {
+ "type": "boolean"
+ },
+ "company": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "type": {
+ "enum": [
+ "pro",
+ "private"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "certified",
+ "type",
+ "company"
+ ],
+ "type": "object"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "description",
+ "price",
+ "location",
+ "category",
+ "url",
+ "created_at",
+ "has_picture",
+ "seller",
+ "images",
+ "expires_at",
+ "boost"
+ ],
+ "type": "object"
+}