changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "oneOf": [
+ {
+ "required": [
+ "fehler"
+ ]
+ },
+ {
+ "not": {
+ "required": [
+ "fehler"
+ ]
+ },
+ "required": [
+ "datenqualitaetsstatus",
+ "aktuell",
+ "counts_estimated",
+ "firmen",
+ "meldungen",
+ "publikationen",
+ "ereignisstrom_bis",
+ "historie_verfuegbar_ab",
+ "historische_vollstaendigkeit_zugesichert",
+ "compliance_screening",
+ "hinweis"
+ ]
+ }
+ ],
+ "properties": {
+ "aktuell": {
+ "type": "boolean"
+ },
+ "alter_in_tagen": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "code": {
+ "type": "string"
+ },
+ "compliance_screening": {
+ "properties": {
+ "checked_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "checked_sources": {
+ "maximum": 4,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "healthy": {
+ "type": "boolean"
+ },
+ "problem_codes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "sources": {
+ "items": {
+ "properties": {
+ "coverage_status": {
+ "enum": [
+ "not_applicable",
+ "delta_only",
+ "building",
+ "complete",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "freshness": {
+ "enum": [
+ "fresh",
+ "stale_warning",
+ "stale_problem",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "freshness_problem_after_hours": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "freshness_warning_after_hours": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "key": {
+ "enum": [
+ "uid_vat",
+ "finma_authorisations",
+ "finma_warnings",
+ "seco_sanctions"
+ ],
+ "type": "string"
+ },
+ "last_complete_at": {
+ "format": "date-time",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "last_success_at": {
+ "format": "date-time",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "problem_codes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "sync_status": {
+ "enum": [
+ "idle",
+ "fetching",
+ "healthy",
+ "error",
+ "missing"
+ ],
+ "type": "string"
+ },
+ "warning_codes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "key",
+ "sync_status",
+ "coverage_status",
+ "last_success_at",
+ "last_complete_at",
+ "freshness",
+ "freshness_warning_after_hours",
+ "freshness_problem_after_hours",
+ "problem_codes",
+ "warning_codes"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "checked",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "warning_codes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "status",
+ "healthy",
+ "checked_at",
+ "checked_sources",
+ "problem_codes",
+ "warning_codes",
+ "sources"
+ ],
+ "type": "object"
+ },
+ "counts_estimated": {
+ "const": true
+ },
+ "datenqualitaetsstatus": {
+ "enum": [
+ "current",
+ "processing",
+ "degraded",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "datenstand": {
+ "format": "date",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "ereignisstrom_bis": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "erwartet_bis": {
+ "format": "date",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "fehler": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "firmen": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "hinweis": {
+ "type": "string"
+ },
+ "historie_verfuegbar_ab": {
+ "const": "2025-01-03",
+ "format": "date",
+ "type": "string"
+ },
+ "historische_vollstaendigkeit_zugesichert": {
+ "const": false
+ },
+ "lueckenlos_verifiziert_bis": {
+ "format": "date",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "meldungen": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "neueste_publikation_alter_in_tagen": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "neueste_verfuegbare_publikation": {
+ "format": "date",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "publikationen": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "retry_after_seconds": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "unvollstaendig_ab": {
+ "format": "date",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "unvollstaendiger_scope": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "unvollstaendiger_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+}