changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": {},
+ "properties": {
+ "decision": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "activity": {
+ "type": "string"
+ },
+ "amount": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "currency": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "decision": {
+ "description": "proceed | review | stop | insufficient_data",
+ "type": "string"
+ },
+ "jurisdiction": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "not_legal_advice": {},
+ "notes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "reasons": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "detail": {},
+ "effect": {},
+ "fact_ids": {
+ "items": {},
+ "type": "array"
+ },
+ "fresh_until": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "met": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "const": "unknown",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "true, false or \"unknown\""
+ },
+ "requirement": {},
+ "source": {
+ "description": "Compact: the source name; full: the source object"
+ },
+ "source_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "verified_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "code"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "receipt_id": {
+ "type": "string"
+ },
+ "rules_url": {
+ "type": "string"
+ },
+ "rules_version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "decision",
+ "activity",
+ "reasons",
+ "receipt_id"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "string"
+ }
+ ],
+ "description": "With an activity: the decision object; with no file matched: \"insufficient_data\""
+ },
+ "facts_total": {
+ "type": "number"
+ },
+ "file": {
+ "additionalProperties": {},
+ "description": "With an activity: the business the decision is about",
+ "properties": {
+ "facts_total": {
+ "type": "number"
+ },
+ "file_checked_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "full_file": {
+ "additionalProperties": {},
+ "properties": {
+ "api": {
+ "type": "string"
+ },
+ "detail_full": {
+ "type": "string"
+ },
+ "page": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "page",
+ "api"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "type": "string"
+ },
+ "identifiers": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "value": {}
+ },
+ "required": [
+ "type",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "identifiers_total": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_status": {
+ "description": "claimed | public_record",
+ "type": "string"
+ },
+ "status": {
+ "additionalProperties": {},
+ "properties": {
+ "flags": {
+ "description": "Compact: \"tone: label\" strings; full: objects",
+ "items": {},
+ "type": "array"
+ },
+ "rules": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ },
+ "summary": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ },
+ "top_facts": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "predicate": {
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
+ },
+ "source_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "value": {},
+ "value_truncated": {
+ "const": true,
+ "type": "boolean"
+ },
+ "verified_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "predicate",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "url": {
+ "type": "string"
+ },
+ "websites_verified": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "url",
+ "status"
+ ],
+ "type": "object"
+ },
+ "file_checked_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "full_file": {
+ "additionalProperties": {},
+ "properties": {
+ "api": {
+ "type": "string"
+ },
+ "detail_full": {
+ "type": "string"
+ },
+ "page": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "page",
+ "api"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "type": "string"
+ },
+ "identifiers": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "value": {}
+ },
+ "required": [
+ "type",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "identifiers_total": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "note": {
+ "description": "Terms of use for the facts",
+ "type": "string"
+ },
+ "owner_status": {
+ "description": "claimed | public_record",
+ "type": "string"
+ },
+ "query": {
+ "type": "string"
+ },
+ "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"
+ }
+ ]
+ },
+ "resolved_from": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "chosen": {
+ "type": "string"
+ },
+ "matched_on": {},
+ "other_candidates": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "query": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "query",
+ "chosen"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "result": {
+ "const": "no_file",
+ "type": "string"
+ },
+ "status": {
+ "additionalProperties": {},
+ "properties": {
+ "flags": {
+ "description": "Compact: \"tone: label\" strings; full: objects",
+ "items": {},
+ "type": "array"
+ },
+ "rules": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ },
+ "summary": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ },
+ "top_facts": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "predicate": {
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
+ },
+ "source_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "value": {},
+ "value_truncated": {
+ "const": true,
+ "type": "boolean"
+ },
+ "verified_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "predicate",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "url": {
+ "type": "string"
+ },
+ "websites_verified": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+}