api.gouv.fr · Schema

Resource

CompanyGovernmentOpen DataFrancePublic SectorAPI CatalogDigital Government

Properties

Name Type Description
checksum object A checksum to validate file validity
created_at string The resource creation date
description string The resource markdown description
extras object Extra attributes as key-value pairs
filesize integer The resource file size in bytes
filetype string Whether the resource is an uploaded file, a remote file or an API
format string The resource format
geopf object Géoplateforme sync status metadata
harvest object Harvest attributes metadata information
id string The resource unique ID
internal object Site internal and specific object's data
last_modified string The resource last modification date
latest string The permanent URL redirecting to the latest version of the resource. When the resource data is updated, the URL will change, the latest URL won't.
metrics object The resource metrics
mime string The resource mime type
preview_url string An optional preview URL to be loaded as a standalone page (ie. iframe or new page)
schema object Reference to the associated schema
title string The resource title
type string Resource type (documentation, API...)
url string The resource URL
View JSON Schema on GitHub

JSON Schema

api-gouv-fr-resource-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/api-gouv-fr/json-schema/api-gouv-fr-resource-schema.json",
  "title": "Resource",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/api-gouv-fr-datasets-api-openapi.yml#/components/schemas/Resource",
  "properties": {
    "checksum": {
      "allOf": [
        {
          "$ref": "#/$defs/Checksum"
        }
      ],
      "description": "A checksum to validate file validity"
    },
    "created_at": {
      "description": "The resource creation date",
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    },
    "description": {
      "description": "The resource markdown description",
      "format": "markdown",
      "type": "string"
    },
    "extras": {
      "description": "Extra attributes as key-value pairs",
      "type": "object"
    },
    "filesize": {
      "description": "The resource file size in bytes",
      "type": "integer"
    },
    "filetype": {
      "description": "Whether the resource is an uploaded file, a remote file or an API",
      "enum": [
        "file",
        "remote"
      ],
      "type": "string"
    },
    "format": {
      "description": "The resource format",
      "type": "string"
    },
    "geopf": {
      "allOf": [
        {
          "$ref": "#/$defs/GeopfResourceMetadata"
        }
      ],
      "description": "Géoplateforme sync status metadata",
      "readOnly": true
    },
    "harvest": {
      "allOf": [
        {
          "$ref": "#/$defs/HarvestResourceMetadata"
        }
      ],
      "description": "Harvest attributes metadata information",
      "readOnly": true
    },
    "id": {
      "description": "The resource unique ID",
      "readOnly": true,
      "type": "string"
    },
    "internal": {
      "allOf": [
        {
          "$ref": "#/$defs/ResourceInternals"
        }
      ],
      "description": "Site internal and specific object's data",
      "readOnly": true
    },
    "last_modified": {
      "description": "The resource last modification date",
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    },
    "latest": {
      "description": "The permanent URL redirecting to the latest version of the resource. When the resource data is updated, the URL will change, the latest URL won't.",
      "readOnly": true,
      "type": "string"
    },
    "metrics": {
      "description": "The resource metrics",
      "readOnly": true,
      "type": "object"
    },
    "mime": {
      "description": "The resource mime type",
      "type": "string"
    },
    "preview_url": {
      "description": "An optional preview URL to be loaded as a standalone page (ie. iframe or new page)",
      "readOnly": true,
      "type": "string"
    },
    "schema": {
      "allOf": [
        {
          "$ref": "#/$defs/Schema"
        }
      ],
      "description": "Reference to the associated schema"
    },
    "title": {
      "description": "The resource title",
      "type": "string"
    },
    "type": {
      "description": "Resource type (documentation, API...)",
      "enum": [
        "main",
        "documentation",
        "update",
        "api",
        "code",
        "other"
      ],
      "type": "string"
    },
    "url": {
      "description": "The resource URL",
      "type": "string"
    }
  },
  "required": [
    "filetype",
    "format",
    "title",
    "type",
    "url"
  ],
  "type": "object",
  "$defs": {
    "Checksum": {
      "properties": {
        "type": {
          "default": "sha1",
          "description": "The hashing algorithm used to compute the checksum",
          "enum": [
            "sha1",
            "sha2",
            "sha256",
            "md5",
            "crc"
          ],
          "type": "string"
        },
        "value": {
          "description": "The resulting checksum/hash",
          "type": "string"
        }
      },
      "required": [
        "value"
      ],
      "type": "object"
    },
    "GeopfResourceMetadata": {
      "properties": {
        "offering_id": {
          "description": "Géoplateforme offering id, if this resource was created from a geopf offering pull",
          "readOnly": true,
          "type": "string"
        },
        "push_status": {
          "description": "Push status to Géoplateforme, if this resource has ever been pushed",
          "enum": [
            "pending",
            "done",
            "error",
            "timeout"
          ],
          "readOnly": true,
          "type": "string"
        }
      },
      "type": "object"
    },
    "HarvestResourceMetadata": {
      "properties": {
        "issued_at": {
          "description": "The resource harvested release date",
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        },
        "last_update": {
          "description": "The resource last harvest date",
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        },
        "modified_at": {
          "description": "The resource harvest last modification date",
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        },
        "uri": {
          "description": "The resource harvest uri",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ResourceInternals": {
      "properties": {
        "created_at_internal": {
          "description": "The resource's internal creation date on the site",
          "format": "date-time",
          "type": "string"
        },
        "last_modified_internal": {
          "description": "The resource's internal last modification date",
          "format": "date-time",
          "type": "string"
        }
      },
      "required": [
        "created_at_internal",
        "last_modified_internal"
      ],
      "type": "object"
    },
    "Schema": {
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}

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/api-gouv-fr-resource"
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.