{
	"components": {
		"schemas": {
			"APITokenResponse": {
				"additionalProperties": false,
				"properties": {
					"created_at": {
						"description": "Creation time",
						"type": "string"
					},
					"expires_at": {
						"description": "Token expiry time",
						"type": "string"
					},
					"id": {
						"description": "API token ID",
						"type": "string"
					},
					"identity_provider_id": {
						"description": "Identity provider assurance bound to this token",
						"type": "string"
					},
					"last_used_at": {
						"description": "Last successful authentication time",
						"type": "string"
					},
					"name": {
						"description": "User-visible token name",
						"type": "string"
					},
					"organization_id": {
						"description": "Organization this token is bound to by SSO policy",
						"type": "string"
					},
					"revoked_at": {
						"description": "Revocation time",
						"type": "string"
					},
					"scope": {
						"description": "Token scope",
						"type": "string"
					},
					"status": {
						"description": "Current token status",
						"enum": ["active", "expired", "revoked"],
						"type": "string"
					},
					"token_prefix": {
						"description": "First 8 hex characters of the token secret hash",
						"type": "string"
					},
					"workspace_id": {
						"description": "Optional workspace ID this token is limited to",
						"type": "string"
					}
				},
				"required": ["id", "name", "token_prefix", "scope", "created_at", "status"],
				"type": "object"
			},
			"AcceptAccountPolicyInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/AcceptAccountPolicyInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"accepted_legal": {
						"description": "Whether the user accepts the current Terms and acknowledges the Privacy Policy",
						"type": "boolean"
					}
				},
				"required": ["accepted_legal"],
				"type": "object"
			},
			"AcceptWorkspaceInvitationInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/AcceptWorkspaceInvitationInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"token": {
						"description": "Raw invitation token",
						"minLength": 16,
						"type": "string"
					}
				},
				"required": ["token"],
				"type": "object"
			},
			"AcceptWorkspaceInvitationOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/AcceptWorkspaceInvitationOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"accepted": {
						"type": "boolean"
					},
					"role": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["workspace_id", "role", "accepted"],
				"type": "object"
			},
			"AccountConnectionResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/AccountConnectionResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"account_id": {
						"description": "OpenPost destination account ID",
						"type": "string"
					},
					"open_fresh_composer": {
						"description": "Whether this is the Workspace's first connected destination",
						"type": "boolean"
					},
					"workspace_id": {
						"description": "Workspace receiving the connected destination",
						"type": "string"
					}
				},
				"required": ["workspace_id", "account_id", "open_fresh_composer"],
				"type": "object"
			},
			"AccountDeletionImpact": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/AccountDeletionImpact.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"blockers": {
						"items": {
							"$ref": "#/components/schemas/DeletionBlocker"
						},
						"type": ["array", "null"]
					},
					"instance_admin_transfer": {
						"$ref": "#/components/schemas/DeletionInstanceAdminTransfer"
					},
					"media": {
						"format": "int64",
						"type": "integer"
					},
					"organizations": {
						"format": "int64",
						"type": "integer"
					},
					"ownership_transfers": {
						"items": {
							"$ref": "#/components/schemas/DeletionOwnershipTransfer"
						},
						"type": ["array", "null"]
					},
					"posts": {
						"format": "int64",
						"type": "integer"
					},
					"publications": {
						"format": "int64",
						"type": "integer"
					},
					"social_accounts": {
						"format": "int64",
						"type": "integer"
					},
					"workspaces": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": [
					"organizations",
					"workspaces",
					"social_accounts",
					"publications",
					"posts",
					"media",
					"blockers",
					"ownership_transfers"
				],
				"type": "object"
			},
			"AccountExport": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/AccountExport.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"api_tokens": {
						"items": {
							"$ref": "#/components/schemas/AccountExportToken"
						},
						"type": ["array", "null"]
					},
					"format_version": {
						"type": "string"
					},
					"generated_at": {
						"format": "date-time",
						"type": "string"
					},
					"media": {
						"items": {
							"$ref": "#/components/schemas/AccountExportMedia"
						},
						"type": ["array", "null"]
					},
					"organizations": {
						"items": {
							"$ref": "#/components/schemas/AccountExportOrganization"
						},
						"type": ["array", "null"]
					},
					"posts": {
						"items": {
							"$ref": "#/components/schemas/AccountExportPost"
						},
						"type": ["array", "null"]
					},
					"publication_authorizations": {
						"items": {
							"$ref": "#/components/schemas/AccountExportPublicationAuthorization"
						},
						"type": ["array", "null"]
					},
					"publications": {
						"items": {
							"$ref": "#/components/schemas/AccountExportPublication"
						},
						"type": ["array", "null"]
					},
					"shared_workspace_content_excluded": {
						"type": "boolean"
					},
					"social_accounts": {
						"items": {
							"$ref": "#/components/schemas/AccountExportSocialAccount"
						},
						"type": ["array", "null"]
					},
					"user": {
						"$ref": "#/components/schemas/AccountExportUser"
					},
					"workspaces": {
						"items": {
							"$ref": "#/components/schemas/AccountExportWorkspace"
						},
						"type": ["array", "null"]
					}
				},
				"required": [
					"format_version",
					"generated_at",
					"user",
					"organizations",
					"workspaces",
					"social_accounts",
					"publications",
					"posts",
					"media",
					"api_tokens",
					"publication_authorizations",
					"shared_workspace_content_excluded"
				],
				"type": "object"
			},
			"AccountExportMedia": {
				"additionalProperties": false,
				"properties": {
					"alt_text": {
						"type": "string"
					},
					"created_at": {
						"format": "date-time",
						"type": "string"
					},
					"duration_ms": {
						"format": "int64",
						"type": "integer"
					},
					"height": {
						"format": "int64",
						"type": "integer"
					},
					"id": {
						"type": "string"
					},
					"mime_type": {
						"type": "string"
					},
					"original_filename": {
						"type": "string"
					},
					"size": {
						"format": "int64",
						"type": "integer"
					},
					"width": {
						"format": "int64",
						"type": "integer"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"workspace_id",
					"mime_type",
					"size",
					"original_filename",
					"width",
					"height",
					"duration_ms",
					"alt_text",
					"created_at"
				],
				"type": "object"
			},
			"AccountExportOrganization": {
				"additionalProperties": false,
				"properties": {
					"created_at": {
						"format": "date-time",
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"role": {
						"type": "string"
					}
				},
				"required": ["id", "name", "role", "created_at"],
				"type": "object"
			},
			"AccountExportPost": {
				"additionalProperties": false,
				"properties": {
					"content": {
						"type": "string"
					},
					"created_at": {
						"format": "date-time",
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"publication_id": {
						"type": "string"
					},
					"published_at": {
						"format": "date-time",
						"type": "string"
					},
					"scheduled_at": {
						"format": "date-time",
						"type": "string"
					},
					"status": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["id", "workspace_id", "content", "status", "created_at"],
				"type": "object"
			},
			"AccountExportPublication": {
				"additionalProperties": false,
				"properties": {
					"content_profile": {
						"type": "string"
					},
					"created_at": {
						"format": "date-time",
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"scheduled_at": {
						"format": "date-time",
						"type": "string"
					},
					"source_text": {
						"type": "string"
					},
					"source_url": {
						"type": "string"
					},
					"status": {
						"type": "string"
					},
					"title": {
						"type": "string"
					},
					"updated_at": {
						"format": "date-time",
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"workspace_id",
					"title",
					"content_profile",
					"source_text",
					"status",
					"created_at",
					"updated_at"
				],
				"type": "object"
			},
			"AccountExportPublicationAuthorization": {
				"additionalProperties": false,
				"properties": {
					"action": {
						"type": "string"
					},
					"actor_client_id": {
						"type": "string"
					},
					"actor_client_name": {
						"type": "string"
					},
					"actor_origin": {
						"type": "string"
					},
					"batch_id": {
						"type": "string"
					},
					"confirmed_at": {
						"format": "date-time",
						"type": "string"
					},
					"fingerprints_recorded": {
						"type": "boolean"
					},
					"id": {
						"type": "string"
					},
					"policy_mode": {
						"type": "string"
					},
					"publication_id": {
						"type": "string"
					},
					"publication_revision": {
						"format": "int64",
						"type": "integer"
					},
					"rendition_id": {
						"type": "string"
					},
					"scheduled_at": {
						"format": "date-time",
						"type": "string"
					},
					"session_identity_stored": {
						"type": "boolean"
					},
					"social_account_id": {
						"type": "string"
					},
					"target_key": {
						"type": "string"
					},
					"token_identity_stored": {
						"type": "boolean"
					}
				},
				"required": [
					"id",
					"batch_id",
					"publication_id",
					"rendition_id",
					"action",
					"actor_origin",
					"session_identity_stored",
					"token_identity_stored",
					"publication_revision",
					"social_account_id",
					"target_key",
					"scheduled_at",
					"policy_mode",
					"confirmed_at",
					"fingerprints_recorded"
				],
				"type": "object"
			},
			"AccountExportSocialAccount": {
				"additionalProperties": false,
				"properties": {
					"account_id": {
						"type": "string"
					},
					"account_username": {
						"type": "string"
					},
					"created_at": {
						"format": "date-time",
						"type": "string"
					},
					"granted_scopes": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"instance_url": {
						"type": "string"
					},
					"is_active": {
						"type": "boolean"
					},
					"platform": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"workspace_id",
					"platform",
					"account_id",
					"account_username",
					"is_active",
					"created_at"
				],
				"type": "object"
			},
			"AccountExportToken": {
				"additionalProperties": false,
				"properties": {
					"created_at": {
						"format": "date-time",
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"last_used_at": {
						"format": "date-time",
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"revoked_at": {
						"format": "date-time",
						"type": "string"
					},
					"scope": {
						"type": "string"
					},
					"token_prefix": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["id", "name", "token_prefix", "scope", "created_at"],
				"type": "object"
			},
			"AccountExportUser": {
				"additionalProperties": false,
				"properties": {
					"avatar_url": {
						"type": "string"
					},
					"created_at": {
						"format": "date-time",
						"type": "string"
					},
					"display_name": {
						"type": "string"
					},
					"email": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"is_admin": {
						"type": "boolean"
					},
					"legal_accepted_at": {
						"format": "date-time",
						"type": "string"
					},
					"privacy_version": {
						"type": "string"
					},
					"terms_version": {
						"type": "string"
					}
				},
				"required": ["id", "email", "display_name", "avatar_url", "is_admin", "created_at"],
				"type": "object"
			},
			"AccountExportWorkspace": {
				"additionalProperties": false,
				"properties": {
					"created_at": {
						"format": "date-time",
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"organization_id": {
						"type": "string"
					},
					"role": {
						"type": "string"
					},
					"timezone": {
						"type": "string"
					}
				},
				"required": ["id", "name", "role", "timezone", "created_at"],
				"type": "object"
			},
			"AccountOption": {
				"additionalProperties": false,
				"properties": {
					"avatar_url": {
						"type": "string"
					},
					"cross_workspace": {
						"type": "boolean"
					},
					"grant_active": {
						"type": "boolean"
					},
					"grant_required": {
						"type": "boolean"
					},
					"id": {
						"type": "string"
					},
					"instance_url": {
						"type": "string"
					},
					"platform": {
						"type": "string"
					},
					"supports_repost": {
						"type": "boolean"
					},
					"unavailable_reason": {
						"type": "string"
					},
					"username": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					},
					"workspace_name": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"workspace_id",
					"workspace_name",
					"platform",
					"username",
					"supports_repost",
					"cross_workspace",
					"grant_required",
					"grant_active"
				],
				"type": "object"
			},
			"AccountOverview": {
				"additionalProperties": false,
				"properties": {
					"account_supported": {
						"type": "boolean"
					},
					"avatar_url": {
						"type": "string"
					},
					"content_supported": {
						"type": "boolean"
					},
					"error_code": {
						"type": "string"
					},
					"error_message": {
						"type": "string"
					},
					"follower_delta": {
						"format": "int64",
						"type": "integer"
					},
					"follower_series": {
						"items": {
							"$ref": "#/components/schemas/SeriesPoint"
						},
						"type": ["array", "null"]
					},
					"id": {
						"type": "string"
					},
					"last_synced_at": {
						"format": "date-time",
						"type": "string"
					},
					"metrics": {
						"additionalProperties": {
							"format": "int64",
							"type": "integer"
						},
						"type": "object"
					},
					"missing_account_scopes": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"missing_content_scopes": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"next_sync_at": {
						"format": "date-time",
						"type": "string"
					},
					"platform": {
						"type": "string"
					},
					"stale": {
						"type": "boolean"
					},
					"status": {
						"type": "string"
					},
					"username": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"platform",
					"username",
					"status",
					"account_supported",
					"content_supported",
					"missing_account_scopes",
					"missing_content_scopes",
					"metrics",
					"follower_series",
					"stale"
				],
				"type": "object"
			},
			"AccountReauthenticationInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/AccountReauthenticationInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"current_password": {
						"description": "Current account password",
						"type": "string"
					},
					"reauth_grant": {
						"description": "One-time action-bound reauthentication grant",
						"type": "string"
					}
				},
				"required": ["current_password"],
				"type": "object"
			},
			"AccountResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/AccountResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"account_avatar_url": {
						"description": "Account avatar URL",
						"type": "string"
					},
					"account_id": {
						"description": "Platform-specific account ID",
						"type": "string"
					},
					"account_kind": {
						"description": "Normalized identity kind, such as person, organization, creator, or business",
						"type": "string"
					},
					"account_username": {
						"description": "Account username",
						"type": "string"
					},
					"capability_checked_at": {
						"description": "When account-specific publishing limits were last verified",
						"format": "date-time",
						"type": "string"
					},
					"grant_destination_count": {
						"description": "Number of active destinations using this provider authorization",
						"format": "int64",
						"type": "integer"
					},
					"id": {
						"description": "Account ID",
						"type": "string"
					},
					"instance_url": {
						"description": "Instance URL (Mastodon/Bluesky)",
						"type": "string"
					},
					"is_active": {
						"description": "Whether the account is active",
						"type": "boolean"
					},
					"limit_profile": {
						"description": "Account-specific publishing limit profile",
						"enum": ["standard", "x-premium"],
						"type": "string"
					},
					"messages_enabled": {
						"description": "Whether this account opted in to inbox synchronization",
						"type": "boolean"
					},
					"messaging_supported": {
						"description": "Whether OpenPost has a messaging connector for this provider",
						"type": "boolean"
					},
					"platform": {
						"description": "Platform name",
						"type": "string"
					},
					"shared_grant": {
						"description": "Whether revoking this authorization disconnects other destinations",
						"type": "boolean"
					},
					"slug": {
						"description": "User-editable account slug for CLI selectors",
						"type": "string"
					},
					"thread_replies_supported": {
						"description": "Whether this account supports thread replies in current server config",
						"type": "boolean"
					}
				},
				"required": [
					"id",
					"slug",
					"platform",
					"account_id",
					"account_username",
					"account_avatar_url",
					"instance_url",
					"is_active",
					"thread_replies_supported",
					"messaging_supported",
					"messages_enabled",
					"grant_destination_count",
					"shared_grant"
				],
				"type": "object"
			},
			"AccountSelectionCompletionResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/AccountSelectionCompletionResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"account_avatar_url": {
						"description": "Account avatar URL",
						"type": "string"
					},
					"account_id": {
						"description": "Platform-specific account ID",
						"type": "string"
					},
					"account_ids": {
						"description": "OpenPost destination account IDs created by this selection",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"account_kind": {
						"description": "Normalized identity kind, such as person, organization, creator, or business",
						"type": "string"
					},
					"account_username": {
						"description": "Account username",
						"type": "string"
					},
					"capability_checked_at": {
						"description": "When account-specific publishing limits were last verified",
						"format": "date-time",
						"type": "string"
					},
					"grant_destination_count": {
						"description": "Number of active destinations using this provider authorization",
						"format": "int64",
						"type": "integer"
					},
					"id": {
						"description": "Account ID",
						"type": "string"
					},
					"instance_url": {
						"description": "Instance URL (Mastodon/Bluesky)",
						"type": "string"
					},
					"is_active": {
						"description": "Whether the account is active",
						"type": "boolean"
					},
					"limit_profile": {
						"description": "Account-specific publishing limit profile",
						"enum": ["standard", "x-premium"],
						"type": "string"
					},
					"messages_enabled": {
						"description": "Whether this account opted in to inbox synchronization",
						"type": "boolean"
					},
					"messaging_supported": {
						"description": "Whether OpenPost has a messaging connector for this provider",
						"type": "boolean"
					},
					"open_fresh_composer": {
						"description": "Whether these are the Workspace's first connected destinations",
						"type": "boolean"
					},
					"platform": {
						"description": "Platform name",
						"type": "string"
					},
					"shared_grant": {
						"description": "Whether revoking this authorization disconnects other destinations",
						"type": "boolean"
					},
					"slug": {
						"description": "User-editable account slug for CLI selectors",
						"type": "string"
					},
					"thread_replies_supported": {
						"description": "Whether this account supports thread replies in current server config",
						"type": "boolean"
					},
					"workspace_id": {
						"description": "Workspace receiving the connected destinations",
						"type": "string"
					}
				},
				"required": [
					"workspace_id",
					"account_ids",
					"open_fresh_composer",
					"id",
					"slug",
					"platform",
					"account_id",
					"account_username",
					"account_avatar_url",
					"instance_url",
					"is_active",
					"thread_replies_supported",
					"messaging_supported",
					"messages_enabled",
					"grant_destination_count",
					"shared_grant"
				],
				"type": "object"
			},
			"AccountSelectionOption": {
				"additionalProperties": false,
				"properties": {
					"avatar_url": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"display_name": {
						"type": "string"
					},
					"extra": {
						"additionalProperties": {
							"type": "string"
						},
						"type": "object"
					},
					"id": {
						"type": "string"
					},
					"kind": {
						"type": "string"
					},
					"username": {
						"type": "string"
					}
				},
				"required": ["id"],
				"type": "object"
			},
			"AccountSelectionResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/AccountSelectionResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"expires_at": {
						"description": "When this pending selection expires",
						"format": "date-time",
						"type": "string"
					},
					"id": {
						"description": "Pending OAuth account-selection ID",
						"type": "string"
					},
					"options": {
						"description": "Selectable accounts, pages, or channels",
						"items": {
							"$ref": "#/components/schemas/AccountSelectionOption"
						},
						"type": ["array", "null"]
					},
					"platform": {
						"description": "Social platform key",
						"type": "string"
					},
					"workspace_id": {
						"description": "Workspace ID this connection belongs to",
						"type": "string"
					}
				},
				"required": ["id", "platform", "workspace_id", "expires_at", "options"],
				"type": "object"
			},
			"AcknowledgeRecoveryCodesInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/AcknowledgeRecoveryCodesInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"challenge_id": {
						"description": "Recovery-code challenge ID",
						"type": "string"
					},
					"recovery_codes_saved": {
						"description": "Explicit acknowledgement that the one-time recovery codes were saved",
						"type": "boolean"
					}
				},
				"required": ["challenge_id", "recovery_codes_saved"],
				"type": "object"
			},
			"ActionOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ActionOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"activation_publication_id": {
						"type": "string"
					},
					"job_id": {
						"type": "string"
					},
					"message": {
						"type": "string"
					},
					"publication_id": {
						"type": "string"
					},
					"renditions": {
						"description": "Exact destination outcomes after this action",
						"items": {
							"$ref": "#/components/schemas/RenditionActionOutcome"
						},
						"type": ["array", "null"]
					},
					"revision": {
						"format": "int64",
						"type": "integer"
					},
					"workspace_activated": {
						"type": "boolean"
					}
				},
				"required": ["message"],
				"type": "object"
			},
			"AppendProviderApprovalReviewInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/AppendProviderApprovalReviewInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"app_fingerprint": {
						"type": "string"
					},
					"expires_at": {
						"format": "date-time",
						"type": "string"
					},
					"instance_fingerprint": {
						"type": "string"
					},
					"provider": {
						"type": "string"
					},
					"provider_environment": {
						"enum": ["development", "sandbox", "production"],
						"type": "string"
					},
					"reviewed_at": {
						"format": "date-time",
						"type": "string"
					},
					"source_url": {
						"format": "uri",
						"type": "string"
					},
					"state": {
						"enum": [
							"unknown",
							"not_required",
							"pending",
							"trial",
							"approved",
							"restricted",
							"revoked"
						],
						"type": "string"
					},
					"tier": {
						"type": "string"
					}
				},
				"required": [
					"provider",
					"app_fingerprint",
					"provider_environment",
					"state",
					"tier",
					"source_url",
					"reviewed_at",
					"expires_at"
				],
				"type": "object"
			},
			"AppendProviderCertificationInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/AppendProviderCertificationInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"approval_review_id": {
						"type": "string"
					},
					"checks": {
						"items": {
							"$ref": "#/components/schemas/CheckResult"
						},
						"minItems": 1,
						"type": ["array", "null"]
					},
					"expires_at": {
						"format": "date-time",
						"type": "string"
					},
					"kind": {
						"enum": ["local", "live"],
						"type": "string"
					},
					"operation": {
						"enum": ["publish_immediate", "publish_scheduled"],
						"type": "string"
					},
					"output_profile": {
						"type": "string"
					},
					"policy_mode": {
						"description": "Optional asserted normalized policy mode; the server derives and verifies it",
						"type": "string"
					},
					"policy_settings": {
						"additionalProperties": {},
						"type": "object"
					},
					"social_account_id": {
						"type": "string"
					},
					"tested_at": {
						"format": "date-time",
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": [
					"approval_review_id",
					"workspace_id",
					"social_account_id",
					"output_profile",
					"operation",
					"kind",
					"tested_at",
					"expires_at",
					"checks"
				],
				"type": "object"
			},
			"AppendProviderRuntimeControlInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/AppendProviderRuntimeControlInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"expires_at": {
						"format": "date-time",
						"type": "string"
					},
					"reason_code": {
						"type": "string"
					},
					"selector": {
						"$ref": "#/components/schemas/RuntimeControlSelector"
					},
					"starts_at": {
						"format": "date-time",
						"type": "string"
					},
					"state": {
						"enum": ["enabled", "degraded", "disabled"],
						"type": "string"
					}
				},
				"required": ["selector", "state", "reason_code", "starts_at"],
				"type": "object"
			},
			"ApproveCLIAuthInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ApproveCLIAuthInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"device_code": {
						"type": "string"
					},
					"name": {
						"description": "Name for the resulting API token",
						"maxLength": 120,
						"type": "string"
					},
					"scopes": {
						"description": "Compatibility field; when present it must match the displayed requested scope",
						"type": "string"
					},
					"user_code": {
						"type": "string"
					},
					"workspace_id": {
						"description": "Workspace the resulting token is limited to",
						"type": "string"
					}
				},
				"type": "object"
			},
			"Asset": {
				"additionalProperties": false,
				"properties": {
					"attribution_text": {
						"type": "string"
					},
					"creator_name": {
						"type": "string"
					},
					"creator_url": {
						"type": "string"
					},
					"duration_seconds": {
						"format": "int64",
						"type": "integer"
					},
					"external_id": {
						"type": "string"
					},
					"height": {
						"format": "int64",
						"type": "integer"
					},
					"kind": {
						"type": "string"
					},
					"license_name": {
						"type": "string"
					},
					"license_url": {
						"type": "string"
					},
					"preview_url": {
						"type": "string"
					},
					"provider": {
						"type": "string"
					},
					"provider_url": {
						"type": "string"
					},
					"source_url": {
						"type": "string"
					},
					"thumbnail_url": {
						"type": "string"
					},
					"title": {
						"type": "string"
					},
					"width": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": [
					"external_id",
					"kind",
					"title",
					"width",
					"height",
					"thumbnail_url",
					"source_url",
					"creator_name",
					"creator_url",
					"provider",
					"provider_url",
					"attribution_text",
					"license_name",
					"license_url"
				],
				"type": "object"
			},
			"AudioTrack": {
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string"
					},
					"items": {
						"items": {
							"$ref": "#/components/schemas/AudioTrackItem"
						},
						"type": ["array", "null"]
					},
					"muted": {
						"type": "boolean"
					},
					"name": {
						"type": "string"
					},
					"role": {
						"enum": ["voice", "music", "system", "effects", "other"],
						"type": "string"
					}
				},
				"required": ["id", "name", "role", "muted", "items"],
				"type": "object"
			},
			"AudioTrackItem": {
				"additionalProperties": false,
				"properties": {
					"duck_others": {
						"type": "boolean"
					},
					"duration_us": {
						"format": "int64",
						"type": "integer"
					},
					"fade_in_us": {
						"format": "int64",
						"type": "integer"
					},
					"fade_out_us": {
						"format": "int64",
						"type": "integer"
					},
					"gain_db": {
						"format": "double",
						"type": "number"
					},
					"gain_db_keyframes": {
						"items": {
							"$ref": "#/components/schemas/NumericKeyframe"
						},
						"type": ["array", "null"]
					},
					"id": {
						"type": "string"
					},
					"muted": {
						"type": "boolean"
					},
					"source_id": {
						"type": "string"
					},
					"source_in_us": {
						"format": "int64",
						"type": "integer"
					},
					"speed": {
						"format": "double",
						"type": "number"
					},
					"timeline_start_us": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": [
					"id",
					"source_id",
					"timeline_start_us",
					"source_in_us",
					"duration_us",
					"speed",
					"gain_db",
					"fade_in_us",
					"fade_out_us",
					"muted",
					"duck_others"
				],
				"type": "object"
			},
			"AuditChangedField": {
				"additionalProperties": false,
				"properties": {
					"current": {
						"type": "string"
					},
					"field": {
						"type": "string"
					},
					"previous": {
						"type": "string"
					}
				},
				"required": ["field"],
				"type": "object"
			},
			"AuditEvent": {
				"additionalProperties": false,
				"properties": {
					"action": {
						"type": "string"
					},
					"actor_user_id": {
						"type": "string"
					},
					"changed_fields": {
						"items": {
							"$ref": "#/components/schemas/AuditChangedField"
						},
						"type": ["array", "null"]
					},
					"effective_actor_user_id": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"occurred_at": {
						"format": "date-time",
						"type": "string"
					},
					"resource": {
						"$ref": "#/components/schemas/AuditResource"
					},
					"result": {
						"type": "string"
					},
					"source": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"source",
					"action",
					"resource",
					"result",
					"changed_fields",
					"occurred_at"
				],
				"type": "object"
			},
			"AuditPage": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/AuditPage.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"items": {
						"items": {
							"$ref": "#/components/schemas/AuditEvent"
						},
						"type": ["array", "null"]
					},
					"next_cursor": {
						"type": "string"
					}
				},
				"required": ["items"],
				"type": "object"
			},
			"AuditResource": {
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string"
					},
					"organization_id": {
						"type": "string"
					},
					"type": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["type"],
				"type": "object"
			},
			"AuthConfigurationOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/AuthConfigurationOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"email_verification_required": {
						"type": "boolean"
					},
					"legal_acceptance_required": {
						"type": "boolean"
					},
					"password_reset_enabled": {
						"type": "boolean"
					},
					"privacy_url": {
						"type": "string"
					},
					"privacy_version": {
						"type": "string"
					},
					"public_profiles_enabled": {
						"type": "boolean"
					},
					"purchase_choice_required": {
						"type": "boolean"
					},
					"registration_enabled": {
						"type": "boolean"
					},
					"support_email": {
						"type": "string"
					},
					"terms_url": {
						"type": "string"
					},
					"terms_version": {
						"type": "string"
					}
				},
				"required": [
					"registration_enabled",
					"password_reset_enabled",
					"email_verification_required",
					"public_profiles_enabled",
					"legal_acceptance_required",
					"purchase_choice_required"
				],
				"type": "object"
			},
			"AuthOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/AuthOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"email_delivery_status": {
						"description": "Whether the latest verification email delivery request succeeded",
						"enum": ["sent", "failed"],
						"type": "string"
					},
					"email_verification_email": {
						"description": "Email address receiving the verification code",
						"type": "string"
					},
					"email_verification_id": {
						"description": "Opaque email verification challenge ID",
						"type": "string"
					},
					"mfa_methods": {
						"description": "MFA verification methods available for this login challenge",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"mfa_token": {
						"description": "Pending MFA token for follow-up verification",
						"type": "string"
					},
					"requires_email_verification": {
						"description": "Whether a six-digit email code must be confirmed before sign-in",
						"type": "boolean"
					},
					"requires_mfa": {
						"description": "Whether the login requires a second factor",
						"type": "boolean"
					},
					"token": {
						"description": "JWT authentication token",
						"type": "string"
					},
					"user": {
						"$ref": "#/components/schemas/UserProfile"
					}
				},
				"required": ["requires_mfa", "requires_email_verification"],
				"type": "object"
			},
			"AuthSessionStateOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/AuthSessionStateOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"authenticated": {
						"description": "Whether the request has a valid OpenPost session",
						"type": "boolean"
					},
					"user": {
						"$ref": "#/components/schemas/UserProfile"
					}
				},
				"required": ["authenticated"],
				"type": "object"
			},
			"BatchDeleteMediaInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/BatchDeleteMediaInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"media_ids": {
						"description": "Array of media IDs to delete",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["media_ids"],
				"type": "object"
			},
			"BatchDeleteMediaOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/BatchDeleteMediaOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"deleted": {
						"description": "Number of media deleted",
						"format": "int64",
						"type": "integer"
					},
					"failed_ids": {
						"description": "IDs that could not be deleted (in use)",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["deleted", "failed_ids"],
				"type": "object"
			},
			"BeginEmailChangeInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/BeginEmailChangeInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"new_email": {
						"description": "New sign-in email address",
						"format": "email",
						"type": "string"
					},
					"reauth_grant": {
						"description": "One-time grant for identity.email.change",
						"minLength": 1,
						"type": "string"
					}
				},
				"required": ["new_email", "reauth_grant"],
				"type": "object"
			},
			"BeginPasskeyLoginInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/BeginPasskeyLoginInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"mfa_token": {
						"description": "Pending MFA challenge token",
						"type": "string"
					}
				},
				"required": ["mfa_token"],
				"type": "object"
			},
			"BeginPasskeyReauthInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/BeginPasskeyReauthInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"action": {
						"description": "Sensitive action the one-time grant authorizes",
						"minLength": 1,
						"type": "string"
					}
				},
				"required": ["action"],
				"type": "object"
			},
			"BeginPasskeyRegistrationInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/BeginPasskeyRegistrationInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"current_password": {
						"description": "Current password for re-authentication",
						"type": "string"
					},
					"name": {
						"description": "Optional passkey label",
						"type": "string"
					},
					"reauth_grant": {
						"description": "One-time action-bound reauthentication grant",
						"type": "string"
					}
				},
				"required": ["current_password", "name"],
				"type": "object"
			},
			"BillingStatusResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/BillingStatusResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"access_restricted": {
						"description": "Whether failed payment currently restricts paid-plan access",
						"type": "boolean"
					},
					"billing_contact_email": {
						"description": "Billing contact email from the latest Paddle customer snapshot",
						"type": "string"
					},
					"can_manage_billing": {
						"description": "Whether the current user may manage organization billing",
						"type": "boolean"
					},
					"cancel_at_period_end": {
						"description": "Whether the subscription cancels at period end",
						"type": "boolean"
					},
					"current_period_end": {
						"description": "Current billing period end",
						"type": "string"
					},
					"limits": {
						"additionalProperties": {
							"format": "int64",
							"type": "integer"
						},
						"description": "Entitlement limits from the local subscription snapshot",
						"type": "object"
					},
					"organization_id": {
						"description": "Organization ID",
						"type": "string"
					},
					"past_due_since": {
						"description": "Canonical Paddle time when the current past-due state began",
						"type": "string"
					},
					"period_start": {
						"description": "UTC month start for the usage counters",
						"type": "string"
					},
					"plan_id": {
						"description": "Plan ID",
						"type": "string"
					},
					"provider": {
						"description": "Billing provider",
						"type": "string"
					},
					"provider_costs": {
						"description": "Confirmed hosted provider-cost estimates and unresolved reservations, separate from the product subscription",
						"items": {
							"$ref": "#/components/schemas/ProviderCostSummary"
						},
						"type": ["array", "null"]
					},
					"status": {
						"description": "Subscription status from the latest Paddle snapshot",
						"type": "string"
					},
					"usage": {
						"additionalProperties": {
							"format": "int64",
							"type": "integer"
						},
						"description": "Current-month product usage counters for a mirrored subscription",
						"type": "object"
					},
					"workspace_id": {
						"description": "Workspace ID",
						"type": "string"
					}
				},
				"required": [
					"organization_id",
					"workspace_id",
					"can_manage_billing",
					"access_restricted",
					"cancel_at_period_end",
					"provider_costs"
				],
				"type": "object"
			},
			"BillingURLResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/BillingURLResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"billing_period": {
						"description": "Selected billing period",
						"type": "string"
					},
					"client_token": {
						"description": "Browser-safe Paddle.js client token",
						"type": "string"
					},
					"customer_email": {
						"description": "Authenticated customer's checkout email",
						"type": "string"
					},
					"environment": {
						"description": "Explicit Paddle.js environment: sandbox or production",
						"type": "string"
					},
					"id": {
						"description": "OpenPost checkout attempt or Paddle portal session ID",
						"type": "string"
					},
					"plan_id": {
						"description": "OpenPost plan ID",
						"type": "string"
					},
					"price_ids": {
						"additionalProperties": {
							"type": "string"
						},
						"description": "Paddle price IDs for localized previews in the selected billing period",
						"type": "object"
					},
					"provider_price_id": {
						"description": "Paddle price ID for the selected plan and period",
						"type": "string"
					},
					"purpose": {
						"description": "Requested Paddle portal destination",
						"type": "string"
					},
					"return_url": {
						"description": "OpenPost URL used after Paddle checkout completes",
						"type": "string"
					},
					"trial_ends_at": {
						"description": "Expected end of the 14-day trial",
						"type": "string"
					},
					"url": {
						"description": "OpenPost checkout URL or short-lived Paddle customer portal URL",
						"type": "string"
					},
					"used_generic_fallback": {
						"description": "Whether Paddle omitted the purpose-specific link and OpenPost returned the generic portal",
						"type": "boolean"
					},
					"workspace_id": {
						"description": "Workspace bound to this checkout attempt",
						"type": "string"
					}
				},
				"type": "object"
			},
			"Blocker": {
				"additionalProperties": false,
				"properties": {
					"code": {
						"type": "string"
					},
					"detail": {
						"type": "string"
					}
				},
				"required": ["code"],
				"type": "object"
			},
			"BlueskyLoginInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/BlueskyLoginInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"app_password": {
						"description": "Bluesky app password (Settings > App Passwords)",
						"type": "string"
					},
					"handle": {
						"description": "Bluesky handle (e.g. user.bsky.social)",
						"type": "string"
					},
					"intent": {
						"description": "Typed execution intent; certification_test requires an unscoped instance administrator",
						"enum": ["production", "certification_test"],
						"type": "string"
					},
					"workspace_id": {
						"description": "Workspace ID",
						"type": "string"
					}
				},
				"required": ["workspace_id", "handle", "app_password"],
				"type": "object"
			},
			"BrowserConfig": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/BrowserConfig.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"api_host": {
						"description": "PostHog browser ingestion endpoint or proxy",
						"type": "string"
					},
					"edition": {
						"description": "Configured OpenPost edition",
						"type": "string"
					},
					"enabled": {
						"description": "Whether browser telemetry is enabled for this OpenPost instance",
						"type": "boolean"
					},
					"environment": {
						"description": "Deployment environment attached to telemetry",
						"type": "string"
					},
					"project_token": {
						"description": "Browser-safe PostHog project token",
						"type": "string"
					},
					"revision": {
						"description": "Running OpenPost source revision",
						"type": "string"
					},
					"ui_host": {
						"description": "PostHog user interface host used for generated links",
						"type": "string"
					},
					"version": {
						"description": "Running OpenPost version",
						"type": "string"
					}
				},
				"required": ["enabled", "environment", "edition", "version", "revision"],
				"type": "object"
			},
			"CLIAuthDecisionOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CLIAuthDecisionOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"ok": {
						"type": "boolean"
					}
				},
				"required": ["ok"],
				"type": "object"
			},
			"CancelEmailChangeOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CancelEmailChangeOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"canceled": {
						"type": "boolean"
					}
				},
				"required": ["canceled"],
				"type": "object"
			},
			"CancelOrganizationCheckoutAttemptsOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": [
							"https://example.com/schemas/CancelOrganizationCheckoutAttemptsOutputBody.json"
						],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"canceled": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["canceled"],
				"type": "object"
			},
			"CapabilitiesOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CapabilitiesOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"capabilities": {
						"description": "Provider/profile capability matrix",
						"items": {
							"$ref": "#/components/schemas/Capability"
						},
						"type": ["array", "null"]
					},
					"profiles": {
						"description": "Content profiles supported by OpenPost",
						"items": {
							"$ref": "#/components/schemas/Profile"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["profiles", "capabilities"],
				"type": "object"
			},
			"Capability": {
				"additionalProperties": false,
				"properties": {
					"capability_revision": {
						"type": "string"
					},
					"caveats": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"content": {
						"$ref": "#/components/schemas/ContentConstraint"
					},
					"description_required": {
						"type": "boolean"
					},
					"expires_at": {
						"type": "string"
					},
					"intents": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"label": {
						"type": "string"
					},
					"media": {
						"$ref": "#/components/schemas/MediaConstraint"
					},
					"media_shapes": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"metadata": {
						"additionalProperties": {
							"type": "string"
						},
						"type": "object"
					},
					"native_scheduling": {
						"type": "boolean"
					},
					"openpost_queued": {
						"type": "boolean"
					},
					"output_profile": {
						"type": "string"
					},
					"profile": {
						"type": "string"
					},
					"provider": {
						"type": "string"
					},
					"requires_app_review": {
						"type": "boolean"
					},
					"requires_public_media": {
						"type": "boolean"
					},
					"settings": {
						"items": {
							"$ref": "#/components/schemas/SettingDefinition"
						},
						"type": ["array", "null"]
					},
					"text_limit": {
						"format": "int64",
						"type": "integer"
					},
					"title_required": {
						"type": "boolean"
					},
					"unavailable_reason": {
						"type": "string"
					},
					"validation_categories": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					}
				},
				"required": [
					"provider",
					"profile",
					"output_profile",
					"intents",
					"media_shapes",
					"label",
					"native_scheduling",
					"openpost_queued",
					"requires_app_review",
					"requires_public_media",
					"media",
					"content",
					"capability_revision"
				],
				"type": "object"
			},
			"CaptionCue": {
				"additionalProperties": false,
				"properties": {
					"end_us": {
						"format": "int64",
						"type": "integer"
					},
					"id": {
						"type": "string"
					},
					"review_required": {
						"type": "boolean"
					},
					"speaker": {
						"type": "string"
					},
					"start_us": {
						"format": "int64",
						"type": "integer"
					},
					"text": {
						"type": "string"
					},
					"words": {
						"items": {
							"$ref": "#/components/schemas/CaptionWord"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["id", "start_us", "end_us", "text", "words"],
				"type": "object"
			},
			"CaptionStyle": {
				"additionalProperties": false,
				"properties": {
					"background_color": {
						"type": "string"
					},
					"color": {
						"type": "string"
					},
					"emphasis_color": {
						"type": "string"
					},
					"font_family": {
						"type": "string"
					},
					"font_size": {
						"format": "int64",
						"type": "integer"
					},
					"font_weight": {
						"format": "int64",
						"type": "integer"
					},
					"max_lines": {
						"format": "int64",
						"maximum": 3,
						"minimum": 1,
						"type": "integer"
					},
					"position": {
						"enum": ["top", "middle", "bottom"],
						"type": "string"
					},
					"preset": {
						"enum": ["clean", "bold", "karaoke", "boxed"],
						"type": "string"
					}
				},
				"required": [
					"preset",
					"font_family",
					"font_size",
					"font_weight",
					"color",
					"emphasis_color",
					"background_color",
					"position",
					"max_lines"
				],
				"type": "object"
			},
			"CaptionStyleOverride": {
				"additionalProperties": false,
				"properties": {
					"background_color": {
						"type": "string"
					},
					"color": {
						"type": "string"
					},
					"emphasis_color": {
						"type": "string"
					},
					"font_family": {
						"type": "string"
					},
					"font_size": {
						"format": "int64",
						"type": "integer"
					},
					"font_weight": {
						"format": "int64",
						"type": "integer"
					},
					"max_lines": {
						"format": "int64",
						"maximum": 3,
						"minimum": 1,
						"type": "integer"
					},
					"position": {
						"enum": ["top", "middle", "bottom"],
						"type": "string"
					},
					"preset": {
						"enum": ["clean", "bold", "karaoke", "boxed"],
						"type": "string"
					}
				},
				"type": "object"
			},
			"CaptionTrack": {
				"additionalProperties": false,
				"properties": {
					"cues": {
						"items": {
							"$ref": "#/components/schemas/CaptionCue"
						},
						"type": ["array", "null"]
					},
					"id": {
						"type": "string"
					},
					"language": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"style": {
						"$ref": "#/components/schemas/CaptionStyle"
					},
					"variant_overrides": {
						"additionalProperties": {
							"$ref": "#/components/schemas/CaptionStyleOverride"
						},
						"type": "object"
					},
					"visible": {
						"type": "boolean"
					}
				},
				"required": ["id", "name", "language", "visible", "style", "cues"],
				"type": "object"
			},
			"CaptionWord": {
				"additionalProperties": false,
				"properties": {
					"confidence": {
						"format": "double",
						"type": "number"
					},
					"emphasis": {
						"type": "boolean"
					},
					"end_us": {
						"format": "int64",
						"type": "integer"
					},
					"start_us": {
						"format": "int64",
						"type": "integer"
					},
					"text": {
						"type": "string"
					}
				},
				"required": ["text", "start_us", "end_us"],
				"type": "object"
			},
			"ChangeNotificationsInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ChangeNotificationsInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"all": {
						"description": "Apply to every workspace and account-wide notification visible in this inbox",
						"type": "boolean"
					},
					"ids": {
						"description": "Notification IDs within the workspace inbox",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"workspace_id": {
						"description": "Workspace whose inbox should be changed",
						"type": "string"
					}
				},
				"required": ["workspace_id"],
				"type": "object"
			},
			"ChangePasswordInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ChangePasswordInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"current_password": {
						"description": "Current password",
						"type": "string"
					},
					"new_password": {
						"description": "New password",
						"maxLength": 1024,
						"minLength": 12,
						"type": "string"
					},
					"reauth_grant": {
						"description": "One-time action-bound reauthentication grant",
						"type": "string"
					}
				},
				"required": ["current_password", "new_password"],
				"type": "object"
			},
			"ChangePasswordOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ChangePasswordOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"message": {
						"type": "string"
					},
					"revoked_sessions": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["message", "revoked_sessions"],
				"type": "object"
			},
			"ChannelPreference": {
				"additionalProperties": false,
				"properties": {
					"email_frequency": {
						"enum": ["off", "immediate", "daily"],
						"type": "string"
					},
					"in_app": {
						"type": "boolean"
					}
				},
				"required": ["in_app", "email_frequency"],
				"type": "object"
			},
			"CheckResult": {
				"additionalProperties": false,
				"properties": {
					"completed_at": {
						"format": "date-time",
						"type": "string"
					},
					"error_class": {
						"type": "string"
					},
					"external_ref_hash": {
						"type": "string"
					},
					"kind": {
						"type": "string"
					},
					"not_applicable_reason": {
						"type": "string"
					},
					"outcome": {
						"type": "string"
					}
				},
				"required": ["kind", "outcome", "completed_at"],
				"type": "object"
			},
			"ClientError": {
				"additionalProperties": false,
				"properties": {
					"message": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"timestamp": {
						"type": "string"
					}
				},
				"required": ["name", "message", "timestamp"],
				"type": "object"
			},
			"ClipAudioSettings": {
				"additionalProperties": false,
				"properties": {
					"duck_others": {
						"type": "boolean"
					},
					"fade_in_us": {
						"format": "int64",
						"type": "integer"
					},
					"fade_out_us": {
						"format": "int64",
						"type": "integer"
					},
					"gain_db": {
						"format": "double",
						"type": "number"
					},
					"gain_db_keyframes": {
						"items": {
							"$ref": "#/components/schemas/NumericKeyframe"
						},
						"type": ["array", "null"]
					},
					"muted": {
						"type": "boolean"
					}
				},
				"required": ["muted", "gain_db", "fade_in_us", "fade_out_us", "duck_others"],
				"type": "object"
			},
			"CommentActionOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CommentActionOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"message": {
						"type": "string"
					}
				},
				"required": ["message"],
				"type": "object"
			},
			"CommentListResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CommentListResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"comments": {
						"items": {
							"$ref": "#/components/schemas/CommentResponse"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["comments"],
				"type": "object"
			},
			"CommentReplyInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CommentReplyInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"body": {
						"description": "Reply body",
						"type": "string"
					}
				},
				"required": ["body"],
				"type": "object"
			},
			"CommentResponse": {
				"additionalProperties": false,
				"properties": {
					"author_avatar_url": {
						"type": "string"
					},
					"author_id": {
						"type": "string"
					},
					"author_name": {
						"type": "string"
					},
					"can_delete": {
						"type": "boolean"
					},
					"can_hide": {
						"type": "boolean"
					},
					"can_reply": {
						"type": "boolean"
					},
					"created_at": {
						"type": "string"
					},
					"hidden": {
						"type": "boolean"
					},
					"id": {
						"type": "string"
					},
					"provider_comment_id": {
						"type": "string"
					},
					"rendition_id": {
						"type": "string"
					},
					"text": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"rendition_id",
					"provider_comment_id",
					"text",
					"hidden",
					"can_reply",
					"can_hide",
					"can_delete"
				],
				"type": "object"
			},
			"CompleteAccountSelectionInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CompleteAccountSelectionInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"selection_id": {
						"description": "Selected account, page, or channel ID. Retained for single-selection clients.",
						"type": "string"
					},
					"selection_ids": {
						"description": "Selected account, Page, or organization IDs. LinkedIn supports connecting several identities from one grant.",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					}
				},
				"type": "object"
			},
			"CompleteImageEditorReturnTokenInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": [
							"https://example.com/schemas/CompleteImageEditorReturnTokenInputBody.json"
						],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"design_id": {
						"type": "string"
					},
					"media_ids": {
						"items": {
							"type": "string"
						},
						"maxItems": 35,
						"type": ["array", "null"]
					}
				},
				"required": ["design_id", "media_ids"],
				"type": "object"
			},
			"CompleteImageEditorReturnTokenOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": [
							"https://example.com/schemas/CompleteImageEditorReturnTokenOutputBody.json"
						],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"return_url": {
						"type": "string"
					}
				},
				"required": ["return_url"],
				"type": "object"
			},
			"CompleteMediaUploadSessionInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CompleteMediaUploadSessionInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"workspace_id": {
						"description": "Workspace ID",
						"type": "string"
					}
				},
				"required": ["workspace_id"],
				"type": "object"
			},
			"CompleteOwnershipTransferInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CompleteOwnershipTransferInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"id": {
						"description": "Ownership transfer ID",
						"minLength": 1,
						"type": "string"
					}
				},
				"required": ["id"],
				"type": "object"
			},
			"CompleteVideoReturnTokenOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CompleteVideoReturnTokenOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"return_url": {
						"type": "string"
					}
				},
				"required": ["return_url"],
				"type": "object"
			},
			"ConfirmEmailChangeInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ConfirmEmailChangeInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"code": {
						"description": "Six-digit code sent to the new address",
						"maxLength": 6,
						"minLength": 6,
						"pattern": "^[0-9]{6}$",
						"type": "string"
					}
				},
				"required": ["code"],
				"type": "object"
			},
			"ConfirmEmailChangeOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ConfirmEmailChangeOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"email": {
						"description": "Confirmed sign-in email address",
						"type": "string"
					},
					"revoked_sessions": {
						"description": "Other sessions revoked after the identity change",
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["email", "revoked_sessions"],
				"type": "object"
			},
			"ConfirmEmailVerificationInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ConfirmEmailVerificationInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"challenge_id": {
						"description": "Opaque email verification challenge ID",
						"minLength": 16,
						"type": "string"
					},
					"code": {
						"description": "Six-digit verification code",
						"maxLength": 6,
						"minLength": 6,
						"pattern": "^[0-9]{6}$",
						"type": "string"
					}
				},
				"required": ["challenge_id", "code"],
				"type": "object"
			},
			"ConfirmFirstWorkspacePurchaseInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ConfirmFirstWorkspacePurchaseInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"billing_period": {
						"description": "Canonical billing period",
						"enum": ["monthly", "annual"],
						"type": "string"
					},
					"plan_id": {
						"description": "Canonical hosted plan ID",
						"type": "string"
					},
					"purchase_choice_token": {
						"description": "Integrity-protected purchase choice carried through signup",
						"minLength": 1,
						"type": "string"
					},
					"return_path": {
						"description": "Validated same-origin route to resume after checkout",
						"maxLength": 2048,
						"type": "string"
					},
					"workspace_name": {
						"description": "Name for the first Workspace",
						"maxLength": 100,
						"minLength": 1,
						"type": "string"
					}
				},
				"required": ["workspace_name", "plan_id", "billing_period", "purchase_choice_token"],
				"type": "object"
			},
			"ConfirmFirstWorkspacePurchaseOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": [
							"https://example.com/schemas/ConfirmFirstWorkspacePurchaseOutputBody.json"
						],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"checkout": {
						"$ref": "#/components/schemas/BillingURLResponse"
					},
					"organization_id": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					},
					"workspace_name": {
						"type": "string"
					}
				},
				"required": ["workspace_id", "organization_id", "workspace_name", "checkout"],
				"type": "object"
			},
			"ConfirmTOTPSetupInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ConfirmTOTPSetupInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"challenge_id": {
						"description": "TOTP setup challenge ID",
						"type": "string"
					},
					"code": {
						"description": "Six digit authenticator code",
						"maxLength": 6,
						"minLength": 6,
						"type": "string"
					}
				},
				"required": ["challenge_id", "code"],
				"type": "object"
			},
			"ConsumeBillingCheckoutReturnOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ConsumeBillingCheckoutReturnOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"consumed": {
						"type": "boolean"
					},
					"return_path": {
						"type": "string"
					},
					"status": {
						"enum": ["pending", "success", "failed"],
						"type": "string"
					}
				},
				"required": ["status", "consumed"],
				"type": "object"
			},
			"ConsumeImageEditorReturnTokenOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": [
							"https://example.com/schemas/ConsumeImageEditorReturnTokenOutputBody.json"
						],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"constraints": {
						"additionalProperties": {},
						"type": "object"
					},
					"design_id": {
						"type": "string"
					},
					"media_ids": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"purpose": {
						"type": "string"
					},
					"return_url": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": [
					"workspace_id",
					"return_url",
					"purpose",
					"design_id",
					"media_ids",
					"constraints"
				],
				"type": "object"
			},
			"ConsumeUserImpersonationLinkInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ConsumeUserImpersonationLinkInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"code": {
						"description": "One-use impersonation code from the URL fragment",
						"maxLength": 200,
						"minLength": 1,
						"type": "string"
					}
				},
				"required": ["code"],
				"type": "object"
			},
			"ConsumeUserImpersonationLinkOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ConsumeUserImpersonationLinkOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"message": {
						"type": "string"
					}
				},
				"required": ["message"],
				"type": "object"
			},
			"ConsumeVideoReturnTokenOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ConsumeVideoReturnTokenOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"constraints": {
						"additionalProperties": {},
						"type": "object"
					},
					"purpose": {
						"type": "string"
					},
					"result": {
						"$ref": "#/components/schemas/VideoReturnResult"
					},
					"return_url": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["workspace_id", "return_url", "purpose", "constraints", "result"],
				"type": "object"
			},
			"ContentConstraint": {
				"additionalProperties": false,
				"properties": {
					"alt_text": {
						"$ref": "#/components/schemas/TextConstraint"
					},
					"body": {
						"$ref": "#/components/schemas/TextConstraint"
					},
					"description": {
						"$ref": "#/components/schemas/TextConstraint"
					},
					"title": {
						"$ref": "#/components/schemas/TextConstraint"
					}
				},
				"required": ["body", "title", "description", "alt_text"],
				"type": "object"
			},
			"ContentOverview": {
				"additionalProperties": false,
				"properties": {
					"account_id": {
						"type": "string"
					},
					"engagement": {
						"format": "int64",
						"type": "integer"
					},
					"error_code": {
						"type": "string"
					},
					"error_message": {
						"type": "string"
					},
					"excerpt": {
						"type": "string"
					},
					"external_url": {
						"type": "string"
					},
					"last_synced_at": {
						"format": "date-time",
						"type": "string"
					},
					"metrics": {
						"additionalProperties": {
							"format": "int64",
							"type": "integer"
						},
						"type": "object"
					},
					"next_sync_at": {
						"format": "date-time",
						"type": "string"
					},
					"platform": {
						"type": "string"
					},
					"publication_id": {
						"type": "string"
					},
					"published_at": {
						"format": "date-time",
						"type": "string"
					},
					"rendition_id": {
						"type": "string"
					},
					"stale": {
						"type": "boolean"
					},
					"status": {
						"type": "string"
					},
					"title": {
						"type": "string"
					},
					"username": {
						"type": "string"
					}
				},
				"required": [
					"publication_id",
					"rendition_id",
					"title",
					"excerpt",
					"platform",
					"account_id",
					"username",
					"published_at",
					"status",
					"metrics",
					"engagement",
					"stale"
				],
				"type": "object"
			},
			"Conversation": {
				"additionalProperties": false,
				"properties": {
					"archived_at": {
						"format": "date-time",
						"type": "string"
					},
					"counterpart_avatar_url": {
						"type": "string"
					},
					"counterpart_handle": {
						"type": "string"
					},
					"counterpart_name": {
						"type": "string"
					},
					"counterpart_remote_id": {
						"type": "string"
					},
					"created_at": {
						"format": "date-time",
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"last_message_at": {
						"format": "date-time",
						"type": "string"
					},
					"last_message_preview": {
						"type": "string"
					},
					"last_remote_message_id": {
						"type": "string"
					},
					"messaging_window_expires_at": {
						"format": "date-time",
						"type": "string"
					},
					"platform": {
						"type": "string"
					},
					"read_at": {
						"format": "date-time",
						"type": "string"
					},
					"remote_conversation_id": {
						"type": "string"
					},
					"social_account_id": {
						"type": "string"
					},
					"unread_count": {
						"format": "int64",
						"type": "integer"
					},
					"updated_at": {
						"format": "date-time",
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"workspace_id",
					"social_account_id",
					"platform",
					"remote_conversation_id",
					"counterpart_remote_id",
					"counterpart_name",
					"counterpart_handle",
					"counterpart_avatar_url",
					"last_message_at",
					"last_message_preview",
					"last_remote_message_id",
					"unread_count",
					"created_at",
					"updated_at"
				],
				"type": "object"
			},
			"ConversationPage": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ConversationPage.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"items": {
						"items": {
							"$ref": "#/components/schemas/Conversation"
						},
						"type": ["array", "null"]
					},
					"next_cursor": {
						"type": "string"
					},
					"sync_states": {
						"items": {
							"$ref": "#/components/schemas/MessageSyncState"
						},
						"type": ["array", "null"]
					},
					"total": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["items", "total", "sync_states"],
				"type": "object"
			},
			"CreateAPITokenInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateAPITokenInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"expires_at": {
						"description": "Expiry time. Omitted or null defaults to 90 days; the maximum lifetime is one year.",
						"format": "date-time",
						"type": ["string", "null"]
					},
					"name": {
						"description": "Required user-visible token name",
						"maxLength": 120,
						"minLength": 1,
						"type": "string"
					},
					"scope": {
						"description": "Token scope. Defaults to cli:full.",
						"enum": ["cli:full", "mcp:read", "mcp:full", "api:read", "api:write"],
						"type": "string"
					},
					"workspace_id": {
						"description": "Optional workspace ID this token is limited to",
						"type": "string"
					}
				},
				"required": ["name"],
				"type": "object"
			},
			"CreateAPITokenOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateAPITokenOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"item": {
						"$ref": "#/components/schemas/APITokenResponse"
					},
					"token": {
						"description": "Raw API token. Returned once and never stored in plaintext.",
						"type": "string"
					}
				},
				"required": ["token", "item"],
				"type": "object"
			},
			"CreateBillingCheckoutInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateBillingCheckoutInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"billing_period": {
						"default": "monthly",
						"description": "Billing period: monthly or annual",
						"enum": ["monthly", "annual"],
						"type": "string"
					},
					"organization_id": {
						"description": "Organization ID",
						"type": "string"
					},
					"plan_id": {
						"description": "Plan ID: starter, founder, pro, team, or agency",
						"type": "string"
					},
					"return_path": {
						"description": "Validated same-origin route to resume once this exact checkout succeeds",
						"maxLength": 2048,
						"type": "string"
					},
					"workspace_id": {
						"description": "Workspace ID",
						"type": "string"
					}
				},
				"required": ["plan_id"],
				"type": "object"
			},
			"CreateBillingPortalInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateBillingPortalInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"organization_id": {
						"description": "Organization ID",
						"type": "string"
					},
					"purpose": {
						"default": "manage",
						"description": "Portal destination",
						"enum": [
							"manage",
							"update_payment_method",
							"cancel_subscription",
							"invoices",
							"billing_details"
						],
						"type": "string"
					},
					"workspace_id": {
						"description": "Workspace ID",
						"type": "string"
					}
				},
				"type": "object"
			},
			"CreateImageEditorCheckpointInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateImageEditorCheckpointInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"expected_revision": {
						"format": "int64",
						"minimum": 1,
						"type": "integer"
					},
					"name": {
						"maxLength": 100,
						"minLength": 1,
						"type": "string"
					}
				},
				"required": ["name", "expected_revision"],
				"type": "object"
			},
			"CreateImageEditorDesignInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateImageEditorDesignInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"client_request_id": {
						"description": "Stable client request ID used to make design creation idempotent",
						"maxLength": 200,
						"type": "string"
					},
					"height_px": {
						"format": "int64",
						"type": "integer"
					},
					"preset_key": {
						"type": "string"
					},
					"source_media_id": {
						"type": "string"
					},
					"title": {
						"maxLength": 160,
						"type": "string"
					},
					"width_px": {
						"format": "int64",
						"type": "integer"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["workspace_id", "title", "preset_key", "width_px", "height_px"],
				"type": "object"
			},
			"CreateImageEditorReturnTokenInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateImageEditorReturnTokenInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"constraints": {
						"additionalProperties": {},
						"type": "object"
					},
					"max_selection": {
						"format": "int64",
						"maximum": 35,
						"minimum": 1,
						"type": "integer"
					},
					"purpose": {
						"maxLength": 64,
						"type": "string"
					},
					"return_url": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["workspace_id", "return_url", "purpose", "max_selection", "constraints"],
				"type": "object"
			},
			"CreateImageEditorReturnTokenOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateImageEditorReturnTokenOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"expires_at": {
						"type": "string"
					},
					"token": {
						"type": "string"
					}
				},
				"required": ["token", "expires_at"],
				"type": "object"
			},
			"CreateImageEditorTemplateInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateImageEditorTemplateInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"category": {
						"maxLength": 80,
						"type": "string"
					},
					"document": {
						"$ref": "#/components/schemas/ImageEditorDocumentPayload"
					},
					"name": {
						"maxLength": 120,
						"minLength": 1,
						"type": "string"
					},
					"preview_media_id": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["workspace_id", "name", "category", "document"],
				"type": "object"
			},
			"CreateMCPOAuthAuthorizationInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateMCPOAuthAuthorizationInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"approved": {
						"description": "Whether the user approved the MCP OAuth request",
						"type": "boolean"
					},
					"client_id": {
						"description": "OAuth client ID or client metadata URL",
						"type": "string"
					},
					"code_challenge": {
						"description": "PKCE S256 code challenge. Required when approved is true.",
						"type": "string"
					},
					"code_challenge_method": {
						"description": "PKCE method. Must be S256 when approved is true.",
						"type": "string"
					},
					"redirect_uri": {
						"description": "OAuth redirect URI",
						"type": "string"
					},
					"resource": {
						"description": "MCP protected resource URL",
						"type": "string"
					},
					"response_type": {
						"description": "OAuth response type. Must be code.",
						"type": "string"
					},
					"scope": {
						"description": "Requested OAuth scope. Supported values are mcp:read and mcp:full. Defaults to mcp:full.",
						"type": "string"
					},
					"state": {
						"description": "Opaque client state to echo to the redirect URI",
						"type": "string"
					},
					"workspace_id": {
						"description": "Optional workspace ID the resulting MCP token is limited to",
						"type": "string"
					}
				},
				"required": ["approved", "response_type", "client_id", "redirect_uri"],
				"type": "object"
			},
			"CreateMCPOAuthAuthorizationOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateMCPOAuthAuthorizationOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"redirect_url": {
						"description": "URL the browser should redirect to after authorization",
						"type": "string"
					}
				},
				"required": ["redirect_url"],
				"type": "object"
			},
			"CreateMediaTagInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateMediaTagInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"name": {
						"maxLength": 64,
						"minLength": 1,
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["workspace_id", "name"],
				"type": "object"
			},
			"CreateMediaUploadSessionInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateMediaUploadSessionInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"alt_text": {
						"description": "Alt text for accessibility",
						"type": "string"
					},
					"asset_kind": {
						"description": "Media library role",
						"enum": ["library", "brand_asset", "brand_font", "design_preview", "template_preview"],
						"type": "string"
					},
					"client_sha256": {
						"description": "Optional SHA-256 used to reuse an identical ready asset in this workspace",
						"pattern": "^[a-fA-F0-9]{64}$",
						"type": "string"
					},
					"design_document_id": {
						"description": "Producing OpenPost Image Editor design ID",
						"type": "string"
					},
					"design_page_id": {
						"description": "Producing OpenPost Image Editor page ID",
						"type": "string"
					},
					"filename": {
						"description": "Original filename",
						"type": "string"
					},
					"mime_type": {
						"description": "Declared MIME type",
						"type": "string"
					},
					"parent_media_id": {
						"description": "Source media ID for a derivative",
						"type": "string"
					},
					"retention_class": {
						"description": "Keep in the library or manage as temporary post media",
						"enum": ["library", "temporary"],
						"type": "string"
					},
					"size": {
						"description": "Expected upload size in bytes",
						"format": "int64",
						"type": "integer"
					},
					"source": {
						"description": "Media provenance",
						"enum": [
							"upload",
							"camera",
							"image_editor_export",
							"image_editor_edit",
							"background_removal",
							"video_editor_source",
							"video_editor_export",
							"stock_import",
							"meme_generator"
						],
						"type": "string"
					},
					"stock_provenance": {
						"$ref": "#/components/schemas/StockMediaProvenance",
						"description": "License and creator provenance for a selected stock asset"
					},
					"tag_id": {
						"description": "Optional tag to assign to this upload",
						"type": "string"
					},
					"video_project_id": {
						"description": "Producing OpenPost Video Editor project ID",
						"type": "string"
					},
					"workspace_id": {
						"description": "Workspace ID",
						"type": "string"
					}
				},
				"required": ["workspace_id", "filename", "size"],
				"type": "object"
			},
			"CreateMediaUploadSessionOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateMediaUploadSessionOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"complete_url": {
						"description": "API path to call after the upload succeeds",
						"type": "string"
					},
					"deduped": {
						"description": "Whether an identical ready workspace asset was reused",
						"type": "boolean"
					},
					"media_id": {
						"description": "Pending media ID",
						"type": "string"
					},
					"upload": {
						"$ref": "#/components/schemas/DirectMediaUploadTarget",
						"description": "Streaming upload request details"
					}
				},
				"required": ["media_id", "upload", "complete_url", "deduped"],
				"type": "object"
			},
			"CreateOrganizationBillingCheckoutInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": [
							"https://example.com/schemas/CreateOrganizationBillingCheckoutInputBody.json"
						],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"billing_period": {
						"default": "monthly",
						"description": "Billing period: monthly or annual",
						"enum": ["monthly", "annual"],
						"type": "string"
					},
					"plan_id": {
						"description": "Plan ID: starter, founder, pro, team, or agency",
						"type": "string"
					},
					"return_path": {
						"description": "Validated same-origin route to resume once this exact checkout succeeds",
						"maxLength": 2048,
						"type": "string"
					}
				},
				"required": ["plan_id"],
				"type": "object"
			},
			"CreatePostInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreatePostInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"content": {
						"description": "Post content",
						"type": "string"
					},
					"media_ids": {
						"description": "Media attachment IDs to include",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"random_delay_minutes": {
						"description": "Random delay in minutes (±N) to add for natural posting",
						"format": "int64",
						"type": "integer"
					},
					"scheduled_at": {
						"description": "Schedule time (ISO 8601). Omit for draft.",
						"format": "date-time",
						"type": "string"
					},
					"social_account_ids": {
						"description": "Social account IDs to publish to",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"thread_draft": {
						"description": "Optional thread draft JSON (encoded with __openpost_thread__: prefix) for a parent post that drafts a multi-post thread. Mutually exclusive with a thread blob in content: the new field is preferred.",
						"type": "string"
					},
					"workspace_id": {
						"description": "Target workspace ID",
						"type": "string"
					}
				},
				"required": ["workspace_id", "content", "social_account_ids"],
				"type": "object"
			},
			"CreatePostingScheduleInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreatePostingScheduleInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"day_of_week": {
						"description": "Workspace-local day of week (0=Sunday, 6=Saturday)",
						"format": "int64",
						"type": "integer"
					},
					"label": {
						"description": "Display label",
						"type": "string"
					},
					"local_day_of_week": {
						"description": "Day of week in workspace local time (0=Sunday, 6=Saturday)",
						"format": "int64",
						"type": "integer"
					},
					"local_hour": {
						"description": "Hour in workspace local time (0-23)",
						"format": "int64",
						"type": "integer"
					},
					"local_minute": {
						"description": "Minute in workspace local time (0-59)",
						"format": "int64",
						"type": "integer"
					},
					"utc_hour": {
						"description": "Legacy field name for the workspace-local hour (0-23)",
						"format": "int64",
						"type": "integer"
					},
					"utc_minute": {
						"description": "Legacy field name for the workspace-local minute (0-59)",
						"format": "int64",
						"type": "integer"
					},
					"workspace_id": {
						"description": "Workspace ID",
						"type": "string"
					}
				},
				"required": ["workspace_id", "utc_hour", "utc_minute", "day_of_week"],
				"type": "object"
			},
			"CreatePromptInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreatePromptInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"category": {
						"description": "Prompt category",
						"maxLength": 50,
						"minLength": 1,
						"type": "string"
					},
					"example": {
						"description": "Full example post for the prompt",
						"maxLength": 2000,
						"type": "string"
					},
					"text": {
						"description": "Prompt text",
						"maxLength": 500,
						"minLength": 1,
						"type": "string"
					},
					"workspace_id": {
						"description": "Workspace ID (for workspace prompt)",
						"type": "string"
					}
				},
				"required": ["text", "example", "category"],
				"type": "object"
			},
			"CreatePublicationBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreatePublicationBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"audience": {
						"description": "Target audience",
						"type": "string"
					},
					"content_profile": {
						"description": "Content profile",
						"type": "string"
					},
					"creation_preset": {
						"description": "Starter preset; destination renditions own their formats",
						"enum": ["post", "thread", "story", "short_video", "video"],
						"type": "string"
					},
					"goal": {
						"description": "Publication goal",
						"type": "string"
					},
					"intent": {
						"description": "Deprecated compatibility alias for creation_preset",
						"enum": ["post", "thread", "story", "short_video", "video"],
						"type": "string"
					},
					"media": {
						"description": "Default ordered media",
						"items": {
							"$ref": "#/components/schemas/PublicationMediaInput"
						},
						"type": ["array", "null"]
					},
					"metadata": {
						"additionalProperties": {},
						"description": "Publication metadata",
						"type": "object"
					},
					"renditions": {
						"description": "Explicit platform/account renditions",
						"items": {
							"$ref": "#/components/schemas/RenditionInput"
						},
						"type": ["array", "null"]
					},
					"repost_override": {
						"$ref": "#/components/schemas/Override",
						"description": "Optional per-publication repost override"
					},
					"scheduled_at": {
						"description": "Optional schedule time",
						"format": "date-time",
						"type": "string"
					},
					"segments": {
						"description": "Ordered canonical publication segments",
						"items": {
							"$ref": "#/components/schemas/PublicationSegmentInput"
						},
						"type": ["array", "null"]
					},
					"social_account_ids": {
						"description": "Accounts to create default renditions for",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"social_set_id": {
						"description": "Social Set used to initialize the snapshotted destinations",
						"type": "string"
					},
					"source_text": {
						"description": "Canonical source text",
						"type": "string"
					},
					"source_url": {
						"description": "Source URL for link shares",
						"type": "string"
					},
					"title": {
						"description": "Internal publication title",
						"type": "string"
					},
					"workspace_id": {
						"description": "Workspace ID",
						"type": "string"
					}
				},
				"required": ["workspace_id", "title", "content_profile", "source_text"],
				"type": "object"
			},
			"CreatePurchaseChoiceInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreatePurchaseChoiceInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"billing_period": {
						"description": "Canonical billing period",
						"enum": ["monthly", "annual"],
						"type": "string"
					},
					"plan_id": {
						"description": "Canonical hosted plan ID: starter, founder, pro, team, or agency",
						"type": "string"
					},
					"purchase_choice_token": {
						"description": "Existing integrity-protected choice to validate against the supplied plan and period",
						"type": "string"
					}
				},
				"required": ["plan_id", "billing_period"],
				"type": "object"
			},
			"CreateSocialSetInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateSocialSetInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"accounts": {
						"description": "Ordered connected accounts",
						"items": {
							"$ref": "#/components/schemas/SocialSetAccountInput"
						},
						"type": ["array", "null"]
					},
					"is_default": {
						"description": "Use this set when the composer opens",
						"type": "boolean"
					},
					"name": {
						"description": "Social Set name",
						"maxLength": 80,
						"minLength": 1,
						"type": "string"
					},
					"workspace_id": {
						"description": "Target workspace ID",
						"type": "string"
					}
				},
				"required": ["workspace_id", "name", "accounts"],
				"type": "object"
			},
			"CreateTextPostDraftInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateTextPostDraftInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"content": {
						"description": "First post content",
						"type": "string"
					},
					"media_ids": {
						"description": "Aggregate media",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"publication": {
						"$ref": "#/components/schemas/TextPostPublicationInput",
						"description": "Canonical segments, media, settings, and destination renditions"
					},
					"random_delay_minutes": {
						"description": "Random schedule delay",
						"format": "int64",
						"type": "integer"
					},
					"scheduled_at": {
						"description": "Proposed schedule time",
						"type": "string"
					},
					"social_account_ids": {
						"description": "Destinations",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"thread_draft": {
						"description": "Encoded multi-post draft",
						"type": "string"
					},
					"variants": {
						"description": "Per-destination text variants",
						"items": {
							"$ref": "#/components/schemas/VariantInput"
						},
						"type": ["array", "null"]
					},
					"workspace_id": {
						"description": "Target workspace ID",
						"type": "string"
					}
				},
				"required": [
					"workspace_id",
					"content",
					"social_account_ids",
					"media_ids",
					"variants",
					"publication"
				],
				"type": "object"
			},
			"CreateThreadInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateThreadInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"posts": {
						"description": "Thread posts in order",
						"items": {
							"$ref": "#/components/schemas/ThreadPostInput"
						},
						"minItems": 2,
						"type": ["array", "null"]
					},
					"random_delay_minutes": {
						"description": "Random delay in minutes (±N) to add for natural posting",
						"format": "int64",
						"type": "integer"
					},
					"scheduled_at": {
						"description": "Schedule time (ISO 8601). Omit for draft.",
						"format": "date-time",
						"type": "string"
					},
					"social_account_ids": {
						"description": "Social account IDs to publish to",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"workspace_id": {
						"description": "Target workspace ID",
						"type": "string"
					}
				},
				"required": ["workspace_id", "social_account_ids", "posts"],
				"type": "object"
			},
			"CreateThreadOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateThreadOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"post_ids": {
						"description": "Created post IDs in order",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["post_ids"],
				"type": "object"
			},
			"CreateUserImpersonationLinkOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateUserImpersonationLinkOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"expires_at": {
						"description": "Link expiration time",
						"type": "string"
					},
					"url": {
						"description": "One-use private-browser sign-in URL",
						"type": "string"
					}
				},
				"required": ["url", "expires_at"],
				"type": "object"
			},
			"CreateVideoProjectCheckpointInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateVideoProjectCheckpointInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"expected_revision": {
						"format": "int64",
						"minimum": 1,
						"type": "integer"
					},
					"name": {
						"maxLength": 100,
						"minLength": 1,
						"type": "string"
					}
				},
				"required": ["name", "expected_revision"],
				"type": "object"
			},
			"CreateVideoProjectInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateVideoProjectInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"client_request_id": {
						"maxLength": 200,
						"type": "string"
					},
					"cover_preview_media_id": {
						"type": "string"
					},
					"document": {
						"$ref": "#/components/schemas/Document"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["workspace_id", "client_request_id", "document"],
				"type": "object"
			},
			"CreateVideoReturnTokenInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateVideoReturnTokenInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"constraints": {
						"additionalProperties": {},
						"type": "object"
					},
					"purpose": {
						"maxLength": 64,
						"type": "string"
					},
					"return_url": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["workspace_id", "return_url", "purpose", "constraints"],
				"type": "object"
			},
			"CreateVideoReturnTokenOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateVideoReturnTokenOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"expires_at": {
						"type": "string"
					},
					"token": {
						"type": "string"
					}
				},
				"required": ["token", "expires_at"],
				"type": "object"
			},
			"CreateWorkspaceInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateWorkspaceInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"name": {
						"description": "Workspace name",
						"maxLength": 100,
						"minLength": 1,
						"type": "string"
					},
					"organization_id": {
						"description": "Organization ID. Omit to use the signed-in owner's active subscribed organization when available, or create a personal organization.",
						"type": "string"
					}
				},
				"required": ["name"],
				"type": "object"
			},
			"CreateWorkspaceInvitationInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateWorkspaceInvitationInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"email": {
						"description": "Email address to invite",
						"format": "email",
						"type": "string"
					},
					"role": {
						"description": "Workspace role to grant",
						"enum": ["admin", "editor", "viewer"],
						"type": "string"
					}
				},
				"required": ["email", "role"],
				"type": "object"
			},
			"CreateWorkspaceOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/CreateWorkspaceOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"created_at": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"organization_id": {
						"type": "string"
					}
				},
				"required": ["id", "organization_id", "name", "created_at"],
				"type": "object"
			},
			"CropRectangle": {
				"additionalProperties": false,
				"properties": {
					"height": {
						"format": "double",
						"type": "number"
					},
					"width": {
						"format": "double",
						"type": "number"
					},
					"x": {
						"format": "double",
						"type": "number"
					},
					"y": {
						"format": "double",
						"type": "number"
					}
				},
				"required": ["x", "y", "width", "height"],
				"type": "object"
			},
			"Decision": {
				"additionalProperties": false,
				"properties": {
					"advertisable": {
						"type": "boolean"
					},
					"blockers": {
						"items": {
							"$ref": "#/components/schemas/Blocker"
						},
						"type": ["array", "null"]
					},
					"connectable": {
						"type": "boolean"
					},
					"contract_digest": {
						"type": "string"
					},
					"executable": {
						"type": "boolean"
					},
					"facts": {
						"$ref": "#/components/schemas/Facts"
					},
					"publishable": {
						"type": "boolean"
					},
					"state": {
						"type": "string"
					}
				},
				"required": ["state", "executable", "connectable", "publishable", "advertisable", "facts"],
				"type": "object"
			},
			"DeleteAccountInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/DeleteAccountInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"confirm_email": {
						"description": "Exact account email confirmation",
						"format": "email",
						"type": "string"
					},
					"current_password": {
						"description": "Current account password",
						"type": "string"
					},
					"reauth_grant": {
						"description": "One-time action-bound reauthentication grant",
						"type": "string"
					}
				},
				"required": ["current_password", "confirm_email"],
				"type": "object"
			},
			"DeleteAccountOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/DeleteAccountOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"deleted": {
						"type": "boolean"
					}
				},
				"required": ["deleted"],
				"type": "object"
			},
			"DeleteImageEditorDesignOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/DeleteImageEditorDesignOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"deleted": {
						"type": "boolean"
					}
				},
				"required": ["deleted"],
				"type": "object"
			},
			"DeleteImageEditorTemplateOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/DeleteImageEditorTemplateOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"deleted": {
						"type": "boolean"
					}
				},
				"required": ["deleted"],
				"type": "object"
			},
			"DeleteMediaOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/DeleteMediaOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"message": {
						"description": "Success message",
						"type": "string"
					}
				},
				"required": ["message"],
				"type": "object"
			},
			"DeleteMediaTagOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/DeleteMediaTagOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"deleted": {
						"type": "boolean"
					}
				},
				"required": ["deleted"],
				"type": "object"
			},
			"DeletePostOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/DeletePostOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"message": {
						"description": "Success message",
						"type": "string"
					}
				},
				"required": ["message"],
				"type": "object"
			},
			"DeletePostingScheduleOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/DeletePostingScheduleOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"message": {
						"description": "Success message",
						"type": "string"
					}
				},
				"required": ["message"],
				"type": "object"
			},
			"DeletePromptOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/DeletePromptOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"message": {
						"description": "Success message",
						"type": "string"
					}
				},
				"required": ["message"],
				"type": "object"
			},
			"DeleteProviderAppResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/DeleteProviderAppResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"requires_restart": {
						"description": "Whether the server must restart before adapter changes apply",
						"type": "boolean"
					}
				},
				"required": ["requires_restart"],
				"type": "object"
			},
			"DeleteVariantsOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/DeleteVariantsOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"message": {
						"description": "Success message",
						"type": "string"
					}
				},
				"required": ["message"],
				"type": "object"
			},
			"DeleteVideoProjectOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/DeleteVideoProjectOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"deleted": {
						"type": "boolean"
					}
				},
				"required": ["deleted"],
				"type": "object"
			},
			"DeleteWorkspaceInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/DeleteWorkspaceInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"confirm_name": {
						"description": "Exact canonical Workspace name",
						"minLength": 1,
						"type": "string"
					},
					"current_password": {
						"description": "Current account password",
						"type": "string"
					},
					"reauth_grant": {
						"description": "One-time grant for workspace.delete",
						"type": "string"
					}
				},
				"required": ["confirm_name"],
				"type": "object"
			},
			"DeleteWorkspaceOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/DeleteWorkspaceOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"deleted": {
						"type": "boolean"
					}
				},
				"required": ["deleted"],
				"type": "object"
			},
			"DeletionBlocker": {
				"additionalProperties": false,
				"properties": {
					"code": {
						"type": "string"
					},
					"message": {
						"type": "string"
					},
					"organization_id": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["code", "message"],
				"type": "object"
			},
			"DeletionInstanceAdminTransfer": {
				"additionalProperties": false,
				"properties": {
					"successor_email": {
						"type": "string"
					}
				},
				"required": ["successor_email"],
				"type": "object"
			},
			"DeletionOwnershipTransfer": {
				"additionalProperties": false,
				"properties": {
					"organization_id": {
						"type": "string"
					},
					"organization_name": {
						"type": "string"
					},
					"successor_email": {
						"type": "string"
					}
				},
				"required": ["organization_id", "organization_name", "successor_email"],
				"type": "object"
			},
			"DenyCLIAuthInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/DenyCLIAuthInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"device_code": {
						"type": "string"
					},
					"user_code": {
						"type": "string"
					}
				},
				"type": "object"
			},
			"DestinationFormat": {
				"additionalProperties": false,
				"properties": {
					"compatible": {
						"type": "boolean"
					},
					"label": {
						"type": "string"
					},
					"output_profile": {
						"type": "string"
					},
					"profile": {
						"type": "string"
					}
				},
				"required": ["output_profile", "profile", "label", "compatible"],
				"type": "object"
			},
			"DestinationOption": {
				"additionalProperties": false,
				"properties": {
					"label": {
						"type": "string"
					},
					"value": {
						"type": "string"
					}
				},
				"required": ["value", "label"],
				"type": "object"
			},
			"DestinationOptionsOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/DestinationOptionsOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"options": {
						"additionalProperties": {
							"items": {
								"$ref": "#/components/schemas/DestinationOption"
							},
							"type": ["array", "null"]
						},
						"type": "object"
					}
				},
				"required": ["options"],
				"type": "object"
			},
			"Diagnostics": {
				"additionalProperties": false,
				"properties": {
					"browser": {
						"type": "string"
					},
					"component": {
						"type": "string"
					},
					"errors": {
						"items": {
							"$ref": "#/components/schemas/ClientError"
						},
						"type": ["array", "null"]
					},
					"failed_requests": {
						"items": {
							"$ref": "#/components/schemas/FailedAPIRequest"
						},
						"type": ["array", "null"]
					},
					"navigation": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"route_path": {
						"type": "string"
					},
					"viewport": {
						"$ref": "#/components/schemas/Viewport"
					}
				},
				"required": [
					"route_path",
					"viewport",
					"browser",
					"navigation",
					"failed_requests",
					"errors"
				],
				"type": "object"
			},
			"DirectMediaUploadTarget": {
				"additionalProperties": false,
				"properties": {
					"expires_at": {
						"description": "Upload URL expiration time",
						"type": "string"
					},
					"headers": {
						"additionalProperties": {
							"type": "string"
						},
						"description": "Headers that must be sent with the upload request",
						"type": "object"
					},
					"method": {
						"description": "HTTP method to use for the upload",
						"type": "string"
					},
					"object_key": {
						"description": "Storage object key reserved for the upload",
						"type": "string"
					},
					"url": {
						"description": "Presigned or authenticated upload target URL",
						"type": "string"
					}
				},
				"required": ["method", "url", "headers", "expires_at", "object_key"],
				"type": "object"
			},
			"DirectMessage": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/DirectMessage.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"attachments_json": {
						"type": "string"
					},
					"author_remote_id": {
						"type": "string"
					},
					"body": {
						"type": "string"
					},
					"conversation_id": {
						"type": "string"
					},
					"created_at": {
						"format": "date-time",
						"type": "string"
					},
					"direction": {
						"type": "string"
					},
					"error_message": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"remote_created_at": {
						"format": "date-time",
						"type": "string"
					},
					"remote_message_id": {
						"type": "string"
					},
					"send_status": {
						"type": "string"
					},
					"updated_at": {
						"format": "date-time",
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"workspace_id",
					"conversation_id",
					"remote_message_id",
					"direction",
					"author_remote_id",
					"body",
					"attachments_json",
					"send_status",
					"error_message",
					"remote_created_at",
					"created_at",
					"updated_at"
				],
				"type": "object"
			},
			"DisableTOTPInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/DisableTOTPInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"current_password": {
						"description": "Current password for re-authentication",
						"type": "string"
					},
					"reauth_grant": {
						"description": "One-time action-bound reauthentication grant",
						"type": "string"
					}
				},
				"required": ["current_password"],
				"type": "object"
			},
			"DiscordWebhookLoginInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/DiscordWebhookLoginInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"intent": {
						"description": "Typed execution intent; certification_test requires an unscoped instance administrator",
						"enum": ["production", "certification_test"],
						"type": "string"
					},
					"webhook_url": {
						"description": "Discord incoming webhook URL",
						"type": "string"
					},
					"workspace_id": {
						"description": "Workspace ID",
						"type": "string"
					}
				},
				"required": ["workspace_id", "webhook_url"],
				"type": "object"
			},
			"Document": {
				"additionalProperties": false,
				"properties": {
					"audio_tracks": {
						"items": {
							"$ref": "#/components/schemas/AudioTrack"
						},
						"type": ["array", "null"]
					},
					"caption_tracks": {
						"items": {
							"$ref": "#/components/schemas/CaptionTrack"
						},
						"type": ["array", "null"]
					},
					"editing_mode": {
						"enum": ["quick-cut", "editor"],
						"type": "string"
					},
					"export_defaults": {
						"$ref": "#/components/schemas/ExportDefaults"
					},
					"markers": {
						"items": {
							"$ref": "#/components/schemas/TimelineMarker"
						},
						"type": ["array", "null"]
					},
					"primary_sequence": {
						"items": {
							"$ref": "#/components/schemas/PrimarySequenceClip"
						},
						"type": ["array", "null"]
					},
					"schema_version": {
						"format": "int64",
						"type": "integer"
					},
					"sources": {
						"additionalProperties": {
							"$ref": "#/components/schemas/Source"
						},
						"type": "object"
					},
					"timebase": {
						"$ref": "#/components/schemas/Timebase"
					},
					"title": {
						"type": "string"
					},
					"variants": {
						"items": {
							"$ref": "#/components/schemas/VideoVariant"
						},
						"type": ["array", "null"]
					},
					"visual_tracks": {
						"items": {
							"$ref": "#/components/schemas/VisualTrack"
						},
						"type": ["array", "null"]
					}
				},
				"required": [
					"schema_version",
					"title",
					"timebase",
					"sources",
					"primary_sequence",
					"visual_tracks",
					"audio_tracks",
					"caption_tracks",
					"variants",
					"markers",
					"export_defaults"
				],
				"type": "object"
			},
			"EditorRevisionActor": {
				"additionalProperties": false,
				"properties": {
					"is_current_user": {
						"type": "boolean"
					},
					"name": {
						"type": "string"
					}
				},
				"required": ["name", "is_current_user"],
				"type": "object"
			},
			"EmailChangeStatusOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/EmailChangeStatusOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"pending": {
						"$ref": "#/components/schemas/EmailChangeSummary"
					}
				},
				"type": "object"
			},
			"EmailChangeSummary": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/EmailChangeSummary.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"expires_at": {
						"description": "Challenge expiration time",
						"format": "date-time",
						"type": "string"
					},
					"id": {
						"description": "Email-change challenge ID",
						"type": "string"
					},
					"new_email": {
						"description": "Address awaiting confirmation",
						"type": "string"
					},
					"sent_at": {
						"description": "When the latest code was sent",
						"format": "date-time",
						"type": "string"
					}
				},
				"required": ["id", "new_email", "expires_at"],
				"type": "object"
			},
			"EngagementActionInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/EngagementActionInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"action": {
						"enum": ["reply", "hide", "delete", "like", "unlike"],
						"type": "string"
					},
					"message": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["workspace_id", "action"],
				"type": "object"
			},
			"EngagementAttachment": {
				"additionalProperties": false,
				"properties": {
					"alt_text": {
						"type": "string"
					},
					"mime_type": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"thumbnail": {
						"type": "string"
					},
					"type": {
						"type": "string"
					},
					"url": {
						"type": "string"
					}
				},
				"required": ["type", "url"],
				"type": "object"
			},
			"EngagementItem": {
				"additionalProperties": false,
				"properties": {
					"account_username": {
						"type": "string"
					},
					"archived_at": {
						"format": "date-time",
						"type": "string"
					},
					"attachments": {
						"items": {
							"$ref": "#/components/schemas/EngagementAttachment"
						},
						"type": ["array", "null"]
					},
					"author_avatar_url": {
						"type": "string"
					},
					"author_handle": {
						"type": "string"
					},
					"author_name": {
						"type": "string"
					},
					"author_remote_id": {
						"type": "string"
					},
					"body": {
						"type": "string"
					},
					"can_delete": {
						"type": "boolean"
					},
					"can_hide": {
						"type": "boolean"
					},
					"can_like": {
						"type": "boolean"
					},
					"can_reply": {
						"type": "boolean"
					},
					"can_unlike": {
						"type": "boolean"
					},
					"conversation_remote_id": {
						"type": "string"
					},
					"created_at": {
						"format": "date-time",
						"type": "string"
					},
					"deleted_at": {
						"format": "date-time",
						"type": "string"
					},
					"edited_at": {
						"format": "date-time",
						"type": "string"
					},
					"hidden": {
						"type": "boolean"
					},
					"id": {
						"type": "string"
					},
					"is_ours": {
						"type": "boolean"
					},
					"last_seen_at": {
						"format": "date-time",
						"type": "string"
					},
					"liked": {
						"type": "boolean"
					},
					"parent_remote_id": {
						"type": "string"
					},
					"platform": {
						"type": "string"
					},
					"provider_post_url": {
						"type": "string"
					},
					"publication_excerpt": {
						"type": "string"
					},
					"publication_id": {
						"type": "string"
					},
					"publication_title": {
						"type": "string"
					},
					"read_at": {
						"format": "date-time",
						"type": "string"
					},
					"remote_created_at": {
						"format": "date-time",
						"type": "string"
					},
					"remote_id": {
						"type": "string"
					},
					"rendition_id": {
						"type": "string"
					},
					"social_account_id": {
						"type": "string"
					},
					"updated_at": {
						"format": "date-time",
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"workspace_id",
					"rendition_id",
					"social_account_id",
					"platform",
					"remote_id",
					"parent_remote_id",
					"conversation_remote_id",
					"author_remote_id",
					"author_name",
					"author_handle",
					"author_avatar_url",
					"body",
					"is_ours",
					"can_reply",
					"can_hide",
					"can_delete",
					"can_like",
					"can_unlike",
					"liked",
					"hidden",
					"last_seen_at",
					"created_at",
					"updated_at",
					"attachments"
				],
				"type": "object"
			},
			"EngagementPage": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/EngagementPage.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"items": {
						"items": {
							"$ref": "#/components/schemas/EngagementItem"
						},
						"type": ["array", "null"]
					},
					"next_cursor": {
						"type": "string"
					},
					"sync_states": {
						"items": {
							"$ref": "#/components/schemas/EngagementSyncState"
						},
						"type": ["array", "null"]
					},
					"total": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["items", "total", "sync_states"],
				"type": "object"
			},
			"EngagementSyncState": {
				"additionalProperties": false,
				"properties": {
					"error_code": {
						"type": "string"
					},
					"error_message": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"last_success_at": {
						"format": "date-time",
						"type": "string"
					},
					"next_sync_at": {
						"format": "date-time",
						"type": "string"
					},
					"platform": {
						"type": "string"
					},
					"rendition_id": {
						"type": "string"
					},
					"social_account_id": {
						"type": "string"
					},
					"status": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"rendition_id",
					"social_account_id",
					"platform",
					"status",
					"error_code",
					"error_message"
				],
				"type": "object"
			},
			"ErrorDetail": {
				"additionalProperties": false,
				"properties": {
					"location": {
						"description": "Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'",
						"type": "string"
					},
					"message": {
						"description": "Error message text",
						"type": "string"
					},
					"value": {
						"description": "The value at the given location"
					}
				},
				"type": "object"
			},
			"ErrorModel": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ErrorModel.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"detail": {
						"description": "A human-readable explanation specific to this occurrence of the problem.",
						"examples": ["Property foo is required but is missing."],
						"type": "string"
					},
					"errors": {
						"description": "Optional list of individual error details",
						"items": {
							"$ref": "#/components/schemas/ErrorDetail"
						},
						"type": ["array", "null"]
					},
					"instance": {
						"description": "A URI reference that identifies the specific occurrence of the problem.",
						"examples": ["https://example.com/error-log/abc123"],
						"format": "uri",
						"type": "string"
					},
					"status": {
						"description": "HTTP status code",
						"examples": [400],
						"format": "int64",
						"type": "integer"
					},
					"title": {
						"description": "A short, human-readable summary of the problem type. This value should not change between occurrences of the error.",
						"examples": ["Bad Request"],
						"type": "string"
					},
					"type": {
						"default": "about:blank",
						"description": "A URI reference to human-readable documentation for the error.",
						"examples": ["https://example.com/errors/example"],
						"format": "uri",
						"type": "string"
					}
				},
				"type": "object"
			},
			"ExchangeCodeInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ExchangeCodeInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"code": {
						"description": "Authorization code from OAuth flow",
						"type": "string"
					},
					"instance_url": {
						"description": "Mastodon instance URL to dynamically register",
						"type": "string"
					},
					"intent": {
						"description": "Typed execution intent; certification_test requires an unscoped instance administrator",
						"enum": ["production", "certification_test"],
						"type": "string"
					},
					"server_name": {
						"description": "Mastodon server name from config",
						"type": "string"
					},
					"workspace_id": {
						"description": "Workspace ID",
						"type": "string"
					}
				},
				"required": ["workspace_id", "server_name", "instance_url", "code"],
				"type": "object"
			},
			"ExportDefaults": {
				"additionalProperties": false,
				"properties": {
					"audio_bitrate": {
						"format": "int64",
						"type": "integer"
					},
					"audio_codec": {
						"enum": ["aac", "opus"],
						"type": "string"
					},
					"format": {
						"enum": ["mp4", "webm"],
						"type": "string"
					},
					"frame_rate": {
						"$ref": "#/components/schemas/ExportFrameRate"
					},
					"loudness_normalization": {
						"type": "boolean"
					},
					"variant_ids": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"video_bitrate": {
						"format": "int64",
						"type": "integer"
					},
					"video_codec": {
						"enum": ["avc", "vp9"],
						"type": "string"
					}
				},
				"required": [
					"variant_ids",
					"format",
					"video_codec",
					"audio_codec",
					"frame_rate",
					"video_bitrate",
					"audio_bitrate",
					"loudness_normalization"
				],
				"type": "object"
			},
			"ExportFrameRate": {
				"additionalProperties": false,
				"properties": {
					"denominator": {
						"format": "int64",
						"type": "integer"
					},
					"numerator": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["numerator", "denominator"],
				"type": "object"
			},
			"Facts": {
				"additionalProperties": false,
				"properties": {
					"approval": {
						"type": "string"
					},
					"authorization": {
						"type": "string"
					},
					"configuration": {
						"type": "string"
					},
					"control": {
						"type": "string"
					},
					"live_certification": {
						"type": "string"
					},
					"local_test": {
						"type": "string"
					},
					"policy": {
						"type": "string"
					}
				},
				"required": [
					"configuration",
					"local_test",
					"live_certification",
					"approval",
					"authorization",
					"control",
					"policy"
				],
				"type": "object"
			},
			"FailedAPIRequest": {
				"additionalProperties": false,
				"properties": {
					"duration_ms": {
						"format": "int64",
						"type": "integer"
					},
					"method": {
						"type": "string"
					},
					"path": {
						"type": "string"
					},
					"status": {
						"format": "int64",
						"type": "integer"
					},
					"timestamp": {
						"type": "string"
					}
				},
				"required": ["method", "path", "status", "duration_ms", "timestamp"],
				"type": "object"
			},
			"FinishPasskeyLoginInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/FinishPasskeyLoginInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"challenge_id": {
						"description": "Passkey challenge ID",
						"type": "string"
					},
					"credential": {
						"description": "WebAuthn assertion response"
					}
				},
				"required": ["challenge_id", "credential"],
				"type": "object"
			},
			"FinishPasskeyReauthInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/FinishPasskeyReauthInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"challenge_id": {
						"description": "Passkey challenge ID",
						"type": "string"
					},
					"credential": {
						"description": "WebAuthn assertion response"
					}
				},
				"required": ["challenge_id", "credential"],
				"type": "object"
			},
			"FinishPasskeyRegistrationInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/FinishPasskeyRegistrationInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"challenge_id": {
						"description": "Passkey registration challenge ID",
						"type": "string"
					},
					"credential": {
						"description": "WebAuthn registration response"
					},
					"name": {
						"description": "Optional passkey label",
						"type": "string"
					}
				},
				"required": ["challenge_id", "name", "credential"],
				"type": "object"
			},
			"GenerateMediaAltTextInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/GenerateMediaAltTextInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"locale": {
						"description": "BCP 47 locale for the generated alt text; defaults to English",
						"maxLength": 35,
						"pattern": "^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$",
						"type": "string"
					},
					"post_context": {
						"description": "Optional post text used only to disambiguate details visible in the image",
						"maxLength": 1000,
						"type": "string"
					}
				},
				"type": "object"
			},
			"GenerateMediaAltTextOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/GenerateMediaAltTextOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"alt_text": {
						"description": "Persisted alternative text",
						"type": "string"
					},
					"generated": {
						"description": "Whether this request generated and persisted new alternative text",
						"type": "boolean"
					},
					"model": {
						"description": "Model that generated the alternative text; empty when existing text was returned",
						"type": "string"
					}
				},
				"required": ["alt_text", "generated", "model"],
				"type": "object"
			},
			"GenerateMemeSuggestionsInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/GenerateMemeSuggestionsInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"count": {
						"default": 3,
						"description": "Number of distinct suggestions",
						"format": "int64",
						"maximum": 4,
						"minimum": 1,
						"type": "integer"
					},
					"idea": {
						"description": "Topic or situation for the meme",
						"maxLength": 1000,
						"minLength": 1,
						"type": "string"
					},
					"language": {
						"description": "BCP 47 language tag; defaults to English",
						"maxLength": 35,
						"type": "string"
					},
					"tone": {
						"description": "Requested humor tone; defaults to witty",
						"enum": ["witty", "balanced", "dry", "sarcastic", "playful"],
						"maxLength": 100,
						"type": "string"
					},
					"workspace_id": {
						"description": "Workspace ID",
						"type": "string"
					}
				},
				"required": ["workspace_id", "idea"],
				"type": "object"
			},
			"GenerateMemeSuggestionsOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/GenerateMemeSuggestionsOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"candidates": {
						"items": {
							"$ref": "#/components/schemas/MemeSuggestionCandidate"
						},
						"type": ["array", "null"]
					},
					"catalog_revision": {
						"type": "string"
					},
					"model": {
						"type": "string"
					}
				},
				"required": ["candidates", "model", "catalog_revision"],
				"type": "object"
			},
			"Get-running-versionResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/Get-running-versionResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"edition": {
						"description": "Configured OpenPost edition",
						"type": "string"
					},
					"revision": {
						"description": "Full source revision embedded in the server",
						"type": "string"
					},
					"version": {
						"description": "Release version embedded in the server",
						"type": "string"
					}
				},
				"required": ["version", "revision", "edition"],
				"type": "object"
			},
			"GetAuthURLOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/GetAuthURLOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"url": {
						"description": "OAuth authorization URL",
						"type": "string"
					}
				},
				"required": ["url"],
				"type": "object"
			},
			"GetCLIAuthSessionOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/GetCLIAuthSessionOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"client_name": {
						"type": "string"
					},
					"client_os": {
						"type": "string"
					},
					"client_version": {
						"type": "string"
					},
					"expires_at": {
						"type": "string"
					},
					"requested_scopes": {
						"type": "string"
					}
				},
				"required": [
					"client_name",
					"client_version",
					"client_os",
					"requested_scopes",
					"expires_at"
				],
				"type": "object"
			},
			"GetMediaStorageOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/GetMediaStorageOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"asset_count": {
						"description": "Quota-counted media assets",
						"format": "int64",
						"type": "integer"
					},
					"direct_upload_supported": {
						"description": "Whether this instance supports direct-to-storage or server-streamed upload sessions",
						"type": "boolean"
					},
					"internal_bytes": {
						"description": "Hidden preview bytes excluded from quota",
						"format": "int64",
						"type": "integer"
					},
					"limit_bytes": {
						"description": "Storage limit, or zero when no fixed limit is exposed",
						"format": "int64",
						"type": "integer"
					},
					"used_bytes": {
						"description": "Quota-counted media bytes",
						"format": "int64",
						"type": "integer"
					}
				},
				"required": [
					"used_bytes",
					"asset_count",
					"internal_bytes",
					"limit_bytes",
					"direct_upload_supported"
				],
				"type": "object"
			},
			"GetMediaUsageOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/GetMediaUsageOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"count": {
						"description": "Number of posts using this media",
						"format": "int64",
						"type": "integer"
					},
					"usage": {
						"description": "Posts using this media",
						"items": {
							"$ref": "#/components/schemas/MediaUsageItem"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["usage", "count"],
				"type": "object"
			},
			"GetMemeTemplateThumbnailOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/GetMemeTemplateThumbnailOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"data_base64": {
						"description": "Base64-encoded template thumbnail bytes",
						"type": "string"
					},
					"mime_type": {
						"type": "string"
					},
					"template_id": {
						"type": "string"
					}
				},
				"required": ["template_id", "mime_type", "data_base64"],
				"type": "object"
			},
			"GetPromptCategoriesOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/GetPromptCategoriesOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"categories": {
						"description": "Available prompt categories",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["categories"],
				"type": "object"
			},
			"GetVariantsOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/GetVariantsOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"variants": {
						"description": "Post variants",
						"items": {
							"$ref": "#/components/schemas/VariantResponse"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["variants"],
				"type": "object"
			},
			"GetWorkspaceSettingsOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/GetWorkspaceSettingsOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"avatar_url": {
						"type": "string"
					},
					"color": {
						"type": "string"
					},
					"draft_gap_minutes": {
						"format": "int64",
						"type": "integer"
					},
					"media_cleanup_days": {
						"default": 14,
						"deprecated": true,
						"description": "Deprecated compatibility value. Always 14; temporary-media cleanup cannot be configured.",
						"enum": [14],
						"format": "int64",
						"type": "integer"
					},
					"name": {
						"type": "string"
					},
					"random_delay_minutes": {
						"format": "int64",
						"type": "integer"
					},
					"slot_end_hour": {
						"format": "int64",
						"type": "integer"
					},
					"slot_interval_minutes": {
						"format": "int64",
						"type": "integer"
					},
					"slot_start_hour": {
						"format": "int64",
						"type": "integer"
					},
					"timezone": {
						"type": "string"
					},
					"week_start": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": [
					"name",
					"avatar_url",
					"color",
					"timezone",
					"week_start",
					"media_cleanup_days",
					"random_delay_minutes",
					"draft_gap_minutes",
					"slot_start_hour",
					"slot_end_hour",
					"slot_interval_minutes"
				],
				"type": "object"
			},
			"GrantResponse": {
				"additionalProperties": false,
				"properties": {
					"created_at": {
						"type": "string"
					},
					"direction": {
						"enum": ["outbound", "inbound"],
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"platform": {
						"type": "string"
					},
					"source_workspace_id": {
						"type": "string"
					},
					"source_workspace_name": {
						"type": "string"
					},
					"target_account_id": {
						"type": "string"
					},
					"target_username": {
						"type": "string"
					},
					"target_workspace_id": {
						"type": "string"
					},
					"target_workspace_name": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"source_workspace_id",
					"source_workspace_name",
					"target_workspace_id",
					"target_workspace_name",
					"target_account_id",
					"target_username",
					"platform",
					"direction",
					"created_at"
				],
				"type": "object"
			},
			"Health-checkResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/Health-checkResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"status": {
						"description": "Health status",
						"type": "string"
					}
				},
				"required": ["status"],
				"type": "object"
			},
			"IdentityAuditEvent": {
				"additionalProperties": false,
				"properties": {
					"action": {
						"type": "string"
					},
					"actor_user_id": {
						"type": "string"
					},
					"created_at": {
						"format": "date-time",
						"type": "string"
					},
					"detail": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"organization_id": {
						"type": "string"
					},
					"provider_id": {
						"type": "string"
					},
					"subject_user_id": {
						"type": "string"
					}
				},
				"required": ["id", "action", "created_at"],
				"type": "object"
			},
			"IdentityProviderDomain": {
				"additionalProperties": false,
				"properties": {
					"created_at": {
						"format": "date-time",
						"type": "string"
					},
					"created_by_user_id": {
						"type": "string"
					},
					"domain": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"organization_id": {
						"type": "string"
					},
					"provider_id": {
						"type": "string"
					},
					"verified_at": {
						"format": "date-time",
						"type": "string"
					}
				},
				"required": [
					"id",
					"provider_id",
					"organization_id",
					"domain",
					"created_by_user_id",
					"created_at"
				],
				"type": "object"
			},
			"ImageEditorBrandColor": {
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"value": {
						"type": "string"
					}
				},
				"required": ["id", "name", "value"],
				"type": "object"
			},
			"ImageEditorBrandFont": {
				"additionalProperties": false,
				"properties": {
					"css_family": {
						"type": "string"
					},
					"family": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"license_acknowledged": {
						"type": "boolean"
					},
					"license_acknowledged_at": {
						"type": "string"
					},
					"license_acknowledged_by": {
						"type": "string"
					},
					"media_id": {
						"type": "string"
					},
					"style": {
						"enum": ["normal", "italic"],
						"type": "string"
					},
					"weight": {
						"format": "int64",
						"maximum": 900,
						"minimum": 100,
						"type": "integer"
					}
				},
				"required": ["media_id", "family", "weight", "style"],
				"type": "object"
			},
			"ImageEditorBrandKitResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ImageEditorBrandKitResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"backgrounds": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"can_edit": {
						"type": "boolean"
					},
					"colors": {
						"items": {
							"$ref": "#/components/schemas/ImageEditorBrandColor"
						},
						"type": ["array", "null"]
					},
					"exists": {
						"type": "boolean"
					},
					"fonts": {
						"items": {
							"$ref": "#/components/schemas/ImageEditorBrandFont"
						},
						"type": ["array", "null"]
					},
					"id": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"revision": {
						"format": "int64",
						"type": "integer"
					},
					"text_styles": {
						"items": {
							"$ref": "#/components/schemas/ImageEditorBrandTextStyle"
						},
						"type": ["array", "null"]
					},
					"updated_at": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": [
					"workspace_id",
					"name",
					"revision",
					"exists",
					"can_edit",
					"colors",
					"text_styles",
					"backgrounds",
					"fonts"
				],
				"type": "object"
			},
			"ImageEditorBrandTextStyle": {
				"additionalProperties": false,
				"properties": {
					"color": {
						"type": "string"
					},
					"font_asset_id": {
						"type": "string"
					},
					"font_family": {
						"type": "string"
					},
					"font_size": {
						"format": "double",
						"type": "number"
					},
					"font_style": {
						"type": "string"
					},
					"font_weight": {
						"format": "int64",
						"type": "integer"
					},
					"id": {
						"type": "string"
					},
					"letter_spacing": {
						"format": "double",
						"type": "number"
					},
					"line_height": {
						"format": "double",
						"type": "number"
					},
					"name": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"name",
					"font_family",
					"font_weight",
					"font_style",
					"font_size",
					"color",
					"line_height",
					"letter_spacing"
				],
				"type": "object"
			},
			"ImageEditorCrop": {
				"additionalProperties": false,
				"properties": {
					"height": {
						"format": "double",
						"type": "number"
					},
					"width": {
						"format": "double",
						"type": "number"
					},
					"x": {
						"format": "double",
						"type": "number"
					},
					"y": {
						"format": "double",
						"type": "number"
					}
				},
				"required": ["x", "y", "width", "height"],
				"type": "object"
			},
			"ImageEditorDesignSummary": {
				"additionalProperties": false,
				"properties": {
					"cover_preview_media_id": {
						"type": "string"
					},
					"created_at": {
						"type": "string"
					},
					"height_px": {
						"format": "int64",
						"type": "integer"
					},
					"id": {
						"type": "string"
					},
					"is_favorite": {
						"type": "boolean"
					},
					"page_count": {
						"format": "int64",
						"type": "integer"
					},
					"preset_key": {
						"type": "string"
					},
					"revision": {
						"format": "int64",
						"type": "integer"
					},
					"title": {
						"type": "string"
					},
					"updated_at": {
						"type": "string"
					},
					"width_px": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": [
					"id",
					"title",
					"preset_key",
					"width_px",
					"height_px",
					"page_count",
					"revision",
					"is_favorite",
					"created_at",
					"updated_at"
				],
				"type": "object"
			},
			"ImageEditorDocumentPayload": {
				"additionalProperties": false,
				"properties": {
					"brand_kit_id": {
						"type": "string"
					},
					"brand_kit_revision": {
						"format": "int64",
						"type": "integer"
					},
					"export_defaults": {
						"$ref": "#/components/schemas/ImageEditorExportDefaults"
					},
					"height_px": {
						"format": "int64",
						"type": "integer"
					},
					"pages": {
						"items": {
							"$ref": "#/components/schemas/ImageEditorPagePayload"
						},
						"type": ["array", "null"]
					},
					"preset_key": {
						"type": "string"
					},
					"schema_version": {
						"format": "int64",
						"type": "integer"
					},
					"title": {
						"type": "string"
					},
					"width_px": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": [
					"schema_version",
					"title",
					"preset_key",
					"width_px",
					"height_px",
					"brand_kit_revision",
					"export_defaults",
					"pages"
				],
				"type": "object"
			},
			"ImageEditorDocumentResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ImageEditorDocumentResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"can_edit": {
						"type": "boolean"
					},
					"cover_preview_media_id": {
						"type": "string"
					},
					"created_at": {
						"type": "string"
					},
					"created_by_id": {
						"type": "string"
					},
					"document": {
						"$ref": "#/components/schemas/ImageEditorDocumentPayload"
					},
					"id": {
						"type": "string"
					},
					"revision": {
						"format": "int64",
						"type": "integer"
					},
					"updated_at": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"workspace_id",
					"created_by_id",
					"revision",
					"can_edit",
					"created_at",
					"updated_at",
					"document"
				],
				"type": "object"
			},
			"ImageEditorEraseMask": {
				"additionalProperties": false,
				"properties": {
					"source_height": {
						"format": "double",
						"minimum": 1,
						"type": "number"
					},
					"source_width": {
						"format": "double",
						"minimum": 1,
						"type": "number"
					},
					"spans": {
						"items": {
							"$ref": "#/components/schemas/ImageEditorPaintSpan"
						},
						"type": ["array", "null"]
					},
					"strokes": {
						"items": {
							"$ref": "#/components/schemas/ImageEditorEraseStroke"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["source_width", "source_height", "strokes", "spans"],
				"type": "object"
			},
			"ImageEditorEraseStroke": {
				"additionalProperties": false,
				"properties": {
					"points": {
						"items": {
							"$ref": "#/components/schemas/ImageEditorPaintPoint"
						},
						"type": ["array", "null"]
					},
					"size": {
						"format": "double",
						"maximum": 512,
						"minimum": 1,
						"type": "number"
					}
				},
				"required": ["size", "points"],
				"type": "object"
			},
			"ImageEditorExportDefaults": {
				"additionalProperties": false,
				"properties": {
					"format": {
						"enum": ["png", "jpeg", "webp"],
						"type": "string"
					},
					"matte_color": {
						"type": "string"
					},
					"quality": {
						"format": "double",
						"maximum": 1,
						"minimum": 0.1,
						"type": "number"
					}
				},
				"required": ["format", "quality", "matte_color"],
				"type": "object"
			},
			"ImageEditorGradientStop": {
				"additionalProperties": false,
				"properties": {
					"color": {
						"type": "string"
					},
					"offset": {
						"format": "double",
						"maximum": 1,
						"minimum": 0,
						"type": "number"
					}
				},
				"required": ["offset", "color"],
				"type": "object"
			},
			"ImageEditorGradientValue": {
				"additionalProperties": false,
				"properties": {
					"end": {
						"$ref": "#/components/schemas/ImageEditorPaintPoint"
					},
					"reverse": {
						"type": "boolean"
					},
					"start": {
						"$ref": "#/components/schemas/ImageEditorPaintPoint"
					},
					"stops": {
						"items": {
							"$ref": "#/components/schemas/ImageEditorGradientStop"
						},
						"type": ["array", "null"]
					},
					"type": {
						"enum": ["linear", "radial", "angle", "reflected", "diamond"],
						"type": "string"
					}
				},
				"required": ["type", "start", "end", "stops", "reverse"],
				"type": "object"
			},
			"ImageEditorImageAdjustments": {
				"additionalProperties": false,
				"properties": {
					"blur": {
						"format": "double",
						"type": "number"
					},
					"brightness": {
						"format": "double",
						"type": "number"
					},
					"contrast": {
						"format": "double",
						"type": "number"
					},
					"exposure": {
						"format": "double",
						"type": "number"
					},
					"highlights": {
						"format": "double",
						"type": "number"
					},
					"hue": {
						"format": "double",
						"type": "number"
					},
					"saturation": {
						"format": "double",
						"type": "number"
					},
					"shadows": {
						"format": "double",
						"type": "number"
					},
					"temperature": {
						"format": "double",
						"type": "number"
					},
					"tint": {
						"format": "double",
						"type": "number"
					},
					"vibrance": {
						"format": "double",
						"type": "number"
					}
				},
				"required": [
					"brightness",
					"contrast",
					"saturation",
					"temperature",
					"tint",
					"vibrance",
					"hue",
					"exposure",
					"highlights",
					"shadows",
					"blur"
				],
				"type": "object"
			},
			"ImageEditorImageValue": {
				"additionalProperties": false,
				"properties": {
					"adjustments": {
						"$ref": "#/components/schemas/ImageEditorImageAdjustments"
					},
					"crop": {
						"$ref": "#/components/schemas/ImageEditorCrop"
					},
					"fit": {
						"enum": ["cover", "contain", "stretch"],
						"type": "string"
					},
					"intrinsic_pending": {
						"type": "boolean"
					},
					"media_id": {
						"type": "string"
					},
					"source_height": {
						"format": "int64",
						"type": "integer"
					},
					"source_width": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["media_id", "source_width", "source_height", "fit", "crop", "adjustments"],
				"type": "object"
			},
			"ImageEditorLayer": {
				"additionalProperties": false,
				"properties": {
					"effects": {
						"$ref": "#/components/schemas/ImageEditorLayerEffects"
					},
					"erase_mask": {
						"$ref": "#/components/schemas/ImageEditorEraseMask"
					},
					"id": {
						"type": "string"
					},
					"image": {
						"$ref": "#/components/schemas/ImageEditorImageValue"
					},
					"locked": {
						"type": "boolean"
					},
					"mask": {
						"$ref": "#/components/schemas/ImageEditorLayerMask"
					},
					"name": {
						"type": "string"
					},
					"opacity": {
						"format": "double",
						"type": "number"
					},
					"paint": {
						"$ref": "#/components/schemas/ImageEditorPaintValue"
					},
					"parent_id": {
						"type": "string"
					},
					"shape": {
						"$ref": "#/components/schemas/ImageEditorShapeValue"
					},
					"text": {
						"$ref": "#/components/schemas/ImageEditorTextValue"
					},
					"transform": {
						"$ref": "#/components/schemas/ImageEditorTransform"
					},
					"type": {
						"enum": ["text", "image", "shape", "paint", "group"],
						"type": "string"
					},
					"visible": {
						"type": "boolean"
					}
				},
				"required": ["id", "type", "name", "visible", "locked", "opacity", "transform"],
				"type": "object"
			},
			"ImageEditorLayerEffects": {
				"additionalProperties": false,
				"properties": {
					"blend_mode": {
						"enum": ["normal", "multiply", "screen", "overlay", "darken", "lighten", "soft_light"],
						"type": "string"
					},
					"drop_shadow": {
						"$ref": "#/components/schemas/ImageEditorShadowEffect"
					},
					"inner_shadow": {
						"$ref": "#/components/schemas/ImageEditorShadowEffect"
					},
					"stroke": {
						"$ref": "#/components/schemas/ImageEditorStrokeEffect"
					}
				},
				"required": ["blend_mode"],
				"type": "object"
			},
			"ImageEditorLayerMask": {
				"additionalProperties": false,
				"properties": {
					"inset": {
						"format": "double",
						"minimum": 0,
						"type": "number"
					},
					"radius": {
						"format": "double",
						"minimum": 0,
						"type": "number"
					},
					"shape": {
						"enum": ["rectangle", "rounded_rectangle", "circle", "ellipse", "diamond"],
						"type": "string"
					}
				},
				"required": ["shape", "inset", "radius"],
				"type": "object"
			},
			"ImageEditorPageBackground": {
				"additionalProperties": false,
				"properties": {
					"color": {
						"type": "string"
					},
					"gradient": {
						"$ref": "#/components/schemas/ImageEditorGradientValue"
					},
					"image": {
						"$ref": "#/components/schemas/ImageEditorPageBackgroundImage"
					},
					"opacity": {
						"format": "double",
						"maximum": 1,
						"minimum": 0,
						"type": "number"
					},
					"type": {
						"enum": ["transparent", "solid", "gradient", "image"],
						"type": "string"
					}
				},
				"required": ["type", "opacity"],
				"type": "object"
			},
			"ImageEditorPageBackgroundImage": {
				"additionalProperties": false,
				"properties": {
					"fit": {
						"enum": ["cover", "contain", "stretch"],
						"type": "string"
					},
					"media_id": {
						"type": "string"
					}
				},
				"required": ["media_id", "fit"],
				"type": "object"
			},
			"ImageEditorPageGuides": {
				"additionalProperties": false,
				"properties": {
					"horizontal": {
						"items": {
							"format": "double",
							"type": "number"
						},
						"type": ["array", "null"]
					},
					"vertical": {
						"items": {
							"format": "double",
							"type": "number"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["horizontal", "vertical"],
				"type": "object"
			},
			"ImageEditorPagePayload": {
				"additionalProperties": false,
				"properties": {
					"background": {
						"$ref": "#/components/schemas/ImageEditorPageBackground"
					},
					"background_color": {
						"type": "string"
					},
					"guides": {
						"$ref": "#/components/schemas/ImageEditorPageGuides"
					},
					"id": {
						"type": "string"
					},
					"latest_export_media_id": {
						"type": "string"
					},
					"layers": {
						"items": {
							"$ref": "#/components/schemas/ImageEditorLayer"
						},
						"type": ["array", "null"]
					},
					"name": {
						"type": "string"
					},
					"preview_media_id": {
						"type": "string"
					}
				},
				"required": ["id", "name", "background_color", "layers"],
				"type": "object"
			},
			"ImageEditorPaintPoint": {
				"additionalProperties": false,
				"properties": {
					"x": {
						"format": "double",
						"type": "number"
					},
					"y": {
						"format": "double",
						"type": "number"
					}
				},
				"required": ["x", "y"],
				"type": "object"
			},
			"ImageEditorPaintSpan": {
				"additionalProperties": false,
				"properties": {
					"width": {
						"format": "double",
						"type": "number"
					},
					"x": {
						"format": "double",
						"type": "number"
					},
					"y": {
						"format": "double",
						"type": "number"
					}
				},
				"required": ["y", "x", "width"],
				"type": "object"
			},
			"ImageEditorPaintValue": {
				"additionalProperties": false,
				"properties": {
					"color": {
						"type": "string"
					},
					"gradient": {
						"$ref": "#/components/schemas/ImageEditorGradientValue"
					},
					"kind": {
						"enum": ["stroke", "fill", "gradient"],
						"type": "string"
					},
					"opacity": {
						"format": "double",
						"maximum": 1,
						"minimum": 0,
						"type": "number"
					},
					"points": {
						"items": {
							"$ref": "#/components/schemas/ImageEditorPaintPoint"
						},
						"type": ["array", "null"]
					},
					"size": {
						"format": "double",
						"maximum": 512,
						"minimum": 0,
						"type": "number"
					},
					"source_height": {
						"format": "double",
						"minimum": 0,
						"type": "number"
					},
					"source_width": {
						"format": "double",
						"minimum": 0,
						"type": "number"
					},
					"spans": {
						"items": {
							"$ref": "#/components/schemas/ImageEditorPaintSpan"
						},
						"type": ["array", "null"]
					}
				},
				"required": [
					"kind",
					"color",
					"size",
					"opacity",
					"source_width",
					"source_height",
					"points",
					"spans"
				],
				"type": "object"
			},
			"ImageEditorPreset": {
				"additionalProperties": false,
				"properties": {
					"default_format": {
						"description": "Default export format",
						"enum": ["png", "jpeg", "webp"],
						"type": "string"
					},
					"height_px": {
						"description": "Canvas height in pixels",
						"format": "int64",
						"type": "integer"
					},
					"key": {
						"description": "Stable preset key",
						"type": "string"
					},
					"name": {
						"description": "User-visible preset name",
						"type": "string"
					},
					"profiles": {
						"description": "Compatible provider content profiles",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"width_px": {
						"description": "Canvas width in pixels",
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["key", "name", "width_px", "height_px", "default_format", "profiles"],
				"type": "object"
			},
			"ImageEditorPresetOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ImageEditorPresetOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"background_model_base_url": {
						"type": "string"
					},
					"enabled": {
						"type": "boolean"
					},
					"presets": {
						"items": {
							"$ref": "#/components/schemas/ImageEditorPreset"
						},
						"type": ["array", "null"]
					},
					"schema_version": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["enabled", "schema_version", "background_model_base_url", "presets"],
				"type": "object"
			},
			"ImageEditorRevisionResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ImageEditorRevisionResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"cover_preview_media_id": {
						"type": "string"
					},
					"document": {
						"$ref": "#/components/schemas/ImageEditorDocumentPayload"
					},
					"summary": {
						"$ref": "#/components/schemas/ImageEditorRevisionSummary"
					}
				},
				"required": ["summary", "document"],
				"type": "object"
			},
			"ImageEditorRevisionSummary": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ImageEditorRevisionSummary.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"actor": {
						"$ref": "#/components/schemas/EditorRevisionActor"
					},
					"created_at": {
						"type": "string"
					},
					"expires_at": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"kind": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"revision": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["id", "revision", "kind", "created_at", "actor"],
				"type": "object"
			},
			"ImageEditorShadowEffect": {
				"additionalProperties": false,
				"properties": {
					"angle": {
						"format": "double",
						"maximum": 360,
						"minimum": -360,
						"type": "number"
					},
					"blur": {
						"format": "double",
						"maximum": 100,
						"minimum": 0,
						"type": "number"
					},
					"color": {
						"type": "string"
					},
					"distance": {
						"format": "double",
						"maximum": 500,
						"minimum": 0,
						"type": "number"
					},
					"opacity": {
						"format": "double",
						"maximum": 1,
						"minimum": 0,
						"type": "number"
					}
				},
				"required": ["color", "opacity", "blur", "angle", "distance"],
				"type": "object"
			},
			"ImageEditorShapeValue": {
				"additionalProperties": false,
				"properties": {
					"fill": {
						"type": "string"
					},
					"kind": {
						"enum": ["rectangle", "rounded_rectangle", "ellipse", "line"],
						"type": "string"
					},
					"radius": {
						"format": "double",
						"type": "number"
					},
					"stroke": {
						"type": "string"
					},
					"stroke_width": {
						"format": "double",
						"type": "number"
					}
				},
				"required": ["kind", "fill", "stroke", "stroke_width", "radius"],
				"type": "object"
			},
			"ImageEditorStrokeEffect": {
				"additionalProperties": false,
				"properties": {
					"color": {
						"type": "string"
					},
					"opacity": {
						"format": "double",
						"maximum": 1,
						"minimum": 0,
						"type": "number"
					},
					"position": {
						"enum": ["inside", "center", "outside"],
						"type": "string"
					},
					"width": {
						"format": "double",
						"maximum": 500,
						"minimum": 0,
						"type": "number"
					}
				},
				"required": ["color", "opacity", "width", "position"],
				"type": "object"
			},
			"ImageEditorTemplateResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ImageEditorTemplateResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"built_in": {
						"type": "boolean"
					},
					"category": {
						"type": "string"
					},
					"created_at": {
						"type": "string"
					},
					"document": {
						"$ref": "#/components/schemas/ImageEditorDocumentPayload"
					},
					"id": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"preset_key": {
						"type": "string"
					},
					"preview_media_id": {
						"type": "string"
					},
					"updated_at": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["id", "name", "category", "preset_key", "built_in", "document"],
				"type": "object"
			},
			"ImageEditorTextCurve": {
				"additionalProperties": false,
				"properties": {
					"offset": {
						"format": "double",
						"maximum": 1,
						"minimum": -1,
						"type": "number"
					},
					"reverse": {
						"type": "boolean"
					},
					"strength": {
						"format": "double",
						"maximum": 1,
						"minimum": 0.05,
						"type": "number"
					},
					"type": {
						"enum": ["none", "arc_up", "arc_down", "wave", "circle", "ellipse"],
						"type": "string"
					}
				},
				"required": ["type", "strength", "offset", "reverse"],
				"type": "object"
			},
			"ImageEditorTextShadow": {
				"additionalProperties": false,
				"properties": {
					"blur": {
						"format": "double",
						"type": "number"
					},
					"color": {
						"type": "string"
					},
					"offset_x": {
						"format": "double",
						"type": "number"
					},
					"offset_y": {
						"format": "double",
						"type": "number"
					}
				},
				"required": ["color", "blur", "offset_x", "offset_y"],
				"type": "object"
			},
			"ImageEditorTextValue": {
				"additionalProperties": false,
				"properties": {
					"align": {
						"type": "string"
					},
					"color": {
						"type": "string"
					},
					"curve": {
						"$ref": "#/components/schemas/ImageEditorTextCurve"
					},
					"font_asset_id": {
						"type": "string"
					},
					"font_family": {
						"type": "string"
					},
					"font_size": {
						"format": "double",
						"type": "number"
					},
					"font_style": {
						"type": "string"
					},
					"font_weight": {
						"format": "int64",
						"type": "integer"
					},
					"highlight_color": {
						"type": "string"
					},
					"letter_spacing": {
						"format": "double",
						"type": "number"
					},
					"line_height": {
						"format": "double",
						"type": "number"
					},
					"shadow": {
						"$ref": "#/components/schemas/ImageEditorTextShadow"
					},
					"strike": {
						"type": "boolean"
					},
					"stroke_color": {
						"type": "string"
					},
					"stroke_width": {
						"format": "double",
						"type": "number"
					},
					"text": {
						"type": "string"
					},
					"underline": {
						"type": "boolean"
					},
					"wrap": {
						"enum": ["word", "character"],
						"type": "string"
					}
				},
				"required": [
					"text",
					"font_family",
					"font_weight",
					"font_style",
					"font_size",
					"color",
					"align",
					"line_height",
					"letter_spacing",
					"stroke_width",
					"shadow"
				],
				"type": "object"
			},
			"ImageEditorTransform": {
				"additionalProperties": false,
				"properties": {
					"flip_x": {
						"type": "boolean"
					},
					"flip_y": {
						"type": "boolean"
					},
					"height": {
						"format": "double",
						"type": "number"
					},
					"rotation": {
						"format": "double",
						"type": "number"
					},
					"width": {
						"format": "double",
						"type": "number"
					},
					"x": {
						"format": "double",
						"type": "number"
					},
					"y": {
						"format": "double",
						"type": "number"
					}
				},
				"required": ["x", "y", "width", "height", "rotation", "flip_x", "flip_y"],
				"type": "object"
			},
			"InitiateOwnershipTransferInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/InitiateOwnershipTransferInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"confirm_organization_name": {
						"description": "Exact Organization name as explicit confirmation",
						"minLength": 1,
						"type": "string"
					},
					"nominee_user_id": {
						"description": "Eligible Organization member user ID",
						"minLength": 1,
						"type": "string"
					},
					"reauth_grant": {
						"description": "One-time grant for organization.ownership.transfer",
						"minLength": 1,
						"type": "string"
					}
				},
				"required": ["nominee_user_id", "confirm_organization_name", "reauth_grant"],
				"type": "object"
			},
			"InstanceAuditJSONExport": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/InstanceAuditJSONExport.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"format_version": {
						"type": "string"
					},
					"generated_at": {
						"format": "date-time",
						"type": "string"
					},
					"items": {
						"items": {
							"$ref": "#/components/schemas/AuditEvent"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["format_version", "generated_at", "items"],
				"type": "object"
			},
			"InstanceDailyMetric": {
				"additionalProperties": false,
				"properties": {
					"date": {
						"description": "UTC calendar date",
						"format": "date",
						"type": "string"
					},
					"value": {
						"description": "Count for this date",
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["date", "value"],
				"type": "object"
			},
			"InstanceOverviewResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/InstanceOverviewResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"new_users_last_30_days": {
						"description": "Users registered during the current 30-day window",
						"format": "int64",
						"type": "integer"
					},
					"publication_trend": {
						"description": "Daily UTC publications with at least one published rendition for the last 30 days",
						"items": {
							"$ref": "#/components/schemas/InstanceDailyMetric"
						},
						"type": ["array", "null"]
					},
					"published_last_30_days": {
						"description": "Publications with at least one published rendition during the current 30-day window",
						"format": "int64",
						"type": "integer"
					},
					"total_users": {
						"description": "Total registered users",
						"format": "int64",
						"type": "integer"
					},
					"total_workspaces": {
						"description": "Total workspaces",
						"format": "int64",
						"type": "integer"
					},
					"user_registration_trend": {
						"description": "Daily UTC user registrations for the last 30 days",
						"items": {
							"$ref": "#/components/schemas/InstanceDailyMetric"
						},
						"type": ["array", "null"]
					}
				},
				"required": [
					"total_users",
					"new_users_last_30_days",
					"total_workspaces",
					"published_last_30_days",
					"user_registration_trend",
					"publication_trend"
				],
				"type": "object"
			},
			"InstanceSettingOptionResponse": {
				"additionalProperties": false,
				"properties": {
					"label": {
						"description": "Human-readable option label",
						"type": "string"
					},
					"value": {
						"description": "Stored option value",
						"type": "string"
					}
				},
				"required": ["value", "label"],
				"type": "object"
			},
			"InstanceSettingResponse": {
				"additionalProperties": false,
				"properties": {
					"configured": {
						"description": "Whether the desired value is non-empty",
						"type": "boolean"
					},
					"database_override_configured": {
						"description": "Whether an encrypted administrator override exists",
						"type": "boolean"
					},
					"description": {
						"description": "Setting purpose and effect",
						"type": "string"
					},
					"editable": {
						"description": "Whether the administrator can save an encrypted database override",
						"type": "boolean"
					},
					"environment_variables": {
						"description": "Supported direct environment variable names",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"group": {
						"description": "Configuration group",
						"type": "string"
					},
					"key": {
						"description": "Canonical environment variable name",
						"type": "string"
					},
					"label": {
						"description": "Human-readable setting name",
						"type": "string"
					},
					"managed_by": {
						"description": "Direct or file-backed environment variable that supplies a configured value or fallback",
						"type": "string"
					},
					"optional": {
						"description": "Whether an empty value is valid",
						"type": "boolean"
					},
					"options": {
						"description": "Allowed values for enum settings",
						"items": {
							"$ref": "#/components/schemas/InstanceSettingOptionResponse"
						},
						"type": ["array", "null"]
					},
					"requires_restart": {
						"description": "Whether the saved value differs from the running process",
						"type": "boolean"
					},
					"secret": {
						"description": "Whether the value is sensitive and always redacted",
						"type": "boolean"
					},
					"secret_configured": {
						"description": "Whether a redacted secret value is configured",
						"type": "boolean"
					},
					"source": {
						"description": "Layer that supplies the desired value after administrator overrides are applied",
						"enum": ["environment", "database", "default"],
						"type": "string"
					},
					"type": {
						"description": "Input type",
						"enum": ["boolean", "integer", "string", "secret", "url", "email", "enum", "list"],
						"type": "string"
					},
					"updated_at": {
						"description": "Last database update time",
						"type": "string"
					},
					"value": {
						"description": "Desired non-secret value. Secret values are never returned.",
						"type": "string"
					}
				},
				"required": [
					"key",
					"group",
					"label",
					"description",
					"type",
					"secret",
					"optional",
					"environment_variables",
					"source",
					"configured",
					"secret_configured",
					"database_override_configured",
					"editable",
					"requires_restart"
				],
				"type": "object"
			},
			"InstanceSettingUpdateInput": {
				"additionalProperties": false,
				"properties": {
					"key": {
						"description": "Canonical setting key",
						"type": "string"
					},
					"unset": {
						"description": "Remove the database override and fall back to the environment or default",
						"type": "boolean"
					},
					"value": {
						"description": "Replacement value. Secret values are write-only.",
						"type": "string"
					}
				},
				"required": ["key"],
				"type": "object"
			},
			"InstanceSettingsResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/InstanceSettingsResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"requires_restart": {
						"description": "Whether any saved setting needs a server restart",
						"type": "boolean"
					},
					"settings": {
						"items": {
							"$ref": "#/components/schemas/InstanceSettingResponse"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["settings", "requires_restart"],
				"type": "object"
			},
			"InstanceUserPage": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/InstanceUserPage.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"page": {
						"description": "Current one-based page",
						"format": "int64",
						"type": "integer"
					},
					"per_page": {
						"description": "Users per page",
						"format": "int64",
						"type": "integer"
					},
					"total": {
						"description": "Total registered users",
						"format": "int64",
						"type": "integer"
					},
					"total_pages": {
						"description": "Total number of pages",
						"format": "int64",
						"type": "integer"
					},
					"users": {
						"items": {
							"$ref": "#/components/schemas/InstanceUserResponse"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["users", "total", "page", "per_page", "total_pages"],
				"type": "object"
			},
			"InstanceUserResponse": {
				"additionalProperties": false,
				"properties": {
					"avatar_url": {
						"description": "Profile avatar URL",
						"type": "string"
					},
					"created_at": {
						"description": "Account creation time",
						"type": "string"
					},
					"display_name": {
						"description": "User display name",
						"type": "string"
					},
					"email": {
						"description": "User email address",
						"type": "string"
					},
					"id": {
						"description": "User ID",
						"type": "string"
					},
					"is_admin": {
						"description": "Whether the user is an instance administrator",
						"type": "boolean"
					},
					"last_active_at": {
						"description": "Most recent tracked browser session activity time",
						"type": "string"
					},
					"organization_count": {
						"description": "Number of organizations the user belongs to",
						"format": "int64",
						"type": "integer"
					},
					"plan_ids": {
						"description": "Active or trialing organization plan IDs available to the user",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"publication_count": {
						"description": "Number of publications created by the user",
						"format": "int64",
						"type": "integer"
					},
					"social_account_count": {
						"description": "Number of social accounts available through the user's workspaces",
						"format": "int64",
						"type": "integer"
					},
					"workspace_count": {
						"description": "Number of workspaces the user can access",
						"format": "int64",
						"type": "integer"
					}
				},
				"required": [
					"id",
					"email",
					"display_name",
					"avatar_url",
					"is_admin",
					"plan_ids",
					"organization_count",
					"workspace_count",
					"social_account_count",
					"publication_count",
					"last_active_at",
					"created_at"
				],
				"type": "object"
			},
			"InstantiateImageEditorTemplateInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": [
							"https://example.com/schemas/InstantiateImageEditorTemplateInputBody.json"
						],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"title": {
						"maxLength": 160,
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["workspace_id", "title"],
				"type": "object"
			},
			"JobResponse": {
				"additionalProperties": false,
				"properties": {
					"attempts": {
						"description": "Number of attempts",
						"format": "int64",
						"type": "integer"
					},
					"created_at": {
						"description": "Creation time",
						"type": "string"
					},
					"id": {
						"description": "Job ID",
						"type": "string"
					},
					"last_error": {
						"description": "Last error message",
						"type": "string"
					},
					"locked_at": {
						"description": "When job was locked",
						"type": "string"
					},
					"max_attempts": {
						"description": "Maximum attempts",
						"format": "int64",
						"type": "integer"
					},
					"payload": {
						"description": "Job payload",
						"type": "string"
					},
					"publication_id": {
						"description": "Publication associated with this job, when available",
						"type": "string"
					},
					"run_at": {
						"description": "Scheduled run time",
						"type": "string"
					},
					"status": {
						"description": "Job status",
						"type": "string"
					},
					"type": {
						"description": "Job type",
						"type": "string"
					}
				},
				"required": ["id", "type", "status", "run_at", "attempts", "max_attempts", "created_at"],
				"type": "object"
			},
			"ListImageEditorDesignsOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ListImageEditorDesignsOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"can_edit": {
						"type": "boolean"
					},
					"designs": {
						"items": {
							"$ref": "#/components/schemas/ImageEditorDesignSummary"
						},
						"type": ["array", "null"]
					},
					"total": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["designs", "total", "can_edit"],
				"type": "object"
			},
			"ListImageEditorRevisionsOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ListImageEditorRevisionsOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"next_cursor": {
						"type": "string"
					},
					"revisions": {
						"items": {
							"$ref": "#/components/schemas/ImageEditorRevisionSummary"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["revisions"],
				"type": "object"
			},
			"ListImageEditorTemplatesOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ListImageEditorTemplatesOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"can_edit": {
						"type": "boolean"
					},
					"templates": {
						"items": {
							"$ref": "#/components/schemas/ImageEditorTemplateResponse"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["templates", "can_edit"],
				"type": "object"
			},
			"ListMediaOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ListMediaOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"media": {
						"description": "Media attachments",
						"items": {
							"$ref": "#/components/schemas/MediaListItem"
						},
						"type": ["array", "null"]
					},
					"total": {
						"description": "Total count matching filter",
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["media", "total"],
				"type": "object"
			},
			"ListMediaTagsOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ListMediaTagsOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"can_edit": {
						"type": "boolean"
					},
					"tags": {
						"items": {
							"$ref": "#/components/schemas/MediaTagResponse"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["tags", "can_edit"],
				"type": "object"
			},
			"ListMemeTemplatesOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ListMemeTemplatesOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"ai_configured": {
						"description": "Whether AI meme suggestions are configured",
						"type": "boolean"
					},
					"catalog": {
						"$ref": "#/components/schemas/MemeCatalogMetadata"
					},
					"configured": {
						"description": "Whether a meme renderer is configured",
						"type": "boolean"
					},
					"templates": {
						"items": {
							"$ref": "#/components/schemas/Template"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["configured", "ai_configured", "catalog", "templates"],
				"type": "object"
			},
			"ListPublicImageEditorTemplatesOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": [
							"https://example.com/schemas/ListPublicImageEditorTemplatesOutputBody.json"
						],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"templates": {
						"items": {
							"$ref": "#/components/schemas/ImageEditorTemplateResponse"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["templates"],
				"type": "object"
			},
			"ListStockProvidersOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ListStockProvidersOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"enabled": {
						"type": "boolean"
					},
					"providers": {
						"items": {
							"$ref": "#/components/schemas/StockProviderResponse"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["enabled", "providers"],
				"type": "object"
			},
			"ListVideoProjectRevisionsOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ListVideoProjectRevisionsOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"next_cursor": {
						"type": "string"
					},
					"revisions": {
						"items": {
							"$ref": "#/components/schemas/VideoProjectRevisionSummary"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["revisions"],
				"type": "object"
			},
			"ListVideoProjectsOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ListVideoProjectsOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"can_edit": {
						"type": "boolean"
					},
					"projects": {
						"items": {
							"$ref": "#/components/schemas/VideoProjectSummary"
						},
						"type": ["array", "null"]
					},
					"total": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["projects", "total", "can_edit"],
				"type": "object"
			},
			"LoginInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/LoginInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"email": {
						"description": "User email address",
						"format": "email",
						"type": "string"
					},
					"password": {
						"description": "User password",
						"type": "string"
					}
				},
				"required": ["email", "password"],
				"type": "object"
			},
			"LogoutOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/LogoutOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"message": {
						"type": "string"
					}
				},
				"required": ["message"],
				"type": "object"
			},
			"MCPActivityItem": {
				"additionalProperties": false,
				"properties": {
					"client_id": {
						"description": "API token ID associated with the call, when available",
						"type": "string"
					},
					"client_name": {
						"description": "API token name associated with the call, when available",
						"type": "string"
					},
					"client_scope": {
						"description": "API token scope associated with the call, when available",
						"type": "string"
					},
					"client_token_prefix": {
						"description": "API token prefix associated with the call, when available",
						"type": "string"
					},
					"created_at": {
						"description": "Call creation time",
						"type": "string"
					},
					"duration_ms": {
						"description": "Call duration in milliseconds",
						"format": "int64",
						"type": "integer"
					},
					"error_message": {
						"description": "Error text for failed calls",
						"type": "string"
					},
					"id": {
						"description": "Tool call ID",
						"type": "string"
					},
					"status": {
						"description": "Tool call status",
						"type": "string"
					},
					"tool_name": {
						"description": "MCP tool name",
						"type": "string"
					},
					"workspace_id": {
						"description": "Workspace associated with the call, when provided",
						"type": "string"
					}
				},
				"required": ["id", "tool_name", "status", "duration_ms", "created_at"],
				"type": "object"
			},
			"MastodonServerInfo": {
				"additionalProperties": false,
				"properties": {
					"instance_url": {
						"description": "Mastodon instance URL",
						"type": "string"
					},
					"name": {
						"description": "Server configuration name",
						"type": "string"
					}
				},
				"required": ["name", "instance_url"],
				"type": "object"
			},
			"MediaConstraint": {
				"additionalProperties": false,
				"properties": {
					"allowed_audio_codecs": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"allowed_mimes": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"allowed_video_codecs": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"aspect_ratios": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"audio_policy": {
						"enum": ["optional", "required", "forbidden"],
						"type": "string"
					},
					"max_count": {
						"format": "int64",
						"type": "integer"
					},
					"max_duration_seconds": {
						"format": "int64",
						"type": "integer"
					},
					"max_frame_rate": {
						"format": "double",
						"type": "number"
					},
					"max_height": {
						"format": "int64",
						"type": "integer"
					},
					"max_size_bytes": {
						"format": "int64",
						"type": "integer"
					},
					"max_width": {
						"format": "int64",
						"type": "integer"
					},
					"min_count": {
						"format": "int64",
						"type": "integer"
					},
					"min_height": {
						"format": "int64",
						"type": "integer"
					},
					"min_width": {
						"format": "int64",
						"type": "integer"
					},
					"requires_https_fetchable": {
						"type": "boolean"
					},
					"requires_public_url": {
						"type": "boolean"
					}
				},
				"required": [
					"min_count",
					"max_count",
					"allowed_mimes",
					"requires_public_url",
					"requires_https_fetchable"
				],
				"type": "object"
			},
			"MediaListItem": {
				"additionalProperties": false,
				"properties": {
					"alt_text": {
						"description": "Alt text",
						"type": "string"
					},
					"analysis_error": {
						"description": "Media analysis error",
						"type": "string"
					},
					"analysis_status": {
						"description": "Media analysis status",
						"type": "string"
					},
					"asset_kind": {
						"description": "Media library role",
						"type": "string"
					},
					"audio_channels": {
						"description": "Detected audio channel count",
						"format": "int64",
						"type": "integer"
					},
					"audio_codec": {
						"description": "Detected audio codec",
						"type": "string"
					},
					"bit_rate": {
						"description": "Detected aggregate bitrate in bits per second",
						"format": "int64",
						"type": "integer"
					},
					"can_delete": {
						"description": "Whether media can be deleted",
						"type": "boolean"
					},
					"color_space": {
						"description": "Detected video color space",
						"type": "string"
					},
					"container_format": {
						"description": "Detected media container",
						"type": "string"
					},
					"created_at": {
						"description": "Creation time",
						"type": "string"
					},
					"design_document_id": {
						"description": "Producing OpenPost Image Editor design",
						"type": "string"
					},
					"design_page_id": {
						"description": "Producing OpenPost Image Editor page",
						"type": "string"
					},
					"duration_ms": {
						"description": "Video duration in milliseconds",
						"format": "int64",
						"type": "integer"
					},
					"frame_rate": {
						"description": "Video frame rate",
						"format": "double",
						"type": "number"
					},
					"height": {
						"description": "Image height",
						"format": "int64",
						"type": "integer"
					},
					"id": {
						"description": "Media ID",
						"type": "string"
					},
					"is_favorite": {
						"description": "Whether media is favorited",
						"type": "boolean"
					},
					"last_used_at": {
						"description": "Most recent known reference time",
						"type": "string"
					},
					"mime_type": {
						"description": "MIME type",
						"type": "string"
					},
					"original_filename": {
						"description": "Original filename",
						"type": "string"
					},
					"parent_media_id": {
						"description": "Source media for this derivative",
						"type": "string"
					},
					"pixel_format": {
						"description": "Detected video pixel format",
						"type": "string"
					},
					"poster_thumbnail_url": {
						"description": "Poster thumbnail URL",
						"type": "string"
					},
					"processing_progress": {
						"description": "Server processing progress from 0 to 100",
						"format": "int64",
						"type": "integer"
					},
					"processing_status": {
						"description": "Processing status",
						"type": "string"
					},
					"public_url_checked_at": {
						"description": "Public URL verification time",
						"type": "string"
					},
					"public_url_error": {
						"description": "Public URL verification error",
						"type": "string"
					},
					"public_url_status": {
						"description": "Public URL verification HTTP status",
						"format": "int64",
						"type": "integer"
					},
					"purge_after": {
						"description": "Time the item becomes eligible for permanent deletion",
						"type": "string"
					},
					"retention_class": {
						"description": "Whether the asset is kept in the library or managed as temporary post media",
						"enum": ["library", "temporary"],
						"type": "string"
					},
					"rotation": {
						"description": "Normalized display rotation",
						"format": "int64",
						"type": "integer"
					},
					"size": {
						"description": "File size in bytes",
						"format": "int64",
						"type": "integer"
					},
					"source": {
						"description": "Media provenance",
						"type": "string"
					},
					"tags": {
						"description": "Tag IDs assigned to this media",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"thumbnail_url": {
						"description": "Thumbnail URL for grid view",
						"type": "string"
					},
					"trash_reason": {
						"description": "Why the item entered Trash",
						"enum": ["manual", "published", "expired"],
						"type": "string"
					},
					"trashed_at": {
						"description": "Time the item entered Trash",
						"type": "string"
					},
					"url": {
						"description": "URL to access the media",
						"type": "string"
					},
					"usage_count": {
						"description": "Number of posts using this media",
						"format": "int64",
						"type": "integer"
					},
					"video_codec": {
						"description": "Detected video codec",
						"type": "string"
					},
					"video_profile": {
						"description": "Detected video codec profile",
						"type": "string"
					},
					"video_project_id": {
						"description": "Producing OpenPost Video Editor project",
						"type": "string"
					},
					"width": {
						"description": "Image width",
						"format": "int64",
						"type": "integer"
					},
					"workspace_id": {
						"description": "Workspace ID",
						"type": "string"
					}
				},
				"required": [
					"id",
					"workspace_id",
					"mime_type",
					"size",
					"original_filename",
					"width",
					"height",
					"alt_text",
					"is_favorite",
					"created_at",
					"url",
					"thumbnail_url",
					"usage_count",
					"can_delete",
					"processing_status",
					"duration_ms",
					"frame_rate",
					"bit_rate",
					"rotation",
					"audio_channels",
					"processing_progress",
					"analysis_status",
					"public_url_status",
					"source",
					"asset_kind",
					"tags",
					"retention_class"
				],
				"type": "object"
			},
			"MediaSummary": {
				"additionalProperties": false,
				"properties": {
					"alt_text": {
						"type": "string"
					},
					"analysis_error": {
						"type": "string"
					},
					"analysis_status": {
						"type": "string"
					},
					"aspect_ratio": {
						"type": "string"
					},
					"display_order": {
						"format": "int64",
						"type": "integer"
					},
					"dominant_type": {
						"type": "string"
					},
					"duration_ms": {
						"format": "int64",
						"type": "integer"
					},
					"frame_rate": {
						"format": "double",
						"type": "number"
					},
					"height": {
						"format": "int64",
						"type": "integer"
					},
					"id": {
						"type": "string"
					},
					"mime_type": {
						"type": "string"
					},
					"original_filename": {
						"type": "string"
					},
					"poster_thumbnail_url": {
						"type": "string"
					},
					"public_url_checked_at": {
						"type": "string"
					},
					"public_url_error": {
						"type": "string"
					},
					"public_url_ready": {
						"type": "boolean"
					},
					"public_url_status": {
						"format": "int64",
						"type": "integer"
					},
					"role": {
						"type": "string"
					},
					"settings": {
						"additionalProperties": {},
						"type": "object"
					},
					"size": {
						"format": "int64",
						"type": "integer"
					},
					"thumbnail_timestamp_ms": {
						"format": "int64",
						"type": "integer"
					},
					"url": {
						"type": "string"
					},
					"width": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": [
					"id",
					"mime_type",
					"size",
					"original_filename",
					"width",
					"height",
					"duration_ms",
					"frame_rate",
					"aspect_ratio",
					"dominant_type",
					"analysis_status",
					"public_url_ready",
					"public_url_status",
					"url"
				],
				"type": "object"
			},
			"MediaTagResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/MediaTagResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"created_at": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"item_count": {
						"format": "int64",
						"type": "integer"
					},
					"name": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["id", "workspace_id", "name", "item_count", "created_at"],
				"type": "object"
			},
			"MediaUploadResult": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/MediaUploadResult.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"alt_text": {
						"description": "Persisted alt text",
						"type": "string"
					},
					"analysis_error": {
						"description": "Media analysis error",
						"type": "string"
					},
					"analysis_status": {
						"description": "Media analysis status",
						"type": "string"
					},
					"asset_kind": {
						"description": "Media library role",
						"type": "string"
					},
					"deduped": {
						"description": "Whether an existing media attachment was reused",
						"type": "boolean"
					},
					"design_document_id": {
						"description": "Producing OpenPost Image Editor design ID",
						"type": "string"
					},
					"design_page_id": {
						"description": "Producing OpenPost Image Editor page ID",
						"type": "string"
					},
					"id": {
						"description": "Media ID",
						"type": "string"
					},
					"mime_type": {
						"description": "MIME type",
						"type": "string"
					},
					"original_filename": {
						"description": "Persisted original filename",
						"type": "string"
					},
					"parent_media_id": {
						"description": "Source media ID",
						"type": "string"
					},
					"poster_thumbnail_url": {
						"description": "Poster thumbnail URL",
						"type": "string"
					},
					"processing_progress": {
						"description": "Server processing progress from 0 to 100",
						"format": "int64",
						"type": "integer"
					},
					"processing_status": {
						"description": "Media processing status",
						"type": "string"
					},
					"retention_class": {
						"description": "Media lifecycle class",
						"enum": ["library", "temporary"],
						"type": "string"
					},
					"size": {
						"description": "File size in bytes",
						"format": "int64",
						"type": "integer"
					},
					"source": {
						"description": "Media provenance",
						"type": "string"
					},
					"url": {
						"description": "URL to access the media",
						"type": "string"
					},
					"video_project_id": {
						"description": "Producing OpenPost Video Editor project ID",
						"type": "string"
					}
				},
				"required": [
					"id",
					"mime_type",
					"url",
					"size",
					"deduped",
					"alt_text",
					"original_filename",
					"source",
					"asset_kind",
					"retention_class",
					"processing_status",
					"processing_progress",
					"analysis_status"
				],
				"type": "object"
			},
			"MediaUsageItem": {
				"additionalProperties": false,
				"properties": {
					"content": {
						"description": "Post content (truncated)",
						"type": "string"
					},
					"id": {
						"description": "Referenced object ID",
						"type": "string"
					},
					"kind": {
						"description": "Usage kind: post, design, template, brand_asset, or brand_font",
						"type": "string"
					},
					"label": {
						"description": "User-visible usage label",
						"type": "string"
					},
					"post_id": {
						"description": "Post ID for post usages",
						"type": "string"
					},
					"scheduled_at": {
						"description": "Scheduled time",
						"type": "string"
					},
					"status": {
						"description": "Post or design status",
						"type": "string"
					}
				},
				"required": ["kind", "id", "label"],
				"type": "object"
			},
			"MemeCatalogMetadata": {
				"additionalProperties": false,
				"properties": {
					"provider_key": {
						"description": "Configured meme renderer key",
						"type": "string"
					},
					"refreshed_at": {
						"description": "Time the provider catalog was refreshed",
						"type": "string"
					},
					"returned": {
						"description": "Templates returned by this request",
						"format": "int64",
						"type": "integer"
					},
					"revision": {
						"description": "Stable digest of the normalized catalog snapshot",
						"type": "string"
					},
					"stale": {
						"description": "Whether a stale cached catalog is being served",
						"type": "boolean"
					},
					"total_templates": {
						"description": "Templates in the full cached catalog",
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["stale", "total_templates", "returned"],
				"type": "object"
			},
			"MemeRecipeDocument": {
				"additionalProperties": false,
				"properties": {
					"alt_text": {
						"type": "string"
					},
					"captions": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"catalog_revision": {
						"type": "string"
					},
					"format": {
						"type": "string"
					},
					"overlay_media_ids": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"parent_media_id": {
						"type": "string"
					},
					"rendered_mime_type": {
						"type": "string"
					},
					"renderer_key": {
						"type": "string"
					},
					"schema_version": {
						"format": "int64",
						"type": "integer"
					},
					"template": {
						"$ref": "#/components/schemas/MemeRecipeTemplateSnapshot"
					}
				},
				"required": [
					"schema_version",
					"renderer_key",
					"catalog_revision",
					"template",
					"captions",
					"format",
					"rendered_mime_type"
				],
				"type": "object"
			},
			"MemeRecipeResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/MemeRecipeResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"catalog_revision": {
						"type": "string"
					},
					"created_at": {
						"type": "string"
					},
					"created_by_id": {
						"type": "string"
					},
					"kind": {
						"type": "string"
					},
					"media_id": {
						"type": "string"
					},
					"recipe": {
						"$ref": "#/components/schemas/MemeRecipeDocument"
					},
					"renderer_key": {
						"type": "string"
					},
					"template_id": {
						"type": "string"
					},
					"template_name": {
						"type": "string"
					},
					"template_source_url": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": [
					"media_id",
					"workspace_id",
					"created_by_id",
					"kind",
					"renderer_key",
					"template_id",
					"template_name",
					"recipe",
					"created_at"
				],
				"type": "object"
			},
			"MemeRecipeTemplateSnapshot": {
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string"
					},
					"lines": {
						"format": "int64",
						"type": "integer"
					},
					"name": {
						"type": "string"
					},
					"overlays": {
						"format": "int64",
						"type": "integer"
					},
					"source_url": {
						"type": "string"
					}
				},
				"required": ["id", "name", "lines", "overlays"],
				"type": "object"
			},
			"MemeSuggestionCandidate": {
				"additionalProperties": false,
				"properties": {
					"alt_text": {
						"type": "string"
					},
					"caption_lines": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"rationale": {
						"type": "string"
					},
					"template": {
						"$ref": "#/components/schemas/Template"
					},
					"template_id": {
						"type": "string"
					}
				},
				"required": ["template_id", "caption_lines", "rationale", "alt_text", "template"],
				"type": "object"
			},
			"MessageOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/MessageOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"message": {
						"type": "string"
					}
				},
				"required": ["message"],
				"type": "object"
			},
			"MessagePage": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/MessagePage.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"items": {
						"items": {
							"$ref": "#/components/schemas/DirectMessage"
						},
						"type": ["array", "null"]
					},
					"next_cursor": {
						"type": "string"
					}
				},
				"required": ["items"],
				"type": "object"
			},
			"MessageSyncState": {
				"additionalProperties": false,
				"properties": {
					"error_code": {
						"type": "string"
					},
					"error_message": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"last_success_at": {
						"format": "date-time",
						"type": "string"
					},
					"next_sync_at": {
						"format": "date-time",
						"type": "string"
					},
					"platform": {
						"type": "string"
					},
					"social_account_id": {
						"type": "string"
					},
					"status": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"social_account_id",
					"platform",
					"status",
					"error_code",
					"error_message"
				],
				"type": "object"
			},
			"MetricSummary": {
				"additionalProperties": false,
				"properties": {
					"delta": {
						"format": "int64",
						"type": "integer"
					},
					"measured": {
						"format": "int64",
						"type": "integer"
					},
					"value": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["value", "measured"],
				"type": "object"
			},
			"Mute": {
				"additionalProperties": false,
				"properties": {
					"ends_at": {
						"format": "date-time",
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"scope": {
						"enum": ["account", "workspace"],
						"type": "string"
					},
					"starts_at": {
						"format": "date-time",
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					},
					"workspace_name": {
						"type": "string"
					}
				},
				"required": ["id", "scope", "starts_at", "ends_at"],
				"type": "object"
			},
			"MuteCreate": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/MuteCreate.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"ends_at": {
						"format": "date-time",
						"type": "string"
					},
					"scope": {
						"enum": ["account", "workspace"],
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["scope", "ends_at"],
				"type": "object"
			},
			"NextAvailableSlotOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/NextAvailableSlotOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"message": {
						"description": "Message about the result",
						"type": "string"
					},
					"slot": {
						"$ref": "#/components/schemas/PostingScheduleResponse",
						"description": "Next available schedule slot"
					},
					"slot_time": {
						"description": "The suggested time in ISO 8601 format",
						"type": "string"
					}
				},
				"required": ["slot_time", "message"],
				"type": "object"
			},
			"NotificationAction": {
				"additionalProperties": false,
				"properties": {
					"href": {
						"type": "string"
					},
					"kind": {
						"type": "string"
					},
					"label": {
						"type": "string"
					},
					"operation": {
						"type": "string"
					},
					"target_id": {
						"type": "string"
					}
				},
				"required": ["label"],
				"type": "object"
			},
			"NotificationPage": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/NotificationPage.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"items": {
						"items": {
							"$ref": "#/components/schemas/UserNotification"
						},
						"type": ["array", "null"]
					},
					"next_cursor": {
						"type": "string"
					},
					"unread_count": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["items", "unread_count"],
				"type": "object"
			},
			"NumericKeyframe": {
				"additionalProperties": false,
				"properties": {
					"easing": {
						"enum": ["hold", "linear", "ease-in", "ease-out", "ease-in-out", "focus-spring"],
						"type": "string"
					},
					"time_us": {
						"format": "int64",
						"type": "integer"
					},
					"value": {
						"format": "double",
						"type": "number"
					}
				},
				"required": ["time_us", "value", "easing"],
				"type": "object"
			},
			"OIDCAuthenticatedStartInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/OIDCAuthenticatedStartInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"action": {
						"type": "string"
					},
					"native": {
						"type": "boolean"
					},
					"reauth_grant": {
						"type": "string"
					},
					"return_path": {
						"type": "string"
					}
				},
				"type": "object"
			},
			"OIDCAuthenticatedStartOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/OIDCAuthenticatedStartOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"authorization_url": {
						"type": "string"
					}
				},
				"required": ["authorization_url"],
				"type": "object"
			},
			"OIDCBackchannelLogoutOutputBody": {
				"additionalProperties": false,
				"properties": {
					"ok": {
						"type": "boolean"
					}
				},
				"required": ["ok"],
				"type": "object"
			},
			"OIDCDiscoverOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/OIDCDiscoverOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"found": {
						"type": "boolean"
					},
					"provider": {
						"$ref": "#/components/schemas/OIDCProviderSummary"
					}
				},
				"required": ["found"],
				"type": "object"
			},
			"OIDCDomainCreateInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/OIDCDomainCreateInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"domain": {
						"minLength": 3,
						"type": "string"
					},
					"provider_id": {
						"minLength": 1,
						"type": "string"
					}
				},
				"required": ["provider_id", "domain"],
				"type": "object"
			},
			"OIDCDomainCreateOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/OIDCDomainCreateOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"dns_name": {
						"type": "string"
					},
					"dns_value": {
						"type": "string"
					},
					"domain": {
						"$ref": "#/components/schemas/IdentityProviderDomain"
					}
				},
				"required": ["domain", "dns_name", "dns_value"],
				"type": "object"
			},
			"OIDCDomainVerifyOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/OIDCDomainVerifyOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"verified": {
						"type": "boolean"
					}
				},
				"required": ["verified"],
				"type": "object"
			},
			"OIDCIdentitySummary": {
				"additionalProperties": false,
				"properties": {
					"active": {
						"description": "Whether this identity provider can currently be used for sign-in and reauthentication",
						"type": "boolean"
					},
					"created_at": {
						"format": "date-time",
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"last_login_at": {
						"format": "date-time",
						"type": "string"
					},
					"linked_email": {
						"type": "string"
					},
					"linked_name": {
						"type": "string"
					},
					"provider_id": {
						"type": "string"
					},
					"provider_name": {
						"type": "string"
					}
				},
				"required": ["id", "provider_id", "provider_name", "active", "created_at"],
				"type": "object"
			},
			"OIDCLogoutInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/OIDCLogoutInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"return_path": {
						"type": "string"
					}
				},
				"type": "object"
			},
			"OIDCLogoutOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/OIDCLogoutOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"logout_url": {
						"type": "string"
					}
				},
				"type": "object"
			},
			"OIDCNativeHandoffInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/OIDCNativeHandoffInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"code": {
						"minLength": 32,
						"type": "string"
					}
				},
				"required": ["code"],
				"type": "object"
			},
			"OIDCNativeHandoffOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/OIDCNativeHandoffOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"action": {
						"type": "string"
					},
					"purpose": {
						"enum": ["login", "reauth", "link"],
						"type": "string"
					},
					"reauth_grant": {
						"type": "string"
					},
					"token": {
						"type": "string"
					},
					"user": {
						"$ref": "#/components/schemas/UserProfile"
					}
				},
				"required": ["purpose"],
				"type": "object"
			},
			"OIDCPolicyInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/OIDCPolicyInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"api_token_mode": {
						"enum": ["scoped", "deny"],
						"type": "string"
					},
					"assurance_max_age_seconds": {
						"format": "int64",
						"minimum": 300,
						"type": "integer"
					},
					"max_token_lifetime_seconds": {
						"format": "int64",
						"minimum": 300,
						"type": "integer"
					},
					"mode": {
						"enum": ["disabled", "optional", "required"],
						"type": "string"
					},
					"password_login_allowed": {
						"type": "boolean"
					},
					"provider_ids": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"require_token_reauth": {
						"type": "boolean"
					}
				},
				"required": [
					"mode",
					"provider_ids",
					"assurance_max_age_seconds",
					"password_login_allowed",
					"api_token_mode",
					"max_token_lifetime_seconds",
					"require_token_reauth"
				],
				"type": "object"
			},
			"OIDCProviderActiveInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/OIDCProviderActiveInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"active": {
						"type": "boolean"
					}
				},
				"required": ["active"],
				"type": "object"
			},
			"OIDCProviderActiveOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/OIDCProviderActiveOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"active": {
						"type": "boolean"
					},
					"revoked_sessions": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["active", "revoked_sessions"],
				"type": "object"
			},
			"OIDCProviderAdminInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/OIDCProviderAdminInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"client_id": {
						"minLength": 1,
						"type": "string"
					},
					"client_secret": {
						"type": "string"
					},
					"email_claim": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"is_active": {
						"type": "boolean"
					},
					"issuer": {
						"format": "uri",
						"type": "string"
					},
					"jit_enabled": {
						"type": "boolean"
					},
					"name": {
						"minLength": 1,
						"type": "string"
					},
					"name_claim": {
						"type": "string"
					},
					"picture_claim": {
						"type": "string"
					},
					"require_verified_email": {
						"type": "boolean"
					},
					"scopes": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"use_userinfo": {
						"type": "boolean"
					}
				},
				"required": ["name", "issuer", "client_id", "require_verified_email", "is_active"],
				"type": "object"
			},
			"OIDCProviderAdminResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/OIDCProviderAdminResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"backchannel_logout_url": {
						"type": "string"
					},
					"callback_url": {
						"type": "string"
					},
					"client_id": {
						"type": "string"
					},
					"created_at": {
						"format": "date-time",
						"type": "string"
					},
					"email_claim": {
						"type": "string"
					},
					"has_client_secret": {
						"type": "boolean"
					},
					"health_message": {
						"type": "string"
					},
					"health_status": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"is_active": {
						"type": "boolean"
					},
					"issuer": {
						"type": "string"
					},
					"jit_enabled": {
						"type": "boolean"
					},
					"last_checked_at": {
						"format": "date-time",
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"name_claim": {
						"type": "string"
					},
					"organization_id": {
						"type": "string"
					},
					"picture_claim": {
						"type": "string"
					},
					"require_verified_email": {
						"type": "boolean"
					},
					"scopes": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"updated_at": {
						"format": "date-time",
						"type": "string"
					},
					"use_userinfo": {
						"type": "boolean"
					}
				},
				"required": [
					"id",
					"organization_id",
					"name",
					"issuer",
					"client_id",
					"has_client_secret",
					"scopes",
					"email_claim",
					"name_claim",
					"picture_claim",
					"use_userinfo",
					"require_verified_email",
					"jit_enabled",
					"is_active",
					"health_status",
					"callback_url",
					"backchannel_logout_url",
					"created_at",
					"updated_at"
				],
				"type": "object"
			},
			"OIDCProviderSummary": {
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string"
					},
					"kind": {
						"enum": ["oauth", "sso"],
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"organization": {
						"type": "string"
					},
					"start_url": {
						"type": "string"
					}
				},
				"required": ["id", "name", "kind", "start_url"],
				"type": "object"
			},
			"OIDCUnlinkIdentityInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/OIDCUnlinkIdentityInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"reauth_grant": {
						"type": "string"
					}
				},
				"required": ["reauth_grant"],
				"type": "object"
			},
			"Option": {
				"additionalProperties": false,
				"properties": {
					"label": {
						"type": "string"
					},
					"value": {
						"type": "string"
					}
				},
				"required": ["value", "label"],
				"type": "object"
			},
			"OrganizationAuditEvent": {
				"additionalProperties": false,
				"properties": {
					"action": {
						"type": "string"
					},
					"actor_user_id": {
						"type": "string"
					},
					"changed_fields": {
						"items": {
							"$ref": "#/components/schemas/AuditChangedField"
						},
						"type": ["array", "null"]
					},
					"effective_actor_user_id": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"occurred_at": {
						"format": "date-time",
						"type": "string"
					},
					"resource": {
						"$ref": "#/components/schemas/OrganizationAuditResource"
					},
					"result": {
						"type": "string"
					},
					"source": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"source",
					"action",
					"resource",
					"result",
					"changed_fields",
					"occurred_at"
				],
				"type": "object"
			},
			"OrganizationAuditJSONExport": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/OrganizationAuditJSONExport.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"format_version": {
						"type": "string"
					},
					"generated_at": {
						"format": "date-time",
						"type": "string"
					},
					"items": {
						"items": {
							"$ref": "#/components/schemas/OrganizationAuditEvent"
						},
						"type": ["array", "null"]
					},
					"organization_id": {
						"type": "string"
					}
				},
				"required": ["format_version", "organization_id", "generated_at", "items"],
				"type": "object"
			},
			"OrganizationAuditPage": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/OrganizationAuditPage.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"items": {
						"items": {
							"$ref": "#/components/schemas/OrganizationAuditEvent"
						},
						"type": ["array", "null"]
					},
					"next_cursor": {
						"type": "string"
					}
				},
				"required": ["items"],
				"type": "object"
			},
			"OrganizationAuditResource": {
				"additionalProperties": false,
				"properties": {
					"id": {
						"type": "string"
					},
					"organization_id": {
						"type": "string"
					},
					"type": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["type"],
				"type": "object"
			},
			"OrganizationDeletionInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/OrganizationDeletionInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"confirm_name": {
						"description": "Exact canonical Organization name",
						"minLength": 1,
						"type": "string"
					},
					"current_password": {
						"description": "Current account password",
						"type": "string"
					},
					"reauth_grant": {
						"description": "One-time grant for organization.delete",
						"type": "string"
					}
				},
				"required": ["confirm_name"],
				"type": "object"
			},
			"OrganizationDeletionOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/OrganizationDeletionOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"deleted": {
						"type": "boolean"
					}
				},
				"required": ["deleted"],
				"type": "object"
			},
			"OrganizationDeletionPendingWork": {
				"additionalProperties": false,
				"properties": {
					"pending_cleanup_jobs": {
						"format": "int64",
						"type": "integer"
					},
					"pending_jobs": {
						"format": "int64",
						"type": "integer"
					},
					"pending_provider_writes": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["pending_provider_writes", "pending_jobs", "pending_cleanup_jobs"],
				"type": "object"
			},
			"OrganizationDeletionPreview": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/OrganizationDeletionPreview.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"access_effects": {
						"items": {
							"enum": [
								"organization_memberships",
								"workspace_memberships",
								"organization_credentials"
							],
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"billing_state": {
						"description": "Latest local Paddle subscription state, or none",
						"type": "string"
					},
					"blockers": {
						"items": {
							"$ref": "#/components/schemas/WorkspaceDeletionBlocker"
						},
						"type": ["array", "null"]
					},
					"irreversible_loss": {
						"items": {
							"enum": ["workspaces", "content", "connected_accounts", "media", "settings"],
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"organization_id": {
						"type": "string"
					},
					"organization_name": {
						"type": "string"
					},
					"pending_work": {
						"$ref": "#/components/schemas/OrganizationDeletionPendingWork"
					},
					"recovery_possible": {
						"type": "boolean"
					},
					"retained": {
						"items": {
							"enum": ["required_audit_evidence", "required_billing_evidence"],
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"workspaces": {
						"items": {
							"$ref": "#/components/schemas/OrganizationDeletionWorkspace"
						},
						"type": ["array", "null"]
					}
				},
				"required": [
					"organization_id",
					"organization_name",
					"workspaces",
					"billing_state",
					"pending_work",
					"access_effects",
					"retained",
					"irreversible_loss",
					"recovery_possible",
					"blockers"
				],
				"type": "object"
			},
			"OrganizationDeletionWorkspace": {
				"additionalProperties": false,
				"properties": {
					"workspace_id": {
						"type": "string"
					},
					"workspace_name": {
						"type": "string"
					}
				},
				"required": ["workspace_id", "workspace_name"],
				"type": "object"
			},
			"OrganizationMemberResponse": {
				"additionalProperties": false,
				"properties": {
					"email": {
						"description": "User email",
						"type": "string"
					},
					"role": {
						"description": "Organization role",
						"type": "string"
					},
					"user_id": {
						"description": "User ID",
						"type": "string"
					}
				},
				"required": ["user_id", "email", "role"],
				"type": "object"
			},
			"OrganizationResponse": {
				"additionalProperties": false,
				"properties": {
					"created_at": {
						"description": "Organization creation time",
						"type": "string"
					},
					"id": {
						"description": "Organization ID",
						"type": "string"
					},
					"name": {
						"description": "Organization name",
						"type": "string"
					},
					"role": {
						"description": "Current user's organization role",
						"type": "string"
					}
				},
				"required": ["id", "name", "role", "created_at"],
				"type": "object"
			},
			"OrganizationTeamOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/OrganizationTeamOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"current_seats": {
						"format": "int64",
						"type": "integer"
					},
					"members": {
						"items": {
							"$ref": "#/components/schemas/OrganizationMemberResponse"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["members", "current_seats"],
				"type": "object"
			},
			"Override": {
				"additionalProperties": false,
				"properties": {
					"mode": {
						"description": "Use workspace rules, disable reposts, or use this post's custom rule",
						"enum": ["inherit", "off", "custom"],
						"type": "string"
					},
					"rule": {
						"$ref": "#/components/schemas/Rule",
						"description": "Custom timing and engagement gates"
					},
					"target_account_ids": {
						"description": "Target accounts for a custom override",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["mode"],
				"type": "object"
			},
			"Overview": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/Overview.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"accounts": {
						"items": {
							"$ref": "#/components/schemas/AccountOverview"
						},
						"type": ["array", "null"]
					},
					"content": {
						"items": {
							"$ref": "#/components/schemas/ContentOverview"
						},
						"type": ["array", "null"]
					},
					"content_total": {
						"format": "int64",
						"type": "integer"
					},
					"follower_series": {
						"items": {
							"$ref": "#/components/schemas/SeriesPoint"
						},
						"type": ["array", "null"]
					},
					"generated_at": {
						"format": "date-time",
						"type": "string"
					},
					"last_synced_at": {
						"format": "date-time",
						"type": "string"
					},
					"publication_next_cursor": {
						"type": "string"
					},
					"publication_total": {
						"format": "int64",
						"type": "integer"
					},
					"publications": {
						"items": {
							"$ref": "#/components/schemas/PublicationOverview"
						},
						"type": ["array", "null"]
					},
					"range_days": {
						"format": "int64",
						"type": "integer"
					},
					"summary": {
						"$ref": "#/components/schemas/Summary"
					}
				},
				"required": [
					"generated_at",
					"range_days",
					"summary",
					"accounts",
					"follower_series",
					"publications",
					"content",
					"publication_total",
					"content_total"
				],
				"type": "object"
			},
			"OwnershipTransferResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/OwnershipTransferResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"expires_at": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"nominee_email": {
						"type": "string"
					},
					"nominee_user_id": {
						"type": "string"
					},
					"organization_id": {
						"type": "string"
					},
					"organization_name": {
						"type": "string"
					},
					"prior_owner_email": {
						"type": "string"
					},
					"prior_owner_user_id": {
						"type": "string"
					},
					"status": {
						"enum": ["pending", "accepted", "declined", "revoked", "expired"],
						"type": "string"
					}
				},
				"required": [
					"id",
					"organization_id",
					"organization_name",
					"prior_owner_user_id",
					"prior_owner_email",
					"nominee_user_id",
					"nominee_email",
					"status",
					"expires_at"
				],
				"type": "object"
			},
			"PasskeyCeremonyOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/PasskeyCeremonyOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"challenge_id": {
						"type": "string"
					},
					"options": {}
				},
				"required": ["challenge_id", "options"],
				"type": "object"
			},
			"PasskeySummary": {
				"additionalProperties": false,
				"properties": {
					"created_at": {
						"description": "When the passkey was registered",
						"format": "date-time",
						"type": "string"
					},
					"id": {
						"description": "Passkey ID",
						"type": "string"
					},
					"last_used_at": {
						"description": "When the passkey was last used",
						"format": "date-time",
						"type": "string"
					},
					"name": {
						"description": "User-visible passkey label",
						"type": "string"
					}
				},
				"required": ["id", "name", "created_at", "last_used_at"],
				"type": "object"
			},
			"PasswordReauthInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/PasswordReauthInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"action": {
						"minLength": 1,
						"type": "string"
					},
					"password": {
						"minLength": 1,
						"type": "string"
					}
				},
				"required": ["action", "password"],
				"type": "object"
			},
			"PlanVideoEditorSyncInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/PlanVideoEditorSyncInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"project_id": {
						"maxLength": 200,
						"type": "string"
					},
					"sources": {
						"items": {
							"$ref": "#/components/schemas/VideoEditorSyncSource"
						},
						"maxItems": 250,
						"type": ["array", "null"]
					}
				},
				"required": ["sources"],
				"type": "object"
			},
			"PlanVideoEditorSyncOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/PlanVideoEditorSyncOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"additional_bytes": {
						"format": "int64",
						"type": "integer"
					},
					"allowed": {
						"type": "boolean"
					},
					"missing_source_ids": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"reason": {
						"type": ["string", "null"]
					},
					"reused": {
						"items": {
							"$ref": "#/components/schemas/VideoEditorSyncReuse"
						},
						"type": ["array", "null"]
					},
					"storage": {
						"$ref": "#/components/schemas/VideoEditorSyncStorage"
					}
				},
				"required": [
					"reused",
					"missing_source_ids",
					"additional_bytes",
					"storage",
					"allowed",
					"reason"
				],
				"type": "object"
			},
			"Policy": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/Policy.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"api_token_mode": {
						"enum": ["scoped", "deny"],
						"type": "string"
					},
					"assurance_max_age_seconds": {
						"format": "int64",
						"type": "integer"
					},
					"max_token_lifetime_seconds": {
						"format": "int64",
						"type": "integer"
					},
					"mode": {
						"type": "string"
					},
					"organization_id": {
						"type": "string"
					},
					"password_login_allowed": {
						"type": "boolean"
					},
					"provider_ids": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"require_token_reauth": {
						"type": "boolean"
					}
				},
				"required": [
					"organization_id",
					"mode",
					"provider_ids",
					"assurance_max_age_seconds",
					"password_login_allowed",
					"api_token_mode",
					"max_token_lifetime_seconds",
					"require_token_reauth"
				],
				"type": "object"
			},
			"PolicyInput": {
				"additionalProperties": false,
				"properties": {
					"enabled": {
						"type": "boolean"
					},
					"id": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"rule": {
						"$ref": "#/components/schemas/Rule"
					},
					"source_account_ids": {
						"description": "Empty means every compatible source account in this workspace",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"target_account_ids": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["name", "enabled", "target_account_ids", "rule"],
				"type": "object"
			},
			"PolicyResponse": {
				"additionalProperties": false,
				"properties": {
					"created_at": {
						"type": "string"
					},
					"enabled": {
						"type": "boolean"
					},
					"id": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"rule": {
						"$ref": "#/components/schemas/Rule"
					},
					"source_account_ids": {
						"description": "Empty means every compatible source account in this workspace",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"target_account_ids": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"updated_at": {
						"type": "string"
					}
				},
				"required": ["name", "enabled", "target_account_ids", "rule"],
				"type": "object"
			},
			"PollCLIAuthInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/PollCLIAuthInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"device_code": {
						"type": "string"
					}
				},
				"required": ["device_code"],
				"type": "object"
			},
			"PollCLIAuthOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/PollCLIAuthOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"expires_in": {
						"format": "int64",
						"type": "integer"
					},
					"interval": {
						"format": "int64",
						"type": "integer"
					},
					"retry_after": {
						"format": "int64",
						"type": "integer"
					},
					"status": {
						"type": "string"
					},
					"token": {
						"type": "string"
					}
				},
				"required": ["status", "expires_in", "interval"],
				"type": "object"
			},
			"PostDestinationResponse": {
				"additionalProperties": false,
				"properties": {
					"error_action": {
						"description": "Recommended recovery action",
						"type": "string"
					},
					"error_code": {
						"description": "Safe provider error code",
						"type": "string"
					},
					"error_http_status": {
						"description": "Provider HTTP status",
						"format": "int64",
						"type": "integer"
					},
					"error_kind": {
						"description": "Stable publishing failure kind",
						"type": "string"
					},
					"error_message": {
						"description": "Error message if publishing failed",
						"type": "string"
					},
					"error_retry_at": {
						"description": "Next automatic retry time",
						"type": "string"
					},
					"error_retryable": {
						"description": "Whether retry is safe",
						"type": "boolean"
					},
					"platform": {
						"description": "Platform name",
						"type": "string"
					},
					"social_account_id": {
						"description": "Social account ID",
						"type": "string"
					},
					"status": {
						"description": "Destination status",
						"type": "string"
					}
				},
				"required": ["social_account_id", "platform", "status", "error_retryable"],
				"type": "object"
			},
			"PostDetailResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/PostDetailResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"actual_run_at": {
						"description": "Actual run time after random delay (ISO 8601)",
						"type": "string"
					},
					"content": {
						"description": "Post content",
						"type": "string"
					},
					"created_at": {
						"description": "Creation time (ISO 8601)",
						"type": "string"
					},
					"created_by": {
						"description": "Creator user ID",
						"type": "string"
					},
					"destinations": {
						"description": "Post destinations",
						"items": {
							"$ref": "#/components/schemas/PostDestinationResponse"
						},
						"type": ["array", "null"]
					},
					"id": {
						"description": "Post ID",
						"type": "string"
					},
					"media": {
						"description": "Attached media",
						"items": {
							"$ref": "#/components/schemas/PostMediaResponse"
						},
						"type": ["array", "null"]
					},
					"publication_id": {
						"description": "Canonical publication ID for the text composer",
						"type": "string"
					},
					"random_delay_minutes": {
						"description": "Random delay in minutes (±N)",
						"format": "int64",
						"type": "integer"
					},
					"revision": {
						"description": "Current atomic draft revision",
						"format": "int64",
						"type": "integer"
					},
					"scheduled_at": {
						"description": "Scheduled time (ISO 8601)",
						"type": "string"
					},
					"status": {
						"description": "Post status",
						"type": "string"
					},
					"thread_draft": {
						"description": "Set when this post is a thread-draft parent; contains the encoded thread JSON (with __openpost_thread__: prefix).",
						"type": "string"
					},
					"updated_at": {
						"description": "Last atomic draft save time (ISO 8601)",
						"type": "string"
					},
					"workspace_id": {
						"description": "Workspace ID",
						"type": "string"
					}
				},
				"required": [
					"id",
					"workspace_id",
					"created_by",
					"content",
					"status",
					"revision",
					"scheduled_at",
					"random_delay_minutes",
					"created_at",
					"updated_at"
				],
				"type": "object"
			},
			"PostMediaResponse": {
				"additionalProperties": false,
				"properties": {
					"alt_text": {
						"description": "Alt text for accessibility",
						"type": "string"
					},
					"display_order": {
						"description": "Display order",
						"format": "int64",
						"type": "integer"
					},
					"file_path": {
						"description": "File path for media URL",
						"type": "string"
					},
					"media_id": {
						"description": "Media ID",
						"type": "string"
					},
					"mime_type": {
						"description": "Media MIME type",
						"type": "string"
					}
				},
				"required": ["media_id", "display_order", "file_path", "mime_type", "alt_text"],
				"type": "object"
			},
			"PostResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/PostResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"actual_run_at": {
						"description": "Actual run time after random delay (ISO 8601)",
						"type": "string"
					},
					"content": {
						"description": "Post content",
						"type": "string"
					},
					"created_at": {
						"description": "Creation time (ISO 8601)",
						"type": "string"
					},
					"created_by": {
						"description": "Creator user ID",
						"type": "string"
					},
					"destinations": {
						"description": "Post destinations",
						"items": {
							"$ref": "#/components/schemas/PostDestinationResponse"
						},
						"type": ["array", "null"]
					},
					"id": {
						"description": "Post ID",
						"type": "string"
					},
					"media_ids": {
						"description": "Attached media IDs",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"parent_post_id": {
						"description": "Previous post ID when this is a thread reply",
						"type": "string"
					},
					"publication_id": {
						"description": "Canonical publication ID for the text composer",
						"type": "string"
					},
					"random_delay_minutes": {
						"description": "Random delay in minutes (±N)",
						"format": "int64",
						"type": "integer"
					},
					"revision": {
						"description": "Current atomic draft revision",
						"format": "int64",
						"type": "integer"
					},
					"scheduled_at": {
						"description": "Scheduled time (ISO 8601)",
						"type": "string"
					},
					"status": {
						"description": "Post status (draft, scheduled, publishing, published, failed)",
						"type": "string"
					},
					"thread_draft": {
						"description": "Set when this post is a thread-draft parent; contains the encoded thread JSON (with __openpost_thread__: prefix).",
						"type": "string"
					},
					"thread_sequence": {
						"description": "Zero-based position in a thread",
						"format": "int64",
						"type": "integer"
					},
					"updated_at": {
						"description": "Last atomic draft save time (ISO 8601)",
						"type": "string"
					},
					"workspace_id": {
						"description": "Workspace ID",
						"type": "string"
					}
				},
				"required": [
					"id",
					"workspace_id",
					"created_by",
					"content",
					"status",
					"revision",
					"scheduled_at",
					"random_delay_minutes",
					"created_at",
					"updated_at"
				],
				"type": "object"
			},
			"PostingScheduleResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/PostingScheduleResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"created_at": {
						"description": "Creation time (ISO 8601)",
						"type": "string"
					},
					"day_of_week": {
						"description": "Workspace-local day of week (0=Sunday, 6=Saturday)",
						"format": "int64",
						"type": "integer"
					},
					"id": {
						"description": "Schedule ID",
						"type": "string"
					},
					"is_active": {
						"description": "Whether this slot is active",
						"type": "boolean"
					},
					"label": {
						"description": "Display label (e.g., Morning, Lunch)",
						"type": "string"
					},
					"local_day_of_week": {
						"description": "Day of week in workspace local time (0=Sunday, 6=Saturday)",
						"format": "int64",
						"type": "integer"
					},
					"local_hour": {
						"description": "Hour in workspace local time (0-23)",
						"format": "int64",
						"type": "integer"
					},
					"local_minute": {
						"description": "Minute in workspace local time (0-59)",
						"format": "int64",
						"type": "integer"
					},
					"utc_hour": {
						"description": "Legacy field name for the workspace-local hour (0-23)",
						"format": "int64",
						"type": "integer"
					},
					"utc_minute": {
						"description": "Legacy field name for the workspace-local minute (0-59)",
						"format": "int64",
						"type": "integer"
					},
					"workspace_id": {
						"description": "Workspace ID",
						"type": "string"
					}
				},
				"required": [
					"id",
					"workspace_id",
					"utc_hour",
					"utc_minute",
					"day_of_week",
					"local_hour",
					"local_minute",
					"local_day_of_week",
					"is_active",
					"created_at"
				],
				"type": "object"
			},
			"PreferenceSettings": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/PreferenceSettings.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"digest_configured": {
						"type": "boolean"
					},
					"digest_time": {
						"examples": ["09:00"],
						"type": "string"
					},
					"digest_timezone": {
						"examples": ["Europe/Lisbon"],
						"type": "string"
					},
					"email_address": {
						"type": "string"
					},
					"email_available": {
						"type": "boolean"
					},
					"mutes": {
						"items": {
							"$ref": "#/components/schemas/Mute"
						},
						"type": ["array", "null"]
					},
					"preferences": {
						"additionalProperties": {
							"$ref": "#/components/schemas/ChannelPreference"
						},
						"type": "object"
					}
				},
				"required": [
					"preferences",
					"email_available",
					"email_address",
					"digest_time",
					"digest_timezone",
					"digest_configured",
					"mutes"
				],
				"type": "object"
			},
			"PreferenceUpdate": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/PreferenceUpdate.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"digest_time": {
						"pattern": "^[0-2][0-9]:[0-5][0-9]$",
						"type": "string"
					},
					"digest_timezone": {
						"type": "string"
					},
					"preferences": {
						"additionalProperties": {
							"$ref": "#/components/schemas/ChannelPreference"
						},
						"type": "object"
					}
				},
				"required": ["preferences", "digest_time", "digest_timezone"],
				"type": "object"
			},
			"PreviewMemeInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/PreviewMemeInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"captions": {
						"description": "Caption values in template order",
						"items": {
							"maxLength": 200,
							"type": "string"
						},
						"maxItems": 16,
						"minItems": 1,
						"type": ["array", "null"]
					},
					"format": {
						"default": "png",
						"description": "Rendered image format",
						"enum": ["png", "jpg", "jpeg", "gif", "webp"],
						"type": "string"
					},
					"overlay_media_ids": {
						"description": "Workspace media IDs for replaceable image slots",
						"items": {
							"maxLength": 80,
							"type": "string"
						},
						"maxItems": 8,
						"type": ["array", "null"]
					},
					"template_id": {
						"description": "Memegen template ID",
						"maxLength": 80,
						"minLength": 1,
						"type": "string"
					},
					"workspace_id": {
						"description": "Workspace ID",
						"type": "string"
					}
				},
				"required": ["workspace_id", "template_id", "captions"],
				"type": "object"
			},
			"PreviewMemeOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/PreviewMemeOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"data_base64": {
						"description": "Base64-encoded rendered image bytes",
						"type": "string"
					},
					"mime_type": {
						"type": "string"
					},
					"template_id": {
						"type": "string"
					}
				},
				"required": ["template_id", "mime_type", "data_base64"],
				"type": "object"
			},
			"PrimarySequenceClip": {
				"additionalProperties": false,
				"properties": {
					"audio": {
						"$ref": "#/components/schemas/ClipAudioSettings"
					},
					"duration_us": {
						"format": "int64",
						"type": "integer"
					},
					"effects": {
						"items": {
							"$ref": "#/components/schemas/VideoEffect"
						},
						"type": ["array", "null"]
					},
					"freeze_duration_us": {
						"format": "int64",
						"type": "integer"
					},
					"id": {
						"type": "string"
					},
					"kind": {
						"enum": ["clip", "gap"],
						"type": "string"
					},
					"mode": {
						"enum": ["source", "freeze"],
						"type": "string"
					},
					"source_id": {
						"type": "string"
					},
					"source_in_us": {
						"format": "int64",
						"type": "integer"
					},
					"source_out_us": {
						"format": "int64",
						"type": "integer"
					},
					"speed": {
						"format": "double",
						"type": "number"
					},
					"transition_in": {
						"$ref": "#/components/schemas/Transition"
					},
					"transition_out": {
						"$ref": "#/components/schemas/Transition"
					},
					"variant_overrides": {
						"additionalProperties": {
							"$ref": "#/components/schemas/VideoPresentationOverride"
						},
						"type": "object"
					},
					"video": {
						"$ref": "#/components/schemas/VideoPresentation"
					}
				},
				"required": [
					"id",
					"source_id",
					"mode",
					"source_in_us",
					"source_out_us",
					"speed",
					"video",
					"audio",
					"effects"
				],
				"type": "object"
			},
			"Profile": {
				"additionalProperties": false,
				"properties": {
					"description": {
						"type": "string"
					},
					"key": {
						"type": "string"
					},
					"name": {
						"type": "string"
					}
				},
				"required": ["key", "name", "description"],
				"type": "object"
			},
			"PromptResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/PromptResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"category": {
						"description": "Prompt category",
						"type": "string"
					},
					"created_at": {
						"description": "Creation time (ISO 8601)",
						"type": "string"
					},
					"example": {
						"description": "Full example post for the prompt (may be empty)",
						"type": "string"
					},
					"id": {
						"description": "Prompt ID",
						"type": "string"
					},
					"is_built_in": {
						"description": "Whether this is a built-in prompt",
						"type": "boolean"
					},
					"text": {
						"description": "Prompt text",
						"type": "string"
					},
					"user_id": {
						"description": "User ID (if custom)",
						"type": "string"
					},
					"workspace_id": {
						"description": "Workspace ID (if custom)",
						"type": "string"
					}
				},
				"required": ["id", "text", "example", "category", "is_built_in", "created_at"],
				"type": "object"
			},
			"ProviderAppResponse": {
				"additionalProperties": false,
				"properties": {
					"client_id": {
						"description": "OAuth client ID",
						"type": "string"
					},
					"created_at": {
						"description": "Creation time",
						"type": "string"
					},
					"deletable": {
						"description": "Whether the database row can be deleted through the admin API",
						"type": "boolean"
					},
					"editable": {
						"description": "Whether the row can be changed through the admin API",
						"type": "boolean"
					},
					"id": {
						"description": "Provider app ID",
						"type": "string"
					},
					"instance_url": {
						"description": "Federated provider instance URL",
						"type": "string"
					},
					"is_active": {
						"description": "Whether this app is active",
						"type": "boolean"
					},
					"name": {
						"description": "Optional provider app display name",
						"type": "string"
					},
					"provider": {
						"description": "Provider key",
						"type": "string"
					},
					"redirect_uri": {
						"description": "OAuth redirect URI",
						"type": "string"
					},
					"secret_configured": {
						"description": "Whether an encrypted client secret is stored",
						"type": "boolean"
					},
					"shadowed_by_environment": {
						"description": "Whether an environment app currently takes precedence over this database row",
						"type": "boolean"
					},
					"source": {
						"description": "Configuration source",
						"enum": ["environment", "database"],
						"type": "string"
					},
					"updated_at": {
						"description": "Last update time",
						"type": "string"
					}
				},
				"required": [
					"id",
					"provider",
					"client_id",
					"is_active",
					"secret_configured",
					"created_at",
					"updated_at",
					"source",
					"editable",
					"deletable",
					"shadowed_by_environment"
				],
				"type": "object"
			},
			"ProviderCostOperationSummary": {
				"additionalProperties": false,
				"properties": {
					"cost_microusd": {
						"description": "Confirmed estimated provider cost in millionths of the currency unit",
						"format": "int64",
						"type": "integer"
					},
					"event_count": {
						"description": "Number of confirmed successful request estimates",
						"format": "int64",
						"type": "integer"
					},
					"operation": {
						"description": "Metered provider operation",
						"type": "string"
					},
					"reserved_cost_microusd": {
						"description": "Reserved provider exposure in millionths of the currency unit",
						"format": "int64",
						"type": "integer"
					},
					"reserved_event_count": {
						"description": "Number of in-flight or ambiguous request reservations",
						"format": "int64",
						"type": "integer"
					},
					"reserved_units": {
						"description": "Reserved provider operation units not counted as confirmed billed usage",
						"format": "int64",
						"type": "integer"
					},
					"units": {
						"description": "Confirmed estimated billed operation units",
						"format": "int64",
						"type": "integer"
					}
				},
				"required": [
					"operation",
					"event_count",
					"units",
					"cost_microusd",
					"reserved_event_count",
					"reserved_units",
					"reserved_cost_microusd"
				],
				"type": "object"
			},
			"ProviderCostSummary": {
				"additionalProperties": false,
				"properties": {
					"budget_microusd": {
						"description": "Configured monthly safety limit covering confirmed cost and reservations",
						"format": "int64",
						"type": "integer"
					},
					"cost_microusd": {
						"description": "Confirmed estimated provider cost in millionths of the currency unit",
						"format": "int64",
						"type": "integer"
					},
					"currency": {
						"description": "ISO 4217 estimate currency",
						"type": "string"
					},
					"event_count": {
						"description": "Number of confirmed successful provider request estimates",
						"format": "int64",
						"type": "integer"
					},
					"operations": {
						"description": "Operation-level confirmed and reserved breakdown",
						"items": {
							"$ref": "#/components/schemas/ProviderCostOperationSummary"
						},
						"type": ["array", "null"]
					},
					"period_start": {
						"description": "UTC month start",
						"type": "string"
					},
					"pricing_source_url": {
						"description": "Provider pricing source used by this estimate",
						"type": "string"
					},
					"provider": {
						"description": "Provider key",
						"type": "string"
					},
					"reserved_cost_microusd": {
						"description": "Reserved provider exposure in millionths of the currency unit",
						"format": "int64",
						"type": "integer"
					},
					"reserved_event_count": {
						"description": "Number of in-flight or ambiguous provider request reservations",
						"format": "int64",
						"type": "integer"
					},
					"reserved_units": {
						"description": "Reserved provider units not counted as confirmed billed usage",
						"format": "int64",
						"type": "integer"
					},
					"units": {
						"description": "Confirmed estimated billed provider operation units",
						"format": "int64",
						"type": "integer"
					}
				},
				"required": [
					"provider",
					"currency",
					"period_start",
					"event_count",
					"units",
					"cost_microusd",
					"reserved_event_count",
					"reserved_units",
					"reserved_cost_microusd",
					"budget_microusd",
					"pricing_source_url",
					"operations"
				],
				"type": "object"
			},
			"ProviderDeliveryResponse": {
				"additionalProperties": false,
				"properties": {
					"current_attempt_created_at": {
						"type": "string"
					},
					"current_attempt_id": {
						"type": "string"
					},
					"current_attempt_number": {
						"format": "int64",
						"type": "integer"
					},
					"error_code": {
						"description": "Safe normalized provider failure code",
						"type": "string"
					},
					"error_http_status": {
						"format": "int64",
						"type": "integer"
					},
					"error_kind": {
						"description": "Safe normalized provider failure class",
						"type": "string"
					},
					"external_id": {
						"type": "string"
					},
					"external_url": {
						"type": "string"
					},
					"last_reconciled_at": {
						"type": "string"
					},
					"next_reconciliation_at": {
						"type": "string"
					},
					"recovery_action": {
						"enum": ["none", "retry", "reconcile", "manual_resolution"],
						"type": "string"
					},
					"state": {
						"type": "string"
					},
					"target_key": {
						"type": "string"
					},
					"terminal_reason": {
						"type": "string"
					}
				},
				"required": [
					"target_key",
					"state",
					"current_attempt_id",
					"current_attempt_number",
					"current_attempt_created_at",
					"recovery_action"
				],
				"type": "object"
			},
			"ProviderInfo": {
				"additionalProperties": false,
				"properties": {
					"auth_mode": {
						"description": "Connection method: oauth, app_password, or oauth_oob",
						"type": "string"
					},
					"capabilities": {
						"description": "High-level OpenPost capabilities available or planned for this provider",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"configured": {
						"description": "Whether this provider can currently be connected",
						"type": "boolean"
					},
					"description": {
						"description": "Short connection or launch note for this provider",
						"type": "string"
					},
					"display_name": {
						"description": "Human-readable provider name",
						"type": "string"
					},
					"instance_url": {
						"description": "Federated server URL, when applicable",
						"type": "string"
					},
					"name": {
						"description": "Provider app or server display name",
						"type": "string"
					},
					"platform": {
						"description": "Provider key",
						"type": "string"
					},
					"readiness": {
						"$ref": "#/components/schemas/Decision"
					},
					"status": {
						"description": "Provider launch status: available, needs_configuration, or planned",
						"type": "string"
					}
				},
				"required": ["platform", "display_name", "auth_mode", "configured", "readiness"],
				"type": "object"
			},
			"ProviderReadinessItem": {
				"additionalProperties": false,
				"properties": {
					"advertisable": {
						"type": "boolean"
					},
					"blocking_issues": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"configured_app_state": {
						"type": "string"
					},
					"connectable": {
						"type": "boolean"
					},
					"connected_accounts": {
						"format": "int64",
						"type": "integer"
					},
					"facts": {
						"$ref": "#/components/schemas/Facts"
					},
					"profiles": {
						"items": {
							"$ref": "#/components/schemas/ProviderReadinessProfile"
						},
						"type": ["array", "null"]
					},
					"provider": {
						"type": "string"
					},
					"state": {
						"type": "string"
					}
				},
				"required": [
					"provider",
					"state",
					"connectable",
					"advertisable",
					"facts",
					"configured_app_state",
					"connected_accounts"
				],
				"type": "object"
			},
			"ProviderReadinessLedgerAppendOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": [
							"https://example.com/schemas/ProviderReadinessLedgerAppendOutputBody.json"
						],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"id": {
						"type": "string"
					}
				},
				"required": ["id"],
				"type": "object"
			},
			"ProviderReadinessOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ProviderReadinessOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"providers": {
						"items": {
							"$ref": "#/components/schemas/ProviderReadinessItem"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["providers"],
				"type": "object"
			},
			"ProviderReadinessProfile": {
				"additionalProperties": false,
				"properties": {
					"immediate": {
						"$ref": "#/components/schemas/Decision"
					},
					"output_profile": {
						"type": "string"
					},
					"scheduled": {
						"$ref": "#/components/schemas/Decision"
					},
					"social_account_id": {
						"type": "string"
					}
				},
				"required": ["social_account_id", "output_profile", "immediate", "scheduled"],
				"type": "object"
			},
			"PublicConfig": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/PublicConfig.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"app_version": {
						"type": "string"
					},
					"diagnostic_categories": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"enabled": {
						"type": "boolean"
					},
					"max_message_characters": {
						"format": "int64",
						"type": "integer"
					},
					"max_screenshot_bytes": {
						"format": "int64",
						"type": "integer"
					},
					"recipient": {
						"type": "string"
					},
					"support_url": {
						"type": "string"
					}
				},
				"required": [
					"enabled",
					"app_version",
					"max_message_characters",
					"max_screenshot_bytes",
					"diagnostic_categories"
				],
				"type": "object"
			},
			"PublicProfileActivityDay": {
				"additionalProperties": false,
				"properties": {
					"count": {
						"description": "Published OpenPost publications on this date",
						"format": "int64",
						"type": "integer"
					},
					"date": {
						"description": "UTC activity date in YYYY-MM-DD format",
						"type": "string"
					},
					"level": {
						"description": "Activity intensity from 0 through 4",
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["date", "count", "level"],
				"type": "object"
			},
			"PublicProfileOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/PublicProfileOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"active_days": {
						"format": "int64",
						"type": "integer"
					},
					"activity": {
						"items": {
							"$ref": "#/components/schemas/PublicProfileActivityDay"
						},
						"type": ["array", "null"]
					},
					"avatar_url": {
						"type": "string"
					},
					"current_streak": {
						"format": "int64",
						"type": "integer"
					},
					"display_name": {
						"type": "string"
					},
					"joined_at": {
						"format": "date-time",
						"type": "string"
					},
					"lifetime_posts": {
						"format": "int64",
						"type": "integer"
					},
					"longest_streak": {
						"format": "int64",
						"type": "integer"
					},
					"peak_posts": {
						"format": "int64",
						"type": "integer"
					},
					"plan_id": {
						"description": "Highest active OpenPost plan available to the profile owner",
						"type": "string"
					},
					"top_platforms": {
						"items": {
							"$ref": "#/components/schemas/PublicProfileRanking"
						},
						"type": ["array", "null"]
					},
					"top_workspaces": {
						"items": {
							"$ref": "#/components/schemas/PublicProfileRanking"
						},
						"type": ["array", "null"]
					},
					"username": {
						"type": "string"
					},
					"visible_fields": {
						"description": "Optional account fields this profile owner chose to disclose",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["username", "visible_fields"],
				"type": "object"
			},
			"PublicProfileRanking": {
				"additionalProperties": false,
				"properties": {
					"count": {
						"description": "Published destinations or publications",
						"format": "int64",
						"type": "integer"
					},
					"key": {
						"description": "Stable platform or workspace identifier",
						"type": "string"
					},
					"name": {
						"description": "Display label",
						"type": "string"
					}
				},
				"required": ["key", "name", "count"],
				"type": "object"
			},
			"PublicationLifecycleActor": {
				"additionalProperties": false,
				"properties": {
					"kind": {
						"enum": ["user", "automation", "system"],
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"origin": {
						"type": "string"
					}
				},
				"required": ["kind"],
				"type": "object"
			},
			"PublicationLifecycleDestination": {
				"additionalProperties": false,
				"properties": {
					"label": {
						"type": "string"
					},
					"platform": {
						"type": "string"
					},
					"rendition_id": {
						"type": "string"
					},
					"social_account_id": {
						"type": "string"
					},
					"status": {
						"type": "string"
					},
					"target_key": {
						"type": "string"
					}
				},
				"required": [
					"rendition_id",
					"social_account_id",
					"target_key",
					"platform",
					"label",
					"status"
				],
				"type": "object"
			},
			"PublicationLifecycleError": {
				"additionalProperties": false,
				"properties": {
					"action": {
						"type": "string"
					},
					"code": {
						"type": "string"
					},
					"http_status": {
						"format": "int64",
						"type": "integer"
					},
					"kind": {
						"type": "string"
					},
					"message": {
						"type": "string"
					},
					"retryable": {
						"type": "boolean"
					}
				},
				"required": ["retryable"],
				"type": "object"
			},
			"PublicationLifecycleEventResponse": {
				"additionalProperties": false,
				"properties": {
					"actor": {
						"$ref": "#/components/schemas/PublicationLifecycleActor"
					},
					"changed_domains": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"created_at": {
						"type": "string"
					},
					"delivery": {
						"$ref": "#/components/schemas/ProviderDeliveryResponse"
					},
					"destination": {
						"$ref": "#/components/schemas/PublicationLifecycleDestination"
					},
					"destination_count": {
						"format": "int64",
						"type": "integer"
					},
					"error": {
						"$ref": "#/components/schemas/PublicationLifecycleError"
					},
					"id": {
						"type": "string"
					},
					"platform": {
						"type": "string"
					},
					"publication_id": {
						"type": "string"
					},
					"rendition_id": {
						"type": "string"
					},
					"revision": {
						"format": "int64",
						"type": "integer"
					},
					"scheduled_at": {
						"type": "string"
					},
					"status": {
						"type": "string"
					},
					"summary": {
						"type": "string"
					},
					"superseded": {
						"type": "boolean"
					},
					"type": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"workspace_id",
					"publication_id",
					"type",
					"status",
					"summary",
					"actor",
					"superseded",
					"created_at"
				],
				"type": "object"
			},
			"PublicationMediaInput": {
				"additionalProperties": false,
				"properties": {
					"alt_text": {
						"description": "Alt text override",
						"type": "string"
					},
					"media_id": {
						"description": "Media attachment ID",
						"type": "string"
					},
					"role": {
						"description": "Media role: attachment, cover, thumbnail",
						"type": "string"
					},
					"settings": {
						"additionalProperties": {},
						"description": "Media-item settings",
						"type": "object"
					},
					"thumbnail_timestamp_ms": {
						"description": "Video thumbnail timestamp",
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["media_id"],
				"type": "object"
			},
			"PublicationMutationActionInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/PublicationMutationActionInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"execution_intent": {
						"description": "Typed readiness intent; certification_test requires an unscoped instance administrator",
						"enum": ["production", "certification_test"],
						"type": "string"
					},
					"expected_revision": {
						"description": "Revision saved immediately before this action",
						"format": "int64",
						"minimum": 1,
						"type": "integer"
					}
				},
				"required": ["expected_revision"],
				"type": "object"
			},
			"PublicationOverview": {
				"additionalProperties": false,
				"properties": {
					"engagement": {
						"format": "int64",
						"type": "integer"
					},
					"engagement_measured": {
						"format": "int64",
						"type": "integer"
					},
					"excerpt": {
						"type": "string"
					},
					"last_synced_at": {
						"format": "date-time",
						"type": "string"
					},
					"measured": {
						"additionalProperties": {
							"format": "int64",
							"type": "integer"
						},
						"type": "object"
					},
					"metrics": {
						"additionalProperties": {
							"format": "int64",
							"type": "integer"
						},
						"type": "object"
					},
					"publication_id": {
						"type": "string"
					},
					"published_at": {
						"format": "date-time",
						"type": "string"
					},
					"renditions": {
						"items": {
							"$ref": "#/components/schemas/ContentOverview"
						},
						"type": ["array", "null"]
					},
					"title": {
						"type": "string"
					}
				},
				"required": [
					"publication_id",
					"title",
					"excerpt",
					"published_at",
					"metrics",
					"measured",
					"engagement",
					"engagement_measured",
					"renditions"
				],
				"type": "object"
			},
			"PublicationResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/PublicationResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"actual_run_at": {
						"type": "string"
					},
					"audience": {
						"type": "string"
					},
					"content_profile": {
						"type": "string"
					},
					"created_at": {
						"type": "string"
					},
					"created_by": {
						"type": "string"
					},
					"creation_preset": {
						"type": "string"
					},
					"goal": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"intent": {
						"type": "string"
					},
					"media": {
						"items": {
							"$ref": "#/components/schemas/MediaSummary"
						},
						"type": ["array", "null"]
					},
					"metadata": {
						"additionalProperties": {},
						"type": "object"
					},
					"renditions": {
						"items": {
							"$ref": "#/components/schemas/RenditionResponse"
						},
						"type": ["array", "null"]
					},
					"repost_override": {
						"$ref": "#/components/schemas/Override"
					},
					"revision": {
						"format": "int64",
						"type": "integer"
					},
					"scheduled_at": {
						"type": "string"
					},
					"segments": {
						"items": {
							"$ref": "#/components/schemas/PublicationSegmentResponse"
						},
						"type": ["array", "null"]
					},
					"social_set_id": {
						"type": "string"
					},
					"source_text": {
						"type": "string"
					},
					"source_url": {
						"type": "string"
					},
					"status": {
						"type": "string"
					},
					"text_post_id": {
						"description": "Linked draft post ID used by the text-and-thread composer",
						"type": "string"
					},
					"title": {
						"type": "string"
					},
					"updated_at": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"workspace_id",
					"created_by",
					"title",
					"intent",
					"creation_preset",
					"content_profile",
					"source_text",
					"status",
					"revision",
					"metadata",
					"created_at",
					"updated_at",
					"renditions",
					"segments",
					"media",
					"repost_override"
				],
				"type": "object"
			},
			"PublicationSegmentInput": {
				"additionalProperties": false,
				"properties": {
					"body": {
						"description": "Canonical segment body",
						"type": "string"
					},
					"description": {
						"description": "Canonical segment description",
						"type": "string"
					},
					"id": {
						"description": "Client segment reference on create, or an existing server segment ID on update",
						"type": "string"
					},
					"media": {
						"description": "Ordered canonical segment media",
						"items": {
							"$ref": "#/components/schemas/PublicationMediaInput"
						},
						"type": ["array", "null"]
					},
					"settings": {
						"additionalProperties": {},
						"description": "Canonical segment settings",
						"type": "object"
					},
					"title": {
						"description": "Canonical segment title",
						"type": "string"
					},
					"url": {
						"description": "Canonical segment URL",
						"type": "string"
					}
				},
				"type": "object"
			},
			"PublicationSegmentResponse": {
				"additionalProperties": false,
				"properties": {
					"body": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"media": {
						"items": {
							"$ref": "#/components/schemas/MediaSummary"
						},
						"type": ["array", "null"]
					},
					"position": {
						"format": "int64",
						"type": "integer"
					},
					"settings": {
						"additionalProperties": {},
						"type": "object"
					},
					"title": {
						"type": "string"
					},
					"url": {
						"type": "string"
					}
				},
				"required": ["id", "position", "body", "title", "description", "settings", "media"],
				"type": "object"
			},
			"PublicationUpdateBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/PublicationUpdateBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"audience": {
						"description": "Target audience",
						"type": "string"
					},
					"clear_schedule": {
						"description": "Clear the saved schedule and cancel its pending publication job",
						"type": "boolean"
					},
					"content_profile": {
						"description": "Content profile",
						"type": "string"
					},
					"creation_preset": {
						"description": "Starter preset; destination renditions own their formats",
						"enum": ["post", "thread", "story", "short_video", "video"],
						"type": "string"
					},
					"expected_revision": {
						"description": "Revision loaded by the editor",
						"format": "int64",
						"minimum": 1,
						"type": "integer"
					},
					"goal": {
						"description": "Publication goal",
						"type": "string"
					},
					"intent": {
						"description": "Deprecated compatibility alias for creation_preset",
						"enum": ["post", "thread", "story", "short_video", "video"],
						"type": "string"
					},
					"metadata": {
						"additionalProperties": {},
						"description": "Publication metadata",
						"type": "object"
					},
					"renditions": {
						"description": "Replacement destination renditions saved in the same transaction",
						"items": {
							"$ref": "#/components/schemas/RenditionInput"
						},
						"type": ["array", "null"]
					},
					"repost_override": {
						"$ref": "#/components/schemas/Override",
						"description": "Replace the per-publication repost override"
					},
					"scheduled_at": {
						"description": "Optional schedule time",
						"format": "date-time",
						"type": "string"
					},
					"segments": {
						"description": "Replacement ordered canonical segments",
						"items": {
							"$ref": "#/components/schemas/PublicationSegmentInput"
						},
						"type": ["array", "null"]
					},
					"social_set_id": {
						"description": "Social Set provenance; does not replace snapshotted destinations",
						"type": "string"
					},
					"source_text": {
						"description": "Canonical source text",
						"type": "string"
					},
					"source_url": {
						"description": "Source URL",
						"type": "string"
					},
					"title": {
						"description": "Internal publication title",
						"type": "string"
					}
				},
				"required": ["expected_revision"],
				"type": "object"
			},
			"PublicationValidationOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/PublicationValidationOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"issues": {
						"items": {
							"$ref": "#/components/schemas/ValidationIssue"
						},
						"type": ["array", "null"]
					},
					"valid": {
						"type": "boolean"
					}
				},
				"required": ["valid", "issues"],
				"type": "object"
			},
			"PublishingOptionsOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/PublishingOptionsOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"next_cursor": {
						"type": "string"
					},
					"options": {
						"items": {
							"$ref": "#/components/schemas/DestinationOption"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["options"],
				"type": "object"
			},
			"PurchaseChoiceResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/PurchaseChoiceResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"billing_period": {
						"description": "Canonical billing period",
						"enum": ["monthly", "annual"],
						"type": "string"
					},
					"card_required": {
						"description": "Whether checkout requires a payment card for the trial",
						"type": "boolean"
					},
					"catalog_version": {
						"description": "Canonical plan catalogue revision bound to the choice",
						"type": "string"
					},
					"due_today_usd": {
						"description": "Canonical USD amount due when the trial starts",
						"format": "int64",
						"type": "integer"
					},
					"expires_at": {
						"description": "When this purchase choice must be replaced",
						"format": "date-time",
						"type": "string"
					},
					"list_price_usd": {
						"description": "Full-period canonical USD list price",
						"format": "int64",
						"type": "integer"
					},
					"plan_id": {
						"description": "Canonical hosted plan ID",
						"type": "string"
					},
					"plan_name": {
						"description": "Canonical hosted plan name",
						"type": "string"
					},
					"token": {
						"description": "Integrity-protected purchase choice continuation token",
						"type": "string"
					},
					"trial_days": {
						"description": "Trial length in calendar days",
						"format": "int64",
						"type": "integer"
					}
				},
				"required": [
					"token",
					"plan_id",
					"plan_name",
					"billing_period",
					"list_price_usd",
					"trial_days",
					"card_required",
					"due_today_usd",
					"catalog_version",
					"expires_at"
				],
				"type": "object"
			},
			"Readiness-checkResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/Readiness-checkResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"database": {
						"description": "Database dependency status",
						"type": "string"
					},
					"status": {
						"description": "Readiness status",
						"type": "string"
					}
				},
				"required": ["status", "database"],
				"type": "object"
			},
			"ReauthGrantOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ReauthGrantOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"expires_in": {
						"format": "int64",
						"type": "integer"
					},
					"grant": {
						"type": "string"
					}
				},
				"required": ["grant", "expires_in"],
				"type": "object"
			},
			"RecoveryCodeSensitiveActionInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/RecoveryCodeSensitiveActionInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"current_password": {
						"description": "Current password for re-authentication",
						"type": "string"
					},
					"reauth_grant": {
						"description": "One-time action-bound reauthentication grant",
						"type": "string"
					}
				},
				"required": ["current_password"],
				"type": "object"
			},
			"RecoveryCodeSetOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/RecoveryCodeSetOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"challenge_id": {
						"description": "Expiring challenge that activates this code set after acknowledgement",
						"type": "string"
					},
					"recovery_codes": {
						"description": "One-time plaintext recovery codes; these are never returned again",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["challenge_id", "recovery_codes"],
				"type": "object"
			},
			"RecoveryCodeStatusOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/RecoveryCodeStatusOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"remaining": {
						"description": "Number of unused active MFA recovery codes",
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["remaining"],
				"type": "object"
			},
			"RefreshAnalyticsInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/RefreshAnalyticsInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"workspace_id": {
						"description": "Workspace ID",
						"type": "string"
					}
				},
				"required": ["workspace_id"],
				"type": "object"
			},
			"RefreshAnalyticsOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/RefreshAnalyticsOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"message": {
						"type": "string"
					},
					"queued": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["queued", "message"],
				"type": "object"
			},
			"RefreshCommunicationsInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/RefreshCommunicationsInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["workspace_id"],
				"type": "object"
			},
			"RefreshCommunicationsOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/RefreshCommunicationsOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"queued": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["queued"],
				"type": "object"
			},
			"RegisterInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/RegisterInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"accepted_legal": {
						"description": "Whether the user accepted the current terms and privacy policy",
						"type": "boolean"
					},
					"email": {
						"description": "User email address",
						"format": "email",
						"type": "string"
					},
					"password": {
						"description": "User password (min 12 characters)",
						"maxLength": 1024,
						"minLength": 12,
						"type": "string"
					},
					"purchase_choice_token": {
						"description": "Integrity-protected hosted plan and billing-period choice; required for hosted registration",
						"type": "string"
					},
					"username": {
						"description": "Optional unique public username; OpenPost creates one from the email when omitted",
						"maxLength": 30,
						"minLength": 3,
						"pattern": "^[A-Za-z0-9](?:[A-Za-z0-9_-]*[A-Za-z0-9])?$",
						"type": "string"
					}
				},
				"required": ["email", "password"],
				"type": "object"
			},
			"RemoveAvatarOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/RemoveAvatarOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"removed": {
						"description": "Whether the profile avatar was removed",
						"type": "boolean"
					}
				},
				"required": ["removed"],
				"type": "object"
			},
			"RemovePasskeyInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/RemovePasskeyInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"current_password": {
						"description": "Current password for re-authentication",
						"type": "string"
					},
					"reauth_grant": {
						"description": "One-time action-bound reauthentication grant",
						"type": "string"
					}
				},
				"required": ["current_password"],
				"type": "object"
			},
			"RemoveWorkspaceMemberOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/RemoveWorkspaceMemberOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"removed": {
						"type": "boolean"
					}
				},
				"required": ["removed"],
				"type": "object"
			},
			"RenderMemeInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/RenderMemeInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"alt_text": {
						"description": "Alternative text saved with the media",
						"maxLength": 500,
						"type": "string"
					},
					"captions": {
						"description": "Caption values in template order",
						"items": {
							"maxLength": 200,
							"type": "string"
						},
						"maxItems": 16,
						"minItems": 1,
						"type": ["array", "null"]
					},
					"format": {
						"default": "png",
						"description": "Rendered image format",
						"enum": ["png", "jpg", "jpeg", "gif", "webp"],
						"type": "string"
					},
					"overlay_media_ids": {
						"description": "Workspace media IDs for replaceable image slots",
						"items": {
							"maxLength": 80,
							"type": "string"
						},
						"maxItems": 8,
						"type": ["array", "null"]
					},
					"parent_media_id": {
						"description": "Prior generated media when this is an edited version",
						"maxLength": 80,
						"type": "string"
					},
					"template_id": {
						"description": "Memegen template ID",
						"maxLength": 80,
						"minLength": 1,
						"type": "string"
					},
					"workspace_id": {
						"description": "Workspace ID",
						"type": "string"
					}
				},
				"required": ["workspace_id", "template_id", "captions"],
				"type": "object"
			},
			"RenderMemeOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/RenderMemeOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"media": {
						"$ref": "#/components/schemas/MediaUploadResult"
					},
					"recipe": {
						"$ref": "#/components/schemas/MemeRecipeResponse"
					}
				},
				"required": ["media", "recipe"],
				"type": "object"
			},
			"RenditionActionOutcome": {
				"additionalProperties": false,
				"properties": {
					"delivery": {
						"$ref": "#/components/schemas/ProviderDeliveryResponse"
					},
					"id": {
						"type": "string"
					},
					"platform": {
						"type": "string"
					},
					"social_account_id": {
						"type": "string"
					},
					"status": {
						"type": "string"
					},
					"target_key": {
						"type": "string"
					}
				},
				"required": ["id", "social_account_id", "target_key", "platform", "status"],
				"type": "object"
			},
			"RenditionInput": {
				"additionalProperties": false,
				"properties": {
					"body": {
						"description": "Platform-specific body",
						"type": "string"
					},
					"description": {
						"description": "Platform-specific description",
						"type": "string"
					},
					"format_locked": {
						"description": "Preserve an explicitly selected format when source content changes",
						"type": "boolean"
					},
					"id": {
						"description": "Legacy client reference; replacement IDs are server-generated",
						"type": "string"
					},
					"media": {
						"description": "Rendition-specific ordered media",
						"items": {
							"$ref": "#/components/schemas/PublicationMediaInput"
						},
						"type": ["array", "null"]
					},
					"output_profile": {
						"description": "Resolved provider-qualified output profile",
						"type": "string"
					},
					"profile": {
						"description": "Content profile override",
						"type": "string"
					},
					"schedule_override": {
						"description": "Optional destination-specific schedule",
						"format": "date-time",
						"type": "string"
					},
					"segments": {
						"description": "Ordered destination segments",
						"items": {
							"$ref": "#/components/schemas/RenditionSegmentInput"
						},
						"type": ["array", "null"]
					},
					"settings": {
						"additionalProperties": {},
						"description": "Provider-specific settings",
						"type": "object"
					},
					"social_account_id": {
						"description": "Social account ID",
						"type": "string"
					},
					"target_key": {
						"description": "Provider subdestination key; defaults to the account destination",
						"type": "string"
					},
					"title": {
						"description": "Platform-specific title",
						"type": "string"
					}
				},
				"required": ["social_account_id"],
				"type": "object"
			},
			"RenditionResponse": {
				"additionalProperties": false,
				"properties": {
					"body": {
						"type": "string"
					},
					"delivery": {
						"$ref": "#/components/schemas/ProviderDeliveryResponse"
					},
					"description": {
						"type": "string"
					},
					"error_action": {
						"type": "string"
					},
					"error_code": {
						"type": "string"
					},
					"error_http_status": {
						"format": "int64",
						"type": "integer"
					},
					"error_kind": {
						"type": "string"
					},
					"error_message": {
						"type": "string"
					},
					"error_retry_at": {
						"type": "string"
					},
					"error_retryable": {
						"type": "boolean"
					},
					"external_id": {
						"type": "string"
					},
					"external_url": {
						"type": "string"
					},
					"format_locked": {
						"type": "boolean"
					},
					"id": {
						"type": "string"
					},
					"media": {
						"items": {
							"$ref": "#/components/schemas/MediaSummary"
						},
						"type": ["array", "null"]
					},
					"output_profile": {
						"type": "string"
					},
					"platform": {
						"type": "string"
					},
					"profile": {
						"type": "string"
					},
					"publication_id": {
						"type": "string"
					},
					"schedule_override": {
						"type": "string"
					},
					"segments": {
						"items": {
							"$ref": "#/components/schemas/RenditionSegmentResponse"
						},
						"type": ["array", "null"]
					},
					"settings": {
						"additionalProperties": {},
						"type": "object"
					},
					"social_account_id": {
						"type": "string"
					},
					"status": {
						"type": "string"
					},
					"target_key": {
						"type": "string"
					},
					"title": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"publication_id",
					"social_account_id",
					"target_key",
					"platform",
					"profile",
					"output_profile",
					"format_locked",
					"body",
					"title",
					"description",
					"settings",
					"status",
					"error_retryable",
					"segments",
					"media"
				],
				"type": "object"
			},
			"RenditionSegmentInput": {
				"additionalProperties": false,
				"properties": {
					"body": {
						"description": "Destination segment body override",
						"type": "string"
					},
					"body_override": {
						"description": "Explicit destination body; omit or null to inherit",
						"type": "string"
					},
					"description": {
						"description": "Destination segment description override",
						"type": "string"
					},
					"description_override": {
						"description": "Explicit destination description; omit or null to inherit",
						"type": "string"
					},
					"id": {
						"description": "Legacy client reference; replacement IDs are server-generated",
						"type": "string"
					},
					"media": {
						"description": "Destination segment ordered media",
						"items": {
							"$ref": "#/components/schemas/PublicationMediaInput"
						},
						"type": ["array", "null"]
					},
					"media_inherited": {
						"description": "Whether destination media follows the canonical segment",
						"type": "boolean"
					},
					"publication_segment_id": {
						"description": "Server canonical segment ID, or its matching client segment reference in the same request",
						"type": "string"
					},
					"settings": {
						"additionalProperties": {},
						"description": "Segment-scoped destination settings",
						"type": "object"
					},
					"title": {
						"description": "Destination segment title override",
						"type": "string"
					},
					"title_override": {
						"description": "Explicit destination title; omit or null to inherit",
						"type": "string"
					},
					"url": {
						"description": "Destination segment URL override",
						"type": "string"
					},
					"url_override": {
						"description": "Explicit destination URL; omit or null to inherit",
						"type": "string"
					}
				},
				"type": "object"
			},
			"RenditionSegmentResponse": {
				"additionalProperties": false,
				"properties": {
					"body": {
						"type": "string"
					},
					"body_override": {
						"type": "string"
					},
					"description": {
						"type": "string"
					},
					"description_override": {
						"type": "string"
					},
					"error_action": {
						"type": "string"
					},
					"error_code": {
						"type": "string"
					},
					"error_http_status": {
						"format": "int64",
						"type": "integer"
					},
					"error_kind": {
						"type": "string"
					},
					"error_message": {
						"type": "string"
					},
					"error_retry_at": {
						"type": "string"
					},
					"error_retryable": {
						"type": "boolean"
					},
					"external_id": {
						"type": "string"
					},
					"external_url": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"media": {
						"items": {
							"$ref": "#/components/schemas/MediaSummary"
						},
						"type": ["array", "null"]
					},
					"media_inherited": {
						"type": "boolean"
					},
					"position": {
						"format": "int64",
						"type": "integer"
					},
					"publication_segment_id": {
						"type": "string"
					},
					"settings": {
						"additionalProperties": {},
						"type": "object"
					},
					"status": {
						"type": "string"
					},
					"title": {
						"type": "string"
					},
					"title_override": {
						"type": "string"
					},
					"url": {
						"type": "string"
					},
					"url_override": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"publication_segment_id",
					"position",
					"body",
					"title",
					"description",
					"media_inherited",
					"settings",
					"status",
					"error_retryable",
					"media"
				],
				"type": "object"
			},
			"ReplaceMediaTagItemsInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ReplaceMediaTagItemsInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"media_ids": {
						"items": {
							"type": "string"
						},
						"maxItems": 500,
						"type": ["array", "null"]
					},
					"mode": {
						"default": "replace",
						"enum": ["replace", "add", "remove"],
						"type": "string"
					}
				},
				"required": ["media_ids"],
				"type": "object"
			},
			"ReplaceMediaTagItemsOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ReplaceMediaTagItemsOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"count": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["count"],
				"type": "object"
			},
			"ReplyInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ReplyInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"body": {
						"description": "Reply body",
						"type": "string"
					},
					"media": {
						"description": "Reply media",
						"items": {
							"$ref": "#/components/schemas/PublicationMediaInput"
						},
						"type": ["array", "null"]
					},
					"parent_id": {
						"description": "External comment or post ID to reply to",
						"type": "string"
					},
					"run_at": {
						"description": "Optional scheduled reply time",
						"format": "date-time",
						"type": "string"
					},
					"settings": {
						"additionalProperties": {},
						"description": "Provider-specific reply settings",
						"type": "object"
					}
				},
				"required": ["body"],
				"type": "object"
			},
			"RepostGrantOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/RepostGrantOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"message": {
						"type": "string"
					}
				},
				"required": ["message"],
				"type": "object"
			},
			"RequestPasswordResetInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/RequestPasswordResetInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"email": {
						"description": "Account email address",
						"format": "email",
						"type": "string"
					}
				},
				"required": ["email"],
				"type": "object"
			},
			"ResendEmailVerificationInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ResendEmailVerificationInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"challenge_id": {
						"description": "Opaque email verification challenge ID",
						"minLength": 16,
						"type": "string"
					}
				},
				"required": ["challenge_id"],
				"type": "object"
			},
			"ResetPasswordInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ResetPasswordInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"new_password": {
						"description": "New password",
						"maxLength": 1024,
						"minLength": 12,
						"type": "string"
					},
					"token": {
						"description": "Single-use password reset token",
						"minLength": 32,
						"type": "string"
					}
				},
				"required": ["token", "new_password"],
				"type": "object"
			},
			"ResetPasswordOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ResetPasswordOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"message": {
						"type": "string"
					}
				},
				"required": ["message"],
				"type": "object"
			},
			"ResolveCapabilitiesInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ResolveCapabilitiesInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"account_ids": {
						"description": "Connected account IDs",
						"items": {
							"type": "string"
						},
						"minItems": 1,
						"type": ["array", "null"],
						"uniqueItems": true
					},
					"account_settings": {
						"additionalProperties": {
							"additionalProperties": {},
							"type": "object"
						},
						"description": "Destination settings keyed by connected account ID",
						"type": "object"
					},
					"creation_preset": {
						"description": "Starter preset used only to choose initial destination formats",
						"enum": ["post", "thread", "story", "short_video", "video"],
						"type": "string"
					},
					"intent": {
						"description": "Deprecated compatibility alias for creation_preset",
						"enum": ["post", "thread", "story", "short_video", "video"],
						"type": "string"
					},
					"locale": {
						"description": "BCP 47 locale for option labels",
						"type": "string"
					},
					"region": {
						"description": "ISO 3166-1 alpha-2 region",
						"type": "string"
					},
					"requested_output_profiles": {
						"additionalProperties": {
							"type": "string"
						},
						"description": "Explicit or saved output profiles keyed by connected account ID",
						"type": "object"
					},
					"segments": {
						"description": "Ordered canonical segments",
						"items": {
							"$ref": "#/components/schemas/ResolveCapabilitySegmentInput"
						},
						"minItems": 1,
						"type": ["array", "null"]
					},
					"source_url": {
						"description": "Canonical source URL",
						"type": "string"
					}
				},
				"required": ["account_ids", "segments"],
				"type": "object"
			},
			"ResolveCapabilitiesOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ResolveCapabilitiesOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"accounts": {
						"items": {
							"$ref": "#/components/schemas/ResolvedAccountCapability"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["accounts"],
				"type": "object"
			},
			"ResolveCapabilityMediaInput": {
				"additionalProperties": false,
				"properties": {
					"alt_text": {
						"description": "Destination alt-text override",
						"type": "string"
					},
					"media_id": {
						"description": "Media attachment ID",
						"type": "string"
					}
				},
				"required": ["media_id"],
				"type": "object"
			},
			"ResolveCapabilitySegmentInput": {
				"additionalProperties": false,
				"properties": {
					"content": {
						"description": "Canonical segment body",
						"type": "string"
					},
					"description": {
						"description": "Canonical segment description",
						"type": "string"
					},
					"id": {
						"description": "Stable segment ID",
						"type": "string"
					},
					"media": {
						"description": "Ordered segment media",
						"items": {
							"$ref": "#/components/schemas/ResolveCapabilityMediaInput"
						},
						"type": ["array", "null"]
					},
					"title": {
						"description": "Canonical segment title",
						"type": "string"
					},
					"url": {
						"description": "Canonical segment URL",
						"type": "string"
					}
				},
				"required": ["id"],
				"type": "object"
			},
			"ResolvedAccountCapability": {
				"additionalProperties": false,
				"properties": {
					"account_id": {
						"type": "string"
					},
					"active_constraints": {
						"additionalProperties": {},
						"type": "object"
					},
					"available_formats": {
						"items": {
							"$ref": "#/components/schemas/DestinationFormat"
						},
						"type": ["array", "null"]
					},
					"capability_revision": {
						"type": "string"
					},
					"caveats": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"compatible": {
						"type": "boolean"
					},
					"content": {
						"$ref": "#/components/schemas/ContentConstraint"
					},
					"description_required": {
						"type": "boolean"
					},
					"dynamic_options": {
						"additionalProperties": {
							"items": {
								"$ref": "#/components/schemas/Option"
							},
							"type": ["array", "null"]
						},
						"type": "object"
					},
					"expires_at": {
						"type": "string"
					},
					"format_selection_required": {
						"type": "boolean"
					},
					"immediate_readiness": {
						"$ref": "#/components/schemas/Decision"
					},
					"intents": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"issues": {
						"items": {
							"$ref": "#/components/schemas/ValidationIssue"
						},
						"type": ["array", "null"]
					},
					"label": {
						"type": "string"
					},
					"media": {
						"$ref": "#/components/schemas/MediaConstraint"
					},
					"media_shapes": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"metadata": {
						"additionalProperties": {
							"type": "string"
						},
						"type": "object"
					},
					"native_scheduling": {
						"type": "boolean"
					},
					"openpost_queued": {
						"type": "boolean"
					},
					"output_profile": {
						"type": "string"
					},
					"profile": {
						"type": "string"
					},
					"provider": {
						"type": "string"
					},
					"requires_app_review": {
						"type": "boolean"
					},
					"requires_public_media": {
						"type": "boolean"
					},
					"scheduled_readiness": {
						"$ref": "#/components/schemas/Decision"
					},
					"segment_strategy": {
						"enum": ["preserve", "join"],
						"type": "string"
					},
					"setting_groups": {
						"items": {
							"$ref": "#/components/schemas/ResolvedSettingGroup"
						},
						"type": ["array", "null"]
					},
					"settings": {
						"items": {
							"$ref": "#/components/schemas/SettingDefinition"
						},
						"type": ["array", "null"]
					},
					"text_limit": {
						"format": "int64",
						"type": "integer"
					},
					"title_required": {
						"type": "boolean"
					},
					"unavailable_reason": {
						"type": "string"
					},
					"validation_categories": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					}
				},
				"required": [
					"account_id",
					"immediate_readiness",
					"scheduled_readiness",
					"compatible",
					"format_selection_required",
					"segment_strategy",
					"available_formats",
					"active_constraints",
					"setting_groups",
					"issues",
					"provider",
					"profile",
					"output_profile",
					"intents",
					"media_shapes",
					"label",
					"native_scheduling",
					"openpost_queued",
					"requires_app_review",
					"requires_public_media",
					"media",
					"content",
					"capability_revision"
				],
				"type": "object"
			},
			"ResolvedAsset": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ResolvedAsset.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"attribution_text": {
						"type": "string"
					},
					"creator_name": {
						"type": "string"
					},
					"creator_url": {
						"type": "string"
					},
					"download_url": {
						"type": "string"
					},
					"duration_seconds": {
						"format": "int64",
						"type": "integer"
					},
					"external_id": {
						"type": "string"
					},
					"height": {
						"format": "int64",
						"type": "integer"
					},
					"kind": {
						"type": "string"
					},
					"license_name": {
						"type": "string"
					},
					"license_url": {
						"type": "string"
					},
					"mime_type": {
						"type": "string"
					},
					"preview_url": {
						"type": "string"
					},
					"provider": {
						"type": "string"
					},
					"provider_url": {
						"type": "string"
					},
					"source_url": {
						"type": "string"
					},
					"thumbnail_url": {
						"type": "string"
					},
					"title": {
						"type": "string"
					},
					"width": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": [
					"download_url",
					"mime_type",
					"external_id",
					"kind",
					"title",
					"width",
					"height",
					"thumbnail_url",
					"source_url",
					"creator_name",
					"creator_url",
					"provider",
					"provider_url",
					"attribution_text",
					"license_name",
					"license_url"
				],
				"type": "object"
			},
			"ResolvedSettingGroup": {
				"additionalProperties": false,
				"properties": {
					"key": {
						"type": "string"
					},
					"settings": {
						"items": {
							"$ref": "#/components/schemas/SettingDefinition"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["key", "settings"],
				"type": "object"
			},
			"RestoreImageEditorRevisionInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/RestoreImageEditorRevisionInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"expected_revision": {
						"format": "int64",
						"minimum": 1,
						"type": "integer"
					}
				},
				"required": ["expected_revision"],
				"type": "object"
			},
			"RestoreMediaOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/RestoreMediaOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"message": {
						"description": "Success message",
						"type": "string"
					}
				},
				"required": ["message"],
				"type": "object"
			},
			"RestoreVideoProjectRevisionInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/RestoreVideoProjectRevisionInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"expected_revision": {
						"format": "int64",
						"minimum": 1,
						"type": "integer"
					}
				},
				"required": ["expected_revision"],
				"type": "object"
			},
			"RetryMediaAnalysisOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/RetryMediaAnalysisOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"analysis_status": {
						"description": "Current analysis status",
						"type": "string"
					},
					"media_id": {
						"description": "Media ID",
						"type": "string"
					},
					"processing_status": {
						"description": "Current processing status",
						"type": "string"
					}
				},
				"required": ["media_id", "processing_status", "analysis_status"],
				"type": "object"
			},
			"Revoke-organization-ownership-transferResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": [
							"https://example.com/schemas/Revoke-organization-ownership-transferResponse.json"
						],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"revoked": {
						"type": "boolean"
					}
				},
				"required": ["revoked"],
				"type": "object"
			},
			"RevokeAPITokenOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/RevokeAPITokenOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"revoked": {
						"type": "boolean"
					}
				},
				"required": ["revoked"],
				"type": "object"
			},
			"RevokeUserSessionOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/RevokeUserSessionOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"revoked": {
						"type": "boolean"
					},
					"revoked_current": {
						"type": "boolean"
					}
				},
				"required": ["revoked", "revoked_current"],
				"type": "object"
			},
			"RevokeWorkspaceInvitationOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/RevokeWorkspaceInvitationOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"revoked": {
						"type": "boolean"
					}
				},
				"required": ["revoked"],
				"type": "object"
			},
			"Rule": {
				"additionalProperties": false,
				"properties": {
					"delay_seconds": {
						"description": "Wait after publishing before the first eligibility check",
						"format": "int64",
						"maximum": 2592000,
						"minimum": 0,
						"type": "integer"
					},
					"evaluation_window_seconds": {
						"description": "How long OpenPost may wait for engagement gates",
						"format": "int64",
						"maximum": 2592000,
						"minimum": 900,
						"type": "integer"
					},
					"min_comments": {
						"description": "Minimum comments; zero disables this gate",
						"format": "int64",
						"minimum": 0,
						"type": "integer"
					},
					"min_likes": {
						"description": "Minimum likes; zero disables this gate",
						"format": "int64",
						"minimum": 0,
						"type": "integer"
					},
					"min_reposts": {
						"description": "Minimum reposts or shares; zero disables this gate",
						"format": "int64",
						"minimum": 0,
						"type": "integer"
					},
					"min_views": {
						"description": "Minimum views; zero disables this gate",
						"format": "int64",
						"minimum": 0,
						"type": "integer"
					},
					"plateau_checks": {
						"description": "Consecutive unchanged analytics checks required",
						"format": "int64",
						"maximum": 12,
						"minimum": 2,
						"type": "integer"
					},
					"require_plateau": {
						"description": "Wait until stored engagement has stopped changing",
						"type": "boolean"
					},
					"threshold_mode": {
						"description": "Require all configured thresholds or any one",
						"enum": ["all", "any"],
						"type": "string"
					}
				},
				"required": [
					"delay_seconds",
					"evaluation_window_seconds",
					"threshold_mode",
					"min_likes",
					"min_comments",
					"min_reposts",
					"min_views",
					"require_plateau",
					"plateau_checks"
				],
				"type": "object"
			},
			"RuntimeControlSelector": {
				"additionalProperties": false,
				"properties": {
					"account_kind": {
						"type": "string"
					},
					"app_fingerprint": {
						"type": "string"
					},
					"deployment_environment": {
						"type": "string"
					},
					"instance_fingerprint": {
						"type": "string"
					},
					"operation": {
						"type": "string"
					},
					"output_profile": {
						"type": "string"
					},
					"policy_mode": {
						"type": "string"
					},
					"provider": {
						"type": "string"
					},
					"provider_environment": {
						"type": "string"
					}
				},
				"required": ["provider"],
				"type": "object"
			},
			"SaveInstanceSettingsInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/SaveInstanceSettingsInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"settings": {
						"description": "Settings to update atomically",
						"items": {
							"$ref": "#/components/schemas/InstanceSettingUpdateInput"
						},
						"minItems": 1,
						"type": ["array", "null"]
					}
				},
				"required": ["settings"],
				"type": "object"
			},
			"SaveProviderAppInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/SaveProviderAppInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"client_id": {
						"description": "OAuth client ID",
						"type": "string"
					},
					"client_secret": {
						"description": "OAuth client secret. Omit to preserve the existing secret when updating.",
						"type": "string"
					},
					"instance_url": {
						"description": "Federated provider instance URL",
						"type": "string"
					},
					"is_active": {
						"description": "Whether this app should be active. Defaults to true.",
						"type": "boolean"
					},
					"name": {
						"description": "Optional provider app display name",
						"type": "string"
					},
					"provider": {
						"description": "Provider key",
						"type": "string"
					},
					"redirect_uri": {
						"description": "OAuth redirect URI",
						"type": "string"
					}
				},
				"required": ["provider", "client_id"],
				"type": "object"
			},
			"SaveProviderAppResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/SaveProviderAppResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"app": {
						"$ref": "#/components/schemas/ProviderAppResponse"
					},
					"existed": {
						"description": "Whether an existing provider app row was updated",
						"type": "boolean"
					},
					"requires_restart": {
						"description": "Whether the server must restart before adapter changes apply",
						"type": "boolean"
					}
				},
				"required": ["app", "existed", "requires_restart"],
				"type": "object"
			},
			"SaveRepostSettingsInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/SaveRepostSettingsInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"policies": {
						"description": "Complete replacement set of workspace repost rules",
						"items": {
							"$ref": "#/components/schemas/PolicyInput"
						},
						"type": ["array", "null"]
					},
					"workspace_id": {
						"description": "Workspace ID",
						"type": "string"
					}
				},
				"required": ["workspace_id", "policies"],
				"type": "object"
			},
			"SaveTextPostDraftInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/SaveTextPostDraftInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"content": {
						"description": "First post content",
						"type": "string"
					},
					"expected_revision": {
						"description": "Revision loaded by the editor",
						"format": "int64",
						"minimum": 1,
						"type": "integer"
					},
					"media_ids": {
						"description": "Replacement aggregate media",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"publication": {
						"$ref": "#/components/schemas/TextPostPublicationInput",
						"description": "Canonical segments, media, settings, and destination renditions"
					},
					"random_delay_minutes": {
						"description": "Random schedule delay",
						"format": "int64",
						"type": "integer"
					},
					"scheduled_at": {
						"description": "Proposed schedule time; empty clears it",
						"type": "string"
					},
					"social_account_ids": {
						"description": "Replacement destinations",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"thread_draft": {
						"description": "Encoded multi-post draft; empty clears it",
						"type": "string"
					},
					"variants": {
						"description": "Replacement per-destination text variants",
						"items": {
							"$ref": "#/components/schemas/VariantInput"
						},
						"type": ["array", "null"]
					}
				},
				"required": [
					"expected_revision",
					"content",
					"social_account_ids",
					"media_ids",
					"variants",
					"publication"
				],
				"type": "object"
			},
			"SaveTextPostDraftOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/SaveTextPostDraftOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"post_id": {
						"type": "string"
					},
					"publication_id": {
						"type": "string"
					},
					"revision": {
						"format": "int64",
						"type": "integer"
					},
					"updated_at": {
						"type": "string"
					}
				},
				"required": ["post_id", "publication_id", "revision", "updated_at"],
				"type": "object"
			},
			"ScheduleDay": {
				"additionalProperties": false,
				"properties": {
					"count": {
						"description": "Number of scheduled posts",
						"format": "int64",
						"type": "integer"
					},
					"date": {
						"description": "Date in YYYY-MM-DD format",
						"type": "string"
					},
					"platforms": {
						"description": "Per-platform breakdown",
						"items": {
							"$ref": "#/components/schemas/ScheduleDayPlatform"
						},
						"type": ["array", "null"]
					},
					"workspaces": {
						"description": "Per-workspace breakdown",
						"items": {
							"$ref": "#/components/schemas/ScheduleDayWorkspace"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["date", "count", "platforms", "workspaces"],
				"type": "object"
			},
			"ScheduleDayPlatform": {
				"additionalProperties": false,
				"properties": {
					"count": {
						"description": "Count for this platform on this day",
						"format": "int64",
						"type": "integer"
					},
					"platform": {
						"description": "Platform name",
						"type": "string"
					}
				},
				"required": ["platform", "count"],
				"type": "object"
			},
			"ScheduleDayWorkspace": {
				"additionalProperties": false,
				"properties": {
					"count": {
						"description": "Count for this workspace on this day",
						"format": "int64",
						"type": "integer"
					},
					"workspace_id": {
						"description": "Workspace ID",
						"type": "string"
					}
				},
				"required": ["workspace_id", "count"],
				"type": "object"
			},
			"ScheduleOverviewOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/ScheduleOverviewOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"days": {
						"description": "Daily schedule data",
						"items": {
							"$ref": "#/components/schemas/ScheduleDay"
						},
						"type": ["array", "null"]
					},
					"month": {
						"description": "Month of the overview (1-12)",
						"format": "int64",
						"type": "integer"
					},
					"platforms": {
						"description": "Available platforms",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"selected_platform": {
						"description": "Currently selected platform filter",
						"type": "string"
					},
					"selected_workspace_id": {
						"description": "Currently selected workspace",
						"type": "string"
					},
					"workspaces": {
						"description": "Available workspaces",
						"items": {
							"$ref": "#/components/schemas/WorkspaceResp"
						},
						"type": ["array", "null"]
					},
					"year": {
						"description": "Year of the overview",
						"format": "int64",
						"type": "integer"
					}
				},
				"required": [
					"year",
					"month",
					"selected_workspace_id",
					"selected_platform",
					"workspaces",
					"platforms",
					"days"
				],
				"type": "object"
			},
			"Screenshot": {
				"additionalProperties": false,
				"properties": {
					"data": {
						"type": "string"
					},
					"mime_type": {
						"type": "string"
					}
				},
				"required": ["mime_type", "data"],
				"type": "object"
			},
			"SearchPage": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/SearchPage.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"has_more": {
						"type": "boolean"
					},
					"items": {
						"items": {
							"$ref": "#/components/schemas/Asset"
						},
						"type": ["array", "null"]
					},
					"page": {
						"format": "int64",
						"type": "integer"
					},
					"per_page": {
						"format": "int64",
						"type": "integer"
					},
					"provider": {
						"type": "string"
					},
					"provider_url": {
						"type": "string"
					},
					"total": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["items", "page", "per_page", "total", "has_more", "provider", "provider_url"],
				"type": "object"
			},
			"SecurityStatusOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/SecurityStatusOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"methods": {
						"description": "Currently available MFA methods",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"passkeys": {
						"items": {
							"$ref": "#/components/schemas/PasskeySummary"
						},
						"type": ["array", "null"]
					},
					"totp_enabled": {
						"description": "Whether authenticator-based 2FA is enabled",
						"type": "boolean"
					},
					"user": {
						"$ref": "#/components/schemas/UserProfile"
					}
				},
				"required": ["user", "totp_enabled", "passkeys", "methods"],
				"type": "object"
			},
			"SelectStockMediaInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/SelectStockMediaInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"external_id": {
						"maxLength": 160,
						"minLength": 1,
						"type": "string"
					},
					"provider": {
						"enum": ["pexels", "unsplash", "pixabay"],
						"type": "string"
					}
				},
				"required": ["provider", "external_id"],
				"type": "object"
			},
			"SendMessageInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/SendMessageInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"message": {
						"maxLength": 10000,
						"minLength": 1,
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["workspace_id", "message"],
				"type": "object"
			},
			"SeriesPoint": {
				"additionalProperties": false,
				"properties": {
					"date": {
						"type": "string"
					},
					"value": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["date", "value"],
				"type": "object"
			},
			"SetConversationStateInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/SetConversationStateInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"archived": {
						"type": "boolean"
					},
					"read": {
						"type": "boolean"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["workspace_id"],
				"type": "object"
			},
			"SetEngagementStateInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/SetEngagementStateInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"archived": {
						"type": "boolean"
					},
					"ids": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"read": {
						"type": "boolean"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["workspace_id", "ids"],
				"type": "object"
			},
			"SettingCondition": {
				"additionalProperties": false,
				"properties": {
					"key": {
						"type": "string"
					},
					"operator": {
						"enum": ["equals", "not_equals", "present", "absent", "in"],
						"type": "string"
					},
					"value": {}
				},
				"required": ["key", "operator"],
				"type": "object"
			},
			"SettingConstraint": {
				"additionalProperties": false,
				"properties": {
					"accept": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"local_date_time": {
						"type": "boolean"
					},
					"max_items": {
						"format": "int64",
						"type": "integer"
					},
					"max_length": {
						"format": "int64",
						"type": "integer"
					},
					"maximum": {
						"format": "double",
						"type": "number"
					},
					"min_items": {
						"format": "int64",
						"type": "integer"
					},
					"min_length": {
						"format": "int64",
						"type": "integer"
					},
					"minimum": {
						"format": "double",
						"type": "number"
					},
					"pattern": {
						"type": "string"
					},
					"unique_items": {
						"type": "boolean"
					}
				},
				"type": "object"
			},
			"SettingDefinition": {
				"additionalProperties": false,
				"properties": {
					"access_requirements": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"capability": {
						"type": "string"
					},
					"conflicts": {
						"items": {
							"$ref": "#/components/schemas/SettingCondition"
						},
						"type": ["array", "null"]
					},
					"constraints": {
						"$ref": "#/components/schemas/SettingConstraint"
					},
					"control": {
						"type": "string"
					},
					"default": {},
					"dependencies": {
						"items": {
							"$ref": "#/components/schemas/SettingCondition"
						},
						"type": ["array", "null"]
					},
					"group": {
						"enum": [
							"content",
							"conversation",
							"distribution",
							"disclosure",
							"media_accessibility"
						],
						"type": "string"
					},
					"help": {
						"type": "string"
					},
					"intents": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"key": {
						"type": "string"
					},
					"label": {
						"type": "string"
					},
					"media_shapes": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"message_key": {
						"type": "string"
					},
					"options": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"options_source": {
						"type": "string"
					},
					"output_profiles": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"required": {
						"type": "boolean"
					},
					"required_policy": {
						"enum": ["never", "always", "when_available"],
						"type": "string"
					},
					"scope": {
						"enum": ["destination", "segment", "media_item"],
						"type": "string"
					},
					"type": {
						"type": "string"
					},
					"unavailable_reason": {
						"type": "string"
					}
				},
				"required": [
					"key",
					"message_key",
					"label",
					"group",
					"control",
					"type",
					"scope",
					"required"
				],
				"type": "object"
			},
			"SettingsResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/SettingsResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"accounts": {
						"items": {
							"$ref": "#/components/schemas/AccountOption"
						},
						"type": ["array", "null"]
					},
					"can_manage": {
						"type": "boolean"
					},
					"grants": {
						"items": {
							"$ref": "#/components/schemas/GrantResponse"
						},
						"type": ["array", "null"]
					},
					"policies": {
						"items": {
							"$ref": "#/components/schemas/PolicyResponse"
						},
						"type": ["array", "null"]
					},
					"supported_platforms": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": [
					"workspace_id",
					"can_manage",
					"supported_platforms",
					"policies",
					"accounts",
					"grants"
				],
				"type": "object"
			},
			"SetupTOTPInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/SetupTOTPInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"current_password": {
						"description": "Current password for re-authentication",
						"type": "string"
					},
					"reauth_grant": {
						"description": "One-time action-bound reauthentication grant",
						"type": "string"
					}
				},
				"required": ["current_password"],
				"type": "object"
			},
			"SetupTOTPOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/SetupTOTPOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"challenge_id": {
						"type": "string"
					},
					"manual_entry_key": {
						"type": "string"
					},
					"otpauth_url": {
						"type": "string"
					},
					"qr_code_data_url": {
						"type": "string"
					}
				},
				"required": ["challenge_id", "manual_entry_key", "otpauth_url", "qr_code_data_url"],
				"type": "object"
			},
			"ShapeStyle": {
				"additionalProperties": false,
				"properties": {
					"blur": {
						"format": "double",
						"type": "number"
					},
					"fill": {
						"type": "string"
					},
					"kind": {
						"enum": [
							"rectangle",
							"ellipse",
							"arrow",
							"highlight",
							"click-pulse",
							"redaction",
							"progress"
						],
						"type": "string"
					},
					"stroke": {
						"type": "string"
					},
					"stroke_width": {
						"format": "double",
						"type": "number"
					}
				},
				"required": ["kind", "fill", "stroke", "stroke_width", "blur"],
				"type": "object"
			},
			"SocialSetAccountInput": {
				"additionalProperties": false,
				"properties": {
					"default_output_profile": {
						"description": "Optional provider-qualified default format",
						"type": "string"
					},
					"social_account_id": {
						"description": "Connected social account ID",
						"type": "string"
					}
				},
				"required": ["social_account_id"],
				"type": "object"
			},
			"SocialSetAccountResponse": {
				"additionalProperties": false,
				"properties": {
					"account_avatar_url": {
						"type": "string"
					},
					"account_username": {
						"type": "string"
					},
					"default_output_profile": {
						"type": "string"
					},
					"display_order": {
						"format": "int64",
						"type": "integer"
					},
					"platform": {
						"type": "string"
					},
					"social_account_id": {
						"type": "string"
					}
				},
				"required": ["social_account_id", "platform", "display_order"],
				"type": "object"
			},
			"SocialSetResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/SocialSetResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"accounts": {
						"items": {
							"$ref": "#/components/schemas/SocialSetAccountResponse"
						},
						"type": ["array", "null"]
					},
					"created_at": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"is_default": {
						"type": "boolean"
					},
					"name": {
						"type": "string"
					},
					"updated_at": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"workspace_id",
					"name",
					"is_default",
					"accounts",
					"created_at",
					"updated_at"
				],
				"type": "object"
			},
			"Source": {
				"additionalProperties": false,
				"properties": {
					"audio_codec": {
						"type": "string"
					},
					"content_hash": {
						"type": "string"
					},
					"duration_us": {
						"format": "int64",
						"type": "integer"
					},
					"height": {
						"format": "int64",
						"type": "integer"
					},
					"id": {
						"type": "string"
					},
					"kind": {
						"enum": [
							"video",
							"audio",
							"image",
							"recording-screen",
							"recording-camera",
							"recording-microphone",
							"recording-system-audio"
						],
						"type": "string"
					},
					"locator": {
						"$ref": "#/components/schemas/SourceLocator"
					},
					"mime_type": {
						"type": "string"
					},
					"original_name": {
						"type": "string"
					},
					"provenance": {
						"$ref": "#/components/schemas/StockMediaProvenance"
					},
					"rotation": {
						"format": "int64",
						"type": "integer"
					},
					"size_bytes": {
						"format": "int64",
						"type": "integer"
					},
					"video_codec": {
						"type": "string"
					},
					"width": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": [
					"id",
					"kind",
					"locator",
					"original_name",
					"mime_type",
					"size_bytes",
					"duration_us",
					"width",
					"height",
					"rotation"
				],
				"type": "object"
			},
			"SourceLocator": {
				"additionalProperties": false,
				"properties": {
					"media_id": {
						"type": "string"
					},
					"path": {
						"type": "string"
					},
					"type": {
						"enum": ["local-opfs", "openpost-media"],
						"type": "string"
					}
				},
				"required": ["type"],
				"type": "object"
			},
			"StartCLIAuthInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/StartCLIAuthInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"client_name": {
						"description": "CLI client name",
						"maxLength": 120,
						"type": "string"
					},
					"client_os": {
						"description": "CLI host operating system",
						"type": "string"
					},
					"client_version": {
						"description": "CLI client version",
						"type": "string"
					},
					"requested_scopes": {
						"description": "Requested API token scope; omitted or cli:full",
						"type": "string"
					}
				},
				"required": ["client_name", "client_version", "client_os"],
				"type": "object"
			},
			"StartCLIAuthOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/StartCLIAuthOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"device_code": {
						"type": "string"
					},
					"expires_in": {
						"format": "int64",
						"type": "integer"
					},
					"interval": {
						"format": "int64",
						"type": "integer"
					},
					"user_code": {
						"type": "string"
					},
					"verification_url": {
						"type": "string"
					}
				},
				"required": ["device_code", "user_code", "verification_url", "expires_in", "interval"],
				"type": "object"
			},
			"StartWorkspaceCompositionInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/StartWorkspaceCompositionInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"origin_key": {
						"description": "Opaque browser-generated key used to reconcile an uncertain claim response",
						"maxLength": 100,
						"minLength": 16,
						"type": "string"
					},
					"signal": {
						"description": "Meaningful composer interaction category",
						"enum": ["text", "media", "content_mode"],
						"type": "string"
					}
				},
				"required": ["signal", "origin_key"],
				"type": "object"
			},
			"StartWorkspaceCompositionResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/StartWorkspaceCompositionResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"claimed": {
						"description": "Whether this request recorded the Workspace's first meaningful composition",
						"type": "boolean"
					}
				},
				"required": ["claimed"],
				"type": "object"
			},
			"StockMediaProvenance": {
				"additionalProperties": false,
				"properties": {
					"attribution_text": {
						"type": "string"
					},
					"creator_name": {
						"type": "string"
					},
					"creator_url": {
						"type": "string"
					},
					"external_id": {
						"type": "string"
					},
					"license_name": {
						"type": "string"
					},
					"license_url": {
						"type": "string"
					},
					"provider": {
						"type": "string"
					},
					"source_url": {
						"type": "string"
					}
				},
				"required": [
					"provider",
					"external_id",
					"source_url",
					"creator_name",
					"creator_url",
					"license_name",
					"license_url",
					"attribution_text"
				],
				"type": "object"
			},
			"StockProviderResponse": {
				"additionalProperties": false,
				"properties": {
					"attribution": {
						"type": "string"
					},
					"audio": {
						"type": "boolean"
					},
					"key": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"photo_filters": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"photos": {
						"type": "boolean"
					},
					"provider_url": {
						"type": "string"
					},
					"video_filters": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"videos": {
						"type": "boolean"
					}
				},
				"required": ["key", "name", "provider_url", "photos", "videos", "audio", "attribution"],
				"type": "object"
			},
			"SubmitFeedbackInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/SubmitFeedbackInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"category": {
						"description": "Report category",
						"enum": ["bug", "idea", "question"],
						"type": "string"
					},
					"diagnostics": {
						"$ref": "#/components/schemas/Diagnostics",
						"description": "Optional allowlisted diagnostics"
					},
					"message": {
						"description": "User-written report",
						"maxLength": 4000,
						"minLength": 1,
						"type": "string"
					},
					"screenshot": {
						"$ref": "#/components/schemas/Screenshot",
						"description": "Optional user-approved PNG or JPEG screenshot"
					}
				},
				"required": ["category", "message"],
				"type": "object"
			},
			"SubmitFeedbackOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/SubmitFeedbackOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"job_id": {
						"type": "string"
					},
					"queued": {
						"type": "boolean"
					},
					"recipient": {
						"type": "string"
					}
				},
				"required": ["queued", "job_id", "recipient"],
				"type": "object"
			},
			"SuggestScheduleInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/SuggestScheduleInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"posts_per_day": {
						"description": "Number of posts per day (1-10)",
						"format": "int64",
						"type": "integer"
					},
					"workspace_id": {
						"description": "Workspace ID",
						"type": "string"
					}
				},
				"required": ["workspace_id", "posts_per_day"],
				"type": "object"
			},
			"SuggestScheduleOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/SuggestScheduleOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"message": {
						"description": "Message about the result",
						"type": "string"
					},
					"schedules": {
						"description": "Created schedule slots",
						"items": {
							"$ref": "#/components/schemas/PostingScheduleResponse"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["schedules", "message"],
				"type": "object"
			},
			"Summary": {
				"additionalProperties": false,
				"properties": {
					"engagement": {
						"$ref": "#/components/schemas/MetricSummary"
					},
					"followers": {
						"$ref": "#/components/schemas/MetricSummary"
					},
					"impressions": {
						"$ref": "#/components/schemas/MetricSummary"
					},
					"published": {
						"format": "int64",
						"type": "integer"
					},
					"reach": {
						"$ref": "#/components/schemas/MetricSummary"
					},
					"views": {
						"$ref": "#/components/schemas/MetricSummary"
					}
				},
				"required": ["followers", "engagement", "views", "impressions", "reach", "published"],
				"type": "object"
			},
			"Template": {
				"additionalProperties": false,
				"properties": {
					"animated": {
						"type": "boolean"
					},
					"blank_url": {
						"type": "string"
					},
					"example": {
						"$ref": "#/components/schemas/TemplateExample"
					},
					"id": {
						"type": "string"
					},
					"keywords": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"lines": {
						"format": "int64",
						"type": "integer"
					},
					"name": {
						"type": "string"
					},
					"overlays": {
						"format": "int64",
						"type": "integer"
					},
					"search_terms": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"source_url": {
						"type": "string"
					},
					"styles": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					}
				},
				"required": [
					"id",
					"name",
					"lines",
					"overlays",
					"styles",
					"blank_url",
					"example",
					"source_url",
					"keywords",
					"search_terms",
					"animated"
				],
				"type": "object"
			},
			"TemplateExample": {
				"additionalProperties": false,
				"properties": {
					"text": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"url": {
						"type": "string"
					}
				},
				"required": ["text", "url"],
				"type": "object"
			},
			"TextConstraint": {
				"additionalProperties": false,
				"properties": {
					"max_length": {
						"format": "int64",
						"type": "integer"
					},
					"min_length": {
						"format": "int64",
						"type": "integer"
					},
					"recommended_max_length": {
						"format": "int64",
						"type": "integer"
					},
					"required": {
						"type": "boolean"
					}
				},
				"required": ["required"],
				"type": "object"
			},
			"TextPostPublicationInput": {
				"additionalProperties": false,
				"properties": {
					"audience": {
						"description": "Target audience",
						"type": "string"
					},
					"clear_schedule": {
						"description": "Clear the proposed schedule",
						"type": "boolean"
					},
					"content_profile": {
						"description": "Content profile",
						"type": "string"
					},
					"creation_preset": {
						"description": "Starter preset; destination renditions own their formats",
						"type": "string"
					},
					"goal": {
						"description": "Publishing goal",
						"type": "string"
					},
					"intent": {
						"description": "Publishing intent",
						"type": "string"
					},
					"metadata": {
						"additionalProperties": {},
						"description": "Safe publication metadata",
						"type": "object"
					},
					"renditions": {
						"description": "Replacement destination renditions",
						"items": {
							"$ref": "#/components/schemas/RenditionInput"
						},
						"type": ["array", "null"]
					},
					"repost_override": {
						"$ref": "#/components/schemas/Override",
						"description": "Per-publication repost override"
					},
					"scheduled_at": {
						"description": "Optional schedule time",
						"format": "date-time",
						"type": "string"
					},
					"segments": {
						"description": "Replacement canonical segments",
						"items": {
							"$ref": "#/components/schemas/PublicationSegmentInput"
						},
						"type": ["array", "null"]
					},
					"social_set_id": {
						"description": "Social Set provenance for the snapshotted destinations",
						"type": "string"
					},
					"source_text": {
						"description": "Canonical source text",
						"type": "string"
					},
					"source_url": {
						"description": "Canonical source URL",
						"type": "string"
					},
					"title": {
						"description": "Publication title",
						"type": "string"
					}
				},
				"type": "object"
			},
			"TextStyle": {
				"additionalProperties": false,
				"properties": {
					"align": {
						"enum": ["left", "center", "right"],
						"type": "string"
					},
					"animation": {
						"enum": ["none", "fade", "rise", "pop", "typewriter"],
						"type": "string"
					},
					"background_color": {
						"type": "string"
					},
					"color": {
						"type": "string"
					},
					"font_family": {
						"type": "string"
					},
					"font_size": {
						"format": "double",
						"type": "number"
					},
					"font_weight": {
						"format": "int64",
						"type": "integer"
					},
					"outline_color": {
						"type": "string"
					},
					"outline_width": {
						"format": "double",
						"type": "number"
					},
					"shadow_blur": {
						"format": "double",
						"type": "number"
					}
				},
				"required": [
					"font_family",
					"font_size",
					"font_weight",
					"color",
					"align",
					"background_color",
					"outline_color",
					"outline_width",
					"shadow_blur",
					"animation"
				],
				"type": "object"
			},
			"ThreadPostInput": {
				"additionalProperties": false,
				"properties": {
					"content": {
						"description": "Post content",
						"type": "string"
					},
					"media_ids": {
						"description": "Media attachment IDs",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["content"],
				"type": "object"
			},
			"Timebase": {
				"additionalProperties": false,
				"properties": {
					"fps_denominator": {
						"enum": [1, 1001],
						"format": "int64",
						"type": "integer"
					},
					"fps_numerator": {
						"enum": [24, 25, 30, 50, 60],
						"format": "int64",
						"type": "integer"
					},
					"ticks_per_second": {
						"enum": [1000000],
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["ticks_per_second", "fps_numerator", "fps_denominator"],
				"type": "object"
			},
			"TimelineMarker": {
				"additionalProperties": false,
				"properties": {
					"color": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"label": {
						"type": "string"
					},
					"time_us": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["id", "time_us", "label", "color"],
				"type": "object"
			},
			"ToggleImageEditorDesignFavoriteOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": [
							"https://example.com/schemas/ToggleImageEditorDesignFavoriteOutputBody.json"
						],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"is_favorite": {
						"type": "boolean"
					}
				},
				"required": ["is_favorite"],
				"type": "object"
			},
			"Transition": {
				"additionalProperties": false,
				"properties": {
					"duration_us": {
						"format": "int64",
						"type": "integer"
					},
					"easing": {
						"enum": ["hold", "linear", "ease-in", "ease-out", "ease-in-out", "focus-spring"],
						"type": "string"
					},
					"type": {
						"enum": [
							"cut",
							"cross-dissolve",
							"dip-black",
							"dip-white",
							"slide",
							"push",
							"zoom-blur"
						],
						"type": "string"
					}
				},
				"required": ["type", "duration_us", "easing"],
				"type": "object"
			},
			"UpdateAccountInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/UpdateAccountInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"messages_enabled": {
						"description": "Opt this account in or out of inbox synchronization",
						"type": "boolean"
					},
					"slug": {
						"description": "New account slug. Use lowercase letters, numbers, and hyphens.",
						"type": "string"
					}
				},
				"required": ["slug"],
				"type": "object"
			},
			"UpdateImageEditorBrandKitInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/UpdateImageEditorBrandKitInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"backgrounds": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"colors": {
						"items": {
							"$ref": "#/components/schemas/ImageEditorBrandColor"
						},
						"type": ["array", "null"]
					},
					"fonts": {
						"items": {
							"$ref": "#/components/schemas/ImageEditorBrandFont"
						},
						"type": ["array", "null"]
					},
					"name": {
						"maxLength": 120,
						"type": "string"
					},
					"text_styles": {
						"items": {
							"$ref": "#/components/schemas/ImageEditorBrandTextStyle"
						},
						"type": ["array", "null"]
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["workspace_id", "name", "colors", "text_styles", "backgrounds", "fonts"],
				"type": "object"
			},
			"UpdateImageEditorDesignInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/UpdateImageEditorDesignInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"cover_preview_media_id": {
						"type": "string"
					},
					"document": {
						"$ref": "#/components/schemas/ImageEditorDocumentPayload"
					},
					"expected_revision": {
						"format": "int64",
						"minimum": 1,
						"type": "integer"
					},
					"recovery_reason": {
						"enum": ["idle", "export", "close"],
						"type": "string"
					}
				},
				"required": ["expected_revision", "document"],
				"type": "object"
			},
			"UpdateImageEditorTemplateInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/UpdateImageEditorTemplateInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"category": {
						"maxLength": 80,
						"type": "string"
					},
					"document": {
						"$ref": "#/components/schemas/ImageEditorDocumentPayload"
					},
					"name": {
						"maxLength": 120,
						"minLength": 1,
						"type": "string"
					},
					"preview_media_id": {
						"type": "string"
					}
				},
				"required": ["name", "category", "document"],
				"type": "object"
			},
			"UpdateMediaFavoriteOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/UpdateMediaFavoriteOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"is_favorite": {
						"description": "Updated favorite status",
						"type": "boolean"
					}
				},
				"required": ["is_favorite"],
				"type": "object"
			},
			"UpdateMediaInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/UpdateMediaInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"alt_text": {
						"description": "Alt text for accessibility",
						"type": "string"
					},
					"original_filename": {
						"description": "User-visible filename; the file extension cannot be changed",
						"maxLength": 255,
						"type": "string"
					}
				},
				"type": "object"
			},
			"UpdateMediaOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/UpdateMediaOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"message": {
						"description": "Success message",
						"type": "string"
					}
				},
				"required": ["message"],
				"type": "object"
			},
			"UpdateMediaTagInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/UpdateMediaTagInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"name": {
						"maxLength": 64,
						"minLength": 1,
						"type": "string"
					}
				},
				"required": ["name"],
				"type": "object"
			},
			"UpdatePostInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/UpdatePostInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"content": {
						"description": "Post content",
						"type": "string"
					},
					"media_ids": {
						"description": "Media attachment IDs to include (replace all)",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"random_delay_minutes": {
						"description": "Random delay in minutes (±N) to add for natural posting",
						"format": "int64",
						"type": "integer"
					},
					"scheduled_at": {
						"description": "Schedule time (ISO 8601). Set to empty string to unschedule (make draft).",
						"type": "string"
					},
					"social_account_ids": {
						"description": "Social account IDs to publish to (replace all)",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"thread_draft": {
						"description": "Thread draft JSON (encoded with __openpost_thread__: prefix). Send a non-null value to set or replace the draft; send an empty string to clear it and revert to a single post. Send null (or omit) to leave the existing draft unchanged.",
						"type": "string"
					}
				},
				"type": "object"
			},
			"UpdatePostingScheduleInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/UpdatePostingScheduleInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"day_of_week": {
						"description": "Workspace-local day of week (0=Sunday, 6=Saturday)",
						"format": "int64",
						"type": "integer"
					},
					"is_active": {
						"description": "Whether this slot is active",
						"type": "boolean"
					},
					"label": {
						"description": "Display label",
						"type": "string"
					},
					"utc_hour": {
						"description": "Legacy field name for the workspace-local hour (0-23)",
						"format": "int64",
						"type": "integer"
					},
					"utc_minute": {
						"description": "Legacy field name for the workspace-local minute (0-59)",
						"format": "int64",
						"type": "integer"
					}
				},
				"type": "object"
			},
			"UpdateProfileInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/UpdateProfileInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"avatar_url": {
						"description": "Profile avatar URL",
						"maxLength": 1000,
						"type": "string"
					},
					"composer_experience": {
						"description": "Preferred composer experience",
						"enum": ["specialized", "unified"],
						"type": "string"
					},
					"display_name": {
						"description": "User display name",
						"maxLength": 120,
						"type": "string"
					},
					"public_profile_enabled": {
						"description": "Whether the public activity profile is visible",
						"type": "boolean"
					},
					"public_profile_visible_fields": {
						"description": "Optional public-profile fields: display_name, avatar, joined_at, activity, platforms, workspaces, plan",
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"username": {
						"description": "Unique public username",
						"maxLength": 30,
						"minLength": 3,
						"type": "string"
					}
				},
				"type": "object"
			},
			"UpdateSocialSetInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/UpdateSocialSetInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"accounts": {
						"description": "Replacement ordered membership",
						"items": {
							"$ref": "#/components/schemas/SocialSetAccountInput"
						},
						"type": ["array", "null"]
					},
					"is_default": {
						"description": "Use this set when the composer opens",
						"type": "boolean"
					},
					"name": {
						"description": "Social Set name",
						"maxLength": 80,
						"minLength": 1,
						"type": "string"
					}
				},
				"required": ["name", "is_default", "accounts"],
				"type": "object"
			},
			"UpdateStatusResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/UpdateStatusResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"checked_at": {
						"description": "Last bounded release-check attempt",
						"type": "string"
					},
					"configuration_source": {
						"description": "Source of the configured value",
						"enum": ["default", "environment", "database"],
						"type": "string"
					},
					"configured_enabled": {
						"description": "Configured OPENPOST_UPDATE_CHECK_ENABLED value",
						"type": "boolean"
					},
					"disabled_reason": {
						"description": "Reason the configured value is not effective",
						"enum": ["managed_edition", "configuration"],
						"type": "string"
					},
					"effective_enabled": {
						"description": "Whether release checks run in this process",
						"type": "boolean"
					},
					"latest_version": {
						"description": "Latest stable OpenPost release tag",
						"type": "string"
					},
					"published_at": {
						"description": "Latest release publication time",
						"type": "string"
					},
					"release_url": {
						"description": "Validated GitHub release page",
						"type": "string"
					},
					"requires_restart": {
						"description": "Whether the configured value differs from the running process",
						"type": "boolean"
					},
					"running_build": {
						"description": "Source revision embedded in or detected from the running server",
						"type": "string"
					},
					"running_version": {
						"description": "Version embedded in the running server",
						"type": "string"
					},
					"state": {
						"description": "Release comparison state",
						"enum": [
							"current",
							"update_available",
							"stale",
							"unavailable",
							"disabled",
							"development"
						],
						"type": "string"
					}
				},
				"required": [
					"state",
					"running_version",
					"running_build",
					"configured_enabled",
					"effective_enabled",
					"configuration_source",
					"requires_restart"
				],
				"type": "object"
			},
			"UpdateVideoProjectInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/UpdateVideoProjectInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"cover_preview_media_id": {
						"type": "string"
					},
					"document": {
						"$ref": "#/components/schemas/Document"
					},
					"expected_revision": {
						"format": "int64",
						"minimum": 1,
						"type": "integer"
					}
				},
				"required": ["expected_revision", "document"],
				"type": "object"
			},
			"UpdateWorkspaceMemberInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/UpdateWorkspaceMemberInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"role": {
						"description": "Replacement workspace role",
						"enum": ["admin", "editor", "viewer"],
						"type": "string"
					},
					"status": {
						"description": "Replacement workspace access state",
						"enum": ["active", "inactive"],
						"type": "string"
					}
				},
				"type": "object"
			},
			"UpdateWorkspaceSettingsInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/UpdateWorkspaceSettingsInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"avatar_url": {
						"type": "string"
					},
					"color": {
						"description": "Workspace accent color as a six-digit hex value",
						"pattern": "^#[0-9A-Fa-f]{6}$",
						"type": "string"
					},
					"draft_gap_minutes": {
						"format": "int64",
						"type": "integer"
					},
					"media_cleanup_days": {
						"deprecated": true,
						"description": "Deprecated and ignored. Temporary media always becomes eligible after 14 unused days.",
						"format": "int64",
						"type": "integer"
					},
					"name": {
						"description": "Workspace name",
						"maxLength": 100,
						"minLength": 1,
						"type": "string"
					},
					"random_delay_minutes": {
						"format": "int64",
						"type": "integer"
					},
					"slot_end_hour": {
						"format": "int64",
						"type": "integer"
					},
					"slot_interval_minutes": {
						"format": "int64",
						"type": "integer"
					},
					"slot_start_hour": {
						"format": "int64",
						"type": "integer"
					},
					"timezone": {
						"type": "string"
					},
					"week_start": {
						"format": "int64",
						"type": "integer"
					}
				},
				"type": "object"
			},
			"UpdateWorkspaceSettingsOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/UpdateWorkspaceSettingsOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"avatar_url": {
						"type": "string"
					},
					"color": {
						"type": "string"
					},
					"draft_gap_minutes": {
						"format": "int64",
						"type": "integer"
					},
					"media_cleanup_days": {
						"default": 14,
						"deprecated": true,
						"description": "Deprecated compatibility value. Always 14; temporary-media cleanup cannot be configured.",
						"enum": [14],
						"format": "int64",
						"type": "integer"
					},
					"name": {
						"type": "string"
					},
					"random_delay_minutes": {
						"format": "int64",
						"type": "integer"
					},
					"slot_end_hour": {
						"format": "int64",
						"type": "integer"
					},
					"slot_interval_minutes": {
						"format": "int64",
						"type": "integer"
					},
					"slot_start_hour": {
						"format": "int64",
						"type": "integer"
					},
					"timezone": {
						"type": "string"
					},
					"week_start": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": [
					"name",
					"avatar_url",
					"color",
					"timezone",
					"week_start",
					"media_cleanup_days",
					"random_delay_minutes",
					"draft_gap_minutes",
					"slot_start_hour",
					"slot_end_hour",
					"slot_interval_minutes"
				],
				"type": "object"
			},
			"UpsertRenditionsInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/UpsertRenditionsInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"expected_revision": {
						"description": "Revision loaded by the editor",
						"format": "int64",
						"minimum": 1,
						"type": "integer"
					},
					"renditions": {
						"description": "Renditions to replace or upsert",
						"items": {
							"$ref": "#/components/schemas/RenditionInput"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["expected_revision", "renditions"],
				"type": "object"
			},
			"UpsertVariantsInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/UpsertVariantsInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"variants": {
						"description": "Variant overrides per social account",
						"items": {
							"$ref": "#/components/schemas/VariantInput"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["variants"],
				"type": "object"
			},
			"UpsertVariantsOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/UpsertVariantsOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"variants": {
						"description": "Updated variants",
						"items": {
							"$ref": "#/components/schemas/VariantResponse"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["variants"],
				"type": "object"
			},
			"UserNotification": {
				"additionalProperties": false,
				"properties": {
					"actions": {
						"items": {
							"$ref": "#/components/schemas/NotificationAction"
						},
						"type": ["array", "null"]
					},
					"body": {
						"type": "string"
					},
					"created_at": {
						"format": "date-time",
						"type": "string"
					},
					"href": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"payload_json": {
						"type": "string"
					},
					"read_at": {
						"format": "date-time",
						"type": "string"
					},
					"title": {
						"type": "string"
					},
					"type": {
						"type": "string"
					},
					"user_id": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"user_id",
					"workspace_id",
					"type",
					"title",
					"body",
					"href",
					"payload_json",
					"read_at",
					"created_at"
				],
				"type": "object"
			},
			"UserProfile": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/UserProfile.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"avatar_url": {
						"description": "Profile avatar URL",
						"type": "string"
					},
					"composer_experience": {
						"description": "Preferred composer experience",
						"enum": ["specialized", "unified"],
						"type": "string"
					},
					"created_at": {
						"description": "Account creation time",
						"format": "date-time",
						"type": "string"
					},
					"display_name": {
						"description": "User display name",
						"type": "string"
					},
					"email": {
						"description": "User email address",
						"type": "string"
					},
					"email_verified": {
						"description": "Whether the account email address is verified",
						"type": "boolean"
					},
					"has_password": {
						"description": "Whether this account has a local password credential",
						"type": "boolean"
					},
					"id": {
						"description": "User ID",
						"type": "string"
					},
					"is_admin": {
						"description": "Whether this user can manage instance-level settings",
						"type": "boolean"
					},
					"is_managed": {
						"description": "Whether this account was provisioned by an organization identity provider",
						"type": "boolean"
					},
					"legal_acceptance_required": {
						"description": "Whether the current hosted policy still needs acceptance",
						"type": "boolean"
					},
					"legal_accepted_at": {
						"description": "When the current account policy was accepted",
						"format": "date-time",
						"type": "string"
					},
					"managed_organization_name": {
						"description": "Organization managing this account",
						"type": "string"
					},
					"password_usable": {
						"description": "Whether the local password can currently be used for sign-in and sensitive-action reauthentication",
						"type": "boolean"
					},
					"privacy_version": {
						"description": "Privacy version acknowledged by the user",
						"type": "string"
					},
					"public_profile_enabled": {
						"description": "Whether the public activity profile is visible",
						"type": "boolean"
					},
					"public_profile_visible_fields": {
						"description": "Optional account fields visible while the public profile is enabled",
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"terms_version": {
						"description": "Terms version accepted by the user",
						"type": "string"
					},
					"username": {
						"description": "Unique public username",
						"type": "string"
					}
				},
				"required": [
					"id",
					"email",
					"username",
					"display_name",
					"avatar_url",
					"public_profile_enabled",
					"public_profile_visible_fields",
					"composer_experience",
					"is_admin",
					"legal_acceptance_required",
					"created_at",
					"email_verified",
					"has_password",
					"password_usable",
					"is_managed"
				],
				"type": "object"
			},
			"UserSessionSummary": {
				"additionalProperties": false,
				"properties": {
					"created_at": {
						"description": "Session creation time",
						"format": "date-time",
						"type": "string"
					},
					"current": {
						"description": "Whether this is the session used for the request",
						"type": "boolean"
					},
					"device_name": {
						"description": "Human-readable browser and device label",
						"type": "string"
					},
					"expires_at": {
						"description": "Session expiry time",
						"format": "date-time",
						"type": "string"
					},
					"id": {
						"description": "Session ID",
						"type": "string"
					},
					"ip_address": {
						"description": "Recorded client IP address",
						"type": "string"
					},
					"last_used_at": {
						"description": "Last successful use time",
						"format": "date-time",
						"type": "string"
					},
					"user_agent": {
						"description": "Recorded user agent",
						"type": "string"
					}
				},
				"required": [
					"id",
					"user_agent",
					"device_name",
					"ip_address",
					"current",
					"expires_at",
					"last_used_at",
					"created_at"
				],
				"type": "object"
			},
			"ValidationIssue": {
				"additionalProperties": false,
				"properties": {
					"code": {
						"type": "string"
					},
					"fallback_message": {
						"type": "string"
					},
					"field": {
						"type": "string"
					},
					"media_id": {
						"type": "string"
					},
					"message": {
						"type": "string"
					},
					"output_profile": {
						"type": "string"
					},
					"parameters": {
						"additionalProperties": {},
						"type": "object"
					},
					"profile": {
						"type": "string"
					},
					"provider": {
						"type": "string"
					},
					"scope": {
						"type": "string"
					},
					"scope_id": {
						"type": "string"
					},
					"segment_id": {
						"type": "string"
					},
					"severity": {
						"type": "string"
					}
				},
				"required": ["severity", "code", "message", "fallback_message"],
				"type": "object"
			},
			"VariantInput": {
				"additionalProperties": false,
				"properties": {
					"content": {
						"description": "Custom content for this platform (empty = use parent content)",
						"type": "string"
					},
					"is_unsynced": {
						"description": "Whether this variant has diverged from parent",
						"type": "boolean"
					},
					"media_ids": {
						"description": "JSON array of media IDs override",
						"type": "string"
					},
					"social_account_id": {
						"description": "Social account ID",
						"type": "string"
					}
				},
				"required": ["social_account_id", "is_unsynced"],
				"type": "object"
			},
			"VariantResponse": {
				"additionalProperties": false,
				"properties": {
					"content": {
						"description": "Variant content (empty = use parent)",
						"type": "string"
					},
					"created_at": {
						"description": "Creation time",
						"type": "string"
					},
					"id": {
						"description": "Variant ID",
						"type": "string"
					},
					"is_unsynced": {
						"description": "Whether this variant has diverged from parent",
						"type": "boolean"
					},
					"media_ids": {
						"description": "JSON array of media IDs override",
						"type": "string"
					},
					"post_id": {
						"description": "Post ID",
						"type": "string"
					},
					"social_account_id": {
						"description": "Social account ID",
						"type": "string"
					},
					"updated_at": {
						"description": "Last update time",
						"type": "string"
					}
				},
				"required": [
					"id",
					"post_id",
					"social_account_id",
					"content",
					"media_ids",
					"is_unsynced",
					"created_at",
					"updated_at"
				],
				"type": "object"
			},
			"VerifyRecoveryCodeLoginInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/VerifyRecoveryCodeLoginInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"code": {
						"description": "Single-use MFA recovery code",
						"maxLength": 32,
						"minLength": 16,
						"type": "string"
					},
					"mfa_token": {
						"description": "Pending MFA challenge token",
						"type": "string"
					}
				},
				"required": ["mfa_token", "code"],
				"type": "object"
			},
			"VerifyTOTPLoginInputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/VerifyTOTPLoginInputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"code": {
						"description": "Six digit authenticator code",
						"maxLength": 6,
						"minLength": 6,
						"type": "string"
					},
					"mfa_token": {
						"description": "Pending MFA challenge token",
						"type": "string"
					}
				},
				"required": ["mfa_token", "code"],
				"type": "object"
			},
			"VideoEditorConfigOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/VideoEditorConfigOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"enabled": {
						"type": "boolean"
					},
					"limits": {
						"$ref": "#/components/schemas/VideoEditorLimits"
					},
					"model_manifest": {
						"items": {
							"$ref": "#/components/schemas/VideoEditorModelManifestItem"
						},
						"type": ["array", "null"]
					},
					"schema_version": {
						"format": "int64",
						"type": "integer"
					},
					"stock_providers": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["enabled", "schema_version", "limits", "model_manifest", "stock_providers"],
				"type": "object"
			},
			"VideoEditorLimits": {
				"additionalProperties": false,
				"properties": {
					"max_document_bytes": {
						"format": "int64",
						"type": "integer"
					},
					"max_duration_seconds": {
						"format": "int64",
						"type": "integer"
					},
					"max_export_fps": {
						"format": "int64",
						"type": "integer"
					},
					"max_export_height": {
						"format": "int64",
						"type": "integer"
					},
					"max_export_width": {
						"format": "int64",
						"type": "integer"
					},
					"max_sources": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": [
					"max_duration_seconds",
					"max_sources",
					"max_document_bytes",
					"max_export_width",
					"max_export_height",
					"max_export_fps"
				],
				"type": "object"
			},
			"VideoEditorModelManifestItem": {
				"additionalProperties": false,
				"properties": {
					"fingerprint": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"kind": {
						"enum": ["transcription", "vad", "reframing"],
						"type": "string"
					},
					"license_name": {
						"type": "string"
					},
					"license_reference": {
						"type": "string"
					},
					"license_url": {
						"type": "string"
					},
					"required_backends": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"resumable": {
						"type": "boolean"
					},
					"runtime_bytes_wasm": {
						"format": "int64",
						"type": "integer"
					},
					"runtime_bytes_webgpu": {
						"format": "int64",
						"type": "integer"
					},
					"sha256": {
						"type": "string"
					},
					"size_bytes": {
						"format": "int64",
						"type": "integer"
					},
					"url": {
						"type": "string"
					},
					"version": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"kind",
					"version",
					"size_bytes",
					"runtime_bytes_wasm",
					"runtime_bytes_webgpu",
					"url",
					"sha256",
					"required_backends",
					"fingerprint",
					"resumable",
					"license_name",
					"license_url",
					"license_reference"
				],
				"type": "object"
			},
			"VideoEditorSyncReuse": {
				"additionalProperties": false,
				"properties": {
					"media_id": {
						"type": "string"
					},
					"source_id": {
						"type": "string"
					}
				},
				"required": ["source_id", "media_id"],
				"type": "object"
			},
			"VideoEditorSyncSource": {
				"additionalProperties": false,
				"properties": {
					"mime_type": {
						"maxLength": 200,
						"minLength": 1,
						"type": "string"
					},
					"original_name": {
						"maxLength": 500,
						"minLength": 1,
						"type": "string"
					},
					"sha256": {
						"maxLength": 64,
						"minLength": 64,
						"type": "string"
					},
					"size_bytes": {
						"format": "int64",
						"minimum": 0,
						"type": "integer"
					},
					"source_id": {
						"maxLength": 200,
						"minLength": 1,
						"type": "string"
					}
				},
				"required": ["source_id", "sha256", "size_bytes", "mime_type", "original_name"],
				"type": "object"
			},
			"VideoEditorSyncStorage": {
				"additionalProperties": false,
				"properties": {
					"limit_bytes": {
						"format": "int64",
						"type": ["integer", "null"]
					},
					"remaining_bytes": {
						"format": "int64",
						"type": ["integer", "null"]
					},
					"used_bytes": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["used_bytes", "limit_bytes", "remaining_bytes"],
				"type": "object"
			},
			"VideoEffect": {
				"additionalProperties": false,
				"properties": {
					"keyframes": {
						"items": {
							"$ref": "#/components/schemas/NumericKeyframe"
						},
						"type": ["array", "null"]
					},
					"type": {
						"enum": [
							"exposure",
							"contrast",
							"saturation",
							"temperature",
							"tint",
							"blur",
							"vignette"
						],
						"type": "string"
					},
					"value": {
						"format": "double",
						"type": "number"
					}
				},
				"required": ["type", "value"],
				"type": "object"
			},
			"VideoPresentation": {
				"additionalProperties": false,
				"properties": {
					"background_color": {
						"type": "string"
					},
					"border_color": {
						"type": "string"
					},
					"border_width": {
						"format": "double",
						"type": "number"
					},
					"corner_radius": {
						"format": "double",
						"type": "number"
					},
					"crop": {
						"$ref": "#/components/schemas/CropRectangle"
					},
					"flip_x": {
						"type": "boolean"
					},
					"flip_y": {
						"type": "boolean"
					},
					"keyframes": {
						"additionalProperties": {
							"items": {
								"$ref": "#/components/schemas/NumericKeyframe"
							},
							"type": ["array", "null"]
						},
						"type": "object"
					},
					"opacity": {
						"format": "double",
						"type": "number"
					},
					"position_x": {
						"format": "double",
						"type": "number"
					},
					"position_y": {
						"format": "double",
						"type": "number"
					},
					"rotation": {
						"format": "double",
						"type": "number"
					},
					"scale": {
						"format": "double",
						"type": "number"
					},
					"shadow_blur": {
						"format": "double",
						"type": "number"
					},
					"shadow_opacity": {
						"format": "double",
						"type": "number"
					}
				},
				"required": [
					"position_x",
					"position_y",
					"scale",
					"rotation",
					"opacity",
					"crop",
					"flip_x",
					"flip_y",
					"corner_radius",
					"border_width",
					"border_color",
					"shadow_blur",
					"shadow_opacity",
					"background_color"
				],
				"type": "object"
			},
			"VideoPresentationOverride": {
				"additionalProperties": false,
				"properties": {
					"background_color": {
						"type": "string"
					},
					"border_color": {
						"type": "string"
					},
					"border_width": {
						"format": "double",
						"type": "number"
					},
					"corner_radius": {
						"format": "double",
						"type": "number"
					},
					"crop": {
						"$ref": "#/components/schemas/CropRectangle"
					},
					"flip_x": {
						"type": "boolean"
					},
					"flip_y": {
						"type": "boolean"
					},
					"keyframes": {
						"additionalProperties": {
							"items": {
								"$ref": "#/components/schemas/NumericKeyframe"
							},
							"type": ["array", "null"]
						},
						"type": "object"
					},
					"opacity": {
						"format": "double",
						"type": "number"
					},
					"position_x": {
						"format": "double",
						"type": "number"
					},
					"position_y": {
						"format": "double",
						"type": "number"
					},
					"rotation": {
						"format": "double",
						"type": "number"
					},
					"scale": {
						"format": "double",
						"type": "number"
					},
					"shadow_blur": {
						"format": "double",
						"type": "number"
					},
					"shadow_opacity": {
						"format": "double",
						"type": "number"
					},
					"visible": {
						"type": "boolean"
					}
				},
				"type": "object"
			},
			"VideoProjectResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/VideoProjectResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"can_edit": {
						"type": "boolean"
					},
					"cover_preview_media_id": {
						"type": "string"
					},
					"created_at": {
						"type": "string"
					},
					"created_by_id": {
						"type": "string"
					},
					"document": {
						"$ref": "#/components/schemas/Document"
					},
					"duration_ms": {
						"format": "int64",
						"type": "integer"
					},
					"id": {
						"type": "string"
					},
					"revision": {
						"format": "int64",
						"type": "integer"
					},
					"updated_at": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"workspace_id",
					"created_by_id",
					"revision",
					"can_edit",
					"duration_ms",
					"created_at",
					"updated_at",
					"document"
				],
				"type": "object"
			},
			"VideoProjectRevisionResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/VideoProjectRevisionResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"cover_preview_media_id": {
						"type": "string"
					},
					"document": {
						"$ref": "#/components/schemas/Document"
					},
					"summary": {
						"$ref": "#/components/schemas/VideoProjectRevisionSummary"
					}
				},
				"required": ["summary", "document"],
				"type": "object"
			},
			"VideoProjectRevisionSummary": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/VideoProjectRevisionSummary.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"actor": {
						"$ref": "#/components/schemas/EditorRevisionActor"
					},
					"created_at": {
						"type": "string"
					},
					"expires_at": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"kind": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"revision": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["id", "revision", "kind", "created_at", "actor"],
				"type": "object"
			},
			"VideoProjectSummary": {
				"additionalProperties": false,
				"properties": {
					"cover_preview_media_id": {
						"type": "string"
					},
					"created_at": {
						"type": "string"
					},
					"duration_ms": {
						"format": "int64",
						"type": "integer"
					},
					"id": {
						"type": "string"
					},
					"revision": {
						"format": "int64",
						"type": "integer"
					},
					"source_count": {
						"format": "int64",
						"type": "integer"
					},
					"title": {
						"type": "string"
					},
					"updated_at": {
						"type": "string"
					}
				},
				"required": [
					"id",
					"title",
					"revision",
					"duration_ms",
					"source_count",
					"created_at",
					"updated_at"
				],
				"type": "object"
			},
			"VideoReturnExport": {
				"additionalProperties": false,
				"properties": {
					"duration_ms": {
						"format": "int64",
						"type": "integer"
					},
					"height": {
						"format": "int64",
						"type": "integer"
					},
					"media_id": {
						"type": "string"
					},
					"rendition_ids": {
						"items": {
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"variant_id": {
						"enum": ["portrait", "feed-portrait", "square", "landscape"],
						"type": "string"
					},
					"width": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["variant_id", "media_id", "width", "height", "duration_ms", "rendition_ids"],
				"type": "object"
			},
			"VideoReturnResult": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/VideoReturnResult.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"exports": {
						"items": {
							"$ref": "#/components/schemas/VideoReturnExport"
						},
						"type": ["array", "null"]
					},
					"project_id": {
						"type": "string"
					}
				},
				"required": ["project_id", "exports"],
				"type": "object"
			},
			"VideoVariant": {
				"additionalProperties": false,
				"properties": {
					"background_color": {
						"type": "string"
					},
					"height": {
						"format": "int64",
						"type": "integer"
					},
					"id": {
						"enum": ["portrait", "feed-portrait", "square", "landscape"],
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"safe_area": {
						"$ref": "#/components/schemas/VideoVariantSafeAreaStruct"
					},
					"width": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["id", "name", "width", "height", "safe_area", "background_color"],
				"type": "object"
			},
			"VideoVariantSafeAreaStruct": {
				"additionalProperties": false,
				"properties": {
					"bottom": {
						"format": "int64",
						"type": "integer"
					},
					"left": {
						"format": "int64",
						"type": "integer"
					},
					"right": {
						"format": "int64",
						"type": "integer"
					},
					"top": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["top", "right", "bottom", "left"],
				"type": "object"
			},
			"Viewport": {
				"additionalProperties": false,
				"properties": {
					"height": {
						"format": "int64",
						"type": "integer"
					},
					"pixel_ratio": {
						"format": "double",
						"type": "number"
					},
					"width": {
						"format": "int64",
						"type": "integer"
					}
				},
				"required": ["width", "height", "pixel_ratio"],
				"type": "object"
			},
			"VisualPresentationOverride": {
				"additionalProperties": false,
				"properties": {
					"presentation": {
						"$ref": "#/components/schemas/VideoPresentationOverride"
					},
					"visible": {
						"type": "boolean"
					}
				},
				"type": "object"
			},
			"VisualTrack": {
				"additionalProperties": false,
				"properties": {
					"hidden": {
						"type": "boolean"
					},
					"id": {
						"type": "string"
					},
					"items": {
						"items": {
							"$ref": "#/components/schemas/VisualTrackItem"
						},
						"type": ["array", "null"]
					},
					"locked": {
						"type": "boolean"
					},
					"name": {
						"type": "string"
					}
				},
				"required": ["id", "name", "locked", "hidden", "items"],
				"type": "object"
			},
			"VisualTrackItem": {
				"additionalProperties": false,
				"properties": {
					"duration_us": {
						"format": "int64",
						"type": "integer"
					},
					"id": {
						"type": "string"
					},
					"presentation": {
						"$ref": "#/components/schemas/VideoPresentation"
					},
					"shape": {
						"$ref": "#/components/schemas/ShapeStyle"
					},
					"source_id": {
						"type": "string"
					},
					"source_in_us": {
						"format": "int64",
						"type": "integer"
					},
					"speed": {
						"format": "double",
						"type": "number"
					},
					"style": {
						"$ref": "#/components/schemas/TextStyle"
					},
					"text": {
						"type": "string"
					},
					"timeline_start_us": {
						"format": "int64",
						"type": "integer"
					},
					"type": {
						"enum": ["media", "camera", "text", "shape", "annotation"],
						"type": "string"
					},
					"variant_overrides": {
						"additionalProperties": {
							"$ref": "#/components/schemas/VisualPresentationOverride"
						},
						"type": "object"
					},
					"visible": {
						"type": "boolean"
					}
				},
				"required": ["id", "type", "timeline_start_us", "duration_us", "visible", "presentation"],
				"type": "object"
			},
			"WorkspaceAccessAuditResponse": {
				"additionalProperties": false,
				"properties": {
					"action": {
						"type": "string"
					},
					"actor_user_id": {
						"type": "string"
					},
					"created_at": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"invitation_id": {
						"type": "string"
					},
					"previous_role": {
						"type": "string"
					},
					"previous_status": {
						"type": "string"
					},
					"role": {
						"type": "string"
					},
					"status": {
						"type": "string"
					},
					"subject_email": {
						"type": "string"
					},
					"subject_user_id": {
						"type": "string"
					},
					"workspace_id": {
						"type": "string"
					}
				},
				"required": ["id", "workspace_id", "action", "created_at"],
				"type": "object"
			},
			"WorkspaceDeletionBlocker": {
				"additionalProperties": false,
				"properties": {
					"code": {
						"type": "string"
					},
					"message": {
						"type": "string"
					}
				},
				"required": ["code", "message"],
				"type": "object"
			},
			"WorkspaceDeletionPreview": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/WorkspaceDeletionPreview.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"blockers": {
						"items": {
							"$ref": "#/components/schemas/WorkspaceDeletionBlocker"
						},
						"type": ["array", "null"]
					},
					"recovery_possible": {
						"type": "boolean"
					},
					"removed": {
						"items": {
							"enum": ["access", "content", "connected_assets"],
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"retained": {
						"items": {
							"enum": ["required_records"],
							"type": "string"
						},
						"type": ["array", "null"]
					},
					"workspace_id": {
						"type": "string"
					},
					"workspace_name": {
						"type": "string"
					}
				},
				"required": [
					"workspace_id",
					"workspace_name",
					"removed",
					"retained",
					"recovery_possible",
					"blockers"
				],
				"type": "object"
			},
			"WorkspaceInvitationResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/WorkspaceInvitationResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"accept_url": {
						"description": "Browser URL that accepts the invitation",
						"type": "string"
					},
					"accepted_at": {
						"description": "When the invitation was accepted",
						"type": "string"
					},
					"accepted_by_user_id": {
						"description": "Accepting user ID",
						"type": "string"
					},
					"created_at": {
						"description": "Invitation creation time",
						"type": "string"
					},
					"email": {
						"description": "Invited email",
						"type": "string"
					},
					"email_delivery_status": {
						"description": "Truthful transport outcome for the latest Transactional invitation email. Sent means provider accepted; Delivered requires an authenticated callback.",
						"enum": ["created", "queued", "sent", "delivered", "failed", "unavailable"],
						"type": "string"
					},
					"email_delivery_updated_at": {
						"description": "Provider callback time for the latest terminal delivery outcome",
						"type": "string"
					},
					"expires_at": {
						"description": "Invitation expiry time",
						"type": "string"
					},
					"id": {
						"description": "Invitation ID",
						"type": "string"
					},
					"invited_by_user_id": {
						"description": "Inviting user ID",
						"type": "string"
					},
					"last_sent_at": {
						"description": "When the invitation was most recently sent",
						"type": "string"
					},
					"revoked_at": {
						"description": "When the invitation was revoked",
						"type": "string"
					},
					"role": {
						"description": "Workspace role to grant",
						"type": "string"
					},
					"status": {
						"description": "Current invitation lifecycle, with terminal invitation state taking precedence over email delivery state",
						"enum": [
							"created",
							"queued",
							"sent",
							"delivered",
							"delivery_failed",
							"delivery_unavailable",
							"expired",
							"revoked",
							"accepted"
						],
						"type": "string"
					},
					"workspace_id": {
						"description": "Workspace ID",
						"type": "string"
					}
				},
				"required": [
					"id",
					"workspace_id",
					"email",
					"role",
					"invited_by_user_id",
					"expires_at",
					"last_sent_at",
					"email_delivery_status",
					"status",
					"created_at"
				],
				"type": "object"
			},
			"WorkspaceMemberResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/WorkspaceMemberResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"created_at": {
						"description": "When access was first granted",
						"type": "string"
					},
					"deactivated_at": {
						"description": "When access was temporarily deactivated",
						"type": "string"
					},
					"email": {
						"description": "User email",
						"type": "string"
					},
					"role": {
						"description": "Workspace role",
						"enum": ["admin", "editor", "viewer"],
						"type": "string"
					},
					"status": {
						"description": "Workspace access state",
						"enum": ["active", "inactive"],
						"type": "string"
					},
					"updated_at": {
						"description": "When access last changed",
						"type": "string"
					},
					"user_id": {
						"description": "User ID",
						"type": "string"
					}
				},
				"required": ["user_id", "email", "role", "status", "created_at", "updated_at"],
				"type": "object"
			},
			"WorkspaceResp": {
				"additionalProperties": false,
				"properties": {
					"created_at": {
						"description": "Creation time (ISO 8601)",
						"type": "string"
					},
					"id": {
						"description": "Workspace ID",
						"type": "string"
					},
					"name": {
						"description": "Workspace name",
						"type": "string"
					}
				},
				"required": ["id", "name", "created_at"],
				"type": "object"
			},
			"WorkspaceResponse": {
				"additionalProperties": false,
				"properties": {
					"avatar_url": {
						"type": "string"
					},
					"can_edit": {
						"description": "Whether the current user can change workspace content",
						"type": "boolean"
					},
					"color": {
						"type": "string"
					},
					"created_at": {
						"type": "string"
					},
					"id": {
						"type": "string"
					},
					"name": {
						"type": "string"
					},
					"organization_id": {
						"type": "string"
					},
					"organization_name": {
						"type": "string"
					},
					"role": {
						"description": "Current user's workspace role",
						"enum": ["admin", "editor", "viewer"],
						"type": "string"
					},
					"sso_authenticated": {
						"description": "Whether the current credential satisfies organization SSO",
						"type": "boolean"
					},
					"sso_identity_linked": {
						"description": "Whether the required provider is explicitly linked to this user",
						"type": "boolean"
					},
					"sso_provider_id": {
						"description": "Identity provider required for this workspace",
						"type": "string"
					},
					"sso_provider_name": {
						"description": "Identity provider name required for this workspace",
						"type": "string"
					},
					"sso_required": {
						"description": "Whether this workspace requires organization SSO",
						"type": "boolean"
					}
				},
				"required": [
					"id",
					"organization_id",
					"organization_name",
					"name",
					"avatar_url",
					"color",
					"created_at",
					"role",
					"can_edit",
					"sso_required",
					"sso_authenticated",
					"sso_identity_linked"
				],
				"type": "object"
			},
			"WorkspaceSetupResponse": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/WorkspaceSetupResponse.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"action_href": {
						"description": "Safe same-origin application route for the next setup action",
						"type": "string"
					},
					"activated": {
						"description": "Whether the Workspace has a connected destination and a scheduled or submitted Publication",
						"type": "boolean"
					},
					"completed_steps": {
						"description": "Number of completed setup steps",
						"format": "int64",
						"type": "integer"
					},
					"next_action": {
						"description": "Authorized action for the next setup step",
						"enum": [
							"name_workspace",
							"resume_checkout",
							"connect_destination",
							"create_publication"
						],
						"type": "string"
					},
					"next_step": {
						"description": "First incomplete setup step available to the current user",
						"enum": ["workspace", "subscription", "destination", "composition", "publication"],
						"type": "string"
					},
					"steps": {
						"description": "Ordered authoritative setup progress applicable to the current user's role and deployment",
						"items": {
							"$ref": "#/components/schemas/WorkspaceSetupStepResponse"
						},
						"type": ["array", "null"]
					},
					"total_steps": {
						"description": "Number of applicable setup steps",
						"format": "int64",
						"type": "integer"
					},
					"visible": {
						"description": "Whether the current user has an applicable, authorized incomplete setup step",
						"type": "boolean"
					}
				},
				"required": ["visible", "activated", "completed_steps", "total_steps", "steps"],
				"type": "object"
			},
			"WorkspaceSetupStepResponse": {
				"additionalProperties": false,
				"properties": {
					"completed": {
						"description": "Whether the authoritative product state completes this step",
						"type": "boolean"
					},
					"id": {
						"description": "Setup step derived from Workspace state",
						"enum": ["workspace", "subscription", "destination", "composition", "publication"],
						"type": "string"
					}
				},
				"required": ["id", "completed"],
				"type": "object"
			},
			"WorkspaceTeamOutputBody": {
				"additionalProperties": false,
				"properties": {
					"$schema": {
						"description": "A URL to the JSON Schema for this object.",
						"examples": ["https://example.com/schemas/WorkspaceTeamOutputBody.json"],
						"format": "uri",
						"readOnly": true,
						"type": "string"
					},
					"can_manage": {
						"description": "Whether the current user may administer workspace access",
						"type": "boolean"
					},
					"current_seats": {
						"format": "int64",
						"type": "integer"
					},
					"invitations": {
						"items": {
							"$ref": "#/components/schemas/WorkspaceInvitationResponse"
						},
						"type": ["array", "null"]
					},
					"members": {
						"items": {
							"$ref": "#/components/schemas/WorkspaceMemberResponse"
						},
						"type": ["array", "null"]
					}
				},
				"required": ["members", "invitations", "current_seats", "can_manage"],
				"type": "object"
			}
		}
	},
	"info": {
		"title": "OpenPost API",
		"version": "1.0.0"
	},
	"openapi": "3.1.0",
	"paths": {
		"/accounts": {
			"get": {
				"operationId": "list-accounts",
				"parameters": [
					{
						"description": "Filter by workspace ID",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"required": true,
						"schema": {
							"description": "Filter by workspace ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/AccountResponse"
									},
									"type": ["array", "null"]
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List connected social accounts for a workspace",
				"tags": ["Accounts"]
			}
		},
		"/accounts/bluesky/login": {
			"post": {
				"operationId": "bluesky-login",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/BlueskyLoginInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"204": {
						"description": "No Content"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Connect Bluesky account using app password",
				"tags": ["Accounts"]
			}
		},
		"/accounts/discord/webhook": {
			"post": {
				"operationId": "discord-webhook-login",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/DiscordWebhookLoginInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"204": {
						"description": "No Content"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Connect a Discord channel using an incoming webhook",
				"tags": ["Accounts"]
			}
		},
		"/accounts/mastodon/exchange": {
			"post": {
				"operationId": "exchange-mastodon-code",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/ExchangeCodeInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AccountConnectionResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Exchange Mastodon OOB authorization code",
				"tags": ["Accounts"]
			}
		},
		"/accounts/mastodon/servers": {
			"get": {
				"operationId": "list-mastodon-servers",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/MastodonServerInfo"
									},
									"type": ["array", "null"]
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List configured Mastodon servers",
				"tags": ["Accounts"]
			}
		},
		"/accounts/providers": {
			"get": {
				"operationId": "list-account-providers",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/ProviderInfo"
									},
									"type": ["array", "null"]
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List configured account providers",
				"tags": ["Accounts"]
			}
		},
		"/accounts/selections/{connection_id}": {
			"get": {
				"operationId": "get-account-selection",
				"parameters": [
					{
						"description": "Pending OAuth account-selection ID",
						"in": "path",
						"name": "connection_id",
						"required": true,
						"schema": {
							"description": "Pending OAuth account-selection ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AccountSelectionResponse"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get pending OAuth account-selection options",
				"tags": ["Accounts"]
			}
		},
		"/accounts/selections/{connection_id}/complete": {
			"post": {
				"operationId": "complete-account-selection",
				"parameters": [
					{
						"description": "Pending OAuth account-selection ID",
						"in": "path",
						"name": "connection_id",
						"required": true,
						"schema": {
							"description": "Pending OAuth account-selection ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CompleteAccountSelectionInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AccountSelectionCompletionResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Complete OAuth account selection and save the selected account",
				"tags": ["Accounts"]
			}
		},
		"/accounts/{account_id}": {
			"delete": {
				"operationId": "disconnect-account",
				"parameters": [
					{
						"in": "path",
						"name": "account_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"204": {
						"description": "No Content"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Disconnect one social destination without revoking its provider grant",
				"tags": ["Accounts"]
			},
			"patch": {
				"operationId": "update-account",
				"parameters": [
					{
						"in": "path",
						"name": "account_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/UpdateAccountInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AccountResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Update a social account",
				"tags": ["Accounts"]
			}
		},
		"/accounts/{account_id}/destination-options": {
			"get": {
				"operationId": "get-account-destination-options",
				"parameters": [
					{
						"description": "Connected social account ID",
						"in": "path",
						"name": "account_id",
						"required": true,
						"schema": {
							"description": "Connected social account ID",
							"type": "string"
						}
					},
					{
						"description": "ISO 3166-1 alpha-2 region code",
						"explode": false,
						"in": "query",
						"name": "region_code",
						"schema": {
							"default": "US",
							"description": "ISO 3166-1 alpha-2 region code",
							"type": "string"
						}
					},
					{
						"description": "Language code for provider labels",
						"explode": false,
						"in": "query",
						"name": "language",
						"schema": {
							"default": "en",
							"description": "Language code for provider labels",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/DestinationOptionsOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"502": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Gateway"
					}
				},
				"summary": "List account-specific publishing options",
				"tags": ["Accounts"]
			}
		},
		"/accounts/{account_id}/grant": {
			"delete": {
				"operationId": "revoke-account-grant",
				"parameters": [
					{
						"in": "path",
						"name": "account_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"204": {
						"description": "No Content"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Revoke a provider grant and disconnect every destination that uses it",
				"tags": ["Accounts"]
			}
		},
		"/accounts/{account_id}/publishing-options/{source}": {
			"get": {
				"operationId": "search-account-publishing-options",
				"parameters": [
					{
						"description": "Connected social account ID",
						"in": "path",
						"name": "account_id",
						"required": true,
						"schema": {
							"description": "Connected social account ID",
							"type": "string"
						}
					},
					{
						"description": "Publishing option source",
						"in": "path",
						"name": "source",
						"required": true,
						"schema": {
							"description": "Publishing option source",
							"type": "string"
						}
					},
					{
						"description": "Case-insensitive label search",
						"explode": false,
						"in": "query",
						"name": "search",
						"schema": {
							"description": "Case-insensitive label search",
							"type": "string"
						}
					},
					{
						"description": "BCP 47 locale",
						"explode": false,
						"in": "query",
						"name": "locale",
						"schema": {
							"default": "en",
							"description": "BCP 47 locale",
							"type": "string"
						}
					},
					{
						"description": "ISO 3166-1 alpha-2 region",
						"explode": false,
						"in": "query",
						"name": "region",
						"schema": {
							"default": "US",
							"description": "ISO 3166-1 alpha-2 region",
							"type": "string"
						}
					},
					{
						"description": "Opaque pagination cursor",
						"explode": false,
						"in": "query",
						"name": "cursor",
						"schema": {
							"description": "Opaque pagination cursor",
							"type": "string"
						}
					},
					{
						"description": "Optional output profile or setting context",
						"explode": false,
						"in": "query",
						"name": "context",
						"schema": {
							"description": "Optional output profile or setting context",
							"type": "string"
						}
					},
					{
						"description": "Page size",
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"default": 25,
							"description": "Page size",
							"format": "int64",
							"maximum": 100,
							"minimum": 1,
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PublishingOptionsOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"502": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Gateway"
					}
				},
				"summary": "Search one account-specific publishing option collection",
				"tags": ["Accounts"]
			}
		},
		"/accounts/{platform}/auth-url": {
			"get": {
				"operationId": "get-auth-url",
				"parameters": [
					{
						"description": "Social platform (x, mastodon, bluesky, linkedin, threads, instagram, facebook, tiktok, youtube)",
						"in": "path",
						"name": "platform",
						"required": true,
						"schema": {
							"description": "Social platform (x, mastodon, bluesky, linkedin, threads, instagram, facebook, tiktok, youtube)",
							"type": "string"
						}
					},
					{
						"description": "Workspace ID to link account to",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"required": true,
						"schema": {
							"description": "Workspace ID to link account to",
							"type": "string"
						}
					},
					{
						"description": "Mastodon server name from config (required for mastodon)",
						"explode": false,
						"in": "query",
						"name": "server_name",
						"schema": {
							"description": "Mastodon server name from config (required for mastodon)",
							"type": "string"
						}
					},
					{
						"description": "Mastodon instance URL to dynamically register",
						"explode": false,
						"in": "query",
						"name": "instance_url",
						"schema": {
							"description": "Mastodon instance URL to dynamically register",
							"type": "string"
						}
					},
					{
						"description": "Typed execution intent; certification_test requires an unscoped instance administrator",
						"explode": false,
						"in": "query",
						"name": "intent",
						"schema": {
							"default": "production",
							"description": "Typed execution intent; certification_test requires an unscoped instance administrator",
							"enum": ["production", "certification_test"],
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/GetAuthURLOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get OAuth authorization URL for a platform",
				"tags": ["Accounts"]
			}
		},
		"/admin/audit-events": {
			"get": {
				"description": "Projects consequential evidence across the instance without exposing Workspace content, emails, secrets, credentials, invitation links, or provider payloads. Requires an unscoped instance-administrator browser session.",
				"operationId": "list-instance-audit-events",
				"parameters": [
					{
						"description": "Restrict evidence to one Organization",
						"explode": false,
						"in": "query",
						"name": "organization_id",
						"schema": {
							"description": "Restrict evidence to one Organization",
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one Workspace",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"schema": {
							"description": "Restrict evidence to one Workspace",
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one opaque actor user ID",
						"explode": false,
						"in": "query",
						"name": "actor_user_id",
						"schema": {
							"description": "Restrict evidence to one opaque actor user ID",
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one exact domain action",
						"explode": false,
						"in": "query",
						"name": "action",
						"schema": {
							"description": "Restrict evidence to one exact domain action",
							"maxLength": 100,
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one resource type",
						"explode": false,
						"in": "query",
						"name": "resource_type",
						"schema": {
							"description": "Restrict evidence to one resource type",
							"enum": [
								"provider",
								"policy",
								"domain",
								"session",
								"identity",
								"reauthentication",
								"identity_configuration",
								"organization",
								"workspace",
								"workspace_member",
								"workspace_invitation",
								"organization_ownership_transfer",
								"impersonation",
								"billing",
								"mcp_tool_call",
								"publication",
								"publication_authorization",
								"provider_write"
							],
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one result",
						"explode": false,
						"in": "query",
						"name": "result",
						"schema": {
							"description": "Restrict evidence to one result",
							"enum": ["succeeded", "failed", "pending"],
							"type": "string"
						}
					},
					{
						"description": "Inclusive RFC 3339 start time",
						"explode": false,
						"in": "query",
						"name": "from",
						"schema": {
							"description": "Inclusive RFC 3339 start time",
							"type": "string"
						}
					},
					{
						"description": "Exclusive RFC 3339 end time",
						"explode": false,
						"in": "query",
						"name": "before",
						"schema": {
							"description": "Exclusive RFC 3339 end time",
							"type": "string"
						}
					},
					{
						"description": "Opaque cursor for stable older-page pagination",
						"explode": false,
						"in": "query",
						"name": "cursor",
						"schema": {
							"description": "Opaque cursor for stable older-page pagination",
							"type": "string"
						}
					},
					{
						"description": "Maximum events to return",
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"default": 50,
							"description": "Maximum events to return",
							"format": "int64",
							"maximum": 200,
							"minimum": 1,
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AuditPage"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "List permission-safe instance audit evidence",
				"tags": ["Workspaces"]
			}
		},
		"/admin/audit-events/export.csv": {
			"get": {
				"operationId": "export-instance-audit-events-csv",
				"parameters": [
					{
						"description": "Restrict evidence to one Organization",
						"explode": false,
						"in": "query",
						"name": "organization_id",
						"schema": {
							"description": "Restrict evidence to one Organization",
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one Workspace",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"schema": {
							"description": "Restrict evidence to one Workspace",
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one opaque actor user ID",
						"explode": false,
						"in": "query",
						"name": "actor_user_id",
						"schema": {
							"description": "Restrict evidence to one opaque actor user ID",
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one exact domain action",
						"explode": false,
						"in": "query",
						"name": "action",
						"schema": {
							"description": "Restrict evidence to one exact domain action",
							"maxLength": 100,
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one resource type",
						"explode": false,
						"in": "query",
						"name": "resource_type",
						"schema": {
							"description": "Restrict evidence to one resource type",
							"enum": [
								"provider",
								"policy",
								"domain",
								"session",
								"identity",
								"reauthentication",
								"identity_configuration",
								"organization",
								"workspace",
								"workspace_member",
								"workspace_invitation",
								"organization_ownership_transfer",
								"impersonation",
								"billing",
								"mcp_tool_call",
								"publication",
								"publication_authorization",
								"provider_write"
							],
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one result",
						"explode": false,
						"in": "query",
						"name": "result",
						"schema": {
							"description": "Restrict evidence to one result",
							"enum": ["succeeded", "failed", "pending"],
							"type": "string"
						}
					},
					{
						"description": "Inclusive RFC 3339 start time",
						"explode": false,
						"in": "query",
						"name": "from",
						"schema": {
							"description": "Inclusive RFC 3339 start time",
							"type": "string"
						}
					},
					{
						"description": "Exclusive RFC 3339 end time",
						"explode": false,
						"in": "query",
						"name": "before",
						"schema": {
							"description": "Exclusive RFC 3339 end time",
							"type": "string"
						}
					},
					{
						"description": "Opaque cursor for stable older-page pagination",
						"explode": false,
						"in": "query",
						"name": "cursor",
						"schema": {
							"description": "Opaque cursor for stable older-page pagination",
							"type": "string"
						}
					},
					{
						"description": "Maximum events to return",
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"default": 50,
							"description": "Maximum events to return",
							"format": "int64",
							"maximum": 200,
							"minimum": 1,
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"text/csv": {
								"schema": {
									"contentMediaType": "application/octet-stream",
									"format": "binary",
									"type": "string"
								}
							}
						},
						"description": "CSV audit export",
						"headers": {
							"Content-Disposition": {
								"schema": {
									"type": "string"
								}
							},
							"Content-Type": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Export permission-safe instance audit evidence as CSV",
				"tags": ["Workspaces"]
			}
		},
		"/admin/audit-events/export.json": {
			"get": {
				"operationId": "export-instance-audit-events-json",
				"parameters": [
					{
						"description": "Restrict evidence to one Organization",
						"explode": false,
						"in": "query",
						"name": "organization_id",
						"schema": {
							"description": "Restrict evidence to one Organization",
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one Workspace",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"schema": {
							"description": "Restrict evidence to one Workspace",
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one opaque actor user ID",
						"explode": false,
						"in": "query",
						"name": "actor_user_id",
						"schema": {
							"description": "Restrict evidence to one opaque actor user ID",
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one exact domain action",
						"explode": false,
						"in": "query",
						"name": "action",
						"schema": {
							"description": "Restrict evidence to one exact domain action",
							"maxLength": 100,
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one resource type",
						"explode": false,
						"in": "query",
						"name": "resource_type",
						"schema": {
							"description": "Restrict evidence to one resource type",
							"enum": [
								"provider",
								"policy",
								"domain",
								"session",
								"identity",
								"reauthentication",
								"identity_configuration",
								"organization",
								"workspace",
								"workspace_member",
								"workspace_invitation",
								"organization_ownership_transfer",
								"impersonation",
								"billing",
								"mcp_tool_call",
								"publication",
								"publication_authorization",
								"provider_write"
							],
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one result",
						"explode": false,
						"in": "query",
						"name": "result",
						"schema": {
							"description": "Restrict evidence to one result",
							"enum": ["succeeded", "failed", "pending"],
							"type": "string"
						}
					},
					{
						"description": "Inclusive RFC 3339 start time",
						"explode": false,
						"in": "query",
						"name": "from",
						"schema": {
							"description": "Inclusive RFC 3339 start time",
							"type": "string"
						}
					},
					{
						"description": "Exclusive RFC 3339 end time",
						"explode": false,
						"in": "query",
						"name": "before",
						"schema": {
							"description": "Exclusive RFC 3339 end time",
							"type": "string"
						}
					},
					{
						"description": "Opaque cursor for stable older-page pagination",
						"explode": false,
						"in": "query",
						"name": "cursor",
						"schema": {
							"description": "Opaque cursor for stable older-page pagination",
							"type": "string"
						}
					},
					{
						"description": "Maximum events to return",
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"default": 50,
							"description": "Maximum events to return",
							"format": "int64",
							"maximum": 200,
							"minimum": 1,
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/InstanceAuditJSONExport"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Content-Disposition": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Export permission-safe instance audit evidence as JSON",
				"tags": ["Workspaces"]
			}
		},
		"/admin/instance-settings": {
			"get": {
				"description": "Returns the typed optional configuration registry. Secrets are redacted. Administrator overrides take precedence over environment values after restart, while the configured environment source remains visible as the fallback.",
				"operationId": "list-instance-settings",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/InstanceSettingsResponse"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List administrator-managed instance settings",
				"tags": ["Admin"]
			},
			"put": {
				"description": "Validates and encrypts optional instance settings atomically. Changes apply after the server restarts.",
				"operationId": "save-instance-settings",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/SaveInstanceSettingsInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/InstanceSettingsResponse"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Save administrator-managed instance settings",
				"tags": ["Admin"]
			}
		},
		"/admin/overview": {
			"get": {
				"description": "Returns instance-wide account, workspace, and publication activity totals for an instance administrator.",
				"operationId": "get-instance-overview",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/InstanceOverviewResponse"
								}
							}
						},
						"description": "OK"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get instance administration overview",
				"tags": ["Admin"]
			}
		},
		"/admin/provider-apps": {
			"get": {
				"operationId": "list-provider-apps",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/ProviderAppResponse"
									},
									"type": ["array", "null"]
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List configured provider apps",
				"tags": ["Admin"]
			},
			"post": {
				"operationId": "save-provider-app",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/SaveProviderAppInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/SaveProviderAppResponse"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Create or update a provider app",
				"tags": ["Admin"]
			}
		},
		"/admin/provider-apps/{id}": {
			"delete": {
				"operationId": "delete-provider-app",
				"parameters": [
					{
						"description": "Provider app ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Provider app ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/DeleteProviderAppResponse"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Delete a provider app",
				"tags": ["Admin"]
			}
		},
		"/admin/provider-readiness/approval-reviews": {
			"post": {
				"operationId": "append-provider-approval-review",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/AppendProviderApprovalReviewInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ProviderReadinessLedgerAppendOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Append a provider approval review",
				"tags": ["Provider Readiness"]
			}
		},
		"/admin/provider-readiness/certifications": {
			"post": {
				"operationId": "append-provider-certification",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/AppendProviderCertificationInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ProviderReadinessLedgerAppendOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Append normalized provider certification evidence",
				"tags": ["Provider Readiness"]
			}
		},
		"/admin/provider-readiness/runtime-controls": {
			"post": {
				"operationId": "append-provider-runtime-control",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/AppendProviderRuntimeControlInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ProviderReadinessLedgerAppendOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Append a provider runtime control",
				"tags": ["Provider Readiness"]
			}
		},
		"/admin/update-status": {
			"get": {
				"description": "Returns a cached, read-only stable release comparison. This endpoint never installs updates.",
				"operationId": "get-instance-update-status",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/UpdateStatusResponse"
								}
							}
						},
						"description": "OK"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Get instance update status",
				"tags": ["Admin"]
			}
		},
		"/admin/users": {
			"get": {
				"description": "Returns a newest-first, paginated directory of users visible only to an instance administrator.",
				"operationId": "list-instance-users",
				"parameters": [
					{
						"description": "One-based page number",
						"explode": false,
						"in": "query",
						"name": "page",
						"schema": {
							"default": 1,
							"description": "One-based page number",
							"format": "int64",
							"minimum": 1,
							"type": "integer"
						}
					},
					{
						"description": "Users per page",
						"explode": false,
						"in": "query",
						"name": "per_page",
						"schema": {
							"default": 25,
							"description": "Users per page",
							"format": "int64",
							"maximum": 100,
							"minimum": 1,
							"type": "integer"
						}
					},
					{
						"description": "Case-insensitive email or display-name search",
						"explode": false,
						"in": "query",
						"name": "search",
						"schema": {
							"description": "Case-insensitive email or display-name search",
							"maxLength": 200,
							"type": "string"
						}
					},
					{
						"description": "Directory sort field",
						"explode": false,
						"in": "query",
						"name": "sort",
						"schema": {
							"default": "created_at",
							"description": "Directory sort field",
							"enum": [
								"created_at",
								"email",
								"display_name",
								"last_active_at",
								"workspace_count",
								"publication_count"
							],
							"type": "string"
						}
					},
					{
						"description": "Directory sort direction",
						"explode": false,
						"in": "query",
						"name": "direction",
						"schema": {
							"default": "desc",
							"description": "Directory sort direction",
							"enum": ["asc", "desc"],
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/InstanceUserPage"
								}
							}
						},
						"description": "OK"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "List instance users",
				"tags": ["Admin"]
			}
		},
		"/admin/users/{user_id}/impersonation-links": {
			"post": {
				"description": "Creates a five-minute, one-use sign-in link for a non-admin user. The caller must use an unscoped instance-admin browser session.",
				"operationId": "create-user-impersonation-link",
				"parameters": [
					{
						"description": "Target user ID",
						"in": "path",
						"name": "user_id",
						"required": true,
						"schema": {
							"description": "Target user ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CreateUserImpersonationLinkOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Create a user impersonation link",
				"tags": ["Admin"]
			}
		},
		"/analytics": {
			"get": {
				"operationId": "get-analytics-overview",
				"parameters": [
					{
						"description": "Workspace ID",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"required": true,
						"schema": {
							"description": "Workspace ID",
							"type": "string"
						}
					},
					{
						"description": "Reporting window in days (7, 30, or 90)",
						"explode": false,
						"in": "query",
						"name": "days",
						"schema": {
							"default": 30,
							"description": "Reporting window in days (7, 30, or 90)",
							"format": "int64",
							"type": "integer"
						}
					},
					{
						"description": "Optional social account ID used to filter results and totals",
						"explode": false,
						"in": "query",
						"name": "account_id",
						"schema": {
							"description": "Optional social account ID used to filter results and totals",
							"type": "string"
						}
					},
					{
						"description": "Stored result ordering",
						"explode": false,
						"in": "query",
						"name": "sort",
						"schema": {
							"default": "engagement",
							"description": "Stored result ordering",
							"enum": ["engagement", "views", "newest"],
							"type": "string"
						}
					},
					{
						"description": "Opaque publication-page cursor",
						"explode": false,
						"in": "query",
						"name": "cursor",
						"schema": {
							"description": "Opaque publication-page cursor",
							"type": "string"
						}
					},
					{
						"description": "Publication results per page",
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"default": 50,
							"description": "Publication results per page",
							"format": "int64",
							"maximum": 100,
							"minimum": 1,
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Overview"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get stored account and publication analytics",
				"tags": ["Analytics"]
			}
		},
		"/analytics/refresh": {
			"post": {
				"operationId": "refresh-analytics",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/RefreshAnalyticsInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/RefreshAnalyticsOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Queue analytics collection for a workspace",
				"tags": ["Analytics"]
			}
		},
		"/api-tokens": {
			"get": {
				"operationId": "list-api-tokens",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/APITokenResponse"
									},
									"type": ["array", "null"]
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List API tokens",
				"tags": ["Auth"]
			},
			"post": {
				"operationId": "create-api-token",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateAPITokenInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"201": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CreateAPITokenOutputBody"
								}
							}
						},
						"description": "Created"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Create an API token",
				"tags": ["Auth"]
			}
		},
		"/api-tokens/{id}": {
			"delete": {
				"operationId": "revoke-api-token",
				"parameters": [
					{
						"description": "API token ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "API token ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/RevokeAPITokenOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Revoke an API token",
				"tags": ["Auth"]
			}
		},
		"/auth/account": {
			"delete": {
				"operationId": "delete-account",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/DeleteAccountInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/DeleteAccountOutputBody"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Set-Cookie": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Permanently delete the current account",
				"tags": ["Auth"]
			}
		},
		"/auth/account/deletion-impact": {
			"get": {
				"operationId": "get-account-deletion-impact",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AccountDeletionImpact"
								}
							}
						},
						"description": "OK"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Preview the impact and blockers for account deletion",
				"tags": ["Auth"]
			}
		},
		"/auth/account/export": {
			"post": {
				"operationId": "export-account-data",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/AccountReauthenticationInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AccountExport"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Content-Disposition": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Export the current user's account data",
				"tags": ["Auth"]
			}
		},
		"/auth/config": {
			"get": {
				"operationId": "get-auth-configuration",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AuthConfigurationOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Get public authentication configuration",
				"tags": ["Auth"]
			}
		},
		"/auth/email-change": {
			"get": {
				"operationId": "get-email-change",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/EmailChangeStatusOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Get the pending sign-in email change",
				"tags": ["Auth"]
			},
			"post": {
				"operationId": "begin-email-change",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/BeginEmailChangeInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"201": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/EmailChangeSummary"
								}
							}
						},
						"description": "Created"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Send a verification code to a new sign-in email",
				"tags": ["Auth"]
			}
		},
		"/auth/email-change/{id}": {
			"delete": {
				"operationId": "cancel-email-change",
				"parameters": [
					{
						"description": "Email-change challenge ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Email-change challenge ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CancelEmailChangeOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Cancel a pending sign-in email change",
				"tags": ["Auth"]
			}
		},
		"/auth/email-change/{id}/confirm": {
			"post": {
				"operationId": "confirm-email-change",
				"parameters": [
					{
						"description": "Email-change challenge ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Email-change challenge ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/ConfirmEmailChangeInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ConfirmEmailChangeOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Confirm and apply a sign-in email change",
				"tags": ["Auth"]
			}
		},
		"/auth/email-change/{id}/resend": {
			"post": {
				"operationId": "resend-email-change",
				"parameters": [
					{
						"description": "Email-change challenge ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Email-change challenge ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/EmailChangeSummary"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Send a new email-change verification code",
				"tags": ["Auth"]
			}
		},
		"/auth/email-verification/confirm": {
			"post": {
				"operationId": "confirm-email-verification",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/ConfirmEmailVerificationInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AuthOutputBody"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Set-Cookie": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Verify a new account email with a six-digit code",
				"tags": ["Auth"]
			}
		},
		"/auth/email-verification/resend": {
			"post": {
				"operationId": "resend-email-verification",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/ResendEmailVerificationInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AuthOutputBody"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Set-Cookie": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Send a replacement email verification code",
				"tags": ["Auth"]
			}
		},
		"/auth/impersonation": {
			"post": {
				"description": "Consumes a five-minute, one-use impersonation code and creates a tracked browser session for the target user.",
				"operationId": "consume-user-impersonation-link",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/ConsumeUserImpersonationLinkInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ConsumeUserImpersonationLinkOutputBody"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Set-Cookie": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Consume a user impersonation link",
				"tags": ["Auth"]
			}
		},
		"/auth/legal-acceptance": {
			"post": {
				"operationId": "accept-account-policy",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/AcceptAccountPolicyInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/UserProfile"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Accept the current account policy",
				"tags": ["Auth"]
			}
		},
		"/auth/login": {
			"post": {
				"operationId": "login",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/LoginInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AuthOutputBody"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Set-Cookie": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Login with email and password",
				"tags": ["Auth"]
			}
		},
		"/auth/login/passkey/options": {
			"post": {
				"operationId": "begin-login-passkey",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/BeginPasskeyLoginInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PasskeyCeremonyOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Begin MFA login with a passkey",
				"tags": ["Auth"]
			}
		},
		"/auth/login/passkey/verify": {
			"post": {
				"operationId": "finish-login-passkey",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/FinishPasskeyLoginInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AuthOutputBody"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Set-Cookie": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Complete MFA login with a passkey",
				"tags": ["Auth"]
			}
		},
		"/auth/login/recovery-code": {
			"post": {
				"operationId": "verify-login-recovery-code",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/VerifyRecoveryCodeLoginInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AuthOutputBody"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Set-Cookie": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Complete MFA login with a single-use recovery code",
				"tags": ["Auth"]
			}
		},
		"/auth/login/totp": {
			"post": {
				"operationId": "verify-login-totp",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/VerifyTOTPLoginInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AuthOutputBody"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Set-Cookie": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Complete MFA login with a TOTP code",
				"tags": ["Auth"]
			}
		},
		"/auth/logout": {
			"post": {
				"operationId": "logout",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/LogoutOutputBody"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Set-Cookie": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Log out the current web session",
				"tags": ["Auth"]
			}
		},
		"/auth/me": {
			"get": {
				"operationId": "get-me",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/UserProfile"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Get current authenticated user",
				"tags": ["Auth"]
			}
		},
		"/auth/oidc/discover": {
			"get": {
				"operationId": "discover-oidc-provider",
				"parameters": [
					{
						"explode": false,
						"in": "query",
						"name": "email",
						"schema": {
							"format": "email",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/OIDCDiscoverOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Discover a verified organization identity provider by email",
				"tags": ["Auth"]
			}
		},
		"/auth/oidc/handoff": {
			"post": {
				"operationId": "exchange-native-oidc-handoff",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/OIDCNativeHandoffInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/OIDCNativeHandoffOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Exchange a one-time native OIDC handoff code",
				"tags": ["Auth"]
			}
		},
		"/auth/oidc/identities": {
			"get": {
				"operationId": "list-linked-oidc-identities",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/OIDCIdentitySummary"
									},
									"type": ["array", "null"]
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List OIDC identities linked to the current account",
				"tags": ["Auth"]
			}
		},
		"/auth/oidc/identities/{identity_id}": {
			"delete": {
				"operationId": "unlink-oidc-identity",
				"parameters": [
					{
						"in": "path",
						"name": "identity_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/OIDCUnlinkIdentityInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/MessageOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Unlink an OIDC identity from the current account",
				"tags": ["Auth"]
			}
		},
		"/auth/oidc/link-providers": {
			"get": {
				"operationId": "list-linkable-oidc-providers",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/OIDCProviderSummary"
									},
									"type": ["array", "null"]
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List identity providers the current account may explicitly link",
				"tags": ["Auth"]
			}
		},
		"/auth/oidc/providers": {
			"get": {
				"operationId": "list-login-oidc-providers",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/OIDCProviderSummary"
									},
									"type": ["array", "null"]
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List instance identity providers available for login",
				"tags": ["Auth"]
			}
		},
		"/auth/oidc/{provider_id}/link": {
			"post": {
				"operationId": "start-oidc-identity-link",
				"parameters": [
					{
						"in": "path",
						"name": "provider_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "Cookie",
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/OIDCAuthenticatedStartInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/OIDCAuthenticatedStartOutputBody"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Set-Cookie": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Start an explicit OIDC identity link",
				"tags": ["Auth"]
			}
		},
		"/auth/oidc/{provider_id}/logout": {
			"post": {
				"operationId": "logout-oidc-session",
				"parameters": [
					{
						"in": "path",
						"name": "provider_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/OIDCLogoutInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/OIDCLogoutOutputBody"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Set-Cookie": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Revoke the OpenPost session and prepare optional provider logout",
				"tags": ["Auth"]
			}
		},
		"/auth/oidc/{provider_id}/reauth": {
			"post": {
				"operationId": "start-oidc-reauthentication",
				"parameters": [
					{
						"in": "path",
						"name": "provider_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "header",
						"name": "Cookie",
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/OIDCAuthenticatedStartInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/OIDCAuthenticatedStartOutputBody"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Set-Cookie": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Start action-bound OIDC reauthentication",
				"tags": ["Auth"]
			}
		},
		"/auth/password": {
			"post": {
				"operationId": "change-password",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/ChangePasswordInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ChangePasswordOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Change the current account password",
				"tags": ["Auth"]
			}
		},
		"/auth/password-reset/confirm": {
			"post": {
				"operationId": "reset-password",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/ResetPasswordInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ResetPasswordOutputBody"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Set-Cookie": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Reset a password with a single-use token",
				"tags": ["Auth"]
			}
		},
		"/auth/password-reset/request": {
			"post": {
				"operationId": "request-password-reset",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/RequestPasswordResetInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/MessageOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Request a password reset link",
				"tags": ["Auth"]
			}
		},
		"/auth/profile": {
			"patch": {
				"operationId": "update-profile",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/UpdateProfileInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/UserProfile"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Update current user profile",
				"tags": ["Auth"]
			}
		},
		"/auth/profile/avatar": {
			"delete": {
				"operationId": "delete-profile-avatar",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/RemoveAvatarOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Remove current user profile avatar",
				"tags": ["Auth"]
			}
		},
		"/auth/reauth/passkey/options": {
			"post": {
				"operationId": "begin-passkey-reauthentication",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/BeginPasskeyReauthInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PasskeyCeremonyOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Begin action-bound reauthentication with a passkey",
				"tags": ["Auth"]
			}
		},
		"/auth/reauth/passkey/verify": {
			"post": {
				"operationId": "finish-passkey-reauthentication",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/FinishPasskeyReauthInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ReauthGrantOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Complete action-bound reauthentication with a passkey",
				"tags": ["Auth"]
			}
		},
		"/auth/reauth/password": {
			"post": {
				"operationId": "reauthenticate-with-password",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/PasswordReauthInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ReauthGrantOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Create an action-bound reauthentication grant with a password",
				"tags": ["Auth"]
			}
		},
		"/auth/register": {
			"post": {
				"operationId": "register",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/RegisterInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AuthOutputBody"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Set-Cookie": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Register a new user",
				"tags": ["Auth"]
			}
		},
		"/auth/security": {
			"get": {
				"operationId": "get-security-status",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/SecurityStatusOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Get account security settings",
				"tags": ["Auth"]
			}
		},
		"/auth/security/passkeys/begin": {
			"post": {
				"operationId": "begin-passkey-registration",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/BeginPasskeyRegistrationInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PasskeyCeremonyOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Begin passkey registration for the current user",
				"tags": ["Auth"]
			}
		},
		"/auth/security/passkeys/finish": {
			"post": {
				"operationId": "finish-passkey-registration",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/FinishPasskeyRegistrationInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/SecurityStatusOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Finish passkey registration for the current user",
				"tags": ["Auth"]
			}
		},
		"/auth/security/passkeys/{passkey_id}/remove": {
			"post": {
				"operationId": "remove-passkey",
				"parameters": [
					{
						"description": "Passkey ID",
						"in": "path",
						"name": "passkey_id",
						"required": true,
						"schema": {
							"description": "Passkey ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/RemovePasskeyInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/SecurityStatusOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Remove a passkey from the current user",
				"tags": ["Auth"]
			}
		},
		"/auth/security/totp/confirm": {
			"post": {
				"operationId": "confirm-totp-setup",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/ConfirmTOTPSetupInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/RecoveryCodeSetOutputBody"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Cache-Control": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Confirm TOTP enrollment with a verification code",
				"tags": ["Auth"]
			}
		},
		"/auth/security/totp/disable": {
			"post": {
				"operationId": "disable-totp",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/DisableTOTPInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/SecurityStatusOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Disable TOTP for the current user",
				"tags": ["Auth"]
			}
		},
		"/auth/security/totp/enable": {
			"post": {
				"operationId": "enable-totp-after-recovery-code-acknowledgement",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/AcknowledgeRecoveryCodesInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/SecurityStatusOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Enable TOTP after recovery codes are saved",
				"tags": ["Auth"]
			}
		},
		"/auth/security/totp/recovery-codes/activate": {
			"post": {
				"operationId": "activate-regenerated-totp-recovery-codes",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/AcknowledgeRecoveryCodesInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/SecurityStatusOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Replace old recovery codes after the new set is saved",
				"tags": ["Auth"]
			}
		},
		"/auth/security/totp/recovery-codes/regenerate": {
			"post": {
				"operationId": "begin-totp-recovery-code-regeneration",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/RecoveryCodeSensitiveActionInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/RecoveryCodeSetOutputBody"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Cache-Control": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Generate a replacement recovery-code set after reauthentication",
				"tags": ["Auth"]
			}
		},
		"/auth/security/totp/recovery-codes/status": {
			"post": {
				"operationId": "get-totp-recovery-code-status",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/RecoveryCodeSensitiveActionInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/RecoveryCodeStatusOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get the unused TOTP recovery-code count after reauthentication",
				"tags": ["Auth"]
			}
		},
		"/auth/security/totp/setup": {
			"post": {
				"operationId": "begin-totp-setup",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/SetupTOTPInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/SetupTOTPOutputBody"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Cache-Control": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Start TOTP enrollment for the current user",
				"tags": ["Auth"]
			}
		},
		"/auth/session-state": {
			"get": {
				"description": "Returns an anonymous state instead of an authorization error when no valid session is present.",
				"operationId": "get-auth-session-state",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AuthSessionStateOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Get optional web session state",
				"tags": ["Auth"]
			}
		},
		"/auth/sessions": {
			"get": {
				"operationId": "list-auth-sessions",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/UserSessionSummary"
									},
									"type": ["array", "null"]
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "List active web sessions",
				"tags": ["Auth"]
			}
		},
		"/auth/sessions/{session_id}": {
			"delete": {
				"operationId": "revoke-auth-session",
				"parameters": [
					{
						"description": "Session ID",
						"in": "path",
						"name": "session_id",
						"required": true,
						"schema": {
							"description": "Session ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/RevokeUserSessionOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Revoke an active web session",
				"tags": ["Auth"]
			}
		},
		"/billing/checkout": {
			"post": {
				"operationId": "create-billing-checkout",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateBillingCheckoutInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/BillingURLResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Create billing checkout",
				"tags": ["Billing"]
			}
		},
		"/billing/checkout/{attempt_id}": {
			"get": {
				"description": "Returns the browser-safe checkout configuration only when the attempt belongs to the signed-in user.",
				"operationId": "resume-billing-checkout",
				"parameters": [
					{
						"description": "Opaque OpenPost checkout attempt ID",
						"in": "path",
						"name": "attempt_id",
						"required": true,
						"schema": {
							"description": "Opaque OpenPost checkout attempt ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/BillingURLResponse"
								}
							}
						},
						"description": "OK"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Resume a billing checkout",
				"tags": ["Billing"]
			}
		},
		"/billing/checkout/{attempt_id}/return": {
			"get": {
				"operationId": "consume-billing-checkout-return",
				"parameters": [
					{
						"description": "Opaque OpenPost checkout attempt ID",
						"in": "path",
						"name": "attempt_id",
						"required": true,
						"schema": {
							"description": "Opaque OpenPost checkout attempt ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ConsumeBillingCheckoutReturnOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Confirm and consume a billing checkout return",
				"tags": ["Billing"]
			}
		},
		"/billing/portal": {
			"post": {
				"operationId": "create-billing-portal-session",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateBillingPortalInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/BillingURLResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Create billing portal session",
				"tags": ["Billing"]
			}
		},
		"/billing/purchase-choice": {
			"post": {
				"description": "Returns canonical plan, price, trial, payment, and expiry facts in an integrity-protected continuation token.",
				"operationId": "create-purchase-choice",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreatePurchaseChoiceInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PurchaseChoiceResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Create or validate a hosted plan purchase choice",
				"tags": ["Billing"]
			}
		},
		"/billing/status": {
			"get": {
				"operationId": "get-billing-status",
				"parameters": [
					{
						"description": "Workspace ID",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"schema": {
							"description": "Workspace ID",
							"type": "string"
						}
					},
					{
						"description": "Organization ID",
						"explode": false,
						"in": "query",
						"name": "organization_id",
						"schema": {
							"description": "Organization ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/BillingStatusResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get billing status",
				"tags": ["Billing"]
			}
		},
		"/billing/welcome": {
			"post": {
				"description": "Creates the signed-in Owner's first Workspace and one checkout attempt bound to the confirmed purchase choice. Exact retries resume the same attempt.",
				"operationId": "confirm-first-workspace-purchase",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/ConfirmFirstWorkspacePurchaseInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ConfirmFirstWorkspacePurchaseOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Confirm the first workspace and purchase",
				"tags": ["Billing"]
			}
		},
		"/capabilities": {
			"get": {
				"operationId": "list-capabilities",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CapabilitiesOutputBody"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Cache-Control": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List provider publishing capabilities",
				"tags": ["Capabilities"]
			}
		},
		"/capabilities/resolve": {
			"post": {
				"operationId": "resolve-publishing-capabilities",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/ResolveCapabilitiesInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ResolveCapabilitiesOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"502": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Gateway"
					}
				},
				"summary": "Resolve publishing capabilities for connected accounts",
				"tags": ["Capabilities"]
			}
		},
		"/cli/auth/approve": {
			"post": {
				"operationId": "approve-cli-auth",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/ApproveCLIAuthInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CLIAuthDecisionOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Approve CLI device authorization",
				"tags": ["Auth"]
			}
		},
		"/cli/auth/deny": {
			"post": {
				"operationId": "deny-cli-auth",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/DenyCLIAuthInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CLIAuthDecisionOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Deny CLI device authorization",
				"tags": ["Auth"]
			}
		},
		"/cli/auth/poll": {
			"post": {
				"operationId": "poll-cli-auth",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/PollCLIAuthInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PollCLIAuthOutputBody"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Retry-After,omitempty": {
								"schema": {
									"format": "int64",
									"type": "integer"
								}
							}
						}
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Poll CLI device authorization",
				"tags": ["Auth"]
			}
		},
		"/cli/auth/session": {
			"get": {
				"operationId": "get-cli-auth-session",
				"parameters": [
					{
						"explode": false,
						"in": "query",
						"name": "user_code",
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/GetCLIAuthSessionOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get pending CLI authorization details",
				"tags": ["Auth"]
			}
		},
		"/cli/auth/start": {
			"post": {
				"operationId": "start-cli-auth",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/StartCLIAuthInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/StartCLIAuthOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Start CLI device authorization",
				"tags": ["Auth"]
			}
		},
		"/comments/{id}": {
			"delete": {
				"operationId": "delete-comment",
				"parameters": [
					{
						"description": "Opaque OpenPost comment ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Opaque OpenPost comment ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CommentActionOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"501": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Implemented"
					}
				},
				"summary": "Delete a provider comment",
				"tags": ["Publications"]
			}
		},
		"/comments/{id}/hide": {
			"post": {
				"operationId": "hide-comment",
				"parameters": [
					{
						"description": "Opaque OpenPost comment ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Opaque OpenPost comment ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CommentActionOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"501": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Implemented"
					}
				},
				"summary": "Hide a provider comment",
				"tags": ["Publications"]
			}
		},
		"/comments/{id}/reply": {
			"post": {
				"operationId": "reply-to-comment",
				"parameters": [
					{
						"description": "Opaque OpenPost comment ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Opaque OpenPost comment ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CommentReplyInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CommentActionOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"501": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Implemented"
					}
				},
				"summary": "Reply to a provider comment",
				"tags": ["Publications"]
			}
		},
		"/communications/refresh": {
			"post": {
				"operationId": "refresh-communications",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/RefreshCommunicationsInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/RefreshCommunicationsOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Queue engagement and message collection",
				"tags": ["Communications"]
			}
		},
		"/engagement": {
			"get": {
				"operationId": "list-engagement",
				"parameters": [
					{
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "platform",
						"schema": {
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "account_id",
						"schema": {
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "publication_id",
						"schema": {
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "unread_only",
						"schema": {
							"type": "boolean"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "archived",
						"schema": {
							"type": "boolean"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"default": 50,
							"format": "int64",
							"maximum": 100,
							"minimum": 1,
							"type": "integer"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "offset",
						"schema": {
							"default": 0,
							"format": "int64",
							"minimum": 0,
							"type": "integer"
						}
					},
					{
						"description": "Opaque cursor for stable older-page pagination",
						"explode": false,
						"in": "query",
						"name": "cursor",
						"schema": {
							"description": "Opaque cursor for stable older-page pagination",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/EngagementPage"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List stored replies and comments",
				"tags": ["Communications"]
			}
		},
		"/engagement/state": {
			"post": {
				"operationId": "set-engagement-state",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/SetEngagementStateInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"204": {
						"description": "No Content"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Mark engagement read or archived",
				"tags": ["Communications"]
			}
		},
		"/engagement/{item_id}/actions": {
			"post": {
				"operationId": "queue-engagement-action",
				"parameters": [
					{
						"in": "path",
						"name": "item_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/EngagementActionInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"204": {
						"description": "No Content"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Queue a reply or moderation action",
				"tags": ["Communications"]
			}
		},
		"/feedback": {
			"post": {
				"description": "Only the message and optional screenshot and diagnostics selected by the user are queued.",
				"operationId": "submit-feedback",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/SubmitFeedbackInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/SubmitFeedbackOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"413": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Request Entity Too Large"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Queue a user-approved feedback report",
				"tags": ["Feedback"]
			}
		},
		"/feedback/config": {
			"get": {
				"operationId": "get-feedback-config",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PublicConfig"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Get feedback privacy and destination settings",
				"tags": ["Feedback"]
			}
		},
		"/health": {
			"get": {
				"operationId": "health-check",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Health-checkResponse"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Health check",
				"tags": ["System"]
			}
		},
		"/image-editor/brand-kit": {
			"get": {
				"operationId": "get-image-editor-brand-kit",
				"parameters": [
					{
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ImageEditorBrandKitResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get the workspace OpenPost Image Editor brand kit",
				"tags": ["OpenPost Image Editor"]
			},
			"put": {
				"operationId": "update-image-editor-brand-kit",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/UpdateImageEditorBrandKitInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ImageEditorBrandKitResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Create or update the workspace OpenPost Image Editor brand kit",
				"tags": ["OpenPost Image Editor"]
			}
		},
		"/image-editor/designs": {
			"get": {
				"operationId": "list-image-editor-designs",
				"parameters": [
					{
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "search",
						"schema": {
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"format": "int64",
							"maximum": 100,
							"minimum": 1,
							"type": "integer"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "offset",
						"schema": {
							"format": "int64",
							"minimum": 0,
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ListImageEditorDesignsOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "List OpenPost Image Editor designs",
				"tags": ["OpenPost Image Editor"]
			},
			"post": {
				"operationId": "create-image-editor-design",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateImageEditorDesignInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"201": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ImageEditorDocumentResponse"
								}
							}
						},
						"description": "Created"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Create an OpenPost Image Editor design",
				"tags": ["OpenPost Image Editor"]
			}
		},
		"/image-editor/designs/{id}": {
			"delete": {
				"operationId": "delete-image-editor-design",
				"parameters": [
					{
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/DeleteImageEditorDesignOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Move an OpenPost Image Editor design to trash",
				"tags": ["OpenPost Image Editor"]
			},
			"get": {
				"operationId": "get-image-editor-design",
				"parameters": [
					{
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ImageEditorDocumentResponse"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get an OpenPost Image Editor design",
				"tags": ["OpenPost Image Editor"]
			},
			"patch": {
				"operationId": "update-image-editor-design",
				"parameters": [
					{
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/UpdateImageEditorDesignInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ImageEditorDocumentResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Save an OpenPost Image Editor design with optimistic concurrency",
				"tags": ["OpenPost Image Editor"]
			}
		},
		"/image-editor/designs/{id}/duplicate": {
			"post": {
				"operationId": "duplicate-image-editor-design",
				"parameters": [
					{
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ImageEditorDocumentResponse"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Duplicate an OpenPost Image Editor design",
				"tags": ["OpenPost Image Editor"]
			}
		},
		"/image-editor/designs/{id}/favorite": {
			"patch": {
				"operationId": "toggle-image-editor-design-favorite",
				"parameters": [
					{
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ToggleImageEditorDesignFavoriteOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Toggle an OpenPost Image Editor design favorite",
				"tags": ["OpenPost Image Editor"]
			}
		},
		"/image-editor/designs/{id}/revisions": {
			"get": {
				"operationId": "list-image-editor-design-revisions",
				"parameters": [
					{
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "cursor",
						"schema": {
							"maxLength": 1024,
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"format": "int64",
							"maximum": 100,
							"minimum": 1,
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ListImageEditorRevisionsOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "List OpenPost Image Editor design recovery revisions and checkpoints",
				"tags": ["OpenPost Image Editor"]
			},
			"post": {
				"operationId": "create-image-editor-design-checkpoint",
				"parameters": [
					{
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateImageEditorCheckpointInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ImageEditorRevisionSummary"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Create a named OpenPost Image Editor design checkpoint",
				"tags": ["OpenPost Image Editor"]
			}
		},
		"/image-editor/designs/{id}/revisions/{revision_id}": {
			"get": {
				"operationId": "get-image-editor-design-revision",
				"parameters": [
					{
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "path",
						"name": "revision_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ImageEditorRevisionResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Inspect an OpenPost Image Editor design revision",
				"tags": ["OpenPost Image Editor"]
			}
		},
		"/image-editor/designs/{id}/revisions/{revision_id}/restore": {
			"post": {
				"operationId": "restore-image-editor-design-revision",
				"parameters": [
					{
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "path",
						"name": "revision_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/RestoreImageEditorRevisionInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ImageEditorDocumentResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Restore an OpenPost Image Editor design revision as a new head",
				"tags": ["OpenPost Image Editor"]
			}
		},
		"/image-editor/presets": {
			"get": {
				"operationId": "list-image-editor-presets",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ImageEditorPresetOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List OpenPost Image Editor presets and runtime configuration",
				"tags": ["OpenPost Image Editor"]
			}
		},
		"/image-editor/public-templates": {
			"get": {
				"operationId": "list-public-image-editor-templates",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ListPublicImageEditorTemplatesOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List built-in OpenPost Image Editor templates available without a workspace",
				"tags": ["OpenPost Image Editor"]
			}
		},
		"/image-editor/return-tokens": {
			"post": {
				"operationId": "create-image-editor-return-token",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateImageEditorReturnTokenInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"201": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CreateImageEditorReturnTokenOutputBody"
								}
							}
						},
						"description": "Created"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Create a one-time OpenPost Image Editor composer return token",
				"tags": ["OpenPost Image Editor"]
			}
		},
		"/image-editor/return-tokens/{token}/complete": {
			"post": {
				"operationId": "complete-image-editor-return-token",
				"parameters": [
					{
						"in": "path",
						"name": "token",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CompleteImageEditorReturnTokenInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CompleteImageEditorReturnTokenOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Store ordered OpenPost Image Editor exports for a composer return",
				"tags": ["OpenPost Image Editor"]
			}
		},
		"/image-editor/return-tokens/{token}/consume": {
			"post": {
				"operationId": "consume-image-editor-return-token",
				"parameters": [
					{
						"in": "path",
						"name": "token",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ConsumeImageEditorReturnTokenOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Consume a completed OpenPost Image Editor composer return token",
				"tags": ["OpenPost Image Editor"]
			}
		},
		"/image-editor/templates": {
			"get": {
				"operationId": "list-image-editor-templates",
				"parameters": [
					{
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ListImageEditorTemplatesOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "List built-in and workspace OpenPost Image Editor templates",
				"tags": ["OpenPost Image Editor"]
			},
			"post": {
				"operationId": "create-image-editor-template",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateImageEditorTemplateInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"201": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ImageEditorTemplateResponse"
								}
							}
						},
						"description": "Created"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Save an OpenPost Image Editor design as a workspace template",
				"tags": ["OpenPost Image Editor"]
			}
		},
		"/image-editor/templates/{id}": {
			"delete": {
				"operationId": "delete-image-editor-template",
				"parameters": [
					{
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/DeleteImageEditorTemplateOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Delete a workspace OpenPost Image Editor template",
				"tags": ["OpenPost Image Editor"]
			},
			"patch": {
				"operationId": "update-image-editor-template",
				"parameters": [
					{
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/UpdateImageEditorTemplateInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ImageEditorTemplateResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Replace a workspace OpenPost Image Editor template snapshot",
				"tags": ["OpenPost Image Editor"]
			}
		},
		"/image-editor/templates/{id}/instantiate": {
			"post": {
				"operationId": "instantiate-image-editor-template",
				"parameters": [
					{
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/InstantiateImageEditorTemplateInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ImageEditorDocumentResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Create an OpenPost Image Editor design from a template",
				"tags": ["OpenPost Image Editor"]
			}
		},
		"/jobs": {
			"get": {
				"operationId": "list-jobs",
				"parameters": [
					{
						"description": "Number of jobs to return (default 50, max 200)",
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"description": "Number of jobs to return (default 50, max 200)",
							"format": "int64",
							"type": "integer"
						}
					},
					{
						"description": "Offset for pagination",
						"explode": false,
						"in": "query",
						"name": "offset",
						"schema": {
							"description": "Offset for pagination",
							"format": "int64",
							"type": "integer"
						}
					},
					{
						"description": "Opaque cursor for stable newest-first pagination",
						"explode": false,
						"in": "query",
						"name": "cursor",
						"schema": {
							"description": "Opaque cursor for stable newest-first pagination",
							"type": "string"
						}
					},
					{
						"description": "Filter by status (pending, processing, completed, failed)",
						"explode": false,
						"in": "query",
						"name": "status",
						"schema": {
							"description": "Filter by status (pending, processing, completed, failed)",
							"type": "string"
						}
					},
					{
						"description": "Filter by workspace ID",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"schema": {
							"description": "Filter by workspace ID",
							"type": "string"
						}
					},
					{
						"description": "Include jobs scheduled at or after this RFC3339 timestamp",
						"explode": false,
						"in": "query",
						"name": "run_from",
						"schema": {
							"description": "Include jobs scheduled at or after this RFC3339 timestamp",
							"type": "string"
						}
					},
					{
						"description": "Include jobs scheduled before this RFC3339 timestamp",
						"explode": false,
						"in": "query",
						"name": "run_before",
						"schema": {
							"description": "Include jobs scheduled before this RFC3339 timestamp",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/JobResponse"
									},
									"type": ["array", "null"]
								}
							}
						},
						"description": "OK",
						"headers": {
							"X-Has-More": {
								"schema": {
									"description": "Whether another page is available",
									"type": "boolean"
								}
							},
							"X-Limit": {
								"schema": {
									"description": "Applied page limit",
									"format": "int64",
									"type": "integer"
								}
							},
							"X-Next-Cursor": {
								"schema": {
									"description": "Opaque cursor for the next page",
									"type": "string"
								}
							},
							"X-Next-Offset": {
								"schema": {
									"description": "Offset for the next page",
									"format": "int64",
									"type": "integer"
								}
							},
							"X-Offset": {
								"schema": {
									"description": "Applied page offset",
									"format": "int64",
									"type": "integer"
								}
							},
							"X-Total-Count": {
								"schema": {
									"description": "Total number of matching jobs",
									"format": "int64",
									"type": "integer"
								}
							}
						}
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List recent background jobs",
				"tags": ["Jobs"]
			}
		},
		"/mcp/activity": {
			"get": {
				"operationId": "list-mcp-activity",
				"parameters": [
					{
						"description": "Optional workspace ID to filter activity",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"schema": {
							"description": "Optional workspace ID to filter activity",
							"type": "string"
						}
					},
					{
						"description": "Maximum number of recent calls to return. Defaults to 20 and caps at 100.",
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"description": "Maximum number of recent calls to return. Defaults to 20 and caps at 100.",
							"format": "int64",
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/MCPActivityItem"
									},
									"type": ["array", "null"]
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "List recent MCP tool calls",
				"tags": ["MCP"]
			}
		},
		"/mcp/oauth/authorize": {
			"post": {
				"operationId": "create-mcp-oauth-authorization",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateMCPOAuthAuthorizationInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CreateMCPOAuthAuthorizationOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Create or deny an MCP OAuth authorization response",
				"tags": ["Auth"]
			}
		},
		"/media": {
			"get": {
				"operationId": "list-media",
				"parameters": [
					{
						"description": "Filter by workspace ID",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"required": true,
						"schema": {
							"description": "Filter by workspace ID",
							"type": "string"
						}
					},
					{
						"description": "Filter: all, used, unused, favorites",
						"explode": false,
						"in": "query",
						"name": "filter",
						"schema": {
							"description": "Filter: all, used, unused, favorites",
							"type": "string"
						}
					},
					{
						"description": "Sort: newest, oldest, name, size, recently_used",
						"explode": false,
						"in": "query",
						"name": "sort",
						"schema": {
							"description": "Sort: newest, oldest, name, size, recently_used",
							"type": "string"
						}
					},
					{
						"description": "Search filename, alt text, and tag",
						"explode": false,
						"in": "query",
						"name": "search",
						"schema": {
							"description": "Search filename, alt text, and tag",
							"type": "string"
						}
					},
					{
						"description": "Filter by dominant media type",
						"explode": false,
						"in": "query",
						"name": "type",
						"schema": {
							"description": "Filter by dominant media type",
							"type": "string"
						}
					},
					{
						"description": "Filter by media provenance",
						"explode": false,
						"in": "query",
						"name": "source",
						"schema": {
							"description": "Filter by media provenance",
							"type": "string"
						}
					},
					{
						"description": "Filter by asset role; defaults to library",
						"explode": false,
						"in": "query",
						"name": "asset_kind",
						"schema": {
							"description": "Filter by asset role; defaults to library",
							"type": "string"
						}
					},
					{
						"description": "Lifecycle view; defaults to library",
						"explode": false,
						"in": "query",
						"name": "lifecycle",
						"schema": {
							"description": "Lifecycle view; defaults to library",
							"enum": ["library", "temporary", "trash", "all"],
							"type": "string"
						}
					},
					{
						"description": "Filter: square, portrait, landscape",
						"explode": false,
						"in": "query",
						"name": "aspect",
						"schema": {
							"description": "Filter: square, portrait, landscape",
							"type": "string"
						}
					},
					{
						"description": "Filter by one tag ID",
						"explode": false,
						"in": "query",
						"name": "tag_id",
						"schema": {
							"description": "Filter by one tag ID",
							"type": "string"
						}
					},
					{
						"description": "Comma-separated tag IDs; media must have every selected tag",
						"explode": false,
						"in": "query",
						"name": "tag_ids",
						"schema": {
							"description": "Comma-separated tag IDs; media must have every selected tag",
							"type": "string"
						}
					},
					{
						"description": "Only media that has no tags",
						"explode": false,
						"in": "query",
						"name": "untagged",
						"schema": {
							"description": "Only media that has no tags",
							"type": "boolean"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "min_width",
						"schema": {
							"format": "int64",
							"minimum": 0,
							"type": "integer"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "min_height",
						"schema": {
							"format": "int64",
							"minimum": 0,
							"type": "integer"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "max_width",
						"schema": {
							"format": "int64",
							"minimum": 0,
							"type": "integer"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "max_height",
						"schema": {
							"format": "int64",
							"minimum": 0,
							"type": "integer"
						}
					},
					{
						"description": "Created on or after this YYYY-MM-DD date",
						"explode": false,
						"in": "query",
						"name": "date_from",
						"schema": {
							"description": "Created on or after this YYYY-MM-DD date",
							"type": "string"
						}
					},
					{
						"description": "Created on or before this YYYY-MM-DD date",
						"explode": false,
						"in": "query",
						"name": "date_to",
						"schema": {
							"description": "Created on or before this YYYY-MM-DD date",
							"type": "string"
						}
					},
					{
						"description": "Limit (default 50, max 200)",
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"description": "Limit (default 50, max 200)",
							"format": "int64",
							"type": "integer"
						}
					},
					{
						"description": "Offset for pagination",
						"explode": false,
						"in": "query",
						"name": "offset",
						"schema": {
							"description": "Offset for pagination",
							"format": "int64",
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ListMediaOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "List media attachments for a workspace",
				"tags": ["Media"]
			}
		},
		"/media/batch-delete": {
			"post": {
				"operationId": "batch-delete-media",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/BatchDeleteMediaInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/BatchDeleteMediaOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Move multiple media attachments to Trash",
				"tags": ["Media"]
			}
		},
		"/media/storage": {
			"get": {
				"operationId": "get-media-storage",
				"parameters": [
					{
						"description": "Workspace ID",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"required": true,
						"schema": {
							"description": "Workspace ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/GetMediaStorageOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get workspace media storage usage",
				"tags": ["Media"]
			}
		},
		"/media/tags": {
			"get": {
				"operationId": "list-media-tags",
				"parameters": [
					{
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ListMediaTagsOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List media tags",
				"tags": ["Media"]
			},
			"post": {
				"operationId": "create-media-tag",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateMediaTagInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/MediaTagResponse"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Create a media tag",
				"tags": ["Media"]
			}
		},
		"/media/tags/{id}": {
			"delete": {
				"operationId": "delete-media-tag",
				"parameters": [
					{
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/DeleteMediaTagOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Delete a media tag without deleting media",
				"tags": ["Media"]
			},
			"patch": {
				"operationId": "update-media-tag",
				"parameters": [
					{
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/UpdateMediaTagInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/MediaTagResponse"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Rename a media tag",
				"tags": ["Media"]
			}
		},
		"/media/tags/{id}/items": {
			"put": {
				"operationId": "replace-media-tag-items",
				"parameters": [
					{
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/ReplaceMediaTagItemsInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ReplaceMediaTagItemsOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Replace a media tag's assignments",
				"tags": ["Media"]
			}
		},
		"/media/upload-session": {
			"post": {
				"operationId": "create-media-upload-session",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateMediaUploadSessionInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CreateMediaUploadSessionOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Create a streaming media upload session",
				"tags": ["Media"]
			}
		},
		"/media/upload-session/{id}/complete": {
			"post": {
				"operationId": "complete-media-upload-session",
				"parameters": [
					{
						"description": "Pending media ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Pending media ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CompleteMediaUploadSessionInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/MediaUploadResult"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Complete a streaming media upload session",
				"tags": ["Media"]
			}
		},
		"/media/{id}": {
			"delete": {
				"operationId": "delete-media",
				"parameters": [
					{
						"description": "Media ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Media ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/DeleteMediaOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Move a media attachment to Trash when active work does not use it",
				"tags": ["Media"]
			},
			"patch": {
				"operationId": "update-media",
				"parameters": [
					{
						"description": "Media ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Media ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/UpdateMediaInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/UpdateMediaOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Update media metadata",
				"tags": ["Media"]
			}
		},
		"/media/{id}/alt-text/generate": {
			"post": {
				"description": "Generates alternative text from the stored 400-pixel JPEG thumbnail and optional post text used as untrusted context, then saves it only when the media still has no alternative text.",
				"operationId": "generate-media-alt-text",
				"parameters": [
					{
						"description": "Media ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Media ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/GenerateMediaAltTextInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/GenerateMediaAltTextOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"502": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Gateway"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Generate alternative text for an image",
				"tags": ["Media"]
			}
		},
		"/media/{id}/analysis/retry": {
			"post": {
				"operationId": "retry-media-analysis",
				"parameters": [
					{
						"description": "Media ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Media ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/RetryMediaAnalysisOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Retry authoritative analysis for a video",
				"tags": ["Media"]
			}
		},
		"/media/{id}/favorite": {
			"patch": {
				"operationId": "update-media-favorite",
				"parameters": [
					{
						"description": "Media ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Media ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/UpdateMediaFavoriteOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Toggle favorite status of a media attachment",
				"tags": ["Media"]
			}
		},
		"/media/{id}/restore": {
			"post": {
				"operationId": "restore-media",
				"parameters": [
					{
						"description": "Media ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Media ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/RestoreMediaOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Restore a media attachment from Trash",
				"tags": ["Media"]
			}
		},
		"/media/{id}/usage": {
			"get": {
				"operationId": "get-media-usage",
				"parameters": [
					{
						"description": "Media ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Media ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/GetMediaUsageOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get posts that use a media attachment",
				"tags": ["Media"]
			}
		},
		"/memes/preview": {
			"post": {
				"operationId": "preview-meme",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/PreviewMemeInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PreviewMemeOutputBody"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Cache-Control": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"413": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Request Entity Too Large"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"502": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Gateway"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Render a meme preview without saving it",
				"tags": ["Media"]
			}
		},
		"/memes/recipes/{media_id}": {
			"get": {
				"operationId": "get-meme-recipe",
				"parameters": [
					{
						"description": "Generated media ID",
						"in": "path",
						"name": "media_id",
						"required": true,
						"schema": {
							"description": "Generated media ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/MemeRecipeResponse"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Cache-Control": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get the immutable recipe for a generated meme",
				"tags": ["Media"]
			}
		},
		"/memes/render": {
			"post": {
				"operationId": "render-meme",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/RenderMemeInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/RenderMemeOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"413": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Request Entity Too Large"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"502": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Gateway"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Render and save a meme",
				"tags": ["Media"]
			}
		},
		"/memes/suggestions": {
			"post": {
				"operationId": "generate-meme-suggestions",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/GenerateMemeSuggestionsInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/GenerateMemeSuggestionsOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"413": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Request Entity Too Large"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"502": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Gateway"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Generate meme template and caption suggestions",
				"tags": ["Media"]
			}
		},
		"/memes/templates": {
			"get": {
				"operationId": "list-meme-templates",
				"parameters": [
					{
						"description": "Workspace ID",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"required": true,
						"schema": {
							"description": "Workspace ID",
							"type": "string"
						}
					},
					{
						"description": "Template name, keyword, or example text",
						"explode": false,
						"in": "query",
						"name": "q",
						"schema": {
							"description": "Template name, keyword, or example text",
							"maxLength": 120,
							"type": "string"
						}
					},
					{
						"description": "Maximum templates to return",
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"default": 40,
							"description": "Maximum templates to return",
							"format": "int64",
							"maximum": 250,
							"minimum": 1,
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ListMemeTemplatesOutputBody"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Cache-Control": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"502": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Gateway"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "List and search meme templates",
				"tags": ["Media"]
			}
		},
		"/memes/templates/{template_id}/thumbnail": {
			"get": {
				"description": "Returns a bounded OpenPost-proxied image so private Memegen hosts and server-only provider credentials are never exposed to the browser.",
				"operationId": "get-meme-template-thumbnail",
				"parameters": [
					{
						"description": "Memegen template ID",
						"in": "path",
						"name": "template_id",
						"required": true,
						"schema": {
							"description": "Memegen template ID",
							"type": "string"
						}
					},
					{
						"description": "Workspace ID",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"required": true,
						"schema": {
							"description": "Workspace ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/GetMemeTemplateThumbnailOutputBody"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Cache-Control": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"502": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Gateway"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Load a proxied meme template thumbnail",
				"tags": ["Media"]
			}
		},
		"/messages": {
			"get": {
				"operationId": "list-conversations",
				"parameters": [
					{
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "platform",
						"schema": {
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "account_id",
						"schema": {
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "archived",
						"schema": {
							"type": "boolean"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"default": 50,
							"format": "int64",
							"maximum": 100,
							"minimum": 1,
							"type": "integer"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "offset",
						"schema": {
							"default": 0,
							"format": "int64",
							"minimum": 0,
							"type": "integer"
						}
					},
					{
						"description": "Opaque cursor for stable older-page pagination",
						"explode": false,
						"in": "query",
						"name": "cursor",
						"schema": {
							"description": "Opaque cursor for stable older-page pagination",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ConversationPage"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List stored social conversations",
				"tags": ["Communications"]
			}
		},
		"/messages/{conversation_id}": {
			"get": {
				"operationId": "list-conversation-messages",
				"parameters": [
					{
						"in": "path",
						"name": "conversation_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"default": 100,
							"format": "int64",
							"maximum": 200,
							"minimum": 1,
							"type": "integer"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "offset",
						"schema": {
							"default": 0,
							"format": "int64",
							"minimum": 0,
							"type": "integer"
						}
					},
					{
						"description": "Opaque cursor for stable older-page pagination",
						"explode": false,
						"in": "query",
						"name": "cursor",
						"schema": {
							"description": "Opaque cursor for stable older-page pagination",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/MessagePage"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List messages in a stored conversation",
				"tags": ["Communications"]
			}
		},
		"/messages/{conversation_id}/send": {
			"post": {
				"operationId": "send-conversation-message",
				"parameters": [
					{
						"in": "path",
						"name": "conversation_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/SendMessageInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/DirectMessage"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Queue a social direct message",
				"tags": ["Communications"]
			}
		},
		"/messages/{conversation_id}/state": {
			"post": {
				"operationId": "set-conversation-state",
				"parameters": [
					{
						"in": "path",
						"name": "conversation_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/SetConversationStateInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"204": {
						"description": "No Content"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Mark a conversation read or archived",
				"tags": ["Communications"]
			}
		},
		"/notifications": {
			"get": {
				"operationId": "list-notifications",
				"parameters": [
					{
						"description": "Workspace whose inbox should be listed",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"required": true,
						"schema": {
							"description": "Workspace whose inbox should be listed",
							"type": "string"
						}
					},
					{
						"description": "Opaque pagination cursor",
						"explode": false,
						"in": "query",
						"name": "cursor",
						"schema": {
							"description": "Opaque pagination cursor",
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"default": 30,
							"format": "int64",
							"maximum": 100,
							"minimum": 1,
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/NotificationPage"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "List the current user's stored notifications",
				"tags": ["Notifications"]
			}
		},
		"/notifications/delete": {
			"post": {
				"operationId": "delete-notifications",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/ChangeNotificationsInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"204": {
						"description": "No Content"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Delete notifications from a workspace inbox",
				"tags": ["Notifications"]
			}
		},
		"/notifications/mutes": {
			"post": {
				"description": "Creates or replaces the current account-wide or Workspace-specific Mute. In-app notifications remain immediate and Transactional email always bypasses Mutes.",
				"operationId": "create-notification-mute",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/MuteCreate"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PreferenceSettings"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Pause optional notification email temporarily",
				"tags": ["Notifications"]
			}
		},
		"/notifications/mutes/{id}": {
			"delete": {
				"description": "Ends an existing Mute. Repeating the request for that Mute is safe and returns the current authoritative preferences.",
				"operationId": "end-notification-mute",
				"parameters": [
					{
						"description": "Mute ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Mute ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PreferenceSettings"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "End a notification Mute now",
				"tags": ["Notifications"]
			}
		},
		"/notifications/preferences": {
			"get": {
				"operationId": "get-notification-preferences",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PreferenceSettings"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get notification delivery preferences",
				"tags": ["Notifications"]
			},
			"put": {
				"operationId": "update-notification-preferences",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/PreferenceUpdate"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PreferenceSettings"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Update notification delivery preferences",
				"tags": ["Notifications"]
			}
		},
		"/notifications/read": {
			"post": {
				"operationId": "mark-notifications-read",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/ChangeNotificationsInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"204": {
						"description": "No Content"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Mark notifications in a workspace inbox read",
				"tags": ["Notifications"]
			}
		},
		"/organization-ownership-transfers/accept": {
			"post": {
				"operationId": "accept-organization-ownership-transfer",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CompleteOwnershipTransferInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/OwnershipTransferResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Accept an Organization ownership nomination",
				"tags": ["Workspaces"]
			}
		},
		"/organization-ownership-transfers/decline": {
			"post": {
				"operationId": "decline-organization-ownership-transfer",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CompleteOwnershipTransferInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/OwnershipTransferResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Decline an Organization ownership nomination",
				"tags": ["Workspaces"]
			}
		},
		"/organization-ownership-transfers/resolve": {
			"get": {
				"operationId": "resolve-organization-ownership-transfer",
				"parameters": [
					{
						"description": "Ownership transfer ID",
						"explode": false,
						"in": "query",
						"name": "id",
						"schema": {
							"description": "Ownership transfer ID",
							"minLength": 1,
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/OwnershipTransferResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Review an Organization ownership nomination",
				"tags": ["Workspaces"]
			}
		},
		"/organizations": {
			"get": {
				"operationId": "list-organizations",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/OrganizationResponse"
									},
									"type": ["array", "null"]
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "List organizations for the current user",
				"tags": ["Workspaces"]
			}
		},
		"/organizations/{id}": {
			"delete": {
				"description": "Atomically deletes the complete Organization boundary after current-Owner authorization, exact canonical-name confirmation, recent authentication, and a final blocker check. Required content-free billing and audit evidence remains.",
				"operationId": "delete-organization",
				"parameters": [
					{
						"description": "Organization ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Organization ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/OrganizationDeletionInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/OrganizationDeletionOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Permanently delete an Organization and all of its Workspaces",
				"tags": ["Organizations"]
			}
		},
		"/organizations/{id}/audit-events": {
			"get": {
				"description": "Projects consequential Organization and Workspace evidence without exposing Workspace content, secrets, credentials, invitation links, or provider payloads. Requires the Organization Owner.",
				"operationId": "list-organization-audit-events",
				"parameters": [
					{
						"description": "Organization ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Organization ID",
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one Workspace",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"schema": {
							"description": "Restrict evidence to one Workspace",
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one opaque actor user ID",
						"explode": false,
						"in": "query",
						"name": "actor_user_id",
						"schema": {
							"description": "Restrict evidence to one opaque actor user ID",
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one exact domain action",
						"explode": false,
						"in": "query",
						"name": "action",
						"schema": {
							"description": "Restrict evidence to one exact domain action",
							"maxLength": 100,
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one resource type",
						"explode": false,
						"in": "query",
						"name": "resource_type",
						"schema": {
							"description": "Restrict evidence to one resource type",
							"enum": [
								"provider",
								"policy",
								"domain",
								"session",
								"identity",
								"reauthentication",
								"identity_configuration",
								"organization",
								"workspace",
								"workspace_member",
								"workspace_invitation",
								"organization_ownership_transfer",
								"impersonation",
								"billing",
								"mcp_tool_call",
								"publication",
								"publication_authorization",
								"provider_write"
							],
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one result",
						"explode": false,
						"in": "query",
						"name": "result",
						"schema": {
							"description": "Restrict evidence to one result",
							"enum": ["succeeded", "failed", "pending"],
							"type": "string"
						}
					},
					{
						"description": "Inclusive RFC 3339 start time",
						"explode": false,
						"in": "query",
						"name": "from",
						"schema": {
							"description": "Inclusive RFC 3339 start time",
							"type": "string"
						}
					},
					{
						"description": "Exclusive RFC 3339 end time",
						"explode": false,
						"in": "query",
						"name": "before",
						"schema": {
							"description": "Exclusive RFC 3339 end time",
							"type": "string"
						}
					},
					{
						"description": "Opaque cursor for stable older-page pagination",
						"explode": false,
						"in": "query",
						"name": "cursor",
						"schema": {
							"description": "Opaque cursor for stable older-page pagination",
							"type": "string"
						}
					},
					{
						"description": "Maximum events to return",
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"default": 50,
							"description": "Maximum events to return",
							"format": "int64",
							"maximum": 200,
							"minimum": 1,
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/OrganizationAuditPage"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "List permission-safe Organization audit evidence",
				"tags": ["Workspaces"]
			}
		},
		"/organizations/{id}/audit-events/export.csv": {
			"get": {
				"operationId": "export-organization-audit-events-csv",
				"parameters": [
					{
						"description": "Organization ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Organization ID",
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one Workspace",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"schema": {
							"description": "Restrict evidence to one Workspace",
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one opaque actor user ID",
						"explode": false,
						"in": "query",
						"name": "actor_user_id",
						"schema": {
							"description": "Restrict evidence to one opaque actor user ID",
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one exact domain action",
						"explode": false,
						"in": "query",
						"name": "action",
						"schema": {
							"description": "Restrict evidence to one exact domain action",
							"maxLength": 100,
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one resource type",
						"explode": false,
						"in": "query",
						"name": "resource_type",
						"schema": {
							"description": "Restrict evidence to one resource type",
							"enum": [
								"provider",
								"policy",
								"domain",
								"session",
								"identity",
								"reauthentication",
								"identity_configuration",
								"organization",
								"workspace",
								"workspace_member",
								"workspace_invitation",
								"organization_ownership_transfer",
								"impersonation",
								"billing",
								"mcp_tool_call",
								"publication",
								"publication_authorization",
								"provider_write"
							],
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one result",
						"explode": false,
						"in": "query",
						"name": "result",
						"schema": {
							"description": "Restrict evidence to one result",
							"enum": ["succeeded", "failed", "pending"],
							"type": "string"
						}
					},
					{
						"description": "Inclusive RFC 3339 start time",
						"explode": false,
						"in": "query",
						"name": "from",
						"schema": {
							"description": "Inclusive RFC 3339 start time",
							"type": "string"
						}
					},
					{
						"description": "Exclusive RFC 3339 end time",
						"explode": false,
						"in": "query",
						"name": "before",
						"schema": {
							"description": "Exclusive RFC 3339 end time",
							"type": "string"
						}
					},
					{
						"description": "Opaque cursor for stable older-page pagination",
						"explode": false,
						"in": "query",
						"name": "cursor",
						"schema": {
							"description": "Opaque cursor for stable older-page pagination",
							"type": "string"
						}
					},
					{
						"description": "Maximum events to return",
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"default": 50,
							"description": "Maximum events to return",
							"format": "int64",
							"maximum": 200,
							"minimum": 1,
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"text/csv": {
								"schema": {
									"contentMediaType": "application/octet-stream",
									"format": "binary",
									"type": "string"
								}
							}
						},
						"description": "CSV audit export",
						"headers": {
							"Content-Disposition": {
								"schema": {
									"type": "string"
								}
							},
							"Content-Type": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Export permission-safe Organization audit evidence as CSV",
				"tags": ["Workspaces"]
			}
		},
		"/organizations/{id}/audit-events/export.json": {
			"get": {
				"operationId": "export-organization-audit-events-json",
				"parameters": [
					{
						"description": "Organization ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Organization ID",
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one Workspace",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"schema": {
							"description": "Restrict evidence to one Workspace",
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one opaque actor user ID",
						"explode": false,
						"in": "query",
						"name": "actor_user_id",
						"schema": {
							"description": "Restrict evidence to one opaque actor user ID",
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one exact domain action",
						"explode": false,
						"in": "query",
						"name": "action",
						"schema": {
							"description": "Restrict evidence to one exact domain action",
							"maxLength": 100,
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one resource type",
						"explode": false,
						"in": "query",
						"name": "resource_type",
						"schema": {
							"description": "Restrict evidence to one resource type",
							"enum": [
								"provider",
								"policy",
								"domain",
								"session",
								"identity",
								"reauthentication",
								"identity_configuration",
								"organization",
								"workspace",
								"workspace_member",
								"workspace_invitation",
								"organization_ownership_transfer",
								"impersonation",
								"billing",
								"mcp_tool_call",
								"publication",
								"publication_authorization",
								"provider_write"
							],
							"type": "string"
						}
					},
					{
						"description": "Restrict evidence to one result",
						"explode": false,
						"in": "query",
						"name": "result",
						"schema": {
							"description": "Restrict evidence to one result",
							"enum": ["succeeded", "failed", "pending"],
							"type": "string"
						}
					},
					{
						"description": "Inclusive RFC 3339 start time",
						"explode": false,
						"in": "query",
						"name": "from",
						"schema": {
							"description": "Inclusive RFC 3339 start time",
							"type": "string"
						}
					},
					{
						"description": "Exclusive RFC 3339 end time",
						"explode": false,
						"in": "query",
						"name": "before",
						"schema": {
							"description": "Exclusive RFC 3339 end time",
							"type": "string"
						}
					},
					{
						"description": "Opaque cursor for stable older-page pagination",
						"explode": false,
						"in": "query",
						"name": "cursor",
						"schema": {
							"description": "Opaque cursor for stable older-page pagination",
							"type": "string"
						}
					},
					{
						"description": "Maximum events to return",
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"default": 50,
							"description": "Maximum events to return",
							"format": "int64",
							"maximum": 200,
							"minimum": 1,
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/OrganizationAuditJSONExport"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Content-Disposition": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Export permission-safe Organization audit evidence as JSON",
				"tags": ["Workspaces"]
			}
		},
		"/organizations/{id}/billing-checkout-attempts/pending": {
			"delete": {
				"description": "Cancels checkout attempts that have not produced a Paddle subscription so an Organization Owner can resolve a deletion blocker without waiting.",
				"operationId": "cancel-organization-checkout-attempts",
				"parameters": [
					{
						"description": "Organization ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Organization ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CancelOrganizationCheckoutAttemptsOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Cancel pending local Paddle checkout attempts",
				"tags": ["Organizations"]
			}
		},
		"/organizations/{id}/billing/checkout": {
			"post": {
				"operationId": "create-organization-billing-checkout",
				"parameters": [
					{
						"description": "Organization ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Organization ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateOrganizationBillingCheckoutInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/BillingURLResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Create organization billing checkout",
				"tags": ["Billing"]
			}
		},
		"/organizations/{id}/billing/portal": {
			"post": {
				"operationId": "create-organization-billing-portal-session",
				"parameters": [
					{
						"description": "Organization ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Organization ID",
							"type": "string"
						}
					},
					{
						"description": "Portal destination",
						"explode": false,
						"in": "query",
						"name": "purpose",
						"schema": {
							"default": "manage",
							"description": "Portal destination",
							"enum": [
								"manage",
								"update_payment_method",
								"cancel_subscription",
								"invoices",
								"billing_details"
							],
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/BillingURLResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Create organization billing portal session",
				"tags": ["Billing"]
			}
		},
		"/organizations/{id}/billing/status": {
			"get": {
				"operationId": "get-organization-billing-status",
				"parameters": [
					{
						"description": "Organization ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Organization ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/BillingStatusResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get organization billing status",
				"tags": ["Billing"]
			}
		},
		"/organizations/{id}/deletion-preview": {
			"get": {
				"description": "Lists every owned Workspace, the local Paddle state, pending external work, access effects, retained evidence, irreversible loss, and every current blocker. Only the current Organization Owner can inspect it.",
				"operationId": "get-organization-deletion-preview",
				"parameters": [
					{
						"description": "Organization ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Organization ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/OrganizationDeletionPreview"
								}
							}
						},
						"description": "OK"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Preview permanent Organization deletion",
				"tags": ["Organizations"]
			}
		},
		"/organizations/{id}/ownership-transfer": {
			"delete": {
				"operationId": "revoke-organization-ownership-transfer",
				"parameters": [
					{
						"description": "Organization ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Organization ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Revoke-organization-ownership-transferResponse"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Revoke a pending Organization ownership transfer",
				"tags": ["Workspaces"]
			},
			"get": {
				"operationId": "get-organization-ownership-transfer",
				"parameters": [
					{
						"description": "Organization ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Organization ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/OwnershipTransferResponse"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get the pending Organization ownership transfer",
				"tags": ["Workspaces"]
			},
			"post": {
				"description": "Requires the current Owner, an unscoped browser session, exact Organization-name confirmation, and recent reauthentication. Authority changes only after acceptance.",
				"operationId": "initiate-organization-ownership-transfer",
				"parameters": [
					{
						"description": "Organization ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Organization ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/InitiateOwnershipTransferInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/OwnershipTransferResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Nominate a successor Organization Owner",
				"tags": ["Workspaces"]
			}
		},
		"/organizations/{id}/team": {
			"get": {
				"operationId": "list-organization-team",
				"parameters": [
					{
						"description": "Organization ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Organization ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/OrganizationTeamOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "List organization members",
				"tags": ["Workspaces"]
			}
		},
		"/organizations/{organization_id}/identity-audit-events": {
			"get": {
				"operationId": "list-organization-identity-audit-events",
				"parameters": [
					{
						"in": "path",
						"name": "organization_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"default": 50,
							"format": "int64",
							"maximum": 200,
							"minimum": 1,
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/IdentityAuditEvent"
									},
									"type": ["array", "null"]
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List organization identity audit events",
				"tags": ["Auth"]
			}
		},
		"/organizations/{organization_id}/identity-providers": {
			"get": {
				"operationId": "list-organization-oidc-providers",
				"parameters": [
					{
						"in": "path",
						"name": "organization_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/OIDCProviderAdminResponse"
									},
									"type": ["array", "null"]
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List organization identity providers",
				"tags": ["Auth"]
			},
			"post": {
				"operationId": "save-organization-oidc-provider",
				"parameters": [
					{
						"in": "path",
						"name": "organization_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/OIDCProviderAdminInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"201": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/OIDCProviderAdminResponse"
								}
							}
						},
						"description": "Created"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Create or update an organization identity provider",
				"tags": ["Auth"]
			}
		},
		"/organizations/{organization_id}/identity-providers/{provider_id}": {
			"patch": {
				"operationId": "set-organization-oidc-provider-active",
				"parameters": [
					{
						"in": "path",
						"name": "organization_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "path",
						"name": "provider_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/OIDCProviderActiveInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/OIDCProviderActiveOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Enable or disable an organization identity provider",
				"tags": ["Auth"]
			}
		},
		"/organizations/{organization_id}/sso-domains": {
			"get": {
				"operationId": "list-organization-sso-domains",
				"parameters": [
					{
						"in": "path",
						"name": "organization_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/IdentityProviderDomain"
									},
									"type": ["array", "null"]
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List organization SSO discovery domains",
				"tags": ["Auth"]
			},
			"post": {
				"operationId": "create-organization-sso-domain",
				"parameters": [
					{
						"in": "path",
						"name": "organization_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/OIDCDomainCreateInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"201": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/OIDCDomainCreateOutputBody"
								}
							}
						},
						"description": "Created"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Create an organization SSO discovery domain",
				"tags": ["Auth"]
			}
		},
		"/organizations/{organization_id}/sso-domains/{domain_id}/verify": {
			"post": {
				"operationId": "verify-organization-sso-domain",
				"parameters": [
					{
						"in": "path",
						"name": "organization_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "path",
						"name": "domain_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/OIDCDomainVerifyOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Verify an organization SSO discovery domain",
				"tags": ["Auth"]
			}
		},
		"/organizations/{organization_id}/sso-policy": {
			"get": {
				"operationId": "get-organization-sso-policy",
				"parameters": [
					{
						"in": "path",
						"name": "organization_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Policy"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Get an organization SSO policy",
				"tags": ["Auth"]
			},
			"put": {
				"operationId": "save-organization-sso-policy",
				"parameters": [
					{
						"in": "path",
						"name": "organization_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/OIDCPolicyInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Policy"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Save an organization SSO policy",
				"tags": ["Auth"]
			}
		},
		"/posting-schedules": {
			"get": {
				"operationId": "list-posting-schedules",
				"parameters": [
					{
						"description": "Filter by workspace ID",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"schema": {
							"description": "Filter by workspace ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/PostingScheduleResponse"
									},
									"type": ["array", "null"]
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "List posting schedules for a workspace",
				"tags": ["Posting Schedules"]
			},
			"post": {
				"operationId": "create-posting-schedule",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreatePostingScheduleInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PostingScheduleResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Create a new posting schedule slot",
				"tags": ["Posting Schedules"]
			}
		},
		"/posting-schedules/next-slot": {
			"get": {
				"operationId": "get-next-available-slot",
				"parameters": [
					{
						"description": "Workspace ID",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"schema": {
							"description": "Workspace ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/NextAvailableSlotOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get the next available posting time slot",
				"tags": ["Posting Schedules"]
			}
		},
		"/posting-schedules/suggest": {
			"post": {
				"operationId": "suggest-posting-schedule",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/SuggestScheduleInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/SuggestScheduleOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Generate a suggested posting schedule",
				"tags": ["Posting Schedules"]
			}
		},
		"/posting-schedules/{id}": {
			"delete": {
				"operationId": "delete-posting-schedule",
				"parameters": [
					{
						"description": "Schedule ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Schedule ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/DeletePostingScheduleOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Delete a posting schedule slot",
				"tags": ["Posting Schedules"]
			},
			"patch": {
				"operationId": "update-posting-schedule",
				"parameters": [
					{
						"description": "Schedule ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Schedule ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/UpdatePostingScheduleInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PostingScheduleResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Update a posting schedule slot",
				"tags": ["Posting Schedules"]
			}
		},
		"/posts": {
			"get": {
				"operationId": "list-posts",
				"parameters": [
					{
						"description": "Filter by workspace ID",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"schema": {
							"description": "Filter by workspace ID",
							"type": "string"
						}
					},
					{
						"description": "Filter by date (YYYY-MM-DD)",
						"explode": false,
						"in": "query",
						"name": "date",
						"schema": {
							"description": "Filter by date (YYYY-MM-DD)",
							"type": "string"
						}
					},
					{
						"description": "Filter by status (draft, scheduled, published, failed)",
						"explode": false,
						"in": "query",
						"name": "status",
						"schema": {
							"description": "Filter by status (draft, scheduled, published, failed)",
							"type": "string"
						}
					},
					{
						"description": "Limit number of results (default 50, max 200)",
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"description": "Limit number of results (default 50, max 200)",
							"format": "int64",
							"type": "integer"
						}
					},
					{
						"description": "Offset for pagination",
						"explode": false,
						"in": "query",
						"name": "offset",
						"schema": {
							"description": "Offset for pagination",
							"format": "int64",
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/PostResponse"
									},
									"type": ["array", "null"]
								}
							}
						},
						"description": "OK",
						"headers": {
							"X-Has-More": {
								"schema": {
									"description": "Whether another page is available",
									"type": "boolean"
								}
							},
							"X-Limit": {
								"schema": {
									"description": "Applied page limit",
									"format": "int64",
									"type": "integer"
								}
							},
							"X-Next-Offset": {
								"schema": {
									"description": "Offset for the next page",
									"format": "int64",
									"type": "integer"
								}
							},
							"X-Offset": {
								"schema": {
									"description": "Applied page offset",
									"format": "int64",
									"type": "integer"
								}
							},
							"X-Total-Count": {
								"schema": {
									"description": "Total number of matching posts",
									"format": "int64",
									"type": "integer"
								}
							}
						}
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List posts for a workspace",
				"tags": ["Posts"]
			},
			"post": {
				"operationId": "create-post",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreatePostInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PostResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"402": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Payment Required"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Create a new post",
				"tags": ["Posts"]
			}
		},
		"/posts/draft": {
			"post": {
				"operationId": "create-text-post-draft",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateTextPostDraftInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/SaveTextPostDraftOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Atomically create a text or thread draft",
				"tags": ["Posts"]
			}
		},
		"/posts/schedule-overview": {
			"get": {
				"description": "Compatibility path for a monthly summary sourced exclusively from canonical publications and renditions.",
				"operationId": "get-schedule-overview",
				"parameters": [
					{
						"description": "Filter by workspace ID",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"schema": {
							"description": "Filter by workspace ID",
							"type": "string"
						}
					},
					{
						"description": "Filter by platform",
						"explode": false,
						"in": "query",
						"name": "platform",
						"schema": {
							"description": "Filter by platform",
							"type": "string"
						}
					},
					{
						"description": "Month in YYYY-MM format (defaults to current month)",
						"explode": false,
						"in": "query",
						"name": "month",
						"schema": {
							"description": "Month in YYYY-MM format (defaults to current month)",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ScheduleOverviewOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get canonical publication schedule overview",
				"tags": ["Posts"]
			}
		},
		"/posts/thread": {
			"post": {
				"operationId": "create-thread",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateThreadInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CreateThreadOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"402": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Payment Required"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Create a thread of posts",
				"tags": ["Posts"]
			}
		},
		"/posts/{id}": {
			"delete": {
				"operationId": "delete-post",
				"parameters": [
					{
						"description": "Post ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Post ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/DeletePostOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Delete a post",
				"tags": ["Posts"]
			},
			"get": {
				"operationId": "get-post",
				"parameters": [
					{
						"description": "Post ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Post ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PostDetailResponse"
								}
							}
						},
						"description": "OK"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get a single post",
				"tags": ["Posts"]
			},
			"patch": {
				"operationId": "update-post",
				"parameters": [
					{
						"description": "Post ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Post ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/UpdatePostInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PostDetailResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Update a post",
				"tags": ["Posts"]
			}
		},
		"/posts/{id}/draft": {
			"put": {
				"operationId": "save-text-post-draft",
				"parameters": [
					{
						"description": "Text post draft ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Text post draft ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/SaveTextPostDraftInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/SaveTextPostDraftOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Atomically save a text or thread draft",
				"tags": ["Posts"]
			}
		},
		"/posts/{id}/variants": {
			"delete": {
				"operationId": "delete-post-variants",
				"parameters": [
					{
						"description": "Post ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Post ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/DeleteVariantsOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Delete all variants for a post (reset to unified content)",
				"tags": ["Posts"]
			},
			"get": {
				"operationId": "get-post-variants",
				"parameters": [
					{
						"description": "Post ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Post ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/GetVariantsOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get per-platform content variants for a post",
				"tags": ["Posts"]
			},
			"put": {
				"operationId": "upsert-post-variants",
				"parameters": [
					{
						"description": "Post ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Post ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/UpsertVariantsInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/UpsertVariantsOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Upsert per-platform content variants for a post",
				"tags": ["Posts"]
			}
		},
		"/prompts": {
			"get": {
				"operationId": "list-prompts",
				"parameters": [
					{
						"description": "Filter by workspace ID",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"schema": {
							"description": "Filter by workspace ID",
							"type": "string"
						}
					},
					{
						"description": "Filter by category",
						"explode": false,
						"in": "query",
						"name": "category",
						"schema": {
							"description": "Filter by category",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/PromptResponse"
									},
									"type": ["array", "null"]
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "List writing prompts",
				"tags": ["Prompts"]
			},
			"post": {
				"operationId": "create-prompt",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreatePromptInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PromptResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Create a custom writing prompt",
				"tags": ["Prompts"]
			}
		},
		"/prompts/categories": {
			"get": {
				"operationId": "get-prompt-categories",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/GetPromptCategoriesOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Get available prompt categories",
				"tags": ["Prompts"]
			}
		},
		"/prompts/random": {
			"get": {
				"operationId": "get-random-prompt",
				"parameters": [
					{
						"description": "Filter by workspace ID",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"schema": {
							"description": "Filter by workspace ID",
							"type": "string"
						}
					},
					{
						"description": "Filter by category",
						"explode": false,
						"in": "query",
						"name": "category",
						"schema": {
							"description": "Filter by category",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PromptResponse"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get a random writing prompt",
				"tags": ["Prompts"]
			}
		},
		"/prompts/{id}": {
			"delete": {
				"operationId": "delete-prompt",
				"parameters": [
					{
						"description": "Prompt ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Prompt ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/DeletePromptOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Delete a custom prompt",
				"tags": ["Prompts"]
			}
		},
		"/provider-readiness": {
			"get": {
				"operationId": "get-provider-readiness",
				"parameters": [
					{
						"description": "Workspace ID",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"required": true,
						"schema": {
							"description": "Workspace ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ProviderReadinessOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Inspect provider readiness for a workspace",
				"tags": ["Provider Readiness"]
			}
		},
		"/public/profiles/{username}": {
			"get": {
				"operationId": "get-public-profile",
				"parameters": [
					{
						"description": "Public profile username",
						"in": "path",
						"name": "username",
						"required": true,
						"schema": {
							"description": "Public profile username",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PublicProfileOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get an opt-in public publishing profile",
				"tags": ["Profiles"]
			}
		},
		"/publications": {
			"get": {
				"operationId": "list-publications",
				"parameters": [
					{
						"description": "Workspace ID",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"required": true,
						"schema": {
							"description": "Workspace ID",
							"type": "string"
						}
					},
					{
						"description": "Optional status filter",
						"explode": false,
						"in": "query",
						"name": "status",
						"schema": {
							"description": "Optional status filter",
							"type": "string"
						}
					},
					{
						"description": "Optional Posts activity bucket filter",
						"explode": false,
						"in": "query",
						"name": "activity_bucket",
						"schema": {
							"description": "Optional Posts activity bucket filter",
							"enum": ["scheduled", "published", "failed", "draft"],
							"type": "string"
						}
					},
					{
						"description": "Optional content profile filter",
						"explode": false,
						"in": "query",
						"name": "content_profile",
						"schema": {
							"description": "Optional content profile filter",
							"type": "string"
						}
					},
					{
						"description": "Case-insensitive title or source-text search",
						"explode": false,
						"in": "query",
						"name": "search",
						"schema": {
							"description": "Case-insensitive title or source-text search",
							"type": "string"
						}
					},
					{
						"description": "Opaque cursor for stable newest-first pagination",
						"explode": false,
						"in": "query",
						"name": "cursor",
						"schema": {
							"description": "Opaque cursor for stable newest-first pagination",
							"type": "string"
						}
					},
					{
						"description": "Include publications created at or after this RFC3339 timestamp",
						"explode": false,
						"in": "query",
						"name": "created_from",
						"schema": {
							"description": "Include publications created at or after this RFC3339 timestamp",
							"type": "string"
						}
					},
					{
						"description": "Include publications created before this RFC3339 timestamp",
						"explode": false,
						"in": "query",
						"name": "created_before",
						"schema": {
							"description": "Include publications created before this RFC3339 timestamp",
							"type": "string"
						}
					},
					{
						"description": "Include calendar occurrences at or after this RFC3339 timestamp",
						"explode": false,
						"in": "query",
						"name": "calendar_from",
						"schema": {
							"description": "Include calendar occurrences at or after this RFC3339 timestamp",
							"type": "string"
						}
					},
					{
						"description": "Include calendar occurrences before this RFC3339 timestamp",
						"explode": false,
						"in": "query",
						"name": "calendar_before",
						"schema": {
							"description": "Include calendar occurrences before this RFC3339 timestamp",
							"type": "string"
						}
					},
					{
						"description": "Limit, default 50",
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"description": "Limit, default 50",
							"format": "int64",
							"type": "integer"
						}
					},
					{
						"description": "Offset",
						"explode": false,
						"in": "query",
						"name": "offset",
						"schema": {
							"description": "Offset",
							"format": "int64",
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/PublicationResponse"
									},
									"type": ["array", "null"]
								}
							}
						},
						"description": "OK",
						"headers": {
							"X-Has-More": {
								"schema": {
									"type": "boolean"
								}
							},
							"X-Limit": {
								"schema": {
									"format": "int64",
									"type": "integer"
								}
							},
							"X-Next-Cursor": {
								"schema": {
									"type": "string"
								}
							},
							"X-Next-Offset": {
								"schema": {
									"format": "int64",
									"type": "integer"
								}
							},
							"X-Offset": {
								"schema": {
									"format": "int64",
									"type": "integer"
								}
							},
							"X-Total-Count": {
								"schema": {
									"format": "int64",
									"type": "integer"
								}
							}
						}
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List publications",
				"tags": ["Publications"]
			},
			"post": {
				"operationId": "create-publication",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreatePublicationBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PublicationResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Create a publication",
				"tags": ["Publications"]
			}
		},
		"/publications/{id}": {
			"delete": {
				"description": "Permanently deletes an editable publication, its destinations, and any linked draft post.",
				"operationId": "delete-publication",
				"parameters": [
					{
						"description": "Publication ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Publication ID",
							"type": "string"
						}
					},
					{
						"description": "Explicit confirmation that the publication may be permanently deleted",
						"explode": false,
						"in": "query",
						"name": "confirm",
						"schema": {
							"description": "Explicit confirmation that the publication may be permanently deleted",
							"type": "boolean"
						}
					},
					{
						"description": "Revision loaded by the editor",
						"explode": false,
						"in": "query",
						"name": "expected_revision",
						"schema": {
							"description": "Revision loaded by the editor",
							"format": "int64",
							"minimum": 1,
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ActionOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Delete a publication",
				"tags": ["Publications"]
			},
			"get": {
				"operationId": "get-publication",
				"parameters": [
					{
						"description": "Publication ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Publication ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PublicationResponse"
								}
							}
						},
						"description": "OK"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get a publication",
				"tags": ["Publications"]
			},
			"put": {
				"operationId": "update-publication",
				"parameters": [
					{
						"description": "Publication ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Publication ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/PublicationUpdateBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PublicationResponse"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Update a publication",
				"tags": ["Publications"]
			}
		},
		"/publications/{id}/events": {
			"get": {
				"operationId": "list-publication-events",
				"parameters": [
					{
						"description": "Publication ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Publication ID",
							"type": "string"
						}
					},
					{
						"description": "Limit, default 100",
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"description": "Limit, default 100",
							"format": "int64",
							"type": "integer"
						}
					},
					{
						"description": "Opaque cursor for older lifecycle entries",
						"explode": false,
						"in": "query",
						"name": "cursor",
						"schema": {
							"description": "Opaque cursor for older lifecycle entries",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/PublicationLifecycleEventResponse"
									},
									"type": ["array", "null"]
								}
							}
						},
						"description": "OK",
						"headers": {
							"X-Has-More": {
								"schema": {
									"type": "boolean"
								}
							},
							"X-Next-Cursor": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "List publication lifecycle events",
				"tags": ["Publications"]
			}
		},
		"/publications/{id}/publish-now": {
			"post": {
				"operationId": "publish-publication-now",
				"parameters": [
					{
						"description": "Publication ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Publication ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/PublicationMutationActionInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ActionOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Publish a publication now",
				"tags": ["Publications"]
			}
		},
		"/publications/{id}/renditions": {
			"put": {
				"operationId": "upsert-publication-renditions",
				"parameters": [
					{
						"description": "Publication ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Publication ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/UpsertRenditionsInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PublicationResponse"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Replace or upsert publication renditions",
				"tags": ["Publications"]
			}
		},
		"/publications/{id}/renditions/{account_id}": {
			"delete": {
				"description": "This permanently removes the destination and its segment and media overrides. Deselecting an account does not call this operation.",
				"operationId": "delete-publication-rendition",
				"parameters": [
					{
						"description": "Publication ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Publication ID",
							"type": "string"
						}
					},
					{
						"description": "Connected account ID",
						"in": "path",
						"name": "account_id",
						"required": true,
						"schema": {
							"description": "Connected account ID",
							"type": "string"
						}
					},
					{
						"description": "Exact provider subdestination key; required when the account has multiple targets",
						"explode": false,
						"in": "query",
						"name": "target_key",
						"schema": {
							"description": "Exact provider subdestination key; required when the account has multiple targets",
							"type": "string"
						}
					},
					{
						"description": "Explicit confirmation that saved destination settings may be deleted",
						"explode": false,
						"in": "query",
						"name": "confirm",
						"schema": {
							"description": "Explicit confirmation that saved destination settings may be deleted",
							"type": "boolean"
						}
					},
					{
						"description": "Revision loaded by the editor",
						"explode": false,
						"in": "query",
						"name": "expected_revision",
						"schema": {
							"description": "Revision loaded by the editor",
							"format": "int64",
							"minimum": 1,
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ActionOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Delete one saved publication destination",
				"tags": ["Publications"]
			}
		},
		"/publications/{id}/renditions/{account_id}/retry": {
			"post": {
				"operationId": "retry-publication-rendition",
				"parameters": [
					{
						"description": "Publication ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Publication ID",
							"type": "string"
						}
					},
					{
						"description": "Connected account ID",
						"in": "path",
						"name": "account_id",
						"required": true,
						"schema": {
							"description": "Connected account ID",
							"type": "string"
						}
					},
					{
						"description": "Exact provider subdestination key; required when the account has multiple targets",
						"explode": false,
						"in": "query",
						"name": "target_key",
						"schema": {
							"description": "Exact provider subdestination key; required when the account has multiple targets",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ActionOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Retry one failed publication destination",
				"tags": ["Publications"]
			}
		},
		"/publications/{id}/retry-failed": {
			"post": {
				"description": "Queues one publication job. Destinations that already succeeded and failures that require editing or reconnection are left unchanged.",
				"operationId": "retry-failed-publication-renditions",
				"parameters": [
					{
						"description": "Publication ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Publication ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ActionOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Retry every retryable failed publication destination",
				"tags": ["Publications"]
			}
		},
		"/publications/{id}/schedule": {
			"post": {
				"operationId": "schedule-publication",
				"parameters": [
					{
						"description": "Publication ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Publication ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/PublicationMutationActionInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ActionOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Schedule a publication",
				"tags": ["Publications"]
			}
		},
		"/publications/{id}/validate": {
			"post": {
				"operationId": "validate-publication",
				"parameters": [
					{
						"description": "Publication ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Publication ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PublicationValidationOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Validate publication renditions",
				"tags": ["Publications"]
			}
		},
		"/ready": {
			"get": {
				"operationId": "readiness-check",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Readiness-checkResponse"
								}
							}
						},
						"description": "OK"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Readiness check",
				"tags": ["System"]
			}
		},
		"/renditions/{id}/comments": {
			"get": {
				"operationId": "list-rendition-comments",
				"parameters": [
					{
						"description": "Rendition ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Rendition ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CommentListResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"501": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Implemented"
					}
				},
				"summary": "List comments for a published rendition",
				"tags": ["Publications"]
			}
		},
		"/renditions/{id}/reply": {
			"post": {
				"operationId": "reply-to-rendition",
				"parameters": [
					{
						"description": "Rendition ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Rendition ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/ReplyInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ActionOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Queue an explicit provider reply",
				"tags": ["Publications"]
			}
		},
		"/repost-account-grants/{grant_id}": {
			"delete": {
				"operationId": "revoke-repost-account-grant",
				"parameters": [
					{
						"description": "Grant ID",
						"in": "path",
						"name": "grant_id",
						"required": true,
						"schema": {
							"description": "Grant ID",
							"type": "string"
						}
					},
					{
						"description": "Workspace requesting revocation",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"required": true,
						"schema": {
							"description": "Workspace requesting revocation",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/RepostGrantOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Revoke a cross-workspace repost account grant",
				"tags": ["Repost Automation"]
			}
		},
		"/repost-automation": {
			"get": {
				"operationId": "get-repost-automation",
				"parameters": [
					{
						"description": "Workspace ID",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"required": true,
						"schema": {
							"description": "Workspace ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/SettingsResponse"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get workspace repost rules and available accounts",
				"tags": ["Repost Automation"]
			},
			"put": {
				"operationId": "save-repost-automation",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/SaveRepostSettingsInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/SettingsResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Replace workspace repost rules",
				"tags": ["Repost Automation"]
			}
		},
		"/social-sets": {
			"get": {
				"operationId": "list-social-sets",
				"parameters": [
					{
						"description": "Workspace ID",
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"required": true,
						"schema": {
							"description": "Workspace ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/SocialSetResponse"
									},
									"type": ["array", "null"]
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List Social Sets",
				"tags": ["Social Sets"]
			},
			"post": {
				"operationId": "create-social-set",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateSocialSetInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/SocialSetResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Create a Social Set",
				"tags": ["Social Sets"]
			}
		},
		"/social-sets/{id}": {
			"delete": {
				"description": "Existing publications keep their snapshotted destinations.",
				"operationId": "delete-social-set",
				"parameters": [
					{
						"description": "Social Set ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Social Set ID",
							"type": "string"
						}
					},
					{
						"description": "Explicit deletion confirmation",
						"explode": false,
						"in": "query",
						"name": "confirm",
						"schema": {
							"description": "Explicit deletion confirmation",
							"type": "boolean"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ActionOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Delete a Social Set",
				"tags": ["Social Sets"]
			},
			"get": {
				"operationId": "get-social-set",
				"parameters": [
					{
						"description": "Social Set ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Social Set ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/SocialSetResponse"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get a Social Set",
				"tags": ["Social Sets"]
			},
			"put": {
				"operationId": "update-social-set",
				"parameters": [
					{
						"description": "Social Set ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Social Set ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/UpdateSocialSetInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/SocialSetResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Replace a Social Set",
				"tags": ["Social Sets"]
			}
		},
		"/stock-media/providers": {
			"get": {
				"operationId": "list-stock-media-providers",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ListStockProvidersOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List configured stock media providers",
				"tags": ["OpenPost Video Editor"]
			}
		},
		"/stock-media/search": {
			"get": {
				"operationId": "search-stock-media",
				"parameters": [
					{
						"explode": false,
						"in": "query",
						"name": "provider",
						"required": true,
						"schema": {
							"enum": ["pexels", "unsplash", "pixabay"],
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "query",
						"required": true,
						"schema": {
							"maxLength": 120,
							"minLength": 1,
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "kind",
						"schema": {
							"default": "photo",
							"enum": ["photo", "video"],
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "orientation",
						"schema": {
							"enum": ["landscape", "portrait", "square"],
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "size",
						"schema": {
							"enum": ["small", "medium", "large"],
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "color",
						"schema": {
							"maxLength": 80,
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "locale",
						"schema": {
							"maxLength": 12,
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "order",
						"schema": {
							"enum": ["relevant", "latest", "popular"],
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "content_filter",
						"schema": {
							"enum": ["low", "high"],
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "collections",
						"schema": {
							"maxLength": 500,
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "category",
						"schema": {
							"maxLength": 40,
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "media_subtype",
						"schema": {
							"enum": ["all", "photo", "illustration", "vector"],
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "editors_choice",
						"schema": {
							"type": "boolean"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "min_width",
						"schema": {
							"format": "int64",
							"maximum": 20000,
							"minimum": 0,
							"type": "integer"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "min_height",
						"schema": {
							"format": "int64",
							"maximum": 20000,
							"minimum": 0,
							"type": "integer"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "page",
						"schema": {
							"default": 1,
							"format": "int64",
							"maximum": 500,
							"minimum": 1,
							"type": "integer"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "per_page",
						"schema": {
							"default": 24,
							"format": "int64",
							"maximum": 40,
							"minimum": 1,
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/SearchPage"
								}
							}
						},
						"description": "OK",
						"headers": {
							"Cache-Control": {
								"schema": {
									"type": "string"
								}
							}
						}
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"502": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Gateway"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Search configured stock photo and video providers",
				"tags": ["OpenPost Video Editor"]
			}
		},
		"/stock-media/selections": {
			"post": {
				"operationId": "select-stock-media",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/SelectStockMediaInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ResolvedAsset"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					},
					"502": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Gateway"
					},
					"503": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Service Unavailable"
					}
				},
				"summary": "Resolve a selected stock asset and record provider attribution events",
				"tags": ["OpenPost Video Editor"]
			}
		},
		"/telemetry/config": {
			"get": {
				"description": "Returns only the browser-safe project token and ingestion hosts. Self-hosted telemetry is disabled unless the operator enables it.",
				"operationId": "get-telemetry-config",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/BrowserConfig"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Get browser telemetry configuration",
				"tags": ["System"]
			}
		},
		"/version": {
			"get": {
				"description": "Returns the public release and source revision currently serving requests.",
				"operationId": "get-running-version",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/Get-running-versionResponse"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Running version",
				"tags": ["System"]
			}
		},
		"/video-editor/config": {
			"get": {
				"operationId": "get-video-editor-config",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/VideoEditorConfigOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "Get OpenPost Video Editor browser limits and optional local model manifest",
				"tags": ["OpenPost Video Editor"]
			}
		},
		"/video-editor/projects": {
			"get": {
				"operationId": "list-video-editor-projects",
				"parameters": [
					{
						"explode": false,
						"in": "query",
						"name": "workspace_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "search",
						"schema": {
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"format": "int64",
							"maximum": 100,
							"minimum": 1,
							"type": "integer"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "offset",
						"schema": {
							"format": "int64",
							"minimum": 0,
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ListVideoProjectsOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "List cloud-saved OpenPost Video Editor projects",
				"tags": ["OpenPost Video Editor"]
			},
			"post": {
				"operationId": "create-video-editor-project",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateVideoProjectInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"201": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/VideoProjectResponse"
								}
							}
						},
						"description": "Created"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Save a local OpenPost Video Editor project to OpenPost",
				"tags": ["OpenPost Video Editor"]
			}
		},
		"/video-editor/projects/{id}": {
			"delete": {
				"operationId": "delete-video-editor-project",
				"parameters": [
					{
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/DeleteVideoProjectOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Move an OpenPost Video Editor project to trash",
				"tags": ["OpenPost Video Editor"]
			},
			"get": {
				"operationId": "get-video-editor-project",
				"parameters": [
					{
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/VideoProjectResponse"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get a cloud-saved OpenPost Video Editor project",
				"tags": ["OpenPost Video Editor"]
			},
			"patch": {
				"operationId": "update-video-editor-project",
				"parameters": [
					{
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/UpdateVideoProjectInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/VideoProjectResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Save an OpenPost Video Editor project with optimistic concurrency",
				"tags": ["OpenPost Video Editor"]
			}
		},
		"/video-editor/projects/{id}/checkpoints": {
			"post": {
				"operationId": "create-video-editor-project-checkpoint",
				"parameters": [
					{
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateVideoProjectCheckpointInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/VideoProjectRevisionSummary"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Create a named OpenPost Video Editor checkpoint",
				"tags": ["OpenPost Video Editor"]
			}
		},
		"/video-editor/projects/{id}/revisions": {
			"get": {
				"operationId": "list-video-editor-project-revisions",
				"parameters": [
					{
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "cursor",
						"schema": {
							"maxLength": 1024,
							"type": "string"
						}
					},
					{
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"format": "int64",
							"maximum": 100,
							"minimum": 1,
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ListVideoProjectRevisionsOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "List OpenPost Video Editor recovery revisions and checkpoints",
				"tags": ["OpenPost Video Editor"]
			}
		},
		"/video-editor/projects/{id}/revisions/{revision_id}": {
			"get": {
				"operationId": "get-video-editor-project-revision",
				"parameters": [
					{
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "path",
						"name": "revision_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/VideoProjectRevisionResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Inspect an OpenPost Video Editor project revision",
				"tags": ["OpenPost Video Editor"]
			}
		},
		"/video-editor/projects/{id}/revisions/{revision_id}/restore": {
			"post": {
				"operationId": "restore-video-editor-project-revision",
				"parameters": [
					{
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"in": "path",
						"name": "revision_id",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/RestoreVideoProjectRevisionInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/VideoProjectResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Restore an OpenPost Video Editor revision as a new head",
				"tags": ["OpenPost Video Editor"]
			}
		},
		"/video-editor/return-tokens": {
			"post": {
				"operationId": "create-video-editor-return-token",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateVideoReturnTokenInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"201": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CreateVideoReturnTokenOutputBody"
								}
							}
						},
						"description": "Created"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Create a one-time OpenPost Video Editor composer return token",
				"tags": ["OpenPost Video Editor"]
			}
		},
		"/video-editor/return-tokens/{token}/complete": {
			"post": {
				"operationId": "complete-video-editor-return-token",
				"parameters": [
					{
						"in": "path",
						"name": "token",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/VideoReturnResult"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CompleteVideoReturnTokenOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Store OpenPost Video Editor variant-to-rendition export assignments",
				"tags": ["OpenPost Video Editor"]
			}
		},
		"/video-editor/return-tokens/{token}/consume": {
			"post": {
				"operationId": "consume-video-editor-return-token",
				"parameters": [
					{
						"in": "path",
						"name": "token",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/ConsumeVideoReturnTokenOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Consume completed OpenPost Video Editor export assignments once",
				"tags": ["OpenPost Video Editor"]
			}
		},
		"/video-editor/sync-plan": {
			"post": {
				"operationId": "plan-video-editor-sync",
				"parameters": [
					{
						"description": "Active workspace ID",
						"in": "header",
						"name": "X-OpenPost-Workspace-ID",
						"required": true,
						"schema": {
							"description": "Active workspace ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/PlanVideoEditorSyncInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/PlanVideoEditorSyncOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Estimate and deduplicate an explicit OpenPost Video Editor cloud sync",
				"tags": ["OpenPost Video Editor"]
			}
		},
		"/workspace-invitations/accept": {
			"post": {
				"operationId": "accept-workspace-invitation",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/AcceptWorkspaceInvitationInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AcceptWorkspaceInvitationOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Accept a workspace invitation",
				"tags": ["Workspaces"]
			}
		},
		"/workspace-invitations/{id}/accept": {
			"post": {
				"description": "Accepts a pending invitation only when its email matches the signed-in user. This supports safe in-app invitation notifications without storing the invitation token.",
				"operationId": "accept-workspace-invitation-by-id",
				"parameters": [
					{
						"description": "Invitation ID shown to the invited signed-in user",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Invitation ID shown to the invited signed-in user",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/AcceptWorkspaceInvitationOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Accept the current user's workspace invitation",
				"tags": ["Workspaces"]
			}
		},
		"/workspaces": {
			"get": {
				"operationId": "list-workspaces",
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/WorkspaceResponse"
									},
									"type": ["array", "null"]
								}
							}
						},
						"description": "OK"
					},
					"default": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Error"
					}
				},
				"summary": "List workspaces for the current user",
				"tags": ["Workspaces"]
			},
			"post": {
				"operationId": "create-workspace",
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateWorkspaceInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/CreateWorkspaceOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"402": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Payment Required"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Create a new workspace",
				"tags": ["Workspaces"]
			}
		},
		"/workspaces/{id}": {
			"delete": {
				"description": "Permanently deletes the Workspace and its content only after Organization Owner authorization, exact canonical-name confirmation, recent authentication, and lifecycle-blocker checks. Billing and required audit records remain.",
				"operationId": "delete-workspace",
				"parameters": [
					{
						"description": "Workspace ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Workspace ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/DeleteWorkspaceInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/DeleteWorkspaceOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"401": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unauthorized"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Permanently delete a Workspace and its content",
				"tags": ["Workspaces"]
			}
		},
		"/workspaces/{id}/access-audit": {
			"get": {
				"description": "Returns the newest role, member-state, invitation, and removal events. Requires an active workspace administrator.",
				"operationId": "list-workspace-access-audit",
				"parameters": [
					{
						"description": "Workspace ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Workspace ID",
							"type": "string"
						}
					},
					{
						"description": "Maximum events to return",
						"explode": false,
						"in": "query",
						"name": "limit",
						"schema": {
							"default": 50,
							"description": "Maximum events to return",
							"format": "int64",
							"maximum": 200,
							"minimum": 1,
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"items": {
										"$ref": "#/components/schemas/WorkspaceAccessAuditResponse"
									},
									"type": ["array", "null"]
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "List workspace access changes",
				"tags": ["Workspaces"]
			}
		},
		"/workspaces/{id}/deletion-preview": {
			"get": {
				"description": "Explains permanent data loss, retained records, recovery, and current lifecycle blockers. Only the Organization Owner can inspect this preview.",
				"operationId": "get-workspace-deletion-preview",
				"parameters": [
					{
						"description": "Workspace ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Workspace ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/WorkspaceDeletionPreview"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Preview permanent Workspace deletion",
				"tags": ["Workspaces"]
			}
		},
		"/workspaces/{id}/invitations": {
			"post": {
				"operationId": "create-workspace-invitation",
				"parameters": [
					{
						"description": "Workspace ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Workspace ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/CreateWorkspaceInvitationInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/WorkspaceInvitationResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"402": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Payment Required"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Create a workspace invitation",
				"tags": ["Workspaces"]
			}
		},
		"/workspaces/{id}/invitations/{invitation_id}": {
			"delete": {
				"operationId": "revoke-workspace-invitation",
				"parameters": [
					{
						"description": "Workspace ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Workspace ID",
							"type": "string"
						}
					},
					{
						"description": "Invitation ID",
						"in": "path",
						"name": "invitation_id",
						"required": true,
						"schema": {
							"description": "Invitation ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/RevokeWorkspaceInvitationOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Revoke a pending workspace invitation",
				"tags": ["Workspaces"]
			}
		},
		"/workspaces/{id}/invitations/{invitation_id}/resend": {
			"post": {
				"description": "Rotates the invitation secret and returns the new invitation URL once.",
				"operationId": "resend-workspace-invitation",
				"parameters": [
					{
						"description": "Workspace ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Workspace ID",
							"type": "string"
						}
					},
					{
						"description": "Invitation ID",
						"in": "path",
						"name": "invitation_id",
						"required": true,
						"schema": {
							"description": "Invitation ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/WorkspaceInvitationResponse"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"429": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Too Many Requests"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Resend a pending or expired workspace invitation",
				"tags": ["Workspaces"]
			}
		},
		"/workspaces/{id}/members/{user_id}": {
			"delete": {
				"description": "Removes workspace access. The last active administrator cannot be removed.",
				"operationId": "remove-workspace-member",
				"parameters": [
					{
						"description": "Workspace ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Workspace ID",
							"type": "string"
						}
					},
					{
						"description": "Workspace member user ID",
						"in": "path",
						"name": "user_id",
						"required": true,
						"schema": {
							"description": "Workspace member user ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/RemoveWorkspaceMemberOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Permanently remove a workspace member",
				"tags": ["Workspaces"]
			},
			"patch": {
				"description": "Temporarily deactivate or reactivate access, or change the member role. The last active administrator cannot be demoted or deactivated.",
				"operationId": "update-workspace-member",
				"parameters": [
					{
						"description": "Workspace ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Workspace ID",
							"type": "string"
						}
					},
					{
						"description": "Workspace member user ID",
						"in": "path",
						"name": "user_id",
						"required": true,
						"schema": {
							"description": "Workspace member user ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/UpdateWorkspaceMemberInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/WorkspaceMemberResponse"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"402": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Payment Required"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"409": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Conflict"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Change a workspace member's role or access state",
				"tags": ["Workspaces"]
			}
		},
		"/workspaces/{id}/settings": {
			"get": {
				"operationId": "get-workspace-settings",
				"parameters": [
					{
						"description": "Workspace ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Workspace ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/GetWorkspaceSettingsOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get workspace settings",
				"tags": ["Workspaces"]
			},
			"patch": {
				"operationId": "update-workspace-settings",
				"parameters": [
					{
						"description": "Workspace ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Workspace ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/UpdateWorkspaceSettingsInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/UpdateWorkspaceSettingsOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"400": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Bad Request"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Update workspace settings",
				"tags": ["Workspaces"]
			}
		},
		"/workspaces/{id}/setup": {
			"get": {
				"description": "Projects role- and deployment-applicable setup progress from the Workspace, subscription, connected-destination, and Publication state without storing a separate onboarding step index.",
				"operationId": "get-workspace-setup",
				"parameters": [
					{
						"description": "Workspace ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Workspace ID",
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/WorkspaceSetupResponse"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Get workspace setup progress",
				"tags": ["Workspaces"]
			}
		},
		"/workspaces/{id}/setup/composition": {
			"post": {
				"description": "Atomically records meaningful text, attached media, or an intentional content-mode choice once per Workspace.",
				"operationId": "start-workspace-composition",
				"parameters": [
					{
						"description": "Workspace ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Workspace ID",
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"$ref": "#/components/schemas/StartWorkspaceCompositionInputBody"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/StartWorkspaceCompositionResponse"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "Record the first meaningful Workspace composition",
				"tags": ["Workspaces"]
			}
		},
		"/workspaces/{id}/team": {
			"get": {
				"operationId": "list-workspace-team",
				"parameters": [
					{
						"description": "Workspace ID",
						"in": "path",
						"name": "id",
						"required": true,
						"schema": {
							"description": "Workspace ID",
							"type": "string"
						}
					},
					{
						"description": "Case-insensitive member or invitation email search",
						"explode": false,
						"in": "query",
						"name": "q",
						"schema": {
							"description": "Case-insensitive member or invitation email search",
							"maxLength": 200,
							"type": "string"
						}
					},
					{
						"description": "Filter by role",
						"explode": false,
						"in": "query",
						"name": "role",
						"schema": {
							"default": "all",
							"description": "Filter by role",
							"enum": ["all", "admin", "editor", "viewer"],
							"type": "string"
						}
					},
					{
						"description": "Filter by member access or exact invitation lifecycle state",
						"explode": false,
						"in": "query",
						"name": "status",
						"schema": {
							"default": "all",
							"description": "Filter by member access or exact invitation lifecycle state",
							"enum": [
								"all",
								"active",
								"inactive",
								"pending",
								"created",
								"queued",
								"sent",
								"delivered",
								"delivery_failed",
								"delivery_unavailable",
								"expired",
								"revoked",
								"accepted"
							],
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"content": {
							"application/json": {
								"schema": {
									"$ref": "#/components/schemas/WorkspaceTeamOutputBody"
								}
							}
						},
						"description": "OK"
					},
					"403": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Forbidden"
					},
					"404": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Not Found"
					},
					"422": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Unprocessable Entity"
					},
					"500": {
						"content": {
							"application/problem+json": {
								"schema": {
									"$ref": "#/components/schemas/ErrorModel"
								}
							}
						},
						"description": "Internal Server Error"
					}
				},
				"summary": "List workspace members and pending invitations",
				"tags": ["Workspaces"]
			}
		}
	}
}
