From 2c8da6fe1ed85cf3f41ba763a97eacf7058df094 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 28 Sep 2026 11:17:12 +0000 Subject: [PATCH] Document plan and entitlements on the workspace object Adds the plan and entitlements fields returned by the team presenter (outline/outline#13896) to the Team schema, along with the Plan and PlanFeature enums. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01HM4jCsoieq7u153jPBjx7e --- spec3.json | 44 ++++++++++++++++++++++++++++++++++++++++++++ spec3.yml | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) diff --git a/spec3.json b/spec3.json index f7bb48a..c2ab087 100644 --- a/spec3.json +++ b/spec3.json @@ -13615,6 +13615,23 @@ "type": "string", "nullable": true, "description": "Guidance text provided to MCP integrations." + }, + "plan": { + "allOf": [ + { + "$ref": "#/components/schemas/Plan" + } + ], + "description": "The plan that this workspace is currently on.", + "readOnly": true + }, + "entitlements": { + "type": "array", + "description": "The set of plan-based features that this workspace is entitled to use, derived from its current plan.", + "readOnly": true, + "items": { + "$ref": "#/components/schemas/PlanFeature" + } } } }, @@ -13724,6 +13741,33 @@ "guest" ] }, + "Plan": { + "type": "string", + "description": "The subscription plan that a workspace is on.", + "enum": [ + "community", + "standard", + "business", + "enterprise", + "legacy" + ] + }, + "PlanFeature": { + "type": "string", + "description": "A feature that may be entitled to a workspace based on its plan.", + "enum": [ + "auditLog", + "advancedSecurity", + "guests", + "groupSync", + "premiumIntegrations", + "apiKeyManagement", + "contentManagement", + "aiAnswers", + "customDomain", + "saml" + ] + }, "CollectionStatus": { "type": "string", "enum": [ diff --git a/spec3.yml b/spec3.yml index d3e39b8..5607153 100644 --- a/spec3.yml +++ b/spec3.yml @@ -9660,6 +9660,19 @@ components: type: string nullable: true description: Guidance text provided to MCP integrations. + plan: + allOf: + - "$ref": "#/components/schemas/Plan" + description: The plan that this workspace is currently on. + readOnly: true + entitlements: + type: array + description: + The set of plan-based features that this workspace is entitled + to use, derived from its current plan. + readOnly: true + items: + "$ref": "#/components/schemas/PlanFeature" User: type: object properties: @@ -9750,6 +9763,29 @@ components: - member - viewer - guest + Plan: + type: string + description: The subscription plan that a workspace is on. + enum: + - community + - standard + - business + - enterprise + - legacy + PlanFeature: + type: string + description: A feature that may be entitled to a workspace based on its plan. + enum: + - auditLog + - advancedSecurity + - guests + - groupSync + - premiumIntegrations + - apiKeyManagement + - contentManagement + - aiAnswers + - customDomain + - saml CollectionStatus: type: string enum: