Derive · Schema

ShareResult

Artificial IntelligenceOpen SourceCollaborationPlatformCommunity
View JSON Schema on GitHub

JSON Schema

derive-to-share-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/derive-to/json-schema/derive-to-share-result-schema.json",
  "title": "ShareResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/derive-to-sharing-api-openapi.yml#/components/schemas/ShareResult",
  "anyOf": [
    {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "member"
          ],
          "description": "The person already had an account — shared directly."
        },
        "member": {
          "$ref": "#/$defs/ArtifactMember"
        }
      },
      "required": [
        "kind",
        "member"
      ]
    },
    {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "invite"
          ],
          "description": "No account with that email — a pending invite was created and emailed."
        },
        "invite": {
          "$ref": "#/$defs/ArtifactInvite"
        },
        "accept_url": {
          "type": "string",
          "description": "The link the invitee follows to accept."
        }
      },
      "required": [
        "kind",
        "invite",
        "accept_url"
      ]
    }
  ],
  "$defs": {
    "ArtifactInvite": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "email": {
          "type": "string",
          "description": "The invitee's email (share-capable callers only)."
        },
        "role": {
          "type": "string",
          "enum": [
            "viewer",
            "commenter",
            "editor",
            "owner"
          ],
          "description": "The role accepting will grant."
        },
        "created_at": {
          "type": "string"
        },
        "expires_at": {
          "type": "string",
          "description": "When the invite expires (7-day TTL)."
        }
      },
      "required": [
        "id",
        "email",
        "role",
        "created_at",
        "expires_at"
      ]
    },
    "ArtifactMember": {
      "type": "object",
      "properties": {
        "user_id": {
          "type": "string"
        },
        "handle": {
          "type": [
            "string",
            "null"
          ],
          "description": "Public @handle; null when the user has none."
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "Display name; null when unset."
        },
        "profession": {
          "type": [
            "string",
            "null"
          ],
          "description": "Joined only on workspace-member payloads; absent on artifact/collection lists."
        },
        "role": {
          "type": "string",
          "enum": [
            "viewer",
            "commenter",
            "editor",
            "owner"
          ],
          "description": "Permission tier, ascending: viewer < commenter < editor < owner."
        }
      },
      "required": [
        "user_id",
        "handle",
        "name",
        "role"
      ]
    }
  }
}

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/derive-to-share-result"
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.