Senlay · Schema
RiskEventsResponse
Physical-WorldArtificial IntelligenceRoboticsSensorsData Intelligence
Properties
| Name | Type | Description |
|---|---|---|
| status | string | |
| contract | object | |
| view | string | |
| field | string | |
| assessment_state | object | |
| outcome | object | |
| unknowns | array | |
| confidence_components | object | |
| conflicts | array | |
| coordinates | object | |
| risk_summary | object | |
| risk_assessment | object | |
| risk_events | array | |
| evidence_summary | object | |
| evidence_record | object | |
| provider_capabilities | array | Additive weather-provider capability metadata. Older servers may omit this field. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/senlay-cloud/json-schema/senlay-cloud-risk-events-response-schema.json",
"title": "RiskEventsResponse",
"x-generated": "2026-11-24",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/senlay-cloud-openapi.json#/components/schemas/RiskEventsResponse",
"type": "object",
"properties": {
"status": {
"type": "string"
},
"contract": {
"$ref": "#/$defs/ContractRef"
},
"view": {
"type": "string"
},
"field": {
"type": "string"
},
"assessment_state": {
"$ref": "#/$defs/AssessmentState"
},
"outcome": {
"$ref": "#/$defs/Outcome"
},
"unknowns": {
"type": "array",
"items": {
"$ref": "#/$defs/Unknown"
}
},
"confidence_components": {
"$ref": "#/$defs/ConfidenceComponents"
},
"conflicts": {
"type": "array",
"items": {
"$ref": "#/$defs/Conflict"
}
},
"coordinates": {
"type": "object",
"additionalProperties": true
},
"risk_summary": {
"$ref": "#/$defs/RiskEventSummary"
},
"risk_assessment": {
"$ref": "#/$defs/RiskAssessment"
},
"risk_events": {
"type": "array",
"items": {
"$ref": "#/$defs/RiskEvent"
}
},
"evidence_summary": {
"$ref": "#/$defs/EvidenceSummary"
},
"evidence_record": {
"type": "object",
"additionalProperties": true
},
"provider_capabilities": {
"type": "array",
"description": "Additive weather-provider capability metadata. Older servers may omit this field.",
"items": {
"$ref": "#/$defs/ProviderCapability"
}
}
},
"$defs": {
"AssessmentState": {
"type": "string",
"enum": [
"sufficient",
"partial",
"insufficient",
"unknown"
],
"description": "Whether usable current evidence covers the groups required for the requested activity. Independent emergency signals can still produce a scored critical risk when environmental evidence is incomplete."
},
"ConfidenceComponent": {
"type": "object",
"properties": {
"label": {
"type": "string",
"enum": [
"HIGH",
"MEDIUM",
"LOW",
"UNKNOWN"
]
},
"reason": {
"type": "string",
"description": "Short, human-readable justification for the label. Never a bare number."
}
},
"additionalProperties": true
},
"ConfidenceComponents": {
"type": "object",
"description": "Confidence decomposed into four independently reported components instead of one opaque scalar.",
"properties": {
"source_agreement": {
"$ref": "#/$defs/ConfidenceComponent"
},
"freshness": {
"$ref": "#/$defs/ConfidenceComponent"
},
"spatial_relevance": {
"$ref": "#/$defs/ConfidenceComponent"
},
"evidence_coverage": {
"$ref": "#/$defs/ConfidenceComponent"
}
}
},
"Conflict": {
"type": "object",
"description": "A structured, named disagreement between contributing sources for one variable. Conflicts are reported, not averaged away.",
"properties": {
"variable": {
"type": "string"
},
"label": {
"type": "string"
},
"claims": {
"type": "array",
"items": {
"$ref": "#/$defs/ConflictClaim"
}
},
"delta": {
"type": "number"
},
"abs_delta": {
"type": "number"
},
"units": {
"type": "string"
},
"magnitude": {
"type": "string",
"enum": [
"moderate",
"significant"
]
},
"severity": {
"type": "string",
"enum": [
"minor",
"major"
]
},
"plausible_cause": {
"type": [
"string",
"null"
]
}
}
},
"ConflictClaim": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"measured",
"predicted"
]
},
"value": {
"type": "number"
},
"units": {
"type": "string"
},
"distance_km": {
"type": [
"number",
"null"
]
},
"age_seconds": {
"type": [
"integer",
"null"
]
}
}
},
"ContractRef": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"EvidenceCoverage": {
"type": "object",
"properties": {
"assessment_state": {
"$ref": "#/$defs/AssessmentState"
},
"activity": {
"type": "string"
},
"required_groups": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"any_of": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
},
"satisfied_groups": {
"type": "array",
"items": {
"type": "string"
}
},
"missing_groups": {
"type": "array",
"items": {
"type": "string"
}
},
"usable_fields": {
"type": "array",
"items": {
"type": "string"
}
},
"coverage_ratio": {
"type": [
"number",
"null"
],
"minimum": 0,
"maximum": 1
},
"reason": {
"type": "string"
}
}
},
"EvidenceSummary": {
"type": "object",
"properties": {
"contract": {
"$ref": "#/$defs/ContractRef"
},
"count": {
"type": "integer"
},
"coverage": {
"$ref": "#/$defs/EvidenceCoverage"
},
"record": {
"type": "object",
"additionalProperties": true
},
"link": {
"type": "string"
}
}
},
"Outcome": {
"type": "string",
"enum": [
"GO",
"CAUTION",
"NO_GO",
"INSUFFICIENT_EVIDENCE"
],
"description": "GO: conditions within thresholds, evidence adequate. CAUTION: within thresholds but marginal, or a relevant unknown exists. NO_GO: a threshold is exceeded on adequate evidence. INSUFFICIENT_EVIDENCE: the evidence does not support any of the above; see `unknowns` for what is blocking the assessment. This is a normal, successful (HTTP 200) result, never an error."
},
"ProviderCapability": {
"type": "object",
"description": "Versioned additive provider metadata. Consumers should preserve unknown properties and treat missing fields as unknown.",
"additionalProperties": true,
"required": [
"schema_version",
"provider",
"source",
"configured",
"authorization",
"attempted",
"healthy",
"fresh",
"source_status",
"kind",
"forecast_only",
"supported_fields",
"samples",
"sample_count",
"samples_truncated",
"limitations",
"refresh_limits",
"shared_request_cache"
],
"properties": {
"schema_version": {
"type": "string",
"enum": [
"1"
]
},
"provider": {
"type": "string"
},
"source": {
"type": "string"
},
"configured": {
"type": "boolean"
},
"authorization": {
"type": "string",
"enum": [
"authorized",
"unknown"
]
},
"attempted": {
"type": [
"boolean",
"null"
]
},
"healthy": {
"type": "boolean"
},
"fresh": {
"type": [
"boolean",
"null"
]
},
"source_status": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"measured",
"forecast"
]
},
"forecast_only": {
"type": "boolean"
},
"supported_fields": {
"type": "array",
"items": {
"type": "string"
}
},
"samples": {
"type": "array",
"items": {
"$ref": "#/$defs/WeatherEvidenceMetadata"
}
},
"sample_count": {
"type": "integer",
"minimum": 0
},
"samples_truncated": {
"type": "boolean"
},
"limitations": {
"type": "array",
"items": {
"type": "string"
}
},
"refresh_limits": {
"type": "object",
"additionalProperties": true,
"properties": {
"max_results": {
"type": "integer",
"minimum": 0
},
"max_requests": {
"type": "integer",
"minimum": 0
},
"request_timeout_ms": {
"type": "integer"
},
"source_batch_deadline_ms": {
"type": [
"integer",
"null"
]
},
"request_bounds": {
"type": "object",
"additionalProperties": true
},
"sample_preview_limit": {
"type": "integer"
},
"provider_quota": {
"type": "string"
}
}
},
"shared_request_cache": {
"type": [
"object",
"null"
],
"additionalProperties": true,
"properties": {
"mode": {
"type": "string"
},
"hit": {
"type": "boolean"
},
"age_ms": {
"type": [
"number",
"null"
]
},
"ttl_ms": {
"type": [
"number",
"null"
]
},
"coalesced": {
"type": "boolean"
}
}
}
}
},
"RiskAssessment": {
"type": "object",
"description": "Aggregate deterministic SmartSurf/Senlay risk state. A null score and unknown level mean required evidence cannot support a risk score; they must never be interpreted as low risk. Decision support only; not drowning detection or certified rescue dispatch.",
"properties": {
"outcome": {
"$ref": "#/$defs/Outcome"
},
"unknowns": {
"type": "array",
"items": {
"$ref": "#/$defs/Unknown"
}
},
"confidence_components": {
"$ref": "#/$defs/ConfidenceComponents"
},
"conflicts": {
"type": "array",
"items": {
"$ref": "#/$defs/Conflict"
}
},
"assessment_state": {
"$ref": "#/$defs/AssessmentState"
},
"evidence_coverage": {
"$ref": "#/$defs/EvidenceCoverage"
},
"session_phase": {
"type": "string",
"enum": [
"pre_session",
"in_session",
"post_session"
]
},
"risk_score": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 100
},
"risk_level": {
"type": "string",
"enum": [
"unknown",
"low",
"medium",
"high",
"critical"
]
},
"alert_band": {
"type": "object",
"additionalProperties": true,
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"default_text": {
"type": "string"
},
"escalation": {
"type": "string"
}
}
},
"confidence": {
"type": "string"
},
"risk_modifiers": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"recommended_action": {
"type": "string"
},
"escalation_stage": {
"type": "string"
},
"incident_state": {
"type": "string"
},
"source_provenance": {
"type": "object",
"additionalProperties": true
},
"score_model": {
"type": "object",
"additionalProperties": true
},
"safety_disclaimer": {
"type": "string"
}
}
},
"RiskEvent": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"contract": {
"$ref": "#/$defs/ContractRef"
},
"schema_version": {
"type": "string"
},
"type": {
"type": "string"
},
"category": {
"type": "string"
},
"severity": {
"type": "string",
"enum": [
"info",
"watch",
"moderate",
"high",
"critical"
]
},
"score": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"confidence": {
"type": "string"
},
"status": {
"type": "string"
},
"subject": {
"type": "object",
"additionalProperties": true
},
"location": {
"type": "object",
"additionalProperties": true
},
"observed_at": {
"type": "string",
"format": "date-time"
},
"valid_until": {
"type": "string",
"format": "date-time"
},
"title": {
"type": "string"
},
"summary": {
"type": "string"
},
"trigger": {
"type": "object",
"additionalProperties": true
},
"evidence_refs": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"recommended_action": {
"type": "string"
},
"escalation": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": true
},
"RiskEventSummary": {
"type": "object",
"properties": {
"contract": {
"$ref": "#/$defs/ContractRef"
},
"count": {
"type": "integer"
},
"max_severity": {
"type": "string"
},
"max_score": {
"type": "integer"
},
"alert_required": {
"type": "boolean"
},
"acknowledgement_required": {
"type": "boolean"
},
"notify": {
"type": "array",
"items": {
"type": "string"
}
},
"counts_by_severity": {
"type": "object",
"additionalProperties": true
},
"active_types": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"Unknown": {
"type": "object",
"description": "One specific variable that blocked the assessment when outcome is INSUFFICIENT_EVIDENCE.",
"properties": {
"variable": {
"type": "string",
"description": "The evidence-requirement group or comparison field that could not support a decision, e.g. \"wind_gust\"."
},
"reason": {
"type": "string",
"enum": [
"no_coverage",
"missing_entirely",
"conflicting_sources",
"stale"
]
},
"detail": {
"type": "string"
},
"resolution": {
"type": "string",
"description": "Plainly what would resolve the gap, e.g. \"A hardware observation within 15km of the requested coordinate.\""
}
}
},
"WeatherEvidenceMetadata": {
"type": "object",
"description": "Normalized weather sample provenance and time metadata; not a substitute for source values or authorization evidence.",
"additionalProperties": true,
"required": [
"kind",
"source_timestamp",
"freshness",
"age_seconds",
"valid_at",
"validity",
"fields",
"units",
"location"
],
"properties": {
"kind": {
"type": "string",
"enum": [
"measured",
"forecast"
]
},
"source_timestamp": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"freshness": {
"type": "string",
"enum": [
"fresh",
"stale",
"future_timestamp",
"unknown"
]
},
"age_seconds": {
"type": [
"number",
"null"
]
},
"valid_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"valid_at_relation": {
"type": [
"string",
"null"
],
"enum": [
"before_now",
"at_now",
"after_now",
"unknown"
],
"description": "Relationship of the point valid_at timestamp to response evaluation time; not a validity interval."
},
"validity": {
"type": [
"string",
"null"
],
"enum": [
"current",
"not_yet_valid",
"expired",
"unknown"
],
"description": "Provider validity interval state; unknown when only point valid_at is available."
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"units": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"location": {
"type": "object",
"required": [
"lat",
"lng",
"distance_km",
"relevance"
],
"additionalProperties": true,
"properties": {
"lat": {
"type": [
"number",
"null"
]
},
"lng": {
"type": [
"number",
"null"
]
},
"distance_km": {
"type": [
"number",
"null"
]
},
"relevance": {
"type": "string"
}
}
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/senlay-cloud-risk-events-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.