changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": {},
+ "description": "Semantic discovery result with ranked concepts, official datasets, and coverage state.",
+ "properties": {
+ "availability": {
+ "additionalProperties": {},
+ "description": "Coverage assessment.",
+ "properties": {
+ "complete": {
+ "description": "Whether the requested need is completely covered.",
+ "type": "boolean"
+ },
+ "explanation": {
+ "description": "Coverage explanation.",
+ "type": "string"
+ },
+ "missingSources": {
+ "description": "Required source integrations that are not present.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "status": {
+ "description": "Availability state in the current Open Economics coverage.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "complete",
+ "explanation",
+ "missingSources"
+ ],
+ "type": "object"
+ },
+ "concepts": {
+ "description": "Ranked economic concepts matched to the request.",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "id": {
+ "description": "Stable Open Economics concept ID.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "datasets": {
+ "description": "Ranked official datasets and their source identity.",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "id": {
+ "description": "Stable official dataset ID.",
+ "type": "string"
+ },
+ "metadataUrl": {
+ "description": "Official metadata URL.",
+ "type": "string"
+ },
+ "provider": {
+ "description": "Open Economics provider identifier.",
+ "type": "string"
+ },
+ "sourceAgency": {
+ "description": "Official publishing agency.",
+ "type": "string"
+ },
+ "sourceUrl": {
+ "description": "Official source URL.",
+ "type": "string"
+ },
+ "title": {
+ "description": "Official dataset title.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "provider",
+ "sourceAgency",
+ "title",
+ "sourceUrl",
+ "metadataUrl"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "normalizedQuery": {
+ "description": "Normalized form used for semantic resolution.",
+ "type": "string"
+ },
+ "query": {
+ "description": "The original natural-language economic need.",
+ "type": "string"
+ },
+ "resolution": {
+ "additionalProperties": {},
+ "description": "Concept-resolution result.",
+ "properties": {
+ "confidence": {
+ "description": "Resolution confidence from 0 to 1.",
+ "type": "number"
+ },
+ "explanation": {
+ "description": "Why the concept was or was not resolved.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Resolution state for the requested concept.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "explanation"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "query",
+ "normalizedQuery",
+ "resolution",
+ "concepts",
+ "datasets",
+ "availability"
+ ],
+ "type": "object"
+}