api.gouv.fr · Schema

MembershipRequest

CompanyGovernmentOpen DataFrancePublic SectorAPI CatalogDigital Government

Properties

Name Type Description
assignments array Objects to assign on acceptance (for partial_editor invitations)
comment string A request comment from the user
created string The request creation date
email string Email for non-registered user invitations
id string
kind string The request kind (request or invitation)
role string The role to assign
status string The current request status
user object
View JSON Schema on GitHub

JSON Schema

api-gouv-fr-membership-request-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-membership-request-schema.json",
  "title": "MembershipRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/api-gouv-fr-organizations-api-openapi.yml#/components/schemas/MembershipRequest",
  "properties": {
    "assignments": {
      "description": "Objects to assign on acceptance (for partial_editor invitations)",
      "items": {
        "$ref": "#/$defs/GenericReference"
      },
      "type": "array"
    },
    "comment": {
      "description": "A request comment from the user",
      "type": "string"
    },
    "created": {
      "description": "The request creation date",
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    },
    "email": {
      "description": "Email for non-registered user invitations",
      "type": "string"
    },
    "id": {
      "readOnly": true,
      "type": "string"
    },
    "kind": {
      "default": "request",
      "description": "The request kind (request or invitation)",
      "enum": [
        "request",
        "invitation"
      ],
      "type": "string"
    },
    "role": {
      "default": "editor",
      "description": "The role to assign",
      "enum": [
        "admin",
        "editor",
        "partial_editor"
      ],
      "type": "string"
    },
    "status": {
      "description": "The current request status",
      "enum": [
        "pending",
        "accepted",
        "refused",
        "canceled"
      ],
      "type": "string"
    },
    "user": {
      "$ref": "#/$defs/UserReferenceWithEmail"
    }
  },
  "required": [
    "status"
  ],
  "type": "object",
  "$defs": {
    "BaseReference": {
      "properties": {
        "class": {
          "description": "The object class",
          "type": "string"
        },
        "id": {
          "description": "The object unique identifier",
          "type": "string"
        }
      },
      "required": [
        "class",
        "id"
      ],
      "type": "object"
    },
    "GenericReference": {
      "properties": {
        "class": {
          "type": "string"
        },
        "id": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "UserReference": {
      "allOf": [
        {
          "$ref": "#/$defs/BaseReference"
        },
        {
          "properties": {
            "avatar": {
              "description": "URL of the image",
              "readOnly": true,
              "type": "string"
            },
            "avatar_thumbnail": {
              "description": "URL of the cropped and squared image (500x500)",
              "readOnly": true,
              "type": "string"
            },
            "deleted": {
              "description": "The date the account was deleted, null for a live account",
              "format": "date-time",
              "readOnly": true,
              "type": "string"
            },
            "first_name": {
              "maxLength": 255,
              "type": "string"
            },
            "last_name": {
              "maxLength": 255,
              "type": "string"
            },
            "page": {
              "description": "Link to the udata web page for this user",
              "readOnly": true,
              "type": "string"
            },
            "slug": {
              "maxLength": 255,
              "readOnly": true,
              "type": "string"
            },
            "uri": {
              "description": "Link to the API endpoint for this user",
              "readOnly": true,
              "type": "string"
            }
          },
          "required": [
            "first_name",
            "last_name",
            "slug"
          ],
          "type": "object"
        }
      ]
    },
    "UserReferenceWithEmail": {
      "allOf": [
        {
          "$ref": "#/$defs/UserReference"
        },
        {
          "properties": {
            "email": {
              "description": "The user email, obfuscated unless the caller may see it",
              "readOnly": true,
              "type": "string"
            },
            "last_login_at": {
              "format": "date-time",
              "readOnly": true,
              "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-membership-request"
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.