changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "BulkMeta": {
+ "properties": {
+ "failed": {
+ "title": "Failed",
+ "type": "integer"
+ },
+ "successful": {
+ "title": "Successful",
+ "type": "integer"
+ },
+ "total_requested": {
+ "title": "Total Requested",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "total_requested",
+ "successful",
+ "failed"
+ ],
+ "title": "BulkMeta",
+ "type": "object"
+ },
+ "BulkRiskScoreResult": {
+ "description": "Per-orgnr resultat i bulk-risikoscoring-respons.",
+ "properties": {
+ "components": {
+ "items": {
+ "$ref": "#/$defs/RiskComponentBrief"
+ },
+ "title": "Components",
+ "type": "array"
+ },
+ "error": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Feiltype hvis scoring ikke kunne fullføres: invalid_orgnr, blocked_enk, enk_not_supported, extension_disabled, confirmation_required, etc. Body inneholder også detaljer.",
+ "title": "Error"
+ },
+ "orgnr": {
+ "title": "Orgnr",
+ "type": "string"
+ },
+ "raw": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Raw"
+ },
+ "risk_level": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Norwegian risk level — one of: lav (low), moderat (moderate), høy (high), kritisk (critical). None on error.",
+ "title": "Risk Level"
+ },
+ "score": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Score"
+ }
+ },
+ "required": [
+ "orgnr"
+ ],
+ "title": "BulkRiskScoreResult",
+ "type": "object"
+ },
+ "RiskComponentBrief": {
+ "properties": {
+ "id": {
+ "title": "Id",
+ "type": "string"
+ },
+ "label": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Label"
+ },
+ "max": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Max"
+ },
+ "points": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Points"
+ },
+ "status": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Status"
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "title": "RiskComponentBrief",
+ "type": "object"
+ }
+ },
+ "properties": {
+ "_meta": {
+ "$ref": "#/$defs/BulkMeta",
+ "description": "Aggregate count status for the whole bulk call."
+ },
+ "results": {
+ "items": {
+ "$ref": "#/$defs/BulkRiskScoreResult"
+ },
+ "title": "Results",
+ "type": "array"
+ },
+ "summary": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Human-readable markdown table of the per-company scores.",
+ "title": "Summary"
+ }
+ },
+ "required": [
+ "_meta"
+ ],
+ "type": "object"
+}