Publish with AI · Schema
ShareRequest
CompanyArtificial IntelligencePublishingEnterpriseSoftware-as-a-ServiceCollaboration
Properties
| Name | Type | Description |
|---|---|---|
| principal | object | |
| access | string | Access level to grant. Owners/editors (edit/own) must be tenant users: an external_email is capped at view and edit/own are rejected. |
| delivery | string | auto resolves by lane (internal→canonical, external→link); canonical forces the in-app URL; link forces a tokenized share link. |
| ttl_days | integer | Expiry in days for an external (link) grant. Default 90. Ignored for internal grants. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/publishwith-ai/json-schema/publishwith-ai-share-request-schema.json",
"title": "ShareRequest",
"x-generated": "2026-11-22",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/publishwith-ai-openapi.yml#/components/schemas/ShareRequest",
"type": "object",
"required": [
"principal"
],
"properties": {
"principal": {
"$ref": "#/$defs/Principal"
},
"access": {
"type": "string",
"enum": [
"view",
"edit",
"own"
],
"default": "view",
"description": "Access level to grant. Owners/editors (edit/own) must be tenant users: an external_email is capped at view and edit/own are rejected."
},
"delivery": {
"type": "string",
"enum": [
"auto",
"canonical",
"link"
],
"default": "auto",
"description": "auto resolves by lane (internal→canonical, external→link); canonical forces the in-app URL; link forces a tokenized share link."
},
"ttl_days": {
"type": "integer",
"description": "Expiry in days for an external (link) grant. Default 90. Ignored for internal grants."
}
},
"$defs": {
"Principal": {
"type": "object",
"required": [
"type",
"value"
],
"properties": {
"type": {
"type": "string",
"enum": [
"tenant_user",
"tenant_group",
"external_email",
"audience",
"auto"
],
"description": "Principal kind. tenant_user/tenant_group are internal (canonical URL); external_email gets a tokenized share link; audience fans out external links to a saved contact group. auto lets the server pick the lane: an email inside the workspace resolves to tenant_user, outside it to external_email, and a person name is resolved against the directory. auto never resolves to a group."
},
"value": {
"type": "string",
"description": "Identifier: an email (tenant_user/external_email/auto), a group name (tenant_group), an audience group id (audience), or a person name (auto)."
}
}
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/publishwith-ai-share-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.