Almanac · Schema

DatasetDetailResponse

Company

Properties

Name Type Description
dataset_id string
name string
description stringnull
source object
frequency stringnull
granularity stringnull
historical_depth stringnull
tags arraynull
access string
country stringnull
source_native_language stringnull
update_pattern stringnull
freshness_sla object
content_advisory stringnull
compliance_notes object
snapshot_date stringnull Fecha (YYYY-MM-DD) del snapshot vigente (`is_latest=true`), o null si el dataset todavía no tiene snapshot publicado. Si es una VIEW derivada, hereda la fecha del dataset padre.
row_count integernull Cantidad de filas del snapshot vigente, o null si no hay snapshot todavía.
ai_metadata object
updated_at string
View JSON Schema on GitHub

JSON Schema

almanac-ar-dataset-detail-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/almanac-ar/json-schema/almanac-ar-dataset-detail-response-schema.json",
  "title": "DatasetDetailResponse",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/almanac-ar-v1-openapi.json#/components/schemas/DatasetDetailResponse",
  "type": "object",
  "properties": {
    "dataset_id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "source": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "name"
      ],
      "additionalProperties": false
    },
    "frequency": {
      "type": [
        "string",
        "null"
      ]
    },
    "granularity": {
      "type": [
        "string",
        "null"
      ]
    },
    "historical_depth": {
      "type": [
        "string",
        "null"
      ]
    },
    "tags": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "access": {
      "type": "string",
      "enum": [
        "included_in_pro"
      ]
    },
    "country": {
      "type": [
        "string",
        "null"
      ]
    },
    "source_native_language": {
      "type": [
        "string",
        "null"
      ]
    },
    "update_pattern": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "incremental_append",
        "full_refresh",
        "scd2_snapshots",
        null
      ]
    },
    "freshness_sla": {
      "$ref": "#/$defs/DatasetFreshnessSla"
    },
    "content_advisory": {
      "type": [
        "string",
        "null"
      ]
    },
    "compliance_notes": {
      "$ref": "#/$defs/DatasetComplianceNotes"
    },
    "snapshot_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "Fecha (YYYY-MM-DD) del snapshot vigente (`is_latest=true`), o null si el dataset todavía no tiene snapshot publicado. Si es una VIEW derivada, hereda la fecha del dataset padre."
    },
    "row_count": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0,
      "description": "Cantidad de filas del snapshot vigente, o null si no hay snapshot todavía."
    },
    "ai_metadata": {
      "$ref": "#/$defs/DatasetAiMetadata"
    },
    "updated_at": {
      "type": "string"
    }
  },
  "required": [
    "dataset_id",
    "name",
    "description",
    "source",
    "frequency",
    "granularity",
    "historical_depth",
    "tags",
    "access",
    "country",
    "source_native_language",
    "update_pattern",
    "freshness_sla",
    "content_advisory",
    "compliance_notes",
    "snapshot_date",
    "row_count",
    "ai_metadata",
    "updated_at"
  ],
  "additionalProperties": false,
  "$defs": {
    "DatasetAiMetadata": {
      "type": "object",
      "properties": {
        "llm_intro": {
          "type": [
            "string",
            "null"
          ]
        },
        "business_questions": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "example_queries": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/DatasetExampleQuery"
          }
        },
        "methodology_notes": {
          "type": [
            "string",
            "null"
          ]
        },
        "gotchas": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/DatasetGotcha"
          }
        },
        "related_datasets": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/DatasetRelated"
          }
        },
        "columns": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/DatasetColumn"
          }
        },
        "summary_columns": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "explorable_columns": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "last_updated": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "llm_intro",
        "business_questions",
        "example_queries",
        "methodology_notes",
        "gotchas",
        "related_datasets",
        "columns",
        "summary_columns",
        "explorable_columns",
        "last_updated"
      ],
      "additionalProperties": false
    },
    "DatasetColumn": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "unit": {
          "type": [
            "string",
            "null"
          ]
        },
        "sample_value": {
          "nullable": true
        },
        "nullable": {
          "type": "boolean"
        }
      },
      "required": [
        "name",
        "type",
        "description"
      ],
      "additionalProperties": false
    },
    "DatasetComplianceNotes": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "license": {
          "type": "string"
        },
        "attribution_required": {
          "type": [
            "string",
            "null"
          ]
        },
        "commercial_use": {
          "type": "string",
          "enum": [
            "ok",
            "restricted",
            "prohibited"
          ]
        },
        "notes": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "license",
        "commercial_use"
      ],
      "additionalProperties": false
    },
    "DatasetExampleQuery": {
      "type": "object",
      "properties": {
        "question": {
          "type": "string"
        },
        "approach": {
          "type": "string"
        },
        "polars": {
          "type": [
            "string",
            "null"
          ]
        },
        "sql": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "question",
        "approach"
      ],
      "additionalProperties": false
    },
    "DatasetFreshnessSla": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "declared_frequency": {
          "type": "string",
          "enum": [
            "daily",
            "weekly",
            "monthly",
            "quarterly",
            "annual",
            "irregular",
            "intraday"
          ]
        },
        "max_acceptable_lag_hours": {
          "type": "number"
        }
      },
      "required": [
        "declared_frequency",
        "max_acceptable_lag_hours"
      ],
      "additionalProperties": false
    },
    "DatasetGotcha": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string"
        },
        "detail": {
          "type": "string"
        }
      },
      "required": [
        "title",
        "detail"
      ],
      "additionalProperties": false
    },
    "DatasetRelated": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "relation": {
          "type": "string"
        },
        "derived": {
          "type": "boolean",
          "description": "true si ESTE dataset es una VIEW derivada del relacionado (hereda su snapshot)."
        }
      },
      "required": [
        "id",
        "relation"
      ],
      "additionalProperties": false
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/almanac-ar-dataset-detail-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.