samva-dev · Schema

ContactGroupMemberPage

CompanyEmailSoftware-as-a-ServiceDevelopers

Properties

Name Type Description
items array
nextCursor object
View JSON Schema on GitHub

JSON Schema

samva-dev-contact-group-member-page-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/samva-dev/json-schema/samva-dev-contact-group-member-page-schema.json",
  "title": "ContactGroupMemberPage",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/samva-dev-contact-groups-api-openapi.yml#/components/schemas/ContactGroupMemberPage",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "organizationId": {
            "$ref": "#/$defs/OrganizationId"
          },
          "groupId": {
            "$ref": "#/$defs/ContactGroupId"
          },
          "contactId": {
            "$ref": "#/$defs/ContactId"
          },
          "role": {
            "type": "string",
            "enum": [
              "member",
              "moderator",
              "admin"
            ]
          },
          "joinedAt": {
            "type": "string"
          },
          "joinedBy": {
            "anyOf": [
              {
                "$ref": "#/$defs/ContactId"
              },
              {
                "type": "null"
              }
            ]
          },
          "expiresAt": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "contact": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "$ref": "#/$defs/ContactId"
                  },
                  "name": {
                    "type": "string"
                  },
                  "displayName": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": {
                    "type": "string"
                  },
                  "identities": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "$ref": "#/$defs/ContactIdentity"
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "id",
                  "name",
                  "displayName",
                  "type"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "organizationId",
          "groupId",
          "contactId",
          "role",
          "joinedAt",
          "joinedBy",
          "expiresAt",
          "contact"
        ],
        "additionalProperties": false
      }
    },
    "nextCursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "items",
    "nextCursor"
  ],
  "additionalProperties": false,
  "$defs": {
    "ContactConsent": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "opted_in",
            "opted_out"
          ]
        },
        "source": {
          "type": "string"
        },
        "capturedAt": {
          "type": "string"
        },
        "proof": {
          "anyOf": [
            {
              "$ref": "#/$defs/JsonObject"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "status",
        "source",
        "capturedAt",
        "proof"
      ],
      "additionalProperties": false
    },
    "ContactGroupId": {
      "type": "string",
      "pattern": "^cgrp_[0-9a-hjkmnp-tv-z]{16,24}$",
      "x-samva-brand": "ContactGroupId"
    },
    "ContactId": {
      "type": "string",
      "pattern": "^contact_[0-9a-hjkmnp-tv-z]{16,24}$",
      "x-samva-brand": "ContactId"
    },
    "ContactIdentity": {
      "type": "object",
      "properties": {
        "id": {
          "$ref": "#/$defs/ContactIdentityId"
        },
        "type": {
          "type": "string",
          "enum": [
            "email",
            "phone"
          ]
        },
        "identifier": {
          "type": "string"
        },
        "verified": {
          "type": "boolean"
        },
        "channels": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ContactIdentityChannel"
          }
        }
      },
      "required": [
        "id",
        "type",
        "identifier",
        "verified",
        "channels"
      ],
      "additionalProperties": false
    },
    "ContactIdentityChannel": {
      "type": "object",
      "properties": {
        "channel": {
          "type": "string",
          "enum": [
            "email"
          ]
        },
        "reachability": {
          "type": "string",
          "enum": [
            "unknown",
            "reachable",
            "unreachable"
          ]
        },
        "consent": {
          "anyOf": [
            {
              "$ref": "#/$defs/ContactConsent"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "channel",
        "reachability",
        "consent"
      ],
      "additionalProperties": false
    },
    "ContactIdentityId": {
      "type": "string",
      "pattern": "^cident_[0-9a-hjkmnp-tv-z]{16,24}$",
      "x-samva-brand": "ContactIdentityId"
    },
    "JsonObject": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/JsonValue"
      }
    },
    "JsonValue": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/JsonValue"
          }
        },
        {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/JsonValue"
          }
        }
      ]
    },
    "OrganizationId": {
      "type": "string",
      "pattern": "^org_[0-9a-hjkmnp-tv-z]{16,24}$",
      "x-samva-brand": "OrganizationId"
    }
  }
}

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/samva-dev-contact-group-member-page"
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.