publiq · Schema

AssociationMembership

CompanyCultureEventLeisureBelgiumNon-ProfitOpen DataLoyalty Programs

Properties

Name Type Description
association object
status string Status of the membership. This field is always available in responses.
endDate string End date of the membership. This field is available in responses if status is `ACTIVE` or `EXPIRED`. This field is required in requests for association with a `CUSTOM` endDateType.
renewable boolean True if this membership can currently be renewed. This fields is always available in responses.
newEndDate string New end date of the membership in case it is renewed or created. This field can be used to pre-fill the endDate field in a front-end UI. It is only available when: `endDateCalculation` of the associat
View JSON Schema on GitHub

JSON Schema

publiq-association-membership-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/publiq/json-schema/publiq-association-membership-schema.json",
  "title": "AssociationMembership",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/publiq-associations-api-openapi.yml#/components/schemas/AssociationMembership",
  "x-stoplight": {
    "id": "mb1bs9upl614a"
  },
  "type": "object",
  "properties": {
    "association": {
      "$ref": "#/$defs/Association"
    },
    "status": {
      "type": "string",
      "x-stoplight": {
        "id": "kdp35yno8ebht"
      },
      "enum": [
        "ACTIVE",
        "EXPIRED",
        "NONE"
      ],
      "description": "Status of the membership. This field is always available in responses.",
      "readOnly": true
    },
    "endDate": {
      "type": "string",
      "x-stoplight": {
        "id": "eradjp82wpqv0"
      },
      "format": "date",
      "description": "End date of the membership. This field is available in responses if status is `ACTIVE` or `EXPIRED`. This field is required in requests for association with a `CUSTOM` endDateType."
    },
    "renewable": {
      "type": "boolean",
      "x-stoplight": {
        "id": "ahns1w7wy66mj"
      },
      "description": "True if this membership can currently be renewed. This fields is always available in responses.",
      "readOnly": true
    },
    "newEndDate": {
      "type": "string",
      "x-stoplight": {
        "id": "lxwcvxz2cbqrz"
      },
      "format": "date",
      "description": "New end date of the membership in case it is renewed or created. This field can be used to pre-fill the endDate field in a front-end UI. It is only available when: `endDateCalculation` of the association is `CUSTOM`, and the status is `NONE` (new membership) or `renewable` is true (renew membership).",
      "readOnly": true
    }
  },
  "required": [
    "association"
  ],
  "$defs": {
    "Association": {
      "title": "Association",
      "x-stoplight": {
        "id": "0cqmy2cuzwux0"
      },
      "type": "object",
      "description": "Association",
      "properties": {
        "id": {
          "type": "string",
          "description": "ID of the association"
        },
        "name": {
          "type": "string",
          "x-stoplight": {
            "id": "bl1hgz5y2wooc"
          },
          "description": "Name of the association. This field is always available in responses",
          "readOnly": true
        },
        "endDateType": {
          "type": "string",
          "x-stoplight": {
            "id": "siqftnrb8ax7e"
          },
          "description": "Indicates how end dates are set for memberships of this association. This field is always available in responses.",
          "enum": [
            "CUSTOM",
            "BASED_ON_DATE_OF_BIRTH",
            "BASED_ON_REGISTRATION_DATE"
          ],
          "readOnly": true
        }
      },
      "required": [
        "id"
      ]
    }
  }
}

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/publiq-association-membership"
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.