changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": {},
+ "properties": {
+ "assessment": {
+ "description": "business | individual_or_unverified",
+ "type": "string"
+ },
+ "capacity": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "reasons": {
+ "items": {},
+ "type": "array"
+ },
+ "score": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "checked_at": {
+ "type": "string"
+ },
+ "checks": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "evidence": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "severity": {
+ "type": "string"
+ },
+ "status": {
+ "description": "pass | fail | unknown | not_applicable",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "status"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "checks_used": {
+ "type": "number"
+ },
+ "consistency": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "reasons": {
+ "items": {},
+ "type": "array"
+ },
+ "score": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "entity": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "relied_on": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "legitimacy": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "reasons": {
+ "items": {},
+ "type": "array"
+ },
+ "score": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "note": {
+ "description": "Terms of use for the facts",
+ "type": "string"
+ },
+ "questions_to_ask": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "read": {
+ "additionalProperties": {},
+ "description": "What a person sees: headline, recommendation, failed checks and lookup links",
+ "properties": {
+ "failed": {
+ "description": "Failed checks, worst first, at most 3",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "evidence": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "lookup": {
+ "additionalProperties": {},
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "label",
+ "evidence"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "headline": {
+ "description": "One line, e.g. \"Passed all 7 checks Jid could run. Recommendation: engage.\"",
+ "type": "string"
+ },
+ "not_checked": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "passed": {
+ "type": "number"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "recommendation": {
+ "description": "engage | verify_first | do_not_engage",
+ "type": "string"
+ },
+ "total": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "headline",
+ "recommendation",
+ "passed",
+ "total",
+ "failed"
+ ],
+ "type": "object"
+ },
+ "receipt": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "description": "Signed receipt reference; get_receipt returns the full signed statement",
+ "properties": {
+ "issued_at": {
+ "type": "string"
+ },
+ "keys": {
+ "type": "string"
+ },
+ "receipt_id": {
+ "type": "string"
+ },
+ "signature": {
+ "additionalProperties": {},
+ "properties": {
+ "alg": {
+ "type": "string"
+ },
+ "kid": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "alg",
+ "kid"
+ ],
+ "type": "object"
+ },
+ "url": {
+ "type": "string"
+ },
+ "verify_url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "receipt_id"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {},
+ "type": "object"
+ }
+ ]
+ },
+ "recommendation": {
+ "description": "engage | verify_first | do_not_engage, with the reason"
+ },
+ "signals": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "detail": {},
+ "effect": {},
+ "name": {
+ "type": "string"
+ },
+ "source": {},
+ "source_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "verified_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "suggested_next_step": {
+ "type": "string"
+ },
+ "summary": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "assessment",
+ "recommendation",
+ "read",
+ "signals",
+ "checks",
+ "checks_used",
+ "note"
+ ],
+ "type": "object"
+}