{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/api-data-gov/main/json-schema/api-data-gov-stats-result-schema.json",
  "title": "StatsResult",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/catalog.data.gov-openapi.json#/components/schemas/StatsResult",
  "additionalProperties": false,
  "properties": {
    "meta": {
      "$ref": "#/$defs/StatsMeta"
    },
    "metrics": {
      "$ref": "#/$defs/StatsMetrics"
    },
    "results": {
      "$ref": "#/$defs/StatsResults"
    }
  },
  "type": "object",
  "$defs": {
    "StatsMeta": {
      "additionalProperties": false,
      "properties": {
        "date": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "StatsMetrics": {
      "additionalProperties": false,
      "properties": {
        "datasetsBarMetric": {
          "type": "string"
        },
        "orgBarMetric": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "StatsResults": {
      "additionalProperties": false,
      "properties": {
        "datasets": {
          "type": "integer"
        },
        "datasetsWithIsPartOf": {
          "type": "integer"
        }
      },
      "type": "object"
    }
  }
}